MLCOApr 12, 2017

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

arXiv:1704.03581v719 citations
Originality Highly original
AI Analysis

This work addresses a bottleneck in topic modeling for large-scale natural language processing applications, offering a more efficient parallel inference method.

The authors tackled the challenge of scaling Latent Dirichlet Allocation (LDA) to big corpora in parallel environments by developing a novel Pólya-urn-based sampler that is asymptotically exact and faster than previous Gibbs samplers, with empirical and theoretical speed improvements demonstrated.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes