Self-Tuning Hamiltonian Monte Carlo for Accelerated Sampling
Not on the map. Why?
Abstract (arXiv)
The performance of Hamiltonian Monte Carlo simulations crucially depends on both the integration timestep and the number of integration steps. We present an adaptive general-purpose framework to automatically tune such parameters, based on a local loss function which promotes the fast exploration of phase-space. We show that a good correspondence between loss and autocorrelation time can be established, allowing for gradient-based optimization using a fully-differentiable set-up. The loss is constructed in such a way that it also allows for gradient-driven learning of a distribution over the number of integration steps. Our approach is demonstrated for the one-dimensional harmonic oscillator and alanine dipeptide, a small protein common as a test case for simulation methods. Through the application to the harmonic oscillator, we highlight the importance of not using a fixed timestep to avoid a rugged loss surface with many local minima, otherwise trapping the optimization. In the case of alanine dipeptide, by tuning the only free parameter of our loss definition, we find a good correspondence between it and the autocorrelation times, resulting in a >100 fold speed up in optimization of simulation parameters compared to a grid-search. For this system, we also extend the integrator to allow for atom-dependent timesteps, providing a further reduction of 25% in autocorrelation times.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 13 of its 74 references that are in the map. First posted on arXiv 24 Sep 2023.
Builds on
13 of 74 references.
References · 13
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,315
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
- 2017A Conceptual Introduction to Hamiltonian Monte Carlocited by 207
- 2019A Gentle Introduction to Deep Learning for Graphscited by 107
- 2017TensorFlow Distributionscited by 105
- 2019NeuTra-lizing Bad Geometry in Hamiltonian Monte Carlo Using Neural Transportcited by 73
- 2020TorchMD: A deep learning framework for molecular simulationscited by 55
- 2017Generalizing Hamiltonian Monte Carlo with Neural Networkscited by 52
- 2017A-NICE-MC: Adversarial Training for MCMCcited by 36
1 more
- 2023On Sampling with Approximate Transport Mapscited by 20
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 2.
4 papers.
- 2023Uncertainty-biased molecular dynamics for learning uniformly accurate interatomic potentialscited by 16
- 2024Reinforcement Learning for Adaptive MCMCcited by 4
- 2025Fast, Modular, and Differentiable Framework for Machine Learning-Enhanced Molecular Simulationscited by 2
- 2025Harnessing the Power of Reinforcement Learning for Adaptive MCMCcited by 2
- 2025Harnessing the Power of Reinforcement Learning for Adaptive MCMC1 Jul 2025
- 2025Fast, Modular, and Differentiable Framework for Machine Learning-Enhanced Molecular Simulations26 Mar 2025
- 2024Reinforcement Learning for Adaptive MCMC22 May 2024
- 2023Uncertainty-biased molecular dynamics for learning uniformly accurate interatomic potentials3 Dec 2023