[Paper Review] Streaming Variational Inference for Bayesian Nonparametric Mixture Models
This paper proposes a streaming variational inference algorithm for Bayesian nonparametric mixture models based on normalized random measures (NRMs), using assumed density filtering (ADF) to enable efficient, single-pass inference on large-scale streaming data. The method achieves performance competitive with batch MCMC and EP algorithms, particularly excelling with flexible priors like the normalized generalized gamma process (NGGP), which capture finer cluster structures than the Dirichlet process.
In theory, Bayesian nonparametric (BNP) models are well suited to streaming data scenarios due to their ability to adapt model complexity with the observed data. Unfortunately, such benefits have not been fully realized in practice; existing inference algorithms are either not applicable to streaming applications or not extensible to BNP models. For the special case of Dirichlet processes, streaming inference has been considered. However, there is growing interest in more flexible BNP models building on the class of normalized random measures (NRMs). We work within this general framework and present a streaming variational inference algorithm for NRM mixture models. Our algorithm is based on assumed density filtering (ADF), leading straightforwardly to expectation propagation (EP) for large-scale batch inference as well. We demonstrate the efficacy of the algorithm on clustering documents in large, streaming text corpora.
Motivation & Objective
- To address the lack of general-purpose streaming inference methods for Bayesian nonparametric (BNP) mixture models beyond the Dirichlet process.
- To extend streaming inference to more flexible BNP priors, particularly normalized random measures (NRMs), such as the normalized generalized gamma process (NGGP).
- To develop a variational inference framework that maintains the infinite-dimensional nature of BNP models while enabling sequential, memory-efficient updates.
- To demonstrate the effectiveness of the method on large-scale, real-world streaming text data where batch methods are infeasible.
- To show that flexible NRM priors like NGGP improve predictive performance by capturing fine-grained cluster structures.
Proposed method
- The method uses assumed density filtering (ADF) to recursively update a variational approximation of the posterior distribution in a streaming fashion, relying only on summary statistics of past data.
- It leverages an auxiliary variable representation to handle general NRM predictive distributions, enabling tractable inference without requiring model-specific approximations.
- The algorithm approximates the partial-urn predictive distribution of cluster assignments, which is central to NRM-based mixture models.
- The ADF framework naturally extends to a multi-pass expectation propagation (EP) variant for batch inference, enabling higher-accuracy results when data can be cycled through.
- The approach is general and reduces to prior streaming algorithms for the Dirichlet process when specialized to that case.
- The method supports flexible NRM priors such as the normalized generalized gamma process (NGGP), which allow greater control over cluster size distributions than the DP.
Experimental results
Research questions
- RQ1Can a general-purpose streaming variational inference algorithm be developed for Bayesian nonparametric mixture models beyond the Dirichlet process?
- RQ2How can the infinite-dimensional structure of normalized random measure (NRM) priors be preserved in a streaming inference setting?
- RQ3Does using more flexible NRM priors like the normalized generalized gamma process (NGGP) improve predictive performance on large-scale streaming data compared to the Dirichlet process?
- RQ4Can a single-pass streaming algorithm achieve performance competitive with computationally intensive batch methods like Gibbs sampling or EP?
- RQ5What is the impact of cluster size flexibility on modeling nuanced latent structures in large text corpora?
Key findings
- The ADF-NRM algorithm achieves predictive log-likelihood performance nearly matching that of a batch Gibbs sampler that iterates through the data 215 times, using only a single pass.
- On the KOS corpus of 10,000 documents, ADF-NRM with the NGGP prior achieved a predictive log-likelihood of -1.48, outperforming the DP-based ADF-NRM and approaching the performance of multi-pass EP-NRM.
- On the 300,000-document New York Times corpus, ADF-NRM with the NGGP prior introduced approximately 10 additional small clusters compared to the DP, improving predictive log-likelihood and capturing finer-grained topics.
- The multi-pass EP-NRM variant achieved performance comparable to Gibbs sampling, with the majority of performance gains occurring in the first pass, indicating strong convergence properties.
- The recovered top topics from the ADF-NRM with NGGP prior were interpretable and corresponded to meaningful themes such as 'politics' and 'sports', validating the model's ability to extract semantically coherent structure.
- The EP-NRM variant demonstrated that the ADF framework can be extended to multi-pass inference, enabling high-accuracy results when data access is feasible.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.