AdaGrad Avoids Saddle Points

Kimon Antonakopoulos, Panayotis Mertikopoulos, Georgios Piliouras, Xiao Wang

Introduction

While AdaGrad is a cornerstone of modern deep learning optimization, a significant theoretical gap has persisted: could its adaptive "memory" cause it to become trapped in saddle points? In non-convex optimization landscapes typical of deep learning, finding local minima is the primary goal. However, optimizers frequently encounter saddle points—regions where the gradient is zero, but the loss surface curves upward in some directions and downward in others. This paper provides the first rigorous proof that the deterministic AdaGrad family—including scalar, diagonal, and full-matrix variants—almost always avoids strict saddle points, ensuring the optimizer continues moving toward local minima.

The Challenge of Adaptive Optimization

Standard Gradient Descent is mathematically proven to avoid strict saddle points. However, AdaGrad introduces significant complexity. It utilizes a preconditioner (an adaptive step-size) that adjusts based on the entire history of observed gradients. This "filtration-dependent" nature means the algorithm's behavior at any given time step depends on everything that occurred previously.

Because the update rule itself evolves over time, classical tools from dynamical systems—which typically assume the underlying rules remain constant—cannot be directly applied. The authors set out to determine whether AdaGrad’s adaptivity interferes with its ability to escape these mathematical traps without relying on the stochastic noise usually present in Stochastic Gradient Descent (SGD).

Methodology: A New Theoretical Framework

To solve this, the authors treat AdaGrad as a non-autonomous dynamical system. Their approach overcomes three major technical hurdles:

  1. Preconditioner Stabilization: The authors first prove that AdaGrad’s step-size matrix does not vanish or fluctuate wildly over time. Instead, it eventually converges to a strictly positive-definite limit. This stabilization is crucial because it demonstrates that, in the long run, AdaGrad begins to behave like a predictable, stable system.
  2. A Tailored Stable Manifold Theorem: The classical Stable Manifold Theorem is typically used to show that the set of initial points leading to an unstable equilibrium (like a saddle point) is extremely small (measure zero). Because AdaGrad is time- and history-dependent, the authors derived a novel version of this theorem specifically tailored to the AdaGrad update rule.
  3. Diffeomorphism Proof: To extend their local findings near a saddle point to the entire optimization space, the authors proved that the AdaGrad update is a diffeomorphism—a smooth, invertible mapping. This property ensures that the "bad" starting points do not expand or "fatten up" as the algorithm progresses.

Key Insights and Results

This purely theoretical work yields several profound insights into the geometry and behavior of adaptive optimizers:

  • Deterministic Escape: Much of the existing literature on escaping saddle points relies on the random noise inherent in SGD to "kick" the optimizer out of a rut. This paper proves that AdaGrad does not need a stochastic boost; the geometry of the deterministic update itself is sufficient to avoid strict saddle points.
  • Universal Avoidance: The paper proves that for any strict saddle point (where the Hessian matrix has at least one negative eigenvalue), the probability of converging to it from a random initialization is zero. This holds true across AdaNorm (scalar), AdaDiag (diagonal), and AdaFull (full-matrix) variants.
  • Maintained Convergence Rates: In the deterministic non-convex setting, the authors confirm that AdaGrad maintains a standard $O(1/T)$ convergence rate to stationary points.
  • Reframing the Update: The authors successfully reframed the complex, history-dependent AdaGrad update into a "Markovian" form (a system dependent only on the current state) plus a small residual term, proving this residual is small enough not to hinder saddle point avoidance.

Limitations and Future Work

While this work establishes a strong theoretical foundation, it has a few limitations. First, it focuses exclusively on the deterministic case (exact gradients). A fully unified Stable Manifold Theorem for adaptive stochastic methods remains an open challenge. Second, the proofs apply only to "strict" saddle points; non-strict saddles (where the Hessian is positive semi-definite but has zero eigenvalues) are significantly harder to analyze. Finally, while this provides a blueprint for filtration-dependent systems, specific proofs for more complex algorithms like Adam (which incorporates momentum) or Adaptive Mirror Descent are left for future research.

Summary updated

BibTeX
@inproceedings{antonakopoulos2022adagrad,
  author = {Kimon Antonakopoulos and Panayotis Mertikopoulos and Georgios Piliouras and Xiao Wang},
  title = {{AdaGrad Avoids Saddle Points}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=gBEn7HiNpNu},
}
Figure