[Paper Review] Gradient-based Adaptive Markov Chain Monte Carlo
This paper proposes a gradient-based adaptive MCMC framework that optimizes proposal distributions using a generalized speed measure—a maximum entropy regularized objective—enabling robust adaptation even from rejected proposals. By leveraging stochastic gradient optimization with reparameterization tricks, the method outperforms traditional and Hamiltonian MCMC schemes in sampling efficiency, especially on high-dimensional and heavy-tailed targets.
We introduce a gradient-based learning method to automatically adapt Markov chain Monte Carlo (MCMC) proposal distributions to intractable targets. We define a maximum entropy regularised objective function, referred to as generalised speed measure, which can be robustly optimised over the parameters of the proposal distribution by applying stochastic gradient optimisation. An advantage of our method compared to traditional adaptive MCMC methods is that the adaptation occurs even when candidate state values are rejected. This is a highly desirable property of any adaptation strategy because the adaptation starts in early iterations even if the initial proposal distribution is far from optimum. We apply the framework for learning multivariate random walk Metropolis and Metropolis-adjusted Langevin proposals with full covariance matrices, and provide empirical evidence that our method can outperform other MCMC algorithms, including Hamiltonian Monte Carlo schemes.
Motivation & Objective
- Address the slow adaptation of traditional adaptive MCMC methods that ignore rejected states and rely on correlated, early-chain samples.
- Overcome the limitations of greedy adaptation strategies that are sensitive to poor initial parameter choices.
- Develop a scalable, gradient-based method that learns full covariance matrices in random walk and Langevin proposals using only gradient information of the target log-density.
- Improve sampling efficiency by maximizing a generalized speed measure that balances high acceptance rates and proposal entropy.
- Enable faster convergence and better mixing in high-dimensional and multi-scale target distributions, including Bayesian logistic regression and multivariate Gaussians.
Proposed method
- Define a generalized speed measure as an entropy-regularized objective function to optimize proposal parameters, promoting both high acceptance rates and proposal diversity.
- Use stochastic gradient optimization with the reparameterization trick to backpropagate through the MCMC transition kernel and update proposal parameters.
- Apply the method to multivariate random walk Metropolis (RWM) and Metropolis-adjusted Langevin (MALA) algorithms with full covariance matrices parameterized via Cholesky decomposition.
- Leverage gradients of the target log-density not only at accepted states but also at rejected candidates, enabling adaptation even when the chain does not move.
- Optimize proposal parameters using online learning with a learning rate schedule, allowing continuous adaptation during sampling.
- Ensure ergodicity and convergence by maintaining detailed balance through the Metropolis-Hastings acceptance mechanism while adapting the proposal distribution.
Experimental results
Research questions
- RQ1Can a gradient-based adaptive MCMC method achieve faster and more robust adaptation than traditional methods that ignore rejected states?
- RQ2How does the generalized speed measure objective improve sampling efficiency compared to standard adaptive MCMC and HMC schemes?
- RQ3To what extent can gradient-based adaptation with full covariance learning outperform isotropic or diagonal proposals in multi-scale target distributions?
- RQ4Does the method maintain stability and convergence when the initial proposal is far from the target distribution?
- RQ5Can the framework be effectively scaled to high-dimensional problems such as Bayesian logistic regression with 87 parameters?
Key findings
- The gadMALAf variant achieved the highest overall efficiency score (Min ESS/s) on the 100-dimensional multivariate Gaussian target, outperforming all baselines including HMC with 20 leapfrog steps.
- On the Caravan dataset (87-dimensional Bayesian logistic regression), gadMALAf achieved the highest effective sample size (ESS) per second, outperforming even NUTS despite NUTS’ high ESS due to its high computational cost.
- Trace plots showed significantly reduced autocorrelation in gadMALA methods compared to standard adaptive Metropolis (AM), indicating faster mixing and better exploration.
- The diagonal elements of the learned Cholesky factor L in gadMALAf closely matched the optimal scaling (0.01 to 1.00) across dimensions, demonstrating accurate adaptation to the target’s multi-scale structure.
- The method achieved faster adaptation in early iterations due to utilization of gradients from rejected states, enabling learning even when the chain was stuck.
- Supplementary results on MNIST (785-dimensional) confirmed the scalability and robustness of the framework in high-dimensional settings.
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.