A Newton-Based Method for Nonconvex Optimization with Fast Evasion of Saddle Points

Santiago Paternain, Aryan Mokhtari, Alejandro Ribeiro · DOI

TL;DR

The authors introduce the Nonconvex Newton (NCN) method, a second-order optimization algorithm designed to rapidly escape saddle points in nonconvex landscapes. By modifying the Hessian matrix—taking the absolute value of negative eigenvalues and truncating small ones—NCN escapes saddles exponentially fast at a rate that is completely independent of the problem's condition number.

What Problem Does This Paper Address?

Many modern machine learning tasks, such as training neural networks, tensor decomposition, and matrix factorization, require minimizing a nonconvex function. Unlike convex functions, which have a single neat valley (global minimum), nonconvex landscapes are rugged and filled with saddle points—areas where the gradient is zero, but the landscape curves up in some directions and down in others.

Standard first-order methods like gradient descent can easily get stuck near these saddles. While gradient descent will eventually escape them (especially if noise is added), the time it takes is heavily dependent on the saddle's "condition number." If the downward slope of the saddle is extremely flat, gradient descent takes an agonizingly long time to slide away. The authors tackle this exact bottleneck: how can we design an algorithm that escapes saddle points quickly, regardless of how flat or ill-conditioned they are?

Methods

The authors propose the Nonconvex Newton (NCN) method. Standard Newton's method uses the inverse of the Hessian (the matrix of second derivatives) to account for the curvature of the landscape. However, standard Newton's method is attracted to all critical points, meaning it will happily converge to a saddle point or even a local maximum.

To fix this, NCN uses a Positive definite Truncated (PT)-inverse of the Hessian. This involves two clever tweaks to the Hessian's eigenvalues:

  1. Flipping negative curvature: It takes the absolute value of all negative eigenvalues. This ensures the algorithm treats downward slopes as descent directions, actively pushing the iterate away from the saddle rather than toward it.
  2. Truncating flat curvature: It replaces any very small eigenvalues (close to zero) with a minimum constant $m$. This prevents the algorithm from taking massive, unstable steps in directions where the landscape is nearly flat.

Finally, if the algorithm lands exactly on or extremely close to a saddle point (where the gradient is near zero), it injects a small amount of Gaussian noise to nudge the iterate into a region where the PT-inverse can take over and accelerate the escape.

Datasets

To validate their theoretical claims empirically, the authors test the algorithm on a matrix factorization problem using the MovieLens 100k dataset (consisting of 100,000 ratings from 943 users across 1682 movies).

Key Insights and Ideas

  • Condition-Number Independence: This is the paper's biggest "aha!" moment. For gradient descent, the number of iterations to escape a saddle scales linearly with the condition number (flatter saddles = slower escape). For NCN, the escape rate is exponential with a base of $3/2$. This base is a mathematical constant, meaning NCN escapes a notoriously flat saddle just as fast as a steep one.
  • Geometry Reshaping: By using the PT-inverse, NCN effectively performs a local coordinate transformation. It turns skewed, ill-conditioned saddles into symmetric hyperboloids. This regularizes the geometry around the saddle, forcing a rapid exit.
  • Two-Phase Dynamics: Near a saddle, NCN splits the landscape into two behaviors. Along the directions of positive curvature, it converges quadratically (just like standard Newton's method near a minimum). Along the directions of negative curvature, it diverges exponentially, ensuring a fast escape.

Key Results

  • Theoretical Escape Speed: The authors prove that NCN escapes a saddle point in at most $1 + \log_{3/2}(\delta/2\varepsilon)$ iterations, where $\varepsilon$ is the target accuracy and $\delta$ is a distance threshold.
  • Theoretical Convergence: Combining the fast saddle escape with quadratic convergence near minima, NCN reaches an $\varepsilon$-approximate local minimum with probability $1-p$ in $O(\log(1/p) + \log(1/\varepsilon))$ iterations.
  • Empirical Validation: On the MovieLens matrix factorization task, NCN achieved half the objective function value of gradient descent in just 20 iterations. While gradient descent got bogged down near a saddle point (evidenced by a stalled gradient norm and negative Hessian eigenvalues), NCN smoothly bypassed it and converged to a local minimum.

Limitations and Future Work

The authors are upfront about two major limitations:

  1. Computational Cost: NCN requires the spectral decomposition of the Hessian matrix to flip its eigenvalues. This is computationally prohibitive for high-dimensional problems (like training large deep neural networks).
  2. Non-degeneracy Assumption: The theoretical proofs assume that saddle points are non-degenerate (i.e., there are no exactly zero eigenvalues). This is a strong assumption that does not hold for all real-world problems.

Future Work: The authors suggest that this theoretical framework is a promising starting point for developing low-complexity approximations. Just as quasi-Newton methods (like BFGS) approximate the Hessian inverse to save compute, future work could develop quasi-Newton approximations of the PT-inverse, bringing this condition-independent escape rate to large-scale machine learning.

Summary updated

BibTeX
@article{paternain2019newton,
  author = {Santiago Paternain and Aryan Mokhtari and Alejandro Ribeiro},
  title = {{A Newton-Based Method for Nonconvex Optimization with Fast Evasion of Saddle Points}},
  journal = {SIAM J. Optim.},
  year = {2019},
  doi = {10.1137/17m1150116},
}
Figure