First-order Methods Almost Always Avoid Saddle Points

Jason D. Lee, Ioannis Panageas, Georgios Piliouras, Max Simchowitz, Michael I. Jordan, Benjamin RechtarXiv 2017

TL;DR

This paper proves that standard first-order optimization methods, like gradient descent, almost always avoid saddle points, even for non-convex functions. This is achieved by treating these methods as dynamical systems and leveraging the Stable Manifold Theorem, showing that saddle points are unstable for most initializations. This provides a rigorous mathematical foundation for a widely held intuition in the field.

What Problem Does This Paper Address?

In non-convex optimization, finding a local minimum is challenging because algorithms can get stuck at saddle points. These are points where the function is flat in some directions and curves downwards in others, but not necessarily at a minimum. While it's known that saddle points can be problematic, and specific examples exist where gradient descent converges to them, there hasn't been a general theoretical framework proving that most initializations will avoid them for a broad class of first-order methods. The paper aims to fill this gap by providing a unified theoretical analysis that explains why, in practice, these methods tend to find local minima rather than saddle points.

Methods

The core of the paper's methodology is to view optimization algorithms as discrete dynamical systems. For a given objective function $f$, an optimization algorithm defines a mapping $g(x)$ that updates the current point $x$. The paper then analyzes the behavior of iterating this mapping $g$.

The key theoretical tool employed is the Stable Manifold Theorem. This theorem from dynamical systems theory describes the set of initial conditions that converge to a fixed point (in this case, a critical point of $f$). The paper shows that for "strict saddle points" (critical points where the Hessian has at least one negative eigenvalue), these points are unstable fixed points of the optimization dynamics. This means that any small perturbation away from the saddle point will lead the algorithm away from it.

By demonstrating that strict saddle points are unstable and that the set of initial conditions leading to them has measure zero, the paper establishes that for almost all random initializations, first-order methods will avoid saddle points. This analysis is applied to several common first-order algorithms, including:

  • Gradient Descent: The most basic first-order method.
  • Proximal Point Algorithm: A method that combines gradient steps with a proximity operator.
  • Coordinate Descent: Updates variables one at a time.
  • Block Coordinate Descent: Updates variables in blocks.
  • Manifold Gradient Descent: Extends gradient descent to optimization on manifolds.
  • Mirror Descent: A more general framework that uses a mirror map to transform the space.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis of optimization algorithms on general differentiable functions, not on specific datasets.

Key Insights and Ideas

  • Saddle Points are Locally Unstable: The paper rigorously proves that strict saddle points are unstable fixed points for the dynamics induced by most first-order optimization methods. This means that even a tiny deviation from a saddle point will cause the algorithm to move away from it.
  • Measure Zero Argument: The crucial insight is that the set of initial points that do converge to a saddle point has measure zero. This implies that if you pick an initial point randomly, the probability of landing in this "bad" set is zero.
  • Unified Dynamical Systems Perspective: The paper provides a single theoretical framework (using the Stable Manifold Theorem) to analyze a wide range of first-order optimization algorithms, unifying their behavior with respect to saddle points.
  • No Need for Randomness Beyond Initialization: The analysis shows that the avoidance of saddle points is primarily due to the geometry of the function and the dynamics of the algorithm, with random initialization being sufficient to avoid the measure-zero set of problematic starting points. No inherent randomness in the algorithm's steps is required.
  • Strict Saddle Property is Key: The analysis hinges on the "strict saddle" property, where the Hessian has at least one negative eigenvalue. This property is common in many non-convex optimization problems.

Key Results

The paper establishes that for a variety of first-order optimization methods (gradient descent, proximal point, coordinate descent, block coordinate descent, manifold gradient descent, and mirror descent), the set of initial conditions that lead to convergence to a strict saddle point has measure zero. This means that with probability one, these algorithms will avoid saddle points and converge to a local minimum (or diverge, if the function is unbounded below). The specific conditions for each algorithm involve step-size constraints (e.g., $a < 1/L$ for gradient descent) and properties of the objective function's Hessian.

Limitations and Future Work

  • Strict Saddle Assumption: The results rely on the "strict saddle" property. The paper acknowledges that some difficult optimization problems, like optimizing certain quartic polynomials, do not satisfy this property, and thus the guarantees may not hold. Future work could explore how to handle such cases.
  • Step-Size Restrictions: The theoretical guarantees often require specific step-size restrictions (e.g., $a < 1/L$). It's unclear if these restrictions are strictly necessary, and the paper suggests investigating whether adaptive step-size methods (like Wolfe Line Search or backtracking) can also avoid saddle points with random initialization.
  • Convergence to "Good" Local Minima: While the paper shows algorithms avoid saddle points, it doesn't guarantee convergence to a good local minimum (one with a low objective value). The performance still depends on the landscape of local minima and their basins of attraction. Future work could explore this aspect, perhaps by analyzing the size of attraction regions for different types of local minima.
  • Speed of Convergence: The paper focuses on avoiding saddle points, not necessarily on the speed of convergence. While gradient descent can escape saddle points, its speed can be exponential in worst-case scenarios. Investigating how stochastic variants can improve convergence speed is suggested.
  • Generalizing to Other Methods: The paper's framework could potentially be extended to analyze other optimization methods.

Summary updated

BibTeX
@misc{lee2017first,
  author = {Jason D. Lee and Ioannis Panageas and Georgios Piliouras and Max Simchowitz and Michael I. Jordan and Benjamin Recht},
  title = {{First-order Methods Almost Always Avoid Saddle Points}},
  year = {2017},
  eprint = {1710.07406},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.07406},
}
Figure