Is there an analog of Nesterov acceleration for gradient-based MCMC?

Yi-An Ma, Niladri S. Chatterji, Xiang Cheng, Nicolas Flammarion, Peter L. Bartlett, Michael I. Jordan

TL;DR

This paper establishes a formal bridge between optimization and sampling by proving that the underdamped Langevin algorithm is the direct MCMC analog of Nesterov’s accelerated gradient descent. By viewing sampling as optimization over the space of probability measures, the authors show that this "momentum-based" sampling achieves a significantly faster convergence rate—improving the dependence on dimension and error from $d/\epsilon$ to $\sqrt{d/\epsilon}$.

What Problem Does This Paper Address?

In the world of optimization, Nesterov’s Accelerated Gradient Descent (AGD) is legendary for reaching optimal convergence rates by adding a "momentum" term to standard gradient descent. Meanwhile, Markov chain Monte Carlo (MCMC) sampling—the backbone of Bayesian inference—has traditionally been analyzed using asymptotic theory (what happens as time goes to infinity).

While researchers recently started viewing the standard Langevin algorithm as "gradient descent on the space of probability measures," a major question remained: Is there a "Nesterov" for sampling? Specifically, can we add a momentum-like variable to MCMC to provably accelerate its convergence in high-dimensional spaces? This paper provides the mathematical proof that such an analog exists and characterizes its non-asymptotic convergence rate.

Methods

The authors treat sampling as an optimization problem where the goal is to minimize the Kullback-Leibler (KL) divergence between the current distribution and the target distribution.

Key technical components include:

  • Underdamped Langevin Dynamics (ULD): Unlike the standard (overdamped) Langevin equation, which only tracks position ($\theta$), ULD introduces a "velocity" or momentum variable ($r$). This second-order differential equation mirrors the dynamics of physical systems with inertia.
  • Lyapunov Functionals: To prove convergence, the authors construct a custom "energy function" (Lyapunov functional) that combines the KL divergence with a quadratic form of the gradients. This allows them to track how the "distance" to the target distribution shrinks over time.
  • Hypocoercivity: Because the momentum term doesn't directly reduce the objective (it just moves the "particle"), the authors use the theory of hypocoercivity to show that the interaction between the position and momentum variables eventually leads to global convergence.
  • High-Order Discretization: To turn the continuous physical equations into a computer algorithm, they develop a specific second-order discretization scheme that preserves the acceleration property.

Datasets

As a theoretical paper, it does not use large-scale empirical datasets. Instead, it uses:

  • Synthetic Quadratic Simulations: A 100-dimensional quadratic potential is used to visually demonstrate the "oscillatory" behavior characteristic of accelerated methods (see Figure 1 in the paper).
  • Theoretical Frameworks: The results are proven for target distributions satisfying the log-Sobolev inequality and for a class of locally nonconvex functions (functions that are strongly convex outside a certain radius but may be messy inside).

Key Insights and Ideas

  • The Sampling-Optimization Duality: The paper reinforces the idea that sampling is not just "related" to optimization; it is optimization in the space of measures.
  • Momentum is Universal: The same physical intuition that makes a ball roll faster down a hill (momentum) can be used to navigate the "landscape" of a probability distribution more efficiently.
  • The $\sqrt{d}$ Speedup: In high dimensions ($d$), standard Langevin scales linearly with $d$. By using the underdamped version, the complexity scales with $\sqrt{d}$, which is a massive win for modern machine learning problems where $d$ can be in the millions.
  • Non-Reversibility is a Feature: While classical MCMC often relies on "reversible" chains (like Metropolis-Hastings), acceleration specifically requires "non-reversible" stochastic processes, which break symmetry to move toward the target faster.

Key Results

  • Accelerated Rates: For distributions satisfying a log-Sobolev inequality, the underdamped Langevin algorithm achieves a convergence rate of $O(\sqrt{d/\epsilon})$ in KL divergence, compared to the $O(d/\epsilon)$ rate of the standard Langevin algorithm.
  • Nonconvex Handling: The authors prove that this acceleration holds even for certain nonconvex potentials, provided they behave well at infinity.
  • Discretization Error: They provide an explicit step-size $h$ and iteration count $K$ required to reach a target error $\epsilon$, ensuring the theory translates into a practical, implementable algorithm.

Limitations and Future Work

  • Strong Assumptions: The proofs rely on the target distribution satisfying a log-Sobolev inequality and the potential function having a Lipschitz Hessian. These conditions can be difficult to verify for complex, real-world neural network landscapes.
  • Discretization Complexity: The proposed discretization scheme is more mathematically involved than the simple Euler-Maruyama method. The authors suggest that exploring even higher-order or more stable discretization (like symplectic integrators) could be a fruitful path.
  • General Dynamics: The "Discussion" section hints at a more general framework using "dissipative" and "curl" matrices ($D$ and $Q$). Future work could explore if even more exotic dynamics (beyond just underdamped Langevin) could yield further speedups.

Summary updated

BibTeX
@inproceedings{ma2021is,
  author = {Yi-An Ma and Niladri S. Chatterji and Xiang Cheng and Nicolas Flammarion and Peter L. Bartlett and Michael I. Jordan},
  title = {{Is there an analog of Nesterov acceleration for gradient-based MCMC?}},
  booktitle = {Bernoulli},
  year = {2021},
  doi = {10.3150/20-bej1297},
}
Figure