Faster Hamiltonian Monte Carlo by learning leapfrog scale: an offline randomized solution
Abstract
Abstract We introduce a Hamiltonian Monte Carlo (HMC) methodology based on an offline empirical calibration of randomized leapfrog parameters. The approach, referred to as eHMC, where e stands for empirical, leverages importance sampling to construct an empirical distribution on discretization parameters, thereby eliminating the need for manual burn-in diagnostics and online adaptation. The proposal distribution used in the calibration stage is obtained via a Population Monte Carlo scheme with tempering and relies on flexible parametric variational families such as normalizing flows. Once the calibration stage complete, the resulting algorithm defines a homogeneous Markov chain via a mixture of HMC kernels with a fixed mixing distribution, and hence preserves the target distribution. Numerical experiments indicate that eHMC can achieve competitive or improved sampling efficiency compared to the No-U-Turn Sampler (NUTS) in the case useful integration times can be summarized by the offline distribution. The comparison is assessed by standard efficiency metrics normalized by the number of leapfrog steps during the post-calibration sampling phase.
// Source
Authors: Changye Wu, Christian P. Robert, Julien Stoehr
Institutions: Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement, Centre National de la Recherche Scientifique, Université Paris-Saclay, Université Paris Sciences et Lettres, Aix-Marseille Université, University of Warwick, Centre de Recherche en Économie et Statistique, Institut Polytechnique de Bordeaux, AgroParisTech, Centre de Recherche en Mathématiques de la Décision, Université Paris Dauphine-PSL