The No-U-turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo

By Matthew D. Hoffman, Andrew Gelman. 2011

5,283 citations recorded by the source corpus.

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 points that spans a wide swath of the target distribution, stopping automatically when it starts to double back and retrace its steps. Empirically, NUTS perform at least as efficiently as and sometimes more efficiently than a well tuned standard HMC method, without requiring user intervention or costly tuning runs. We also derive a method for adapting the step size parameter {\epsilon} on the fly based on primal-dual averaging. NUTS can thus be used with no hand-tuning at all. NUTS is also suitable for applications such as BUGS-style automatic inference engines that require efficient "turnkey" sampling algorithms.

Subfields: Artificial Intelligence, Statistics and Probability, Probabilistic & Bayesian Methods

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yoshua Bengio
  2. Sergey Levine
  3. Mohit Bansal
  4. Quoc V. Le
  5. Ruslan Salakhutdinov
  6. Percy Liang
  7. Jianfeng Gao
  8. Eric P. Xing

In Statistics and Probability

  1. David M. Blei
  2. Paul-Christian Burkner
  3. Matthew D. Hoffman
  4. Andrew Gelman
  5. Qiang Liu
  6. Aki Vehtari
  7. Dustin Tran
  8. Stephan Mandt

In Probabilistic & Bayesian Methods

  1. David M. Blei
  2. Richard E. Turner
  3. Qiang Liu
  4. Michalis K. Titsias
  5. Andrew Gordon Wilson
  6. Matthew D. Hoffman
  7. Zoubin Ghahramani
  8. Dustin Tran

Citations in the corpus