The No-U-Turn Sampler: Adaptively Setting Path Lengths in Hamiltonian Monte Carlo
Matthew D. Hoffman, Andrew Gelman

TL;DR
The paper introduces the No-U-Turn Sampler (NUTS), an adaptive extension of Hamiltonian Monte Carlo that automatically determines path lengths, improving efficiency and usability without manual tuning.
Contribution
NUTS eliminates the need to set the number of steps in HMC by automatically stopping when it starts to double back, and includes an adaptive step size method for fully automatic sampling.
Findings
NUTS performs as well as or better than well-tuned HMC.
NUTS requires no user intervention or manual tuning.
NUTS is suitable for automatic inference engines.
Abstract
Hamiltonian Monte Carlo (HMC) is a Markov chain Monte Carlo (MCMC) algorithm that avoids the random walk behavior and sensitivity to correlated parameters that plague many MCMC methods by taking a series of steps informed by first-order gradient information. These features allow it to converge to high-dimensional target distributions much more quickly than simpler methods such as random walk Metropolis or Gibbs sampling. However, HMC's performance is highly sensitive to two user-specified parameters: a step size {\epsilon} and a desired number of steps L. In particular, if L is too small then the algorithm exhibits undesirable random walk behavior, while if L is too large the algorithm wastes computation. We introduce the No-U-Turn Sampler (NUTS), an extension to HMC that eliminates the need to set a number of steps L. NUTS uses a recursive algorithm to build a set of likely candidate…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMarkov Chains and Monte Carlo Methods · Machine Learning and Algorithms · Bayesian Methods and Mixture Models
