Understanding the Acceleration Phenomenon via High-Resolution Differential Equations

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

TL;DR

This paper introduces a novel "high-resolution" ODE framework to better understand and analyze optimization algorithms like Nesterov's Accelerated Gradient (NAG) and Heavy-Ball. This new framework reveals the crucial role of a "gradient correction" term in NAG, explaining its superior performance and enabling the discovery of new accelerated methods.

What Problem Does This Paper Address?

Gradient descent and its accelerated variants are workhorses in machine learning and optimization. A common theoretical tool is to analyze their behavior by taking a continuous-time limit, resulting in ordinary differential equations (ODEs). However, existing ODEs often fail to distinguish between similar-looking algorithms, like Nesterov's Accelerated Gradient (NAG) and Polyak's Heavy-Ball method, despite their different convergence properties. This lack of distinction limits our understanding of why acceleration happens and hinders the development of new, improved algorithms. The paper aims to bridge this gap by developing a more refined ODE framework that captures finer details of these algorithms.

Methods

The core contribution is the development of high-resolution ODEs. Instead of a simple continuous-time limit (which loses information), the authors use a dimensional analysis approach, incorporating higher-order terms (specifically, $O(\sqrt{s})$ terms, where $s$ is the step size) into the limiting process. This allows them to derive ODEs that are more accurate surrogates for the discrete algorithms.

Key techniques include:

  • High-Resolution ODE Derivation: Using Taylor expansions and dimensional analysis to derive ODEs that retain more information about the discrete algorithms.
  • Lyapunov Functions: Applying Lyapunov functions to analyze the convergence properties of both the continuous ODEs and their discrete counterparts.
  • Phase-Space Representation: Translating continuous-time Lyapunov functions to discrete-time Lyapunov functions via a phase-space representation, which elegantly connects the continuous and discrete analyses.
  • Gradient Correction Identification: Pinpointing a specific term, the "gradient correction," as the key differentiator between NAG and Heavy-Ball methods and the driver of acceleration.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The "Gradient Correction" is Key: The paper identifies a "gradient correction" term in NAG (both in its discrete form and its high-resolution ODE) that is absent in the Heavy-Ball method. This term, which involves second-order information (Hessian), is shown to be responsible for NAG's superior convergence and ability to avoid oscillations.
  • High-Resolution ODEs Offer Deeper Understanding: The high-resolution ODEs provide a more accurate picture of algorithm behavior, allowing for better analysis of convergence rates and the impact of specific algorithmic components like the gradient correction.
  • NAG-C Achieves Inverse Cubic Rate for Gradient Norm Minimization: For non-strongly convex functions, the paper reveals a surprising result: NAG-C minimizes the squared gradient norm at an inverse cubic rate ($O(1/k^3)$), which is sharper than previously known bounds.
  • New Accelerated Methods: By modifying the high-resolution ODE of NAG-C, the authors propose a new family of accelerated optimization methods that maintain the desirable convergence rates.
  • Framework for Analysis: The paper presents a general framework for deriving high-resolution ODEs and using them with Lyapunov functions to analyze discrete optimization algorithms, offering a systematic way to understand acceleration.

Key Results

  • Distinction between NAG and Heavy-Ball: The high-resolution ODEs clearly differentiate between NAG-SC and Heavy-Ball, with the former exhibiting non-oscillatory behavior due to the gradient correction.
  • NAG-C Gradient Norm Minimization: NAG-C achieves an $O(L^2/k^3)$ rate for minimizing the squared gradient norm for smooth convex functions, a result previously unknown.
  • New Accelerated Methods: A family of new accelerated methods is proposed, achieving the same convergence rates as NAG-C for smooth convex functions.
  • Numerical Stability: The high-resolution ODE framework provides insights into the numerical stability of algorithms, showing that the gradient correction allows for larger step sizes in NAG-SC.

Limitations and Future Work

  • Step Size Dependence: The analysis often relies on small step sizes ($s \to 0$ or $s = O(1/L)$). While the framework is general, understanding behavior for larger step sizes remains an area for exploration.
  • Generalization to Non-Convex Settings: While the paper mentions that high-resolution ODEs are well-defined for non-convex functions, further research is needed to explore their application in characterizing local behaviors near saddle points and in non-convex optimization problems.
  • Further Exploration of Generalized NAG-C: The paper introduces a generalized NAG-C family and investigates the super-critical regime ($a > 3$). Further research is suggested to explore the case $a < 3$ and to understand if the constraint $\beta > 1/2$ is fundamental for acceleration.
  • Higher-Order ODEs: The authors suggest extending the dimensional analysis to incorporate even higher-order powers of $\sqrt{s}$ to derive ODEs that capture more subtle algorithmic behaviors.
  • Non-Euclidean Settings: Extending the high-resolution ODE framework to non-Euclidean settings (e.g., mirror descent) is a promising direction.

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