NeuTra-lizing Bad Geometry in Hamiltonian Monte Carlo Using Neural Transport

Matthew Hoffman, Pavel Sountsov, Joshua V. Dillon, Ian Langmore, Dustin Tran +1 more
3/9/2019
stat.COstat.ML

Official code: google-research/google-research (39,251 stars, Jupyter Notebook, Apache-2.0, last commit 2026-04-30).

Abstract

Hamiltonian Monte Carlo is a powerful algorithm for sampling from difficult-to-normalize posterior distributions. However, when the geometry of the posterior is unfavorable, it may take many expensive evaluations of the target distribution and its gradient to converge and mix.

Show full abstract

We propose neural transport (NeuTra) HMC, a technique for learning to correct this sort of unfavorable geometry using inverse autoregressive flows (IAF), a powerful neural variational inference technique. The IAF is trained to minimize the KL divergence from an isotropic Gaussian to the warped posterior, and then HMC sampling is performed in the warped space. We evaluate NeuTra HMC on a variety of synthetic and real problems, and find that it significantly outperforms vanilla HMC both in time to reach the stationary distribution and asymptotic effective-sample-size rates.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Google Research

39,2518,516Jupyter Notebook, PythonOct 4, 20187 months agoApache-2.0
aimachine-learningresearch

Similar Papers

Cite this paper

@article{hoffman2019neutralizing,
  title  = {NeuTra-lizing Bad Geometry in Hamiltonian Monte Carlo Using Neural Transport},
  author = {Matthew Hoffman and Pavel Sountsov and Joshua V. Dillon and Ian Langmore and Dustin Tran and Srinivas Vasudevan},
  year   = {2019},
  eprint = {1903.03704},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.03704}
}

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/1903.03704.svg)](https://codeofpaper.com/paper/1903.03704)

Discussion