Entropy-based adaptive Hamiltonian Monte Carlo
Marcel Hirt, Michalis K. Titsias, Petros Dellaportas
Abstract
Hamiltonian Monte Carlo (HMC) is a popular Markov Chain Monte Carlo (MCMC) algorithm to sample from an unnormalized probability distribution. A leapfrog integrator is commonly used to implement HMC in practice, but its performance can be sensitive to the choice of mass matrix used therein. We develop a gradient-based algorithm that allows for the adaptation of the mass matrix by encouraging the leapfrog integrator to have high acceptance rates while also exploring all dimensions jointly. In contrast to previous work that adapt the hyperparameters of HMC using some form of expected squared jumping distance, the adaptation strategy suggested here aims to increase sampling efficiency by maximizing an approximation of the proposal entropy. We illustrate that using multiple gradients in the HMC proposal can be beneficial compared to a single gradient-step in Metropolis-adjusted Langevin proposals. Empirical evidence suggests that the adaptation method can outperform different versions of HMC schemes by adjusting the mass matrix to the geometry of the target distribution and by providing some control on the integration time.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers4
- Optimal Scaling for Locally Balanced Proposals in Discrete SpacesHaoran Sun, Hanjun Dai, Dale SchuurmansNeurIPS 2022 · 14 citations
- Hamiltonian Descent Algorithms for Optimization: Accelerated Rates via Randomized Integration TimeQiang Fu, Andre WibisonoNeurIPS 2025 · 6 citations
- Ai-sampler: Adversarial Learning of Markov kernels with involutive mapsEvgenii Egorov, Riccardo Valperga, Stratis GavvesICML 2024 · 2 citations
- Accelerating Hamiltonian Monte Carlo via Chebyshev Integration TimeJun-Kun Wang, Andre WibisonoICLR 2023
Builds on1
Related papers
- Lower Bounds on Metropolized Sampling Methods for Well-Conditioned DistributionsYin Tat Lee, Ruoqi Shen, Kevin TianNeurIPS 2021 · 24 citations
- Fixed-Distance Hamiltonian Monte CarloHadi Mohasel Afshar, Sally CrippsNeurIPS 2022
- A Gradient Based Strategy for Hamiltonian Monte Carlo Hyperparameter OptimizationAndrew Campbell, Wenlong Chen, Vincent Stimper, José Miguel Hernández-Lobato et al.ICML 2021 · 20 citations
- Metropolis Adjusted Microcanonical Hamiltonian Monte CarloJakob Robnik, Reuben Cohn-Gordon, Uros SeljakNeurIPS 2025 · 8 citations
- Practical and Scalable Hamiltonian Monte Carlo Without the Metropolis TestJakob Robnik, Reuben Cohn-Gordon, Uros SeljakICML 2026 · 5 citations
