Reproduce “On Smoothing and Inference for Topic Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Arthur Asuncion, Max Welling, Padhraic Smyth, Yee Whye Teh

The paper compares inference methods for latent Dirichlet allocation by tuning prior smoothing applied to document-topic and topic-word counts. It introduces CVB0, a deterministic zeroth-order collapsed variational Bayes update related to collapsed Gibbs sampling. With validation grid search, four methods reached AUC 0.90 and mean average precision 0.14 on NEWS at K=10; this result is dataset- and protocol-specific.

Key insights

  • The observed performance disparities among LDA inference algorithms largely diminish when hyperparameters are optimized for each method, suggesting that hyperparameter tuning is crucial.
  • The effective smoothing applied by hyperparameters can yield perplexity gains comparable to or greater than the differences between distinct inference algorithms.
  • VB's standard update rule contains an implicit -0.5 offset which, if not accounted for by larger hyperparameters or corrected predictive estimates, leads to suboptimal performance.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.