Authors: Guannan Liang, Qianqian Tong, Chunjiang Zhu, Jinbo Bi
Affiliation: University of Connecticut
Abstract
In the landscape of non-convex optimization, finding first-order stationary points is often insufficient as algorithms can become trapped in saddle points. This paper introduces CNC-SCSG, an algorithm that leverages the inherent anisotropic noise of stochastic gradient descent to escape these traps. By integrating variance reduction with a targeted stochastic "kick," CNC-SCSG achieves a dimension-independent convergence rate to second-order stationary points, significantly outperforming existing state-of-the-art methods in both theory and practice.
Introduction
The training of deep neural networks relies heavily on non-convex optimization. A primary challenge in this domain is the prevalence of saddle points—regions where the gradient is zero but which do not represent local minima. While standard first-order methods like Gradient Descent (GD) and variance-reduced variants like SCSG are effective at reaching stationary points, they often lack the mechanism to efficiently navigate away from saddle points toward true local minima.
The Challenge of High-Dimensional Escapes
To escape saddle points, researchers typically introduce perturbations or random noise. However, in high-dimensional spaces, isotropic noise (noise that spreads equally in all directions) is highly inefficient. The probability of a random direction aligning with the narrow path out of a saddle point decreases exponentially with the number of dimensions, making random exploration a slow and unreliable strategy.
Methodology: The CNC-SCSG Algorithm
The authors propose CNC-SCSG (Correlated Negative Curvature - Stochastically Controlled Stochastic Gradient), which enhances the standard SCSG framework with a conditional escape mechanism.
- Monitoring and Detection: The algorithm operates using standard SCSG epochs, monitoring the gradient norm and the distance moved over recent iterations.
- The SGD "Kick": When the gradient becomes sufficiently small and progress stalls—indicating proximity to a stationary point—the algorithm performs a single, separate Stochastic Gradient Descent (SGD) step.
- Leveraging Correlated Negative Curvature (CNC): Unlike artificial Gaussian noise, the noise inherent in SGD is anisotropic. Recent findings suggest this noise naturally aligns with directions of negative curvature. CNC-SCSG exploits this property, using the data's own variance to "kick" the optimization out of the saddle point.
The authors also provide a generalized framework (Algorithm 4) that allows this escape logic to be integrated into various first-order optimizers, making the approach broadly applicable.
Theoretical Contributions
A key highlight of this work is the proof that CNC-SCSG converges to a second-order stationary point at a rate of $\tilde{O}(\epsilon^{-2} \log(1/\epsilon))$. Crucially, this rate is dimension-independent, making it particularly suitable for modern large-scale machine learning models where the parameter space $d$ is vast. This theoretical advantage suggests that CNC-SCSG can scale to models where traditional perturbation methods falter.
Empirical Evaluation
The algorithm was tested on synthetic non-convex finite-sum problems in both low-dimensional ($d=4$) and high-dimensional ($d=20$) settings. In these experiments, CNC-SCSG demonstrated a dramatic speedup compared to Perturbed Gradient Descent (PGD) and CNC-GD.
For instance, in low-dimensional tests, CNC-SCSG escaped saddle points in approximately 10 epochs, whereas competing methods required between 250 and 350 epochs to find the same exit. Furthermore, the optimization curves for CNC-SCSG were notably smoother, avoiding the erratic spikes in gradient norm often seen in methods that rely on injected random noise.
Conclusion and Future Directions
CNC-SCSG represents a significant step forward in non-convex optimization by turning the "noise" of SGD into a functional tool for escaping saddle points. While the theoretical results are robust, the authors acknowledge that the algorithm's performance can be sensitive to hyperparameters, such as the gradient threshold and escape frequency. Future research will focus on developing self-tuning mechanisms to make these parameters more robust for practical applications in deep learning.
Summary updated