Reproduce “Hybrid Variational/Gibbs Collapsed Inference in 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

Max Welling, Yee Whye Teh, Hilbert Kappen

The paper presents a hybrid inference method for LDA that samples singleton word-document pairs and applies variational updates to repeated pairs. On KOS and NIPS, the hybrid improved held-out prediction over corresponding variational methods, while collapsed variational/Gibbs sampling was basically on par with collapsed Gibbs sampling. The results do not establish wall-clock speedups, which are expected mainly for high-count datasets.

Key insights

  • The accuracy of variational approximations depends on count magnitudes, performing better for large counts due to the Central Limit Theorem.
  • Data-cases with singleton counts ($\\/hat{N}_{wj}=1$) play a substantial role in determining test-set perplexity for topic models of text data.
  • Combining variational and sampling methods in a principled framework allows for a tunable balance between computational efficiency and statistical accuracy.

Summary by alphaXiv.

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