Skip to main content
QUICK REVIEW

[Paper Review] Optimal Convergence Rate of Hamiltonian Monte Carlo for Strongly Logconcave Distributions

Zongchen Chen, Santosh Vempala|arXiv (Cornell University)|May 7, 2019
Markov Chains and Monte Carlo MethodsMathematics19 references17 citations
TL;DR

This paper establishes the optimal convergence rate of Hamiltonian Monte Carlo (HMC) for strongly logconcave distributions, proving the relaxation time of ideal HMC is $O(\kappa)$, matching the lower bound $\Omega(\kappa)$, and showing that with a nearly optimal ODE solver, HMC achieves $\widetilde{O}((\kappa d)^{0.5}\varepsilon^{-1})$ gradient evaluations per step and $\widetilde{O}((\kappa d)^{1.5}\varepsilon^{-1})$ total time to obtain an $\varepsilon$-approximate sample in 2-Wasserstein distance.

ABSTRACT

We study Hamiltonian Monte Carlo (HMC) for sampling from a strongly logconcave density proportional to $e^{-f}$ where $f:\mathbb{R}^d o \mathbb{R}$ is $μ$-strongly convex and $L$-smooth (the condition number is $κ= L/μ$). We show that the relaxation time (inverse of the spectral gap) of ideal HMC is $O(κ)$, improving on the previous best bound of $O(κ^{1.5})$; we complement this with an example where the relaxation time is $Ω(κ)$. When implemented using a nearly optimal ODE solver, HMC returns an $\varepsilon$-approximate point in $2$-Wasserstein distance using $\widetilde{O}((κd)^{0.5} \varepsilon^{-1})$ gradient evaluations per step and $\widetilde{O}((κd)^{1.5}\varepsilon^{-1})$ total time.

Motivation & Objective

  • To close the gap between known upper and lower bounds on the convergence rate of Hamiltonian Monte Carlo (HMC) for strongly logconcave distributions.
  • To establish the optimal relaxation time of ideal HMC under $\mu$-strong convexity and $L$-smoothness, with condition number $\kappa = L/\mu$.
  • To analyze the computational cost of HMC when implemented with a nearly optimal ODE solver, quantifying gradient evaluations and total time to achieve $\varepsilon$-accuracy in 2-Wasserstein distance.
  • To provide tight upper and lower bounds on the relaxation time, showing $O(\kappa)$ is optimal.

Proposed method

  • Analyzes ideal HMC with exact solution of the Hamiltonian ODE system, neglecting numerical integration errors.
  • Uses spectral gap analysis to bound the relaxation time $\tau_{\text{rel}}(P)$ of the HMC Markov chain.
  • Applies results from [9] on ODE solvers with error tolerance $\delta$, ensuring $\delta = \sqrt{\mu}T^2\varepsilon/16$ for controlled approximation.
  • Employs piecewise constant approximations to the second derivative of the trajectory to bound ODE solver complexity.
  • Uses Cauchy-Schwarz and moment bounds on Gaussian velocities and gradients to control expected number of gradient evaluations per step.
  • Combines $\widetilde{O}$-notation to account for logarithmic factors in the complexity analysis.

Experimental results

Research questions

  • RQ1What is the optimal relaxation time of ideal HMC for strongly logconcave distributions with condition number $\kappa$?
  • RQ2Can the $O(\kappa^{1.5})$ upper bound on HMC relaxation time be improved to $O(\kappa)$?
  • RQ3Is the $O(\kappa)$ bound tight, or can it be further reduced?
  • RQ4What is the computational cost of HMC with a nearly optimal ODE solver in terms of gradient evaluations and total time?
  • RQ5How does the number of gradient evaluations scale with dimension $d$, condition number $\kappa$, and error tolerance $\varepsilon$?

Key findings

  • The relaxation time of ideal HMC is $O(\kappa)$, improving the prior best bound of $O(\kappa^{1.5})$.
  • An example is constructed where the relaxation time is $\Omega(\kappa)$, proving that $O(\kappa)$ is optimal.
  • With a nearly optimal ODE solver, HMC requires $\widetilde{O}((\kappa d)^{0.5}\varepsilon^{-1})$ gradient evaluations per step.
  • The total time complexity is $\widetilde{O}((\kappa d)^{1.5}\varepsilon^{-1})$ to achieve $\varepsilon$-accuracy in 2-Wasserstein distance.
  • The amortized gradient evaluation cost per step is bounded by $O\left(\frac{\sqrt{\kappa d}}{\varepsilon}\log\left(\frac{\kappa d}{\varepsilon}\right)\right)$.
  • The analysis confirms that the $O(\kappa)$ relaxation time bound is tight, closing the theoretical gap in HMC convergence rates for strongly logconcave targets.

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.