Finding Local Minima via Stochastic Nested Variance Reduction

Dongruo Zhou, Pan Xu, Quanquan GuarXiv 2018

Abstract

Finding local minima in nonconvex optimization is a fundamental challenge in machine learning. While standard first-order methods often converge to first-order stationary points (saddle points), they lack guarantees for reaching second-order stationary points efficiently. This paper introduces SNVRG+, a first-order optimization algorithm that achieves superior gradient complexity for finding local minima. By combining a nested variance reduction strategy with a Hessian-free "Neon2" oracle, SNVRG+ improves upon existing state-of-the-art bounds in both finite-sum and stochastic regimes.

Introduction

Nonconvex objective functions are ubiquitous in modern machine learning, particularly in deep learning. Standard optimizers like SGD or SVRG are typically analyzed for their ability to find first-order stationary points—locations where the gradient is zero. However, these points can be saddle points or local maxima, which are suboptimal for training.

To ensure convergence to a local minimum, algorithms must satisfy second-order stationary conditions: a small gradient and a Hessian matrix with no significant negative eigenvalues. While second-order methods like Cubic Regularization can achieve this, their $O(d^2)$ or $O(d^3)$ per-iteration complexity is prohibitive for high-dimensional problems. This work focuses on achieving these guarantees using only first-order information (gradients), which is significantly more computationally efficient.

The SNVRG+ Framework

The core of the proposed approach is SNVRG+, which builds upon Stochastic Nested Variance Reduced Gradient (SNVRG). Unlike standard SVRG, which uses a single reference point per epoch to reduce noise, SNVRG employs a hierarchy of nested reference points. This structure allows the algorithm to maintain a more accurate gradient estimate over longer periods.

A key innovation in SNVRG+ is the use of a geometric distribution for epoch lengths. In traditional variance reduction theory, proving convergence often requires selecting a random iterate from an epoch as the final output. By making the epoch length a geometric random variable, the authors can prove convergence for the last iterate of the epoch. This "last iterate" property is essential for the seamless integration of saddle-point escape mechanisms, as it allows the optimizer to hand off a stable state to the next phase of the algorithm.

Escaping Saddle Points with Neon2

To find local minima without explicit Hessian computations, SNVRG+ integrates Neon2, a first-order oracle designed to find directions of negative curvature. When the algorithm encounters a region with a small gradient but potential negative eigenvalues in the Hessian (a saddle point), Neon2 provides a direction to "push" the optimizer toward lower function values.

Furthermore, the paper explores the impact of third-order smoothness (Lipschitz continuity of the Hessian). If the objective function is third-order smooth, the algorithm can take significantly larger steps when escaping saddle points ($\eta = \sqrt{\epsilon_H}/L_3$), further accelerating the convergence process in specific regimes.

Theoretical Performance and Complexity

The primary contribution of this work is the significant improvement in gradient complexity—the total number of gradient evaluations required to reach a second-order stationary point.

Comparison of gradient complexity for finding second-order stationary points across different settings and algorithms.

As shown in the table above, SNVRG+ achieves a complexity of $\tilde{O}(n^{1/2}\epsilon^{-2} + n\epsilon_H^{-3} + n^{3/4}\epsilon_H^{-7/2})$ in the finite-sum setting. This represents a substantial improvement over the previous best dependency of $n^{2/3}$ found in SVRG + Neon2. In the general stochastic (online) setting, SNVRG+ achieves $\tilde{O}(\epsilon^{-3} + \epsilon_H^{-5} + \epsilon^{-2}\epsilon_H^{-3})$, outperforming methods like Natasha2 and SCSG+Neon2, particularly regarding the first-order precision parameter $\epsilon$.

Discussion and Future Work

The theoretical results demonstrate that nested variance reduction is a powerful tool for nonconvex optimization. By maintaining more accurate gradient estimates, SNVRG+ reduces the sample complexity required to navigate complex landscapes. However, the paper remains purely theoretical. The practical performance of SNVRG+ may be influenced by large hidden constant factors and sensitivity to hyperparameters derived from theoretical Lipschitz constants ($L_1, L_2, L_3$), which are often unknown in practice. Future research could investigate the empirical robustness of these nested methods and their applicability to constrained or non-smooth optimization problems.

Conclusion

SNVRG+ establishes new benchmarks for first-order nonconvex optimization. By bridging the gap between theoretical requirements and practical "last-iterate" usage, and by leveraging nested variance reduction, it provides a robust framework for efficiently finding local minima in high-dimensional machine learning tasks.

Summary updated

BibTeX
@misc{zhou2018finding,
  author = {Dongruo Zhou and Pan Xu and Quanquan Gu},
  title = {{Finding Local Minima via Stochastic Nested Variance Reduction}},
  year = {2018},
  eprint = {1806.08782},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.08782},
}
Figure