A Gradient Based Strategy for Hamiltonian Monte Carlo Hyperparameter Optimization
Andrew Campbell, Wenlong Chen, Vincent Stimper, José Miguel Hernández-Lobato, Yichuan Zhang
Abstract
Hamiltonian Monte Carlo (HMC) is one of the most successful sampling methods in machine learning. However, its performance is signifcantly affected by the choice of hyperparameter values. Existing approaches for optimizing the HMC hyperparameters either optimize a proxy for mixing speed or consider the HMC chain as an implicit variational distribution and optimize a tractable lower bound that can be very loose in practice. Instead, we propose to optimize an objective that quantifes directly the speed of convergence to the target distribution. Our objective can be easily optimized using stochastic gradient descent. We evaluate our proposed method and compare to baselines on a variety of problems including sampling from synthetic 2D distributions, reconstructing sparse signals, learning deep latent variable models and sampling molecular confgurations from the Boltzmann distribution of a 22 atom molecule. We fnd that our method is competitive with or improves upon alternative baselines in all these experiments.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers8
- SE(3) Equivariant Augmented Coupling FlowsLaurence I. Midgley, Vincent Stimper, Javier Antorán, Emile Mathieu et al.NeurIPS 2023 · 45 citations
- Missing Data Imputation and Acquisition with Deep Hierarchical Models and Hamiltonian Monte CarloIgnacio Peis, Chao Ma, José Miguel Hernández-LobatoNeurIPS 2022 · 25 citations
- Diffusive Gibbs SamplingWenlin Chen, Mingtian Zhang, Brooks Paige, José Miguel Hernández-Lobato et al.ICML 2024 · 21 citations
- Designing Perceptual Puzzles by Differentiating Probabilistic ProgramsKartik Chandra, Tzu-Mao Li, Joshua B. Tenenbaum, Jonathan Ragan-KelleySIGGRAPH 2022 · 17 citations
- Flow Annealed Importance Sampling BootstrapLaurence Illing Midgley, Vincent Stimper, Gregor N. C. Simm, Bernhard Schölkopf et al.ICLR 2023 · 14 citations
Builds on1
Related papers
- Entropy-based adaptive Hamiltonian Monte CarloMarcel Hirt, Michalis K. Titsias, Petros DellaportasNeurIPS 2021 · 11 citations
- Accelerating Hamiltonian Monte Carlo via Chebyshev Integration TimeJun-Kun Wang, Andre WibisonoICLR 2023
- On the Convergence of Hamiltonian Monte Carlo with Stochastic GradientsDifan Zou, Quanquan GuICML 2021 · 20 citations
- A Hybrid Stochastic Gradient Hamiltonian Monte Carlo MethodChao Zhang, Zhijian Li, Zebang Shen, Jiahao Xie et al.AAAI 2021 · 3 citations
- Hamiltonian Descent Algorithms for Optimization: Accelerated Rates via Randomized Integration TimeQiang Fu, Andre WibisonoNeurIPS 2025 · 6 citations
