Stochastic Gradient Descent Escapes Saddle Points Efficiently

Chi Jin, Praneeth Netrapalli, Rong Ge, Sham M. Kakade, Michael I. Jordan

Abstract

Gradient descent (GD) and stochastic gradient descent (SGD) are the workhorses of large-scale machine learning. While classical theory focused on analyzing the performance of these methods in convex optimization problems, the most notable successes in machine learning have involved nonconvex optimization, and a gap has arisen between theory and practice. Indeed, traditional analyses of GD and SGD show that both algorithms converge to stationary points efficiently. But these analyses do not take into account the possibility of converging to saddle points. More recent theory has shown that GD and SGD can avoid saddle points, but the dependence on dimension in these analyses is polynomial. For modern machine learning, where the dimension can be in the millions, such dependence would be catastrophic. We analyze perturbed versions of GD and SGD and show that they are truly efficient---their dimension dependence is only polylogarithmic. Indeed, these algorithms converge to second-order stationary points in essentially the same time as they take to converge to classical first-order stationary points.

Introduction

In the world of convex optimization, every stationary point is a global minimum. However, modern machine learning models like deep neural networks are notoriously nonconvex. In these landscapes, a zero gradient could signify a local minimum, a local maximum, or a saddle point. Saddle points are ubiquitous in high-dimensional spaces and can trap standard gradient algorithms for a very long time.

While previous theory suggested that adding noise could help algorithms escape saddle points, the predicted escape time was often polynomial in the dimension ($d$). For models with millions of parameters, a $d^2$ or $d^4$ bottleneck is catastrophic. This paper demonstrates that simple, noisy versions of Gradient Descent (GD) and Stochastic Gradient Descent (SGD) are surprisingly efficient, escaping saddle points with a time complexity that depends only polylogarithmically on the dimension.

Methodology: Perturbation and the "Stuck Region"

The authors analyze two primary algorithms:

  1. Perturbed Gradient Descent (PGD): A standard gradient descent step followed by adding a small amount of isotropic Gaussian noise.
  2. Perturbed Stochastic Gradient Descent (PSGD): The stochastic version where noise is added to the already noisy stochastic gradient.

The core of their approach is a "proof by contradiction" using a coupling sequence argument. They show that around any saddle point, there is a very thin "stuck region." If an algorithm starts in this region, it might stay near the saddle point. However, because the region is so narrow, adding a small amount of random perturbation ensures that the algorithm lands outside this "stuck" zone with extremely high probability. Once outside, the negative curvature of the saddle point naturally "pushes" the algorithm away, leading to a significant decrease in the objective function.

Key Results: Efficiency in High Dimensions

The primary contribution of this work is proving that the dependence on dimension $d$ for escaping saddle points is only $\tilde{O}(\text{poly} \log d)$. This means that moving from a model with 1,000 parameters to one with 1,000,000 parameters only adds a small, manageable overhead to the convergence time.

Iteration complexity and convergence guarantees for perturbed gradient methods.

As shown in the table above, the complexity to find a second-order stationary point (SOSP) is essentially the same as finding a first-order stationary point (FOSP). In simpler terms: finding a local minimum isn't significantly harder than finding any point with a zero gradient. The paper leverages the "strict saddle" property common in ML problems (like matrix completion), where all local minima are global minima and all saddle points have a direction of strict negative curvature, making SOSPs "good enough" for global optimality.

Limitations and Future Work

While these results provide a strong theoretical foundation for the success of noisy gradient methods, some limitations remain:

  • Strict Saddle Assumption: The analysis relies on "strict" saddle points with at least one direction of strictly negative curvature. It does not account for "degenerate" saddle points where the Hessian is entirely zero.
  • Smoothness Requirements: The proofs require the Hessian to be Lipschitz continuous. While common in theory, this may not hold for all neural network architectures (e.g., those with ReLU activations) without further approximation.
  • Closing the Gap: There is still a gap between these results and the theoretical lower bounds for nonconvex optimization. Future work aims to determine if even faster rates can be achieved by simple, single-loop algorithms.

Conclusion

This work bridges the gap between theory and practice by showing that simple perturbations allow GD and SGD to escape saddle points efficiently. By proving polylogarithmic dimension dependence, the authors provide a theoretical justification for why these algorithms remain the workhorses of modern, high-dimensional machine learning.

Summary updated

BibTeX
@article{jin2019stochastic,
  author = {Chi Jin and Praneeth Netrapalli and Rong Ge and Sham M. Kakade and Michael I. Jordan},
  title = {{Stochastic Gradient Descent Escapes Saddle Points Efficiently}},
  journal = {J. ACM},
  year = {2019},
  url = {https://openreview.net/forum?id=rLneZJYiONI},
}
Figure