Journal article icon

Journal article

Adaptive tuning of Hamiltonian Monte Carlo methods

Abstract:
With the recently increased interest in probabilistic models, the efficiency of an underlying sampler becomes a crucial consideration. Hamiltonian Monte Carlo is one popular option for models of this kind. Performance of the method, however, strongly relies on a choice of parameters associated with an integration approach for Hamiltonian equations. Up to date, such a choice remains mainly heuristic or introduces time complexity. We propose a novel computationally inexpensive and flexible approach (we call it Adaptive Tuning or ATune) that, by combining a theoretical analysis of the multivariate Gaussian model with simulation data generated during a burn-in stage of a Hamiltonian Monte Carlo simulation, detects a system specific splitting integrator with a set of reliable sampler’s hyperparameters, including their credible randomization intervals, to be readily used in a production simulation. The method automatically eliminates those values of simulation parameters which could cause undesired extreme scenarios, such as resonance artifacts, low accuracy or poor sampling. The new approach is implemented in the in-house software package HaiCS, with no computational overheads introduced in a production simulation, and can be easily incorporated in any package for Bayesian inference with Hamiltonian Monte Carlo. The tests on popular statistical models reveal the superiority of adaptively tuned standard and generalized Hamiltonian Monte Carlo methods in terms of stability, performance and accuracy over conventional Hamiltonian Monte Carlo tuned heuristically and coupled with the well-established integrators. We also claim that the generalized Hamiltonian Monte Carlo is preferable for achieving high sampling performance. The efficiency of the new methodology is assessed in comparison with state-of-the-art samplers, e.g. the No-U-Turn-Sampler, in real-world applications, such as endocrine therapy resistance in cancer, modeling of cell-cell adhesion dynamics and influenza A epidemic outbreak.
Publication status:
Published
Peer review status:
Peer reviewed

Actions

Access Document

Files:
Publisher copy:
10.1016/j.apm.2026.116892

Authors

More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Mathematical Institute
Oxford college:
Queen's College
Role:
Author
ORCID:
0000-0001-8819-4660


More from this funder
Funder identifier:
https://ror.org/00pz2fp31
Grant:
6/12/TT/2024/00003
KK2024/00062
Programme:
ELKARTEK Programme
More from this funder
Funder identifier:
https://ror.org/0472cxd90
Grant:
883363
More from this funder
Funder identifier:
https://ror.org/05r0vyz12
Grant:
CEX2021-001142-S / MICIU/ AEI / 10.13039/501100011033
PRE2022-104791


Publisher:
Elsevier
Journal:
Applied Mathematical Modelling More from this journal
Volume:
157
Article number:
116892
Publication date:
2026-03-08
Acceptance date:
2026-03-04
DOI:
EISSN:
1872-8480
ISSN:
0307-904X

Terms of use


Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP