Understanding the acceleration phenomenon via high-resolution differential equations

Bin Shi, Simon S. Du, Michael I. Jordan, Weijie J. Su

Abstract

Gradient-based optimization algorithms can be studied from the perspective of limiting ordinary differential equations (ODEs). Motivated by the fact that existing ODEs do not distinguish between two fundamentally different algorithms—Nesterov’s accelerated gradient method for strongly convex functions (NAG-SC) and Polyak’s heavy-ball method—we study an alternative limiting process that yields high-resolution ODEs. We show that these ODEs permit a general Lyapunov function framework for the analysis of convergence in both continuous and discrete time. We also show that these ODEs are more accurate surrogates for the underlying algorithms; in particular, they not only distinguish between NAG-SC and Polyak’s heavy-ball method, but they allow the identification of a term that we refer to as “gradient correction” that is present in NAG-SC but not in the heavy-ball method and is responsible for the qualitative difference in convergence of the two methods. We also use the high-resolution ODE framework to study Nesterov’s accelerated gradient method for (non-strongly) convex functions, uncovering a hitherto unknown result—that NAG-C minimizes the squared gradient norm at an inverse cubic rate. Finally, by modifying the high-resolution ODE of NAG-C, we obtain a family of new optimization methods that are shown to maintain the accelerated convergence rates of NAG-C for smooth convex functions.

The Resolution Gap in Optimization

In machine learning, accelerated first-order methods like Polyak’s heavy-ball method and Nesterov’s Accelerated Gradient (NAG) are essential for efficient optimization. To analyze these discrete algorithms, researchers often use their "continuous-time limit"—an Ordinary Differential Equation (ODE) derived by letting the step size ($s$) go to zero.

However, standard "low-resolution" ODEs fail to distinguish between the heavy-ball method and NAG, yielding the same equation for both. This is a significant theoretical gap because, in practice, NAG is globally convergent for strongly convex functions, while the heavy-ball method can fail to converge, as shown in the performance comparison below.

Discrete convergence of Heavy-ball vs NAG-SC, illustrating the performance gap.

High-Resolution Differential Equations

This paper introduces a high-resolution ODE framework to bridge this gap. Instead of ignoring all small terms as $s \to 0$, the authors retain terms of order $O(\sqrt{s})$. This more precise approximation reveals a critical "gradient correction" term—a Hessian-driven damping term $\sqrt{s}\nabla^2 f(X)\dot{X}$ present in NAG but absent in the heavy-ball method.

This term acts as adaptive friction: in regions of high curvature (large Hessian), it increases damping, preventing the wild oscillations and overshooting characteristic of the heavy-ball method. The authors also develop a systematic way to construct Lyapunov functions that work for both the continuous ODE and the discrete algorithm, ensuring the discrete model stays "faithful" to the continuous physics.

Analysis and Results

The high-resolution framework provides several breakthroughs:

  1. Superior Modeling Accuracy: Numerical experiments show that high-resolution ODEs capture the qualitative behavior of discrete algorithms much more faithfully than low-resolution models.
  2. Faster Gradient Norm Minimization: For non-strongly convex functions (NAG-C), the authors proved that the squared gradient norm actually minimizes at an $O(1/k^3)$ rate, which is significantly sharper than the $O(1/k^2)$ rate previously inferred.
  3. New Optimization Methods: By tweaking parameters in the high-resolution ODE, the authors derived a new family of optimization methods that maintain accelerated rates while offering different stability trade-offs.
Comparison of low-resolution and high-resolution ODEs in capturing algorithm trajectories and convergence.

Conclusion and Future Work

By increasing the "resolution" of the mathematical models used to study optimization, this work reveals the stabilizing mechanism of Nesterov's acceleration. While currently focused on smooth convex functions, future work could extend this to non-convex settings or non-Euclidean geometries like manifold optimization. The discovery of the gradient correction term demonstrates the power of high-resolution ODEs as a tool for both analysis and the design of next-generation optimization algorithms.

Summary updated

BibTeX
@inproceedings{shi2022understanding,
  author = {Bin Shi and Simon S. Du and Michael I. Jordan and Weijie J. Su},
  title = {{Understanding the acceleration phenomenon via high-resolution differential equations}},
  booktitle = {Math. Program},
  year = {2022},
  url = {https://openreview.net/forum?id=GgEWLGXN899},
}
Figure