arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1608.00945stat.COstat.ML
收藏

潜在Dirichlet分配模型的阻塞折叠Gibbs采样器

Blocking Collapsed Gibbs Sampler for Latent Dirichlet Allocation Models

Xin Zhang, Scott A. Sisson

摘要:

隐狄利克雷分配(LDA)模型是机器学习中广泛使用的文本分析隐变量模型。该模型的推断通常涉及与观测相关联的潜变量的单站点塌陷吉布斯抽样步骤。采样的效率对于模型在实际大规模应用中的成功至关重要。在这篇文章中,我们介绍了一个阻塞计划的崩溃吉布斯采样器的LDA模型,可以在理论上保证,提高链混合效率。我们开发了两个程序,一个O(K)步向后模拟和O(log K)步嵌套模拟,直接采样每个块内的潜变量。我们证明,阻塞计划实现了显着改善链混合相比,最先进的单网站崩溃吉布斯采样器。我们还表明,当主题的数量超过数百个,嵌套模拟阻塞计划可以实现显着减少计算时间相比,单站点采样器。

英文摘要:

The latent Dirichlet allocation (LDA) model is a widely-used latent variable model in machine learning for text analysis. Inference for this model typically involves a single-site collapsed Gibbs sampling step for latent variables associated with observations. The efficiency of the sampling is critical to the success of the model in practical large scale applications. In this article, we introduce a blocking scheme to the collapsed Gibbs sampler for the LDA model which can, with a theoretical guarantee, improve chain mixing efficiency. We develop two procedures, an O(K)-step backward simulation and an O(log K)-step nested simulation, to directly sample the latent variables within each block. We demonstrate that the blocking scheme achieves substantial improvements in chain mixing compared to the state of the art single-site collapsed Gibbs sampler. We also show that when the number of topics is over hundreds, the nested-simulation blocking scheme can achieve a significant reduction in computation time compared to the single-site sampler.

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

↑