Skip to main content
QUICK REVIEW

[Paper Review] Generalizing the No-U-Turn Sampler to Riemannian Manifolds

Michael Betancourt|arXiv (Cornell University)|Apr 6, 2013
Markov Chains and Monte Carlo MethodsMathematics2 references32 citations
TL;DR

This paper generalizes the No-U-Turn Sampler (NUTS) to Riemannian manifold Hamiltonian Monte Carlo (RMHMC) by introducing a geometric criterion that identifies turning points of the longest oscillation in trajectory integration. By leveraging Lie dragging of the canonical one-form to map momenta along the flow, the method ensures optimal integration time without doubling back, significantly improving sampling efficiency on complex, curved manifolds.

ABSTRACT

Hamiltonian Monte Carlo provides efficient Markov transitions at the expense of introducing two free parameters: a step size and total integration time. Because the step size controls discretization error it can be readily tuned to achieve certain accuracy criteria, but the total integration time is left unconstrained. Recently Hoffman and Gelman proposed a criterion for tuning the integration time in certain systems with their No U-Turn Sampler, or NUTS. In this paper I investigate the dynamical basis for the success of NUTS and generalize it to Riemannian Manifold Hamiltonian Monte Carlo.

Motivation & Objective

  • To address the lack of a principled criterion for optimal integration time in Riemannian manifold Hamiltonian Monte Carlo (RMHMC).
  • To extend the No-U-Turn Sampler (NUTS) beyond Euclidean spaces to curved Riemannian manifolds.
  • To identify the turning point of the longest oscillation (TPOLO) in complex, non-convex target distributions where standard NUTS fails.
  • To develop a generalization of NUTS that avoids trajectory doubling back, reducing wasted computation and autocorrelation.
  • To enable automatic adaptation of integration time in RMHMC using geometric invariants of the Hamiltonian flow.

Proposed method

  • Uses Lie dragging of the canonical one-form θ along Hamiltonian flow to map momenta from initial to final points on the manifold.
  • Defines a generalized momentum average ρ(R_t) as the time-averaged pulled-back momentum along the trajectory.
  • Introduces a stopping criterion based on the inner product ⟨p(R_t), ρ(R_t)⟩_Λ(R_t) < 0, indicating a turning point has been reached.
  • Applies the criterion to RMHMC by using the Riemannian metric to define the kinetic energy and Hamiltonian flow.
  • Employs discrete time integration to approximate the continuous integral in ρ(R_t), making it implementable in practice.
  • Leverages symplectic geometry and Riemannian structure to ensure the criterion is invariant and geometrically meaningful.

Experimental results

Research questions

  • RQ1Can the NUTS criterion be generalized to Riemannian manifolds where the standard Euclidean turning point detection fails?
  • RQ2What geometric invariant can reliably identify the optimal integration time in RMHMC without prior knowledge of the target distribution?
  • RQ3How can momentum be consistently mapped along a Hamiltonian trajectory on a curved manifold to detect when motion begins to reverse?
  • RQ4Does the proposed criterion correctly identify the TPOLO in non-convex, warped distributions such as the banana-shaped posterior?
  • RQ5Can this criterion be implemented efficiently in practice using discrete integrators common in probabilistic programming frameworks?

Key findings

  • The generalized NUTS criterion successfully identifies the TPOLO in the banana-shaped distribution when using the SoftAbs metric, avoiding trajectory doubling back.
  • The method is robust to non-convex and curved target distributions where standard NUTS fails due to incorrect turning point detection.
  • The criterion ⟨p(R_t), ρ(R_t)⟩_Λ(R_t) < 0 reliably signals the end of the longest oscillation, minimizing autocorrelation and maximizing proposal diversity.
  • The approach is compatible with existing RMHMC implementations and can be integrated into probabilistic programming systems like Stan.
  • The geometric foundation ensures invariance under reparameterization and preserves the symplectic structure of the Hamiltonian flow.
  • The method reduces computational waste by terminating trajectories precisely at turning points, even in transient phases of the dynamics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.