[Paper Review] Semi-Separable Hamiltonian Monte Carlo for Inference in Bayesian Hierarchical Models
This paper proposes Semi-Separable Hamiltonian Monte Carlo (SSHMC), a computationally efficient Riemannian manifold HMC variant that exploits a semi-separable structure in the joint Hamiltonian over parameters and hyperparameters. By decomposing the Hamiltonian into two simpler, separable components and using an alternating blockwise leapfrog integrator, SSHMC achieves faster mixing than Gibbs sampling and higher effective sample size per second than RMHMC within Gibbs, especially in hierarchical models with strong parameter-hyperparameter correlations.
Sampling from hierarchical Bayesian models is often difficult for MCMC methods, because of the strong correlations between the model parameters and the hyperparameters. Recent Riemannian manifold Hamiltonian Monte Carlo (RMHMC) methods have significant potential advantages in this setting, but are computationally expensive. We introduce a new RMHMC method, which we call semi-separable Hamiltonian Monte Carlo, which uses a specially designed mass matrix that allows the joint Hamiltonian over model parameters and hyperparameters to decompose into two simpler Hamiltonians. This structure is exploited by a new integrator which we call the alternating blockwise leapfrog algorithm. The resulting method can mix faster than simpler Gibbs sampling while being simpler and more efficient than previous instances of RMHMC.
Motivation & Objective
- To address the challenge of slow mixing in MCMC sampling for Bayesian hierarchical models due to strong correlations between model parameters and hyperparameters.
- To develop a more efficient alternative to Riemannian manifold HMC (RMHMC), which is effective but computationally expensive for large-scale problems.
- To exploit a specific structural property—semi-separability—in the joint Hamiltonian to enable faster and simpler sampling.
- To improve sampling efficiency in terms of effective sample size per second (ESS/s), particularly for models with complex posterior geometries.
Proposed method
- Proposes a new mass matrix structure that induces semi-separability in the joint Hamiltonian over parameters and hyperparameters.
- Introduces the alternating blockwise leapfrog algorithm (ABLA), a novel integrator that alternately updates parameter and hyperparameter blocks using separate leapfrog steps.
- Uses a block-diagonal metric: inverse Hessian of the likelihood for parameters and identity matrix for hyperparameters, simplifying computation.
- Employs a hybrid leapfrog scheme where different numbers of steps are used per block (e.g., 5 steps for parameters, 2 for hyperparameters) to balance accuracy and efficiency.
- Applies a Metropolis-Hastings correction to ensure detailed balance and preserve the correct target distribution.
- Derives the joint Hamiltonian as a sum of two separable components: one for parameters and one for hyperparameters, enabling block-wise integration.
Experimental results
Research questions
- RQ1Can a simplified RMHMC method achieve better mixing than standard HMC and Gibbs sampling in hierarchical Bayesian models?
- RQ2Does exploiting semi-separability in the joint Hamiltonian lead to a more efficient integrator than general RMHMC?
- RQ3Can the proposed alternating blockwise leapfrog algorithm maintain accuracy while reducing computational cost compared to full RMHMC?
- RQ4How does SSHMC compare to RMHMC within Gibbs in terms of effective sample size per second (ESS/s) across different hierarchical models?
Key findings
- On the Gaussian funnel model, SSHMC achieved nearly twice the effective sample size per second (ESS/s) compared to RMHMC within Gibbs.
- In the log-Gaussian Cox process (LGCPP) model with a 32×32 grid, SSHMC produced approximately six times more effective samples per hour than RMHMC within Gibbs.
- SSHMC generated consistent posterior samples across all benchmarks, confirming convergence to the correct target distribution.
- The method maintained high efficiency even with a reduced number of leapfrog steps per block, demonstrating robustness and scalability.
- The alternating blockwise leapfrog algorithm enabled faster mixing in hyperparameter space than Gibbs sampling, due to shared terms across the two Hamiltonians.
- SSHMC outperformed both standard HMC and RMHMC within Gibbs in ESS/s across all tested models, confirming its superior computational efficiency.
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.