Skip to main content
QUICK REVIEW

[Paper Review] Does Hamiltonian Monte Carlo mix faster than a random walk on multimodal densities?

Oren Mangoubi, Natesh S. Pillai|arXiv (Cornell University)|Aug 9, 2018
Markov Chains and Monte Carlo MethodsMathematics30 references16 citations
TL;DR

This paper investigates whether Hamiltonian Monte Carlo (HMC) outperforms Random-Walk Metropolis (RWM) on highly multimodal targets, finding that HMC does not offer a fundamental advantage. Using a novel conductance formula derived from Liouville’s theorem, the authors compute spectral gaps for both algorithms on a mixture of Gaussians with small variance, showing identical decay rates of $ e^{-\frac{1}{2}\sigma^{-2}} $ as $ \sigma \to 0 $. This implies HMC and RWM have asymptotically equivalent mixing times in this regime, despite HMC’s gradient-based proposals being ineffective across modes.

ABSTRACT

Hamiltonian Monte Carlo (HMC) is a very popular and generic collection of Markov chain Monte Carlo (MCMC) algorithms. One explanation for the popularity of HMC algorithms is their excellent performance as the dimension $d$ of the target becomes large: under conditions that are satisfied for many common statistical models, optimally-tuned HMC algorithms have a running time that scales like $d^{0.25}$. In stark contrast, the running time of the usual Random-Walk Metropolis (RWM) algorithm, optimally tuned, scales like $d$. This superior scaling of the HMC algorithm with dimension is attributed to the fact that it, unlike RWM, incorporates the gradient information in the proposal distribution. In this paper, we investigate a different scaling question: does HMC beat RWM for highly $ extit{multimodal}$ targets? We find that the answer is often $ extit{no}$. We compute the spectral gaps for both the algorithms for a specific class of multimodal target densities, and show that they are identical. The key reason is that, within one mode, the gradient is effectively ignorant about other modes, thus negating the advantage the HMC algorithm enjoys in unimodal targets. We also give heuristic arguments suggesting that the above observation may hold quite generally. Our main tool for answering this question is a novel simple formula for the conductance of HMC using Liouville's theorem. This result allows us to compute the spectral gap of HMC algorithms, for both the classical HMC with isotropic momentum and the recent Riemannian HMC, for multimodal targets.

Motivation & Objective

  • To determine whether Hamiltonian Monte Carlo (HMC) mixes faster than Random-Walk Metropolis (RWM) on highly multimodal target distributions.
  • To assess whether the gradient-based proposals of HMC provide a meaningful advantage in multimodal settings where modes are separated.
  • To develop a general method for computing the spectral gap of HMC on multimodal targets using a novel conductance formula.
  • To evaluate the robustness of HMC performance under varying tuning parameters in the multimodal regime.
  • To challenge the prevailing assumption that HMC universally outperforms RWM, especially in high-dimensional or multimodal contexts.

Proposed method

  • Derive a new formula for the conductance of HMC using Liouville’s theorem, enabling exact computation of spectral gaps for multimodal targets.
  • Apply the conductance formula to a mixture of two Gaussians $ \frac{1}{2}N(-1,\sigma^2) + \frac{1}{2}N(1,\sigma^2) $ as a canonical multimodal example.
  • Compute the spectral gap for both HMC (with isotropic and Riemannian metrics) and RWM under optimal tuning, with integration time $ T \propto \sigma $ and proposal variance $ \propto \sigma^2 $.
  • Use Cheeger’s inequality to relate conductance to spectral gap, establishing bounds on mixing time performance.
  • Analyze the asymptotic behavior of the spectral gap as $ \sigma \to 0 $, showing identical decay rates for both algorithms.
  • Demonstrate that increasing HMC integration time $ T $ yields only linear improvement in conductance, limiting performance gains.

Experimental results

Research questions

  • RQ1Does HMC mix faster than RWM on multimodal target distributions, particularly when modes are well-separated?
  • RQ2Can the gradient information in HMC proposals effectively facilitate transitions between distant modes in a multimodal target?
  • RQ3What is the asymptotic behavior of the spectral gap for HMC and RWM as the separation between modes increases (i.e., $ \sigma \to 0 $)?
  • RQ4Is there a fundamental performance limit for HMC in multimodal regimes, even with optimal tuning?
  • RQ5Can the conductance of HMC be improved indefinitely by increasing integration time $ T $, or are there diminishing returns?

Key findings

  • For a mixture of two Gaussians with small variance $ \sigma $, both HMC and RWM exhibit spectral gaps decaying as $ e^{-\frac{1}{2}\sigma^{-2}} $ as $ \sigma \to 0 $.
  • The spectral gap of HMC with isotropic momentum and Riemannian HMC both decay at the same rate as RWM, indicating no mixing advantage for HMC in this regime.
  • The conductance of HMC increases at most linearly with integration time $ T $, implying that performance gains are limited and cannot overcome the multimodal barrier.
  • Even with optimal tuning, HMC cannot improve its relative performance over RWM in the multimodal regime, as the gradient is ineffective across modes.
  • RWM can achieve dramatic performance improvements with better tuning (e.g., $ \epsilon \propto \sigma $), while HMC shows no such improvement, highlighting a key difference in tunability.
  • The conductance bound $ \Phi(K_T) \leq T \cdot \Phi_0(\pi) $ implies that HMC’s effective mixing rate is fundamentally constrained by the underlying geometry of the target distribution.

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.