Introduction
Dirichlet Process (DP) mixture models are fundamental to nonparametric Bayesian statistics, offering the unique ability to automatically infer the number of clusters within a dataset. Despite their utility, scaling these models to large datasets remains a significant challenge. Traditional inference typically relies on Gibbs sampling, a Markov Chain Monte Carlo (MCMC) method that is computationally expensive, difficult to monitor for convergence, and often impractical for modern, large-scale applications. This paper introduces a "collapsed" Variational Bayesian (VB) framework designed to accelerate inference while maintaining high accuracy.
Methodology: Collapsed Variational Bayes
The authors explore and compare six different VB algorithms based on two primary approximations for the DP:
- Truncated Stick-Breaking (TSB): An ordered representation where cluster sizes typically decrease with the index.
- Finite Symmetric Dirichlet (FSD): An exchangeable representation where cluster labels are interchangeable.
The core innovation of this work is the "collapsed" VB approach. In standard VB, parameters and cluster assignments are often treated as independent, which ignores their inherent coupling. By analytically integrating out (marginalizing) the mixture weights ($\pi$), the authors improve the variational bound. To handle the resulting mathematical complexity, a Gaussian approximation—leveraging the Central Limit Theorem and a second-order Taylor expansion—is employed to maintain efficient update equations. Furthermore, for TSB models, an "Optimal Cluster Label Reordering" strategy is implemented to ensure clusters are sorted by size, maximizing the data's probability—a step frequently overlooked in previous literature.
Experimental Evaluation
The proposed algorithms (TSB, O-TSB, CTSB, O-CTSB, FSD, CFSD) were evaluated against standard Gibbs Sampling (GS) using both synthetic 16-dimensional Gaussian mixtures and the MNIST handwritten digit dataset.
Key Results and Insights
- Computational Efficiency: The VB methods demonstrated a dramatic speedup. On a dataset of $N=200$, VB algorithms converged in approximately 0.48 to 1.22 seconds, whereas Gibbs sampling required over 1,000 seconds—representing a speedup of roughly three orders of magnitude.
- Predictive Accuracy: As shown in the performance plots, the collapsed VB variants (CTSB and CFSD) achieve predictive log-probabilities nearly identical to Gibbs sampling as the truncation level ($T$ or $K$) increases. On MNIST, the algorithms typically identified between 32 and 36 clusters for the digit data, matching expected results.
- Stability and Convergence: Collapsed versions showed superior stability and slightly better predictive log-evidence compared to their un-collapsed counterparts. Unlike MCMC methods, which lack a clear convergence metric, these deterministic VB approaches provide a definitive stopping point once the variational bound stabilizes.
- Label Ordering: The results confirm that in stick-breaking representations, the order of clusters is not merely cosmetic. Optimal label ordering (O-TSB) significantly improves performance, effectively bridging the gap between ordered and exchangeable representations.
Conclusion
The collapsed VB approach provides a robust, scalable alternative to stochastic inference for DP mixture models. By integrating out mixture weights and optimizing label ordering, these methods achieve the accuracy of traditional sampling at a fraction of the computational cost. Future work may involve marginalizing cluster parameters ($\eta$) to further enhance accuracy in overlapping cluster scenarios and extending these techniques to more complex models like Hierarchical Dirichlet Processes (HDP).
Summary updated