Skip to main content
QUICK REVIEW

[Paper Review] A Split-Merge MCMC Algorithm for the Hierarchical Dirichlet Process

Chong Wang, David M. Blei|arXiv (Cornell University)|Jan 8, 2012
Bayesian Methods and Mixture ModelsComputer Science15 references40 citations
TL;DR

This paper proposes a split-merge Markov chain Monte Carlo (MCMC) algorithm for posterior inference in the Hierarchical Dirichlet Process (HDP) topic model, improving upon traditional Gibbs sampling by enabling large-scale reconfigurations of topic assignments across documents. The method significantly accelerates convergence during burn-in, especially on corpora with overlapping or similar topics, achieving better log-likelihood modes faster than standard Gibbs sampling.

ABSTRACT

The hierarchical Dirichlet process (HDP) has become an important Bayesian nonparametric model for grouped data, such as document collections. The HDP is used to construct a flexible mixed-membership model where the number of components is determined by the data. As for most Bayesian nonparametric models, exact posterior inference is intractable---practitioners use Markov chain Monte Carlo (MCMC) or variational inference. Inspired by the split-merge MCMC algorithm for the Dirichlet process (DP) mixture model, we describe a novel split-merge MCMC sampling algorithm for posterior inference in the HDP. We study its properties on both synthetic data and text corpora. We find that split-merge MCMC for the HDP can provide significant improvements over traditional Gibbs sampling, and we give some understanding of the data properties that give rise to larger improvements.

Motivation & Objective

  • To address slow mixing in Gibbs sampling for HDP topic models, which updates only one word’s topic at a time.
  • To improve posterior inference efficiency in HDP by enabling large-scale structural changes via split-merge operations at the top-level topic grouping.
  • To investigate when and why split-merge MCMC outperforms standard Gibbs sampling in HDP inference.
  • To understand the data properties—particularly topic similarity and topic sparsity—that lead to performance gains from split-merge moves.

Proposed method

  • The algorithm operates on the Chinese Restaurant Franchise (CRF) representation of the HDP, where documents are 'customers' and topics are 'dishes' shared across groups.
  • At each iteration, two documents are randomly selected; if they share the same topic group, a split is proposed; if in different groups, a merge is proposed.
  • Split and merge moves are accepted or rejected using Metropolis-Hastings ratios to maintain detailed balance and ensure convergence to the correct posterior.
  • The method operates only at the top level (topic group level), not at the per-document level, to preserve the HDP’s mixed-membership structure.
  • Split-merge operations are applied only during the first 50 iterations to avoid disrupting the stationary distribution in later stages.
  • Hyperparameters γ and α are assigned Gamma(1,1) priors, and η is varied to control topic sparsity.

Experimental results

Research questions

  • RQ1Under what data conditions does split-merge MCMC outperform standard Gibbs sampling in HDP topic modeling?
  • RQ2How does topic similarity across documents affect the effectiveness of split-merge moves?
  • RQ3What impact does topic sparsity (controlled by η) have on the success rate and convergence speed of split-merge operations?
  • RQ4How does the split-merge algorithm compare to Gibbs sampling in terms of per-word log-likelihood and held-out likelihood on real-world text corpora?

Key findings

  • On the ML+IR corpus with η=0.2 and η=0.5, split-merge MCMC reached better log-likelihood modes faster than Gibbs sampling, while on ARXIV and NIPS, improvements were observed only under similar conditions.
  • Split-merge MCMC achieved a higher acceptance rate of approximately 3% for proposed moves, indicating reasonable exploration of the state space.
  • The method showed significant improvements on corpora with higher topic similarity, such as ML+IR, where topic cosine similarity was highest among the tested datasets.
  • For η=0.2 and η=0.5, the number of topics was moderate, leading to more informative topic groups and better guidance for split-merge operations.
  • On ARXIV and NIPS, where topics were less similar, split-merge provided no consistent advantage, suggesting that overlapping topic structures are key to performance gains.
  • In all cases, the final modes of Gibbs+SM and Gibbs sampling were comparable, indicating that split-merge improves convergence without compromising final accuracy.

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.