Condition-number-independent Convergence Rate of Riemannian Hamiltonian Monte Carlo with Numerical Integrators

Yunbum Kook, Yin Tat Lee, Ruoqi Shen, Santosh S. Vempala

Introduction

High-dimensional sampling is a foundational task in modern computational science, supporting applications ranging from metabolic network simulations in biology to volume estimation in geometry. However, traditional Markov Chain Monte Carlo (MCMC) methods often struggle when the target distribution is "ill-conditioned"—where the geometry is stretched or elongated like a thin needle. In such cases, standard random-walk algorithms stall, requiring an impractical number of steps to explore the space.

Riemannian Hamiltonian Monte Carlo (RHMC) was developed to address this by leveraging the geometric structure of the space. By treating the distribution as a curved manifold, RHMC can theoretically navigate distorted geometries efficiently. However, a significant gap has existed between the "ideal" continuous-time theory of RHMC and the discrete implementations used on computers. This paper, originally presented at COLT 2023, provides the first theoretical proof that RHMC remains independent of the condition number even when implemented with standard numerical integrators.

The Challenge of Discretization

In ideal physics, Hamiltonian dynamics allow a particle to glide along a manifold without error. In practice, computers must approximate these paths using discrete steps via numerical integrators. Until now, it was unclear whether the errors introduced by these discrete steps would accumulate and destroy the very property that makes RHMC attractive: its resilience to ill-conditioning.

Traditional samplers like the Ball Walk or Hit-and-Run are highly sensitive to the "stretch" of a distribution. Their mixing time—the time required to accurately represent the distribution—scales poorly as the space becomes more elongated. While RHMC showed empirical promise in overcoming this, rigorous convergence guarantees for its discretized versions were missing.

Methodology

The authors analyze RHMC specifically for sampling from distributions of the form $e^{-f(x)}$ on a convex body, such as a polytope. Their framework relies on three primary components:

  1. Self-Concordant Barriers: The algorithm utilizes the Hessian of a self-concordant barrier function to define the Riemannian metric. This metric acts as a protective "force field," slowing the sampler as it approaches the boundaries of the polytope and preventing it from exiting the valid region.
  2. Symplectic Integrators: The study focuses on the Implicit Midpoint Method (IMM) and the generalized Leapfrog Method (LM). These integrators are chosen for their symplectic and time-reversible properties, which are critical for maintaining the statistical integrity of the Markov chain.
  3. Sensitivity Analysis: A core contribution of the paper is the definition of a "sensitivity" property for numerical integrators. This property ensures that small changes in initial velocity do not lead to wildly divergent positions in the discretized path, allowing the discrete sampler to closely track the ideal continuous trajectory.

Key Results and Theoretical Impact

The paper establishes that for exponential densities on polytopes, the mixing time of RHMC is independent of the distribution's condition number.

Mixing Time Complexity

The authors prove that for a target distribution $e^{-\alpha^T x}$ on a polytope defined by $m$ constraints in $n$ dimensions, RHMC using IMM or LM achieves a total variation distance $\epsilon$ in: $$\tilde{O}(mn^3)$$ This rate depends only on the number of constraints and the dimensionality, not on the width or "stretch" of the polytope.

Step-Size Bounds

To guarantee this convergence, the authors identify specific step-size requirements, such as $h \approx O(n^{-3/2})$. While these theoretical step sizes are more conservative than those often used in practice, they provide the first rigorous bound that ensures the Metropolis-Hastings "accept/reject" step maintains a high acceptance probability, keeping the algorithm efficient.

Practical Significance

This theoretical breakthrough provides the mathematical foundation for observed successes in high-stakes applications. For instance, RHMC has been used to sample from RECON3D, a massive human metabolic network model with approximately half a million dimensions. Previous empirical studies showed RHMC achieving 1000-fold speedups over traditional samplers on such ill-conditioned models; this paper finally explains the geometric reasons behind that performance.

Conclusion and Future Directions

By bridging the gap between continuous-time physics and discrete-time algorithms, this work confirms that RHMC is a robust tool for high-dimensional, ill-conditioned problems. While the current proof focuses on exponential densities on polytopes, it sets the stage for future research to extend these condition-number-independent guarantees to more general log-concave densities. Additionally, future work may explore refined coupling arguments to potentially reduce the $n^3$ complexity factor, further optimizing the algorithm for the next generation of high-dimensional challenges.

Summary updated

BibTeX
@inproceedings{kook2023condition,
  author = {Yunbum Kook and Yin Tat Lee and Ruoqi Shen and Santosh S. Vempala},
  title = {{Condition-number-independent Convergence Rate of Riemannian Hamiltonian Monte Carlo with Numerical Integrators}},
  booktitle = {Conference on Learning Theory},
  year = {2023},
}
Figure