Sharp Convergence Rates for Langevin Dynamics in the Nonconvex Setting

Xiang Cheng, Niladri S. Chatterji, Yasin Abbasi-Yadkori, Peter L. Bartlett, Michael I. JordanarXiv 2018

Abstract

We study the problem of sampling from a distribution $p^*(x) \propto \exp\left(-U(x)\right)$, where the function $U$ is $L$-smooth everywhere and $m$-strongly convex outside a ball of radius $R$, but potentially nonconvex inside this ball. We study both overdamped and underdamped Langevin MCMC and establish upper bounds on the number of steps required to obtain a sample from a distribution that is within $\epsilon$ of $p^*$ in $1$-Wasserstein distance. For the first-order method (overdamped Langevin MCMC), the iteration complexity is $\tilde{\mathcal{O}}\left(e^{cLR^2}d/\epsilon^2\right)$, where $d$ is the dimension of the underlying space. For the second-order method (underdamped Langevin MCMC), the iteration complexity is $\tilde{\mathcal{O}}\left(e^{cLR^2}\sqrt{d}/\epsilon\right)$ for an explicit positive constant $c$. Surprisingly, the iteration complexity for both these algorithms is only polynomial in the dimension $d$ and the target accuracy $\epsilon$. It is exponential, however, in the problem parameter $LR^2$, which is a measure of non-log-concavity of the target distribution.

Introduction

Sampling from probability distributions is a fundamental task in Bayesian inference, machine learning, and statistical physics. While the theory for sampling from log-concave distributions (where the potential function $U(x)$ is convex) is well-developed, many modern applications involve non-log-concave distributions. These include multimodal posterior distributions and the energy landscapes of deep neural networks.

This work, published in the Journal of Machine Learning Research (2019) by researchers from UC Berkeley and VinAI, provides the first non-asymptotic convergence rates for Langevin Monte Carlo (LMC) in a specific nonconvex setting. The authors demonstrate that while nonconvexity introduces an exponential "tax," the dependence on dimension and accuracy remains polynomial.

Problem Formulation

The goal is to sample from $p^*(x) \propto \exp(-U(x))$. The authors consider a potential $U$ that satisfies two main properties:

  1. $L$-smoothness: The gradient of $U$ is Lipschitz continuous everywhere.
  2. Distal Strong Convexity: $U$ is $m$-strongly convex outside a ball of radius $R$. Inside this ball, $U$ can be nonconvex.

The performance is measured by the number of iterations needed to reach a target accuracy $\epsilon$ in the 1-Wasserstein distance ($W_1$).

Methods: Overdamped vs. Underdamped Dynamics

The paper analyzes two variants of Langevin MCMC:

  1. Overdamped Langevin MCMC: A first-order method where the particle's velocity is proportional to the negative gradient of the potential plus Gaussian noise. It resembles gradient descent with added noise.
  2. Underdamped Langevin MCMC: A second-order method that incorporates momentum. It models a particle with mass, leading to smoother trajectories and potentially faster exploration of the state space.

Coupling Arguments

The core of the theoretical contribution lies in a sophisticated coupling argument. To bound the convergence rate, the authors construct a coupling of two processes—one representing the algorithm and one representing the target distribution. They employ a combination of synchronous coupling (used when particles are far apart to leverage distal strong convexity) and reflection coupling (used when particles are close to force them together despite local nonconvexity). This allows them to define a Lyapunov function that contracts over time.

Key Insights

  • The Nonconvexity Tax: The iteration complexity scales exponentially with $LR^2$. This parameter represents the "depth" and "width" of the nonconvex region. This exponential dependence is expected, as local minima can trap the sampler for long periods.
  • Polynomial Scalability: Crucially, the complexity remains polynomial in the dimension $d$ and the inverse accuracy $1/\epsilon$. This suggests that Langevin methods are viable for high-dimensional nonconvex sampling, provided the central nonconvexity is not excessively large.
  • The Power of Momentum: One of the most significant insights is that the "quadratic speedup" seen in optimization (e.g., Nesterov’s Accelerated Gradient vs. Gradient Descent) carries over to sampling. Underdamped Langevin MCMC provides a quadratic speedup over the overdamped version in terms of both dimension and precision.

Results

The established upper bounds for the number of iterations $n$ to achieve $W_1$ error $\epsilon$ are:

  • Overdamped Langevin: $n = \tilde{\mathcal{O}}\left( \frac{d}{\epsilon^2} \exp(cLR^2) \right)$
  • Underdamped Langevin: $n = \tilde{\mathcal{O}}\left( \frac{\sqrt{d}}{\epsilon} \exp(cLR^2) \right)$

The transition from $d/\epsilon^2$ to $\sqrt{d}/\epsilon$ highlights the efficiency of second-order methods in complex landscapes.

Conclusion and Future Directions

This research provides a rigorous foundation for understanding Langevin dynamics in nonconvex settings. While the exponential dependence on $LR^2$ is a bottleneck, the polynomial dependence on dimension is a significant theoretical milestone.

Future work may involve relaxing the "strong convexity outside a ball" assumption to broader classes of potentials, such as those with superlinear growth. Additionally, investigating the impact of Metropolis-Hastings correction steps or higher-order discretization schemes could lead to even tighter convergence bounds.

Summary updated

BibTeX
@misc{cheng2018sharp,
  author = {Xiang Cheng and Niladri S. Chatterji and Yasin Abbasi-Yadkori and Peter L. Bartlett and Michael I. Jordan},
  title = {{Sharp Convergence Rates for Langevin Dynamics in the Nonconvex Setting}},
  year = {2018},
  eprint = {1805.01648},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.01648},
}
Figure