Entropy-based adaptive Hamiltonian Monte Carlo

Marcel Hirt, Michalis K. Titsias, Petros Dellaportas
10/27/2021
stat.COstat.ML

Official code: marcelah/entropy_adaptive_hmc (1 star, Python, last commit 2021-10-26).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

10Python, Jupyter NotebookOct 26, 20215 years ago

Similar Papers

Cite this paper

@article{hirt2021entropybased,
  title  = {Entropy-based adaptive Hamiltonian Monte Carlo},
  author = {Marcel Hirt and Michalis K. Titsias and Petros Dellaportas},
  year   = {2021},
  eprint = {2110.14625},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14625}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14625.svg)](https://codeofpaper.com/paper/2110.14625)

Discussion