arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.03581stat.MLstat.CO
收藏

Pólya Urn Latent Dirichlet Allocation:一个双稀疏大规模并行采样器

Pólya Urn Latent Dirichlet Allocation: a doubly sparse massively parallel sampler

Alexander Terenin, Måns Magnusson, Leif Jonsson, David Draper

摘要:

潜在狄利克雷分配(LDA)是一种广泛应用于自然语言处理和机器学习的主题模型。大多数训练模型的方法都依赖于迭代算法,这使得很难在大型语料库上运行LDA,而大型语料库最好在并行和分布式计算环境中进行分析。事实上,目前的并行推理方法要么不收敛到正确的后验,要么需要在内存中存储大型密集矩阵。我们提出了一种新的采样器,克服了这两个问题,我们表明,这种采样器是更快的,无论是经验和理论上,比以前的吉布斯采样LDA。我们这样做,采用一种新的Pólya-urn为基础的近似稀疏部分塌陷采样LDA。我们证明了近似误差随数据大小而消失,使得我们的算法渐近精确,这是大规模主题模型的重要属性。此外,我们表明,通过一个明确的例子,即-相反,流行的信念在主题建模文学-部分塌陷采样器可以更有效地比完全塌陷采样器。我们的结论是比较我们的算法与其他方法对知名语料库的性能。

英文摘要:

Latent Dirichlet Allocation (LDA) is a topic model widely used in natural language processing and machine learning. Most approaches to training the model rely on iterative algorithms, which makes it difficult to run LDA on big corpora that are best analyzed in parallel and distributed computational environments. Indeed, current approaches to parallel inference either don't converge to the correct posterior or require storage of large dense matrices in memory. We present a novel sampler that overcomes both problems, and we show that this sampler is faster, both empirically and theoretically, than previous Gibbs samplers for LDA. We do so by employing a novel Pólya-urn-based approximation in the sparse partially collapsed sampler for LDA. We prove that the approximation error vanishes with data size, making our algorithm asymptotically exact, a property of importance for large-scale topic models. In addition, we show, via an explicit example, that - contrary to popular belief in the topic modeling literature - partially collapsed samplers can be more efficient than fully collapsed samplers. We conclude by comparing the performance of our algorithm with that of other approaches on well-known corpora.

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

↑