cs.DSMar 24, 2026

Algorithmic warm starts for Hamiltonian Monte Carlo

Authors: Matthew S. Zhang, Jason M. Altschuler, Sinho Chewi

Organizations: UToronto · UPenn · Yale

Abstract

Generating samples from a continuous probability density is a central algorithmic problem across statistics, engineering, and the sciences. For high-dimensional settings, Hamiltonian Monte Carlo (HMC) is the default algorithm across mainstream software packages. However, despite the extensive line of work on HMC and its widespread empirical success, it remains unclear how many iterations of HMC are required as a function of the dimension dd. On one hand, a variety of results show that Metropolized HMC converges in O(d1/4)O(d^{1/4}) iterations from a warm start close to stationarity. On the other hand, Metropolized HMC is significantly slower without a warm start, e.g., requiring Ω(d1/2)Ω(d^{1/2}) iterations even for simple target distributions such as isotropic Gaussians. Finding a warm start is therefore the computational bottleneck for HMC. We resolve this issue for the well-studied setting of sampling from a probability distribution satisfying strong log-concavity (or isoperimetry) and third-order derivative bounds. We prove that non-Metropolized HMC generates a warm start in O~(d1/4)\tilde{O}(d^{1/4}) iterations, after which we can exploit the warm start using Metropolized HMC. Our final complexity of O~(d1/4)\tilde{O}(d^{1/4}) is the fastest algorithm for high-accuracy sampling under these assumptions, improving over the prior best of O~(d1/2)\tilde{O}(d^{1/2}). This closes the long line of work on the dimensional complexity of MHMC for such settings, and also provides a simple warm-start prescription for practical implementations.

Figures & tables

Explore similar work

Sep 7, 2026

Smoothed Picard Hamiltonian Monte Carlo

We develop a new low-accuracy sampler, called smoothed Picard Hamiltonian Monte Carlo, which combines Gaussian smoothing, Picard iteration, and higher-order discretization. For a log-concave target π∝exp⁡(−V)π\propto \exp(-V) in dimension dd satisfying 0≺αI⪯∇2V⪯βI0 \prec αI \preceq \nabla^2 V \preceq βI, with condition number κ:=β/ακ:= β/α, smoothed Picard HMC returns a sample with α W2(⋅,π)≤ε\sqrt α\,W_2(\cdot,π) \le \varepsilon using O~(κ2+κ7/6d1/6/ε1/3)\widetilde O(κ^2 + κ^{7/6} d^{1/6}/\varepsilon^{1/3}) gradient queries. We also prove stronger WqW_q bounds, and then develop an algorithmic framework, the recursive warm start generator, to upgrade these WqW_q bounds to stronger divergence guarantees. This produces a warm start for the proximal bouncy particle sampler, introduced in a companion work, leading to a high-accuracy log-concave sampler with complexity O~((κ7/6d1/6+κ1/2d1/4)polylog(1/ε))\widetilde O((κ^{7/6} d^{1/6} + κ^{1/2} d^{1/4})\mathrm{polylog}(1/\varepsilon)).
Jul 14, 2026

Accelerated Mixing Time of Randomized Hamiltonian Monte Carlo

We show the Randomized Hamiltonian Monte Carlo (RHMC) algorithm has accelerated mixing time guarantees for sampling from log-concave probability distributions. RHMC proceeds by repeatedly simulating the continuous-time Hamiltonian dynamics for some random integration times, and resetting the velocity to be an independent Gaussian random variable between each simulation. We show that when the target distribution is log-concave and satisfies an αα-Talagrand inequality (for example, if the target distribution is αα-strongly log-concave), if we use a random integration time from either the triangular or the exponential distribution with mean Θ(α−1/2)Θ(α^{-1/2}), then RHMC converges exponentially fast in KL divergence, and the total integration time to reach error ε\varepsilon in KL divergence scales as O(α−1/2log⁡(ε−1))O(α^{-1/2} \log(\varepsilon^{-1})). We also show that when the target distribution is log-concave, if we use a sequence of random integration times from the triangular distribution with exponentially increasing means, then the total integration time to reach error ε\varepsilon in KL divergence scales as O(ε−1/2)O(\varepsilon^{-1/2}). Our analysis relies on a bound on the average KL divergence along Hamiltonian dynamics, which is inspired by an analogous result on accelerated optimization methods based on Hamiltonian dynamics.
Feb 24, 2026

Counterdiabatic Hamiltonian Monte Carlo

Hamiltonian Monte Carlo (HMC) is a state of the art method for sampling from distributions with differentiable densities, but can converge slowly when applied to challenging multimodal problems. Running HMC with a time varying Hamiltonian, in order to interpolate from an initial tractable distribution to the target of interest, can address this problem. In conjunction with a weighting scheme to eliminate bias, this can be viewed as a special case of Sequential Monte Carlo (SMC) sampling \cite{doucet2001introduction}. However, this approach can be inefficient, since it requires slow change between the initial and final distribution. Inspired by \cite{sels2017minimizing}, where a learned counterdiabatic term added to the Hamiltonian allows for efficient quantum state preparation, we propose Counterdiabatic Hamiltonian Monte Carlo (CHMC), which can be viewed as an SMC sampler with a more efficient kernel. We establish its relationship to recent proposals for accelerating gradient-based sampling with learned drift terms, and demonstrate on simple benchmark problems.