arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.02091stat.MLcs.LGcs.PL
收藏

简单、分布式和加速概率编程

Simple, Distributed, and Accelerated Probabilistic Programming

Google Brain(谷歌大脑);Google(谷歌)

Dustin Tran, Matthew Hoffman, Dave Moore, Christopher Suter, Srinivas Vasudevan, Alexey Radul, Matthew Johnson, Rif A. Saurous

摘要:

我们描述了一种简单的,低级的方法,用于在深度学习生态系统中嵌入概率编程。特别地,我们将概率规划提炼为一个单一的抽象-随机变量。我们在TensorFlow中的轻量级实现支持多种应用:具有第二代张量处理单元(TPUv 2)的模型并行变分自动编码器(VAE);具有TPUv 2的数据并行自回归模型(Image Transformer);以及多GPU无U形转弯采样器(NUTS)。对于64 x64 ImageNet上最先进的VAE和256 x256 CelebA-HQ上的Image Transformer,我们的方法实现了从1到256 TPUv 2芯片的最佳线性加速。使用NUTS,我们看到GPU上的加速比Stan快100倍,比PyMC 3快37倍。

英文摘要:

We describe a simple, low-level approach for embedding probabilistic programming in a deep learning ecosystem. In particular, we distill probabilistic programming down to a single abstraction---the random variable. Our lightweight implementation in TensorFlow enables numerous applications: a model-parallel variational auto-encoder (VAE) with 2nd-generation tensor processing units (TPUv2s); a data-parallel autoregressive model (Image Transformer) with TPUv2s; and multi-GPU No-U-Turn Sampler (NUTS). For both a state-of-the-art VAE on 64x64 ImageNet and Image Transformer on 256x256 CelebA-HQ, our approach achieves an optimal linear speedup from 1 to 256 TPUv2 chips. With NUTS, we see a 100x speedup on GPUs over Stan and 37x over PyMC3.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑