arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.09499stat.ML
收藏

Extreme Stochastic Variational Inference:分布式和异步

Extreme Stochastic Variational Inference: Distributed and Asynchronous

Jiong Zhang, Parameswaran Raman, Shihao Ji, Hsiang-Fu Yu, S. V. N. Vishwanathan, Inderjit S. Dhillon

摘要:

随机变分推断(SVI)是一种面向大数据集的变分变分推断算法,具有串行性。此外,它要求参数适合单个处理器的内存;当参数的数量以十亿计时,这是有问题的。在本文中,我们提出了极端随机变分推断(ESVI),一个异步的和无锁的算法执行混合模型的变分推断在大量的现实世界的数据集。ESVI通过要求每个处理器仅访问数据的子集和参数的子集来克服SVI的限制,从而同时提供数据和模型并行性。我们通过在UMBC-3B上运行潜在狄利克雷分配(LDA)来证明ESVI的有效性,UMBC-3B是一个词汇量为300万,令牌大小为30亿的数据集。在我们的实验中,我们发现ESVI不仅在wallclock时间上优于VI和SVI,而且还获得了更好的质量解决方案。此外,我们提出了一种策略,以加快计算和节省内存时,适合大量的主题。

英文摘要:

Stochastic variational inference (SVI), the state-of-the-art algorithm for scaling variational inference to large-datasets, is inherently serial. Moreover, it requires the parameters to fit in the memory of a single processor; this is problematic when the number of parameters is in billions. In this paper, we propose extreme stochastic variational inference (ESVI), an asynchronous and lock-free algorithm to perform variational inference for mixture models on massive real world datasets. ESVI overcomes the limitations of SVI by requiring that each processor only access a subset of the data and a subset of the parameters, thus providing data and model parallelism simultaneously. We demonstrate the effectiveness of ESVI by running Latent Dirichlet Allocation (LDA) on UMBC-3B, a dataset that has a vocabulary of 3 million and a token size of 3 billion. In our experiments, we found that ESVI not only outperforms VI and SVI in wallclock-time, but also achieves a better quality solution. In addition, we propose a strategy to speed up computation and save memory when fitting large number of topics.

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

↑