TL;DR
This paper introduces a novel blocked Gibbs sampler for Hierarchical Dirichlet Process (HDP) mixture models. This new sampler offers improved statistical stability and mixing properties compared to existing methods, while maintaining computational scalability for large datasets.
What Problem Does This Paper Address?
Hierarchical Dirichlet Process (HDP) mixture models are powerful tools for Bayesian nonparametric inference, particularly for grouped data where components are shared across groups. However, efficiently computing posterior distributions for HDPs has been a long-standing challenge. Traditional methods, like the Chinese Restaurant Franchise (CRF) based collapsed Gibbs sampler, suffer from poor mixing and quadratic complexity with sample size, making them impractical for large datasets. While recent advancements like slice samplers have improved efficiency, they can exhibit statistical instability. This paper aims to bridge this gap by developing a blocked Gibbs sampler that is both statistically stable and computationally efficient.
Methods
The core contribution of this paper is a blocked Gibbs sampler for HDP mixture models. Instead of updating parameters one by one, this approach updates them in blocks, leading to faster convergence and better mixing. Key methodological innovations include:
- Finite-dimensional truncation of HDPs: The infinite-dimensional nature of HDPs is approximated by a finite-dimensional version, making computations tractable.
- Gamma prior on the shared concentration parameter: Endowing the shared concentration parameter ($\alpha_0$) with a Gamma prior, with its shape parameter set to the global DP's concentration parameter ($\gamma$), is crucial. This specification allows for a novel representation of the global weights.
- Auxiliary gamma random variables and slice sampling: Auxiliary gamma variables are introduced to achieve conditional independence in the posterior of the unnormalized weights. This is combined with an efficient rejection sampler, leveraging piece-wise tangent-line approximations, to draw samples from a tilted gamma density.
- Avoidance of local DP atoms as latent variables: Unlike some previous methods, this approach avoids using the atoms of local DPs as latent variables, which is shown to lead to better statistical inference.
Datasets
The authors evaluate their proposed method using simulated datasets generated from Gaussian mixture models with varying parameters (means, precisions, and mixture weights) across different groups. No new real-world datasets or benchmarks are introduced.
Key Insights and Ideas
- Blocked updates are key for efficiency and mixing: The paper strongly advocates for blocked updates over one-at-a-time updates, demonstrating significant improvements in mixing and computational speed, especially for larger datasets.
- The choice of prior on $\alpha_0$ matters: The specific choice of a Gamma prior for $\alpha_0$ with its shape parameter linked to $\gamma$ is a critical enabler for the proposed sampling scheme.
- Rejection sampling can be made efficient: By constructing a tight upper envelope using piece-wise tangent lines of the log-density, the authors achieve high acceptance rates in their rejection sampler, making it practical.
- Statistical stability is achievable with careful construction: The proposed sampler demonstrates better statistical stability compared to previous slice sampling approaches, suggesting that careful construction of the sampling scheme can overcome inherent instabilities.
Key Results
- Improved Mixing and Stability: The proposed blocked Gibbs sampler (BGS) exhibits better mixing and statistical stability compared to existing methods like the CRF-based sampler and a slice sampler (SS). This is evidenced by higher effective sample sizes (ESS) for occupied atoms and estimated densities.
- Scalability: The algorithm is computationally efficient and scales well with increasing sample size ($n$) and number of groups ($J$). The average computation time per MCMC iteration remains stable.
- Comparable Accuracy: In terms of clustering (Adjusted Rand Index) and density estimation (MISE), BGS performs comparably to or better than existing methods, especially in challenging scenarios like overlapping clusters.
- High Acceptance Rates: The rejection sampler for the tilted gamma density achieves high acceptance rates (e.g., >75% for positive $B_k$ with $N=1$), making it practical.
Limitations and Future Work
- Fixed $\alpha_0$ prior: The current algorithm fixes the shape parameter of the Gamma prior on $\alpha_0$ to $\gamma$. The authors acknowledge that this might be restrictive for practitioners and suggest exploring more flexible prior specifications for $\alpha_0$ as future work.
- Truncation Level: The HDP is approximated using a finite-dimensional truncation ($L$). While the performance is shown to be robust across different $L$, the choice of $L$ still introduces an approximation. Future work could explore methods to handle the infinite-dimensional aspect more directly or to adaptively determine $L$.
- Computational Cost: While efficient, the computational cost still increases with the truncation level $L$. Further optimizations or parallelization strategies could be explored.
Summary updated