Accelerated Linear Convergence of Stochastic Momentum Methods in Wasserstein Distances

Bugra Can, Mert Gurbuzbalaban, Lingjiong Zhu

TL;DR

This paper provides the first theoretical proof that stochastic momentum methods—like Nesterov’s Accelerated Gradient—converge at an accelerated linear rate to a stationary distribution, even when gradient estimates are noisy. By analyzing these algorithms through the lens of Wasserstein distances, the authors quantify exactly how much noise a system can tolerate before the "speed boost" of momentum is lost.

What Problem Does This Paper Address?

In the world of optimization, momentum is a superpower. Techniques like Polyak’s Heavy Ball (HB) and Nesterov’s Accelerated Gradient (AG) allow us to navigate the loss landscape much faster than standard Gradient Descent, especially when dealing with "ill-conditioned" problems (where the landscape is a narrow, steep valley).

However, there is a catch: momentum is notoriously fragile. In machine learning, we rarely have the "true" gradient; instead, we use noisy estimates from mini-batches. While standard Stochastic Gradient Descent (SGD) is robust to this noise, momentum methods can become unstable or even diverge.

Until now, we lacked a rigorous theoretical guarantee for the accelerated convergence of these methods in a stochastic setting. The core challenge is that with persistent noise, the algorithm never settles at a single point; instead, it bounces around the minimum. This paper asks: Can we prove that the "cloud" of points generated by stochastic momentum still converges to its final shape at an accelerated rate?

Methods

The authors treat stochastic momentum algorithms as discrete-time dynamical systems and analyze them using the tools of Markov Chain theory.

  1. Wasserstein Distances: Since the iterates don't converge to a point, the authors measure the distance between the probability distribution of the iterates and a unique stationary distribution (the equilibrium "cloud"). They primarily use the $p$-Wasserstein metric, which intuitively measures the "work" required to transform one distribution into another.
  2. Lyapunov Functions: To prove convergence, they construct sophisticated Lyapunov functions—mathematical energy functions that are guaranteed to decrease at each step. They build on recent "dissipativity theory" frameworks that translate complex algorithm behavior into simpler matrix inequalities.
  3. Stochastic Oracle Model: They assume a standard model where the noise is unbiased and has a finite variance ($\sigma^2$).
  4. LMI Certification: The authors use Linear Matrix Inequalities (LMIs) to certify the convergence rates, allowing them to recover the famous $O(\sqrt{\kappa} \log(1/\epsilon))$ accelerated rate seen in deterministic settings.

Datasets

As a theoretical work, the paper does not use large-scale real-world datasets like ImageNet. Instead, it uses synthetic numerical illustrations to validate the theory:

  • Quadratic Objectives: 1D and 10D quadratic functions where the Hessian (the curvature) is known, allowing for precise control over the condition number ($\kappa$).
  • Additive Gaussian Noise: Controlled noise levels ($\sigma$) are added to the gradients to observe how the distribution of iterates stabilizes over time.

Key Insights and Ideas

  • The "Noise Ceiling": The most critical insight is that acceleration is maintained only if the noise variance is below an explicit upper bound. The paper provides the formulas to calculate this threshold.
  • Geometric Ergodicity: The authors prove that the Markov chain of iterates is "geometrically ergodic," meaning it forgets its starting position and reaches its equilibrium distribution at an exponential (linear) rate.
  • Quadratic vs. General Convexity: For quadratic problems (like linear regression), the results are very strong, applying to any $p$-Wasserstein distance. For general strongly convex functions, they use a "weighted total variation" metric to prove 1-Wasserstein convergence.
  • Bridging Theory and Practice: While practitioners have long used "tuned" momentum in deep learning, this paper provides the mathematical "why" behind its success in the presence of noise.

Key Results

  • Accelerated Linear Rate: For strongly convex problems, the distribution of AG iterates converges at the accelerated rate of $O(\sqrt{\kappa} \log(1/\epsilon))$ to a ball around the unique invariant distribution.
  • Noise Tolerance: The authors derived explicit bounds on noise variance ($\sigma^2$). For example, in Proposition 14, they show that if $\sigma^2 \leq RL/(4\sqrt{\kappa})$, the accelerated rate is guaranteed.
  • Suboptimality Bounds: They provide non-asymptotic bounds for the expected suboptimality $E[f(x_k)] - f(x_*)$, showing it decays to a constant (determined by the noise) at the accelerated rate.
  • Extension to Constraints: The results extend to the Accelerated Stochastic Projected Gradient (ASPG) method, proving that constraints don't break the accelerated convergence.

Limitations and Future Work

  • Small Noise Assumption: The proof for non-quadratic functions requires the noise to be "sufficiently small." If the noise is too large, the "momentum" might actually become a liability, a phenomenon often observed in practice but not fully mapped out here for high-noise regimes.
  • Strong Convexity: The primary results rely on the objective function being strongly convex. While the authors provide an extension for "weakly convex" functions, the non-convex landscape of deep neural networks remains an open challenge for this specific Wasserstein-based analysis.
  • Constant Stepsize: The analysis focuses on a constant stepsize ($\alpha$). While this is common in practice, it means the algorithm never reaches the exact minimum. Future work could explore decaying stepsizes to achieve point-convergence at accelerated rates.

Summary updated

Abstract

Momentum methods such as Polyak's heavy ball (HB) method, Nesterov's accelerated gradient (AG) as well as accelerated projected gradient (APG) method have been commonly used in machine learning practice, but their performance is quite sensitive to noise in the gradients. We study these methods under a first-order stochastic oracle model where noisy estimates of the gradients are available. For strongly convex problems, we show that the distribution of the iterates of AG converges with the accelerated $O(\sqrtκ\log(1/\varepsilon))$ linear rate to a ball of radius $\varepsilon$ centered at a unique invariant distribution in the 1-Wasserstein metric where $κ$ is the condition number as long as the noise variance is smaller than an explicit upper bound we can provide. Our analysis also certifies linear convergence rates as a function of the stepsize, momentum parameter and the noise variance; recovering the accelerated rates in the noiseless case and quantifying the level of noise that can be tolerated to achieve a given performance. In the special case of strongly convex quadratic objectives, we can show accelerated linear rates in the $p$-Wasserstein metric for any $p\geq 1$ with improved sensitivity to noise for both AG and HB through a non-asymptotic analysis under some additional assumptions on the noise structure. Our analysis for HB and AG also leads to improved non-asymptotic convergence bounds in suboptimality for both deterministic and stochastic settings which is of independent interest. To the best of our knowledge, these are the first linear convergence results for stochastic momentum methods under the stochastic oracle model. We also extend our results to the APG method and weakly convex functions showing accelerated rates when the noise magnitude is sufficiently small.
BibTeX
@inproceedings{can2019accelerated,
  author = {Bugra Can and Mert Gurbuzbalaban and Lingjiong Zhu},
  title = {{Accelerated Linear Convergence of Stochastic Momentum Methods in Wasserstein Distances}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=SJVLH2-uWS},
}
Figure