[Paper Review] Escaping Saddles with Stochastic Gradients
The paper shows that stochastic gradients have correlated negative curvature and can escape saddles without isotropic noise, providing first-second-order convergence rates for SGD under a CNC assumption that are dimension-free.
We analyze the variance of stochastic gradients along negative curvature directions in certain non-convex machine learning models and show that stochastic gradients exhibit a strong component along these directions. Furthermore, we show that - contrary to the case of isotropic noise - this variance is proportional to the magnitude of the corresponding eigenvalues and not decreasing in the dimensionality. Based upon this observation we propose a new assumption under which we show that the injection of explicit, isotropic noise usually applied to make gradient descent escape saddle points can successfully be replaced by a simple SGD step. Additionally - and under the same condition - we derive the first convergence rate for plain SGD to a second-order stationary point in a number of iterations that is independent of the problem dimension.
Motivation & Objective
- Motivate the challenge of escaping saddle points in non-convex optimization with SGD.
- Introduce the Correlated Negative Curvature (CNC) assumption for stochastic gradients.
- Show that SGD can converge to a second-order stationary point without isotropic perturbations.
- Provide convergence rates that are independent of problem dimensionality under CNC.
- Validate CNC theoretically for learning half-spaces and empirically on neural networks.
Proposed method
- Define CNC: the stochastic gradient projection on the minimum Hessian eigenvector has uniformly bounded away from zero second moment (gamma).
- Study GD perturbed by SGD steps (CNC-PGD) and SGD without perturbation (CNC-SGD) under smoothness assumptions.
- Prove Theorem 1: CNC-PGD finds an (epsilon, sqrt(rho) epsilon^{2/5})-second-order stationary point in O((ell L)^4 (delta gamma epsilon)^{-2} log(...)) steps with high probability.
- Prove Theorem 2: CNC-SGD finds an (epsilon, sqrt(rho) epsilon)-second-order stationary point in O((L^3 ell^{10})/(delta^4 gamma^4) * epsilon^{-10} log^2(...)) steps with high probability.
- Show CNC holds for learning half-spaces (via a lower bound on projected gradient variance).
- Provide empirical evidence that stochastic gradients have significant variance along negative curvature directions in neural networks.
Experimental results
Research questions
- RQ1Can SGD escape saddle points without explicit isotropic noise under a weaker CNC assumption?
- RQ2What convergence rates to second-order stationary points are attainable by CNC-PGD and CNC-SGD, and are these rates dimension-dependent?
- RQ3Does the CNC condition hold for practical problems like learning half-spaces and training neural networks?
- RQ4How does the variance of stochastic gradients along negative curvature directions behave with respect to Hessian eigenvalues and network width/depth?
- RQ5Do empirical results on neural networks support the CNC hypothesis and its implications for optimization dynamics?
Key findings
- Under CNC, CNC-PGD achieves an (epsilon, sqrt(rho) epsilon^{2/5})-second-order stationary point in poly(log) iterations and without explicit isotropic noise.
- Under CNC, CNC-SGD reaches an (epsilon, sqrt(rho) epsilon)-second-order stationary point in roughly epsilon^{-10} iterations, with dimension-free convergence.
- Stochastic gradients exhibit a strong component along negative curvature directions, with variance along these directions proportional to the corresponding eigenvalues, not diminishing with dimension.
- For learning half-spaces, CNC holds for the stochastic gradient, enabling the convergence guarantees without added perturbations.
- Empirical results on MNIST indicate stochastic gradients retain variance along minimum-curvature directions independent of network width/depth, supporting CNC applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.