Fast collapsed gibbs sampling for latent dirichlet allocation

By Ian R. Porteous, David Newman, A. Ihler, Arthur U. Asuncion, Padhraic Smyth, Max Welling. Knowledge Discovery and Data Mining, 2008

627 citations recorded by the source corpus.

In this paper we introduce a novel collapsed Gibbs sampling method for the widely used latent Dirichlet allocation (LDA) model. Our new method results in significant speedups on real world text corpora. Conventional Gibbs sampling schemes for LDA require O(K) operations per sample where K is the number of topics in the model. Our proposed method draws equivalent samples but requires on average significantly less then K operations per sample. On real-word corpora FastLDA can be as much as 8 times faster than the standard collapsed Gibbs sampler for LDA. No approximations are necessary, and we show that our fast sampling scheme produces exactly the same results as the standard (but slower) sampling scheme. Experiments on four real world data sets demonstrate speedups for a wide range of collection sizes. For the PubMed collection of over 8 million documents with a required computation time of 6 CPU months for LDA, our speedup of 5.7 can save 5 CPU months of computation.

Subfields: Artificial Intelligence

View Paper: https://www.semanticscholar.org/paper/6ae5d06fd366d44107752b903d0ec22b41321e3d

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Zhiyuan Liu
  2. Maosong Sun
  3. Percy Liang
  4. Mohit Bansal
  5. Erik Cambria
  6. Andrew McCallum
  7. Jun Zhu
  8. Tat-seng Chua

Citations in the corpus