[Paper Review] Exact slice sampler for Hierarchical Dirichlet Processes
This paper presents the first exact slice sampler for Hierarchical Dirichlet Processes (HDP), overcoming challenges in sampling from infinite-dimensional hierarchical measures. By using Bayesian variable augmentation to enable full factorization of the joint posterior, the method achieves fast mixing, natural truncation of atoms and weights, and efficient parallelization—demonstrated via fast convergence in both synthetic and real-world topic modeling experiments.
We propose an exact slice sampler for Hierarchical Dirichlet process (HDP) and its associated mixture models (Teh et al., 2006). Although there are existing MCMC algorithms for sampling from the HDP, a slice sampler has been missing from the literature. Slice sampling is well-known for its desirable properties including its fast mixing and its natural potential for parallelization. On the other hand, the hierarchical nature of HDPs poses challenges to adopting a full-fledged slice sampler that automatically truncates all the infinite measures involved without ad-hoc modifications. In this work, we adopt the powerful idea of Bayesian variable augmentation to address this challenge. By introducing new latent variables, we obtain a full factorization of the joint distribution that is suitable for slice sampling. Our algorithm has several appealing features such as (1) fast mixing; (2) remaining exact while allowing natural truncation of the underlying infinite-dimensional measures, as in (Kalli et al., 2011), resulting in updates of only a finite number of necessary atoms and weights in each iteration; and (3) being naturally suited to parallel implementations. The underlying principle for joint factorization of the full likelihood is simple and can be applied to many other settings, such as designing sampling algorithms for general dependent Dirichlet process (DDP) models.
Motivation & Objective
- To develop a fully exact slice sampler for Hierarchical Dirichlet Processes (HDP), which was previously missing in the literature.
- To address the challenge of sampling from the infinite-dimensional measures in HDPs without ad-hoc truncation or approximation.
- To enable efficient, parallelizable MCMC inference in HDP mixture models by leveraging Bayesian variable augmentation.
- To provide a general, accessible framework for slice sampling in dependent Dirichlet process models.
Proposed method
- Introduce latent variables via Bayesian variable augmentation to achieve full factorization of the joint posterior distribution in HDP.
- Derive a joint density factorization that simplifies posterior updates and enables exact slice sampling.
- Use slice sampling to jointly update latent variables and truncation levels, ensuring only necessary atoms and weights are updated per iteration.
- Apply the sampler to HDP mixtures with Gaussian and multinomial likelihoods, deriving conjugate posterior updates for atoms and cluster assignments.
- Implement the algorithm with natural truncation, maintaining exactness while achieving finite computational cost per iteration.
- Leverage the factorized posterior for efficient, parallelizable updates across groups and clusters.
Experimental results
Research questions
- RQ1Can an exact slice sampler be constructed for the Hierarchical Dirichlet Process, despite its infinite-dimensional hierarchical structure?
- RQ2How can the hierarchical nature of HDPs be reconciled with the requirements of slice sampling, particularly regarding automatic truncation?
- RQ3What role does Bayesian variable augmentation play in enabling full posterior factorization for HDP slice sampling?
- RQ4How does the proposed sampler compare in mixing speed and convergence to existing Gibbs and split-merge MCMC methods for HDP?
- RQ5Can the derived joint factorization be generalized to other dependent Dirichlet process models?
Key findings
- The proposed slice sampler achieves fast mixing, with normalized mutual information (NMI) reaching near-optimal levels in 10–20 iterations on synthetic data.
- On a real-world paper-title dataset with J=894 documents, the sampler achieved NMI ≈ 0.35–0.4 after 100 iterations, indicating effective recovery of true topic labels.
- The algorithm naturally truncates infinite measures by updating only a finite number of atoms and weights per iteration, maintaining exactness.
- The joint posterior factorization enables intuitive and computationally efficient updates, with conjugate posterior distributions derivable for both Gaussian and multinomial likelihoods.
- The method is inherently parallelizable, as updates for different groups and clusters can be computed independently.
- The approach generalizes beyond HDP mixtures, enabling efficient sampling in other models by replacing the mixture likelihood.
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.