Introduction
Approximate Bayesian Computation (ABC) is a cornerstone of simulation-based science, enabling inference in fields like ecology and particle physics where explicit likelihood functions are unavailable. However, standard ABC methods, typically based on random-walk Markov Chain Monte Carlo (MCMC), struggle significantly as the dimensionality of the parameter space increases. While Hamiltonian Monte Carlo (HMC) offers a solution for high-dimensional inference by leveraging gradient information, it has traditionally been inapplicable to "black-box" simulators that do not provide gradients.
Hamiltonian ABC (HABC) bridges this gap by introducing a scalable framework that adapts Stochastic Gradient Hamiltonian Dynamics (SGHD) to the likelihood-free setting. By combining clever gradient estimation with techniques to manage simulator noise, HABC enables Bayesian inference in parameter spaces with thousands of dimensions.
Methodology
The primary challenge in HABC is estimating the gradient of an unknown log-likelihood using only forward simulations. The authors employ three synergistic strategies to achieve stable and efficient sampling.
Synthetic Likelihood (SL)
Traditional kernel-based ABC methods are often highly sensitive to noise, leading to high-variance gradient estimates. HABC utilizes a Synthetic Likelihood approach, modeling the simulator's output summary statistics as a Gaussian distribution. While this introduces a mild bias if the true distribution is non-Gaussian, it dramatically reduces the variance of the gradient estimates.
As shown in Figure 2, the Synthetic Likelihood (SL) provides much more concentrated gradient estimates compared to kernel-based methods, which is crucial for the stability of Hamiltonian dynamics.
Simultaneous Perturbation Stochastic Approximation (SPSA)
To maintain scalability, HABC uses SPSA for gradient estimation. Unlike finite difference methods that require simulations proportional to the number of dimensions, SPSA requires only two simulations per step. It achieves this by perturbing all parameters simultaneously in a random direction, providing a "good enough" gradient for high-dimensional exploration.
Persistent Random Numbers (PRNs)
Simulator noise often stems from internal random number generators. HABC treats the random seed ($\omega$) as part of the Markov chain state. By keeping the seed fixed for several steps, the simulator behaves deterministically, allowing the Hamiltonian particle to "glide" smoothly across the parameter landscape without being derailed by stochastic noise.
Experimental Evaluation
The authors validated HABC across three benchmarks:
- 1D Toy Model: Used to quantify the bias and variance of gradient estimates.
- Blowfly Population Model: A 6-parameter ecological simulator known for its complex, chaotic dynamics.
- High-Dimensional Logistic Regression (MNIST): A test case with 1,568 dimensions to demonstrate scaling, treating the known likelihood as a black box.
Results and Discussion
HABC demonstrates significant improvements over traditional ABC-MCMC. In the Blowfly model, HABC variants like SG-Langevin and SG-Thermostats showed reduced random-walk behavior, leading to more efficient posterior exploration.
Figure 3 illustrates that HABC methods accurately recover the true posterior distribution. Furthermore, on the MNIST task, HABC with SPSA gradients successfully matched the performance of standard HMC using exact gradients, proving its efficacy in high-dimensional regimes.
Conclusion and Future Work
Hamiltonian ABC represents a major step forward for simulation-based inference. By leveraging Synthetic Likelihoods and SPSA, it overcomes the dimensionality barrier that has long plagued ABC. Future research may explore combining HABC with surrogate models, such as Gaussian Processes, to further reduce the computational cost of simulations.
Summary updated