Skip to main content
QUICK REVIEW

[Paper Review] On Estimation and Selection for Topic Models

Matthew A. Taddy|arXiv (Cornell University)|Sep 21, 2011
Bayesian Methods and Mixture ModelsComputer Science27 references82 citations
TL;DR

This paper proposes a joint maximum a posteriori (MAP) estimation framework for topic models that improves computational efficiency and model selection by reparametrizing the latent variables and using block-diagonal Laplace approximation to estimate marginal likelihood. The method enables fast, scalable inference and provides a default approach for selecting the number of topics, outperforming variational EM and Gibbs sampling in accuracy and convergence speed on real-world text data.

ABSTRACT

This article describes posterior maximization for topic models, identifying computational and conceptual gains from inference under a non-standard parametrization. We then show that fitted parameters can be used as the basis for a novel approach to marginal likelihood estimation, via block-diagonal approximation to the information matrix,that facilitates choosing the number of latent topics. This likelihood-based model selection is complemented with a goodness-of-fit analysis built around estimated residual dispersion. Examples are provided to illustrate model selection as well as to compare our estimation against standard alternative techniques.

Motivation & Objective

  • To develop a computationally efficient and conceptually sound alternative to standard topic model estimation that avoids high-dimensional latent variable augmentation.
  • To address the lack of default methodology for selecting the number of latent topics (K) in topic models.
  • To improve estimation accuracy and convergence speed compared to existing techniques like variational EM and Gibbs sampling.
  • To provide a likelihood-based model selection criterion using block-diagonal approximation of the information matrix.
  • To assess model fit via residual dispersion estimation, identifying overdispersion beyond topic clustering.

Proposed method

  • Uses joint posterior maximization over both topic distributions (θ) and document-topic weights (ω), reparametrizing the model to improve computational stability.
  • Employs a block-relaxation algorithm that alternates between updating ωi for each document using quadratic programming and updating θk via gradient ascent.
  • Applies a block-diagonal Laplace approximation to the observed information matrix to estimate marginal likelihood, enabling K selection.
  • Estimates residual dispersion as a goodness-of-fit measure, accounting for overdispersion not explained by topic structure.
  • Uses conditional MAP estimation for ωi under a Dir(1/K) prior in predictive evaluation.
  • Scales efficiently by parallelizing the independent updates for each document’s ωi.

Experimental results

Research questions

  • RQ1Can joint MAP estimation over topics and document weights improve computational efficiency and estimation accuracy in topic models?
  • RQ2Can a block-diagonal Laplace approximation of the information matrix provide a reliable and scalable method for estimating marginal likelihood and selecting the number of topics?
  • RQ3How does the proposed method compare to variational EM and Gibbs sampling in terms of convergence speed, predictive performance, and estimation quality?
  • RQ4To what extent does residual dispersion reflect model lack-of-fit beyond topic clustering effects?
  • RQ5Can the method be efficiently scaled to large datasets with hundreds of thousands of documents and tens of thousands of terms?

Key findings

  • The joint MAP estimation method achieved higher predictive probability on held-out data than both variational EM and Gibbs sampling, with faster convergence.
  • For the we8there dataset, the marginal likelihood was maximized at K=20, and for the Congres109 dataset at K=12, indicating effective automatic topic selection.
  • Residual dispersion estimates remained significantly above one even at K=200, suggesting overdispersion from sources beyond topic clustering, such as phrase-level correlations.
  • MAP estimation had lower mean squared error than variational EM and much lower than Gibbs sampling, despite requiring less computation than variational EM.
  • The algorithm scaled efficiently, fitting 20+ topics to 200,000+ documents and 10,000+ terms in under ten minutes on a standard desktop.
  • Top-topic phrases from the congress109 model revealed strong partisanship, with distinct Republican and Democratic themes, validating the model’s interpretability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.