Current browse context:
stat.ML
Change to browse by:
References & Citations
Statistics > Machine Learning
Title: Pólya Urn Latent Dirichlet Allocation: a doubly sparse massively parallel sampler
(Submitted on 12 Apr 2017 (v1), last revised 22 Oct 2020 (this version, v7))
Abstract: 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\'olya-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.
Submission history
From: Alexander Terenin [view email][v1] Wed, 12 Apr 2017 01:02:27 GMT (87kb,D)
[v2] Fri, 23 Jun 2017 20:00:08 GMT (112kb,D)
[v3] Mon, 23 Apr 2018 12:48:23 GMT (323kb,D)
[v4] Sun, 10 Jun 2018 22:10:28 GMT (323kb,D)
[v5] Tue, 17 Jul 2018 12:39:06 GMT (323kb,D)
[v6] Fri, 3 Aug 2018 13:07:04 GMT (323kb,D)
[v7] Thu, 22 Oct 2020 16:14:22 GMT (219kb,D)
Link back to: arXiv, form interface, contact.