TL;DR
This paper introduces a novel variance reduction technique for non-convex optimization, achieving an $O(1/\varepsilon)$ convergence rate to a stationary point. This is a significant theoretical improvement over existing methods, offering an $\Omega(n^{1/3})$ speedup compared to full gradient descent for problems that are sums of smooth functions.
What Problem Does This Paper Address?
The paper tackles the fundamental challenge of efficiently finding approximate stationary points in non-convex optimization problems. While finding the global minimum of non-convex functions is NP-hard, a common goal in machine learning is to reach a point where the gradient is small (an approximate stationary point). Existing theoretical guarantees for first-order methods in this setting were limited: full gradient descent (GD) converges in $O(1/\varepsilon)$ iterations, and stochastic gradient descent (SGD) converges in $O(1/\varepsilon^2)$ iterations for specific problem structures. The authors highlight that for problems that are sums of smooth functions, SGD is faster per iteration but requires significantly more iterations than GD, leaving an open question for a method that outperforms both.
Methods
The core contribution is the adaptation of the variance reduction trick, previously successful in convex optimization (e.g., SVRG), to the non-convex setting. This involves a novel analysis of variance reduction tailored for non-convex functions. The proposed method, a variant of SVRG, uses a snapshot of the gradient from a previous iteration and combines it with stochastic gradient estimates. The key innovation lies in the theoretical analysis that proves an $O(1/\varepsilon)$ convergence rate for finding an $\varepsilon$-approximate stationary point, which is a significant improvement over the $O(1/\varepsilon^2)$ rate of standard SGD for this class of problems. The authors achieve this by carefully bounding the variance of the gradient estimator and relating it to the distance from the current iterate to the snapshot, and then further relating this distance to the objective function decrease.
Datasets
The paper evaluates their method on standard machine learning tasks:
- Empirical Risk Minimization (ERM) with Non-Convex Loss: They use four standard datasets: adult (a9a), web (w8a), rcv1 (rcv1.binary), and mnist (class 1). These datasets are used with various loss functions, including sigmoid loss (non-convex) and others like logistic and hinge loss (convex or smoothed convex).
- Neural Networks: They test their approach on the CIFAR-10 and MNIST datasets for multi-class classification.
Key Insights and Ideas
- Bridging the Gap: The paper demonstrates that variance reduction, a technique known for its success in convex optimization, can be effectively adapted to non-convex settings, leading to theoretical improvements.
- Novel Analysis for Non-Convexity: The core technical contribution is a new analytical framework that handles the lack of convexity, which prevents standard convergence arguments from applying directly.
- Variance as a Proxy for Progress: The analysis cleverly relates the variance of the gradient estimator not just to the distance to the global minimum (which is unknown), but to the distance to the current epoch's snapshot, and then to the objective function decrease. This allows for progress even without knowing the global optimum.
- Sigmoid Loss Robustness: Experiments show that sigmoid loss, a non-convex choice, can be more robust to outliers in binary classification tasks compared to convex alternatives.
Key Results
- Theoretical Speedup: The proposed method achieves an $O(1/\varepsilon)$ convergence rate to an $\varepsilon$-approximate stationary point for objectives that are sums of smooth functions. This is a theoretical improvement over the $O(1/\varepsilon^2)$ rate of standard SGD.
- Faster than GD: The new method is $\Omega(n^{1/3})$ faster than full gradient descent in terms of total iterations.
- Empirical Performance: Experiments on ERM with non-convex losses (like sigmoid loss) show competitive or superior testing accuracy, especially when training data contains outliers.
- Neural Network Training: The method demonstrates faster training times for neural networks compared to SGD and other SVRG variants.
Limitations and Future Work
- Simplification Assumptions: The paper mentions that the high-level proof relies on some simplification assumptions, with the full formal proof being more technical.
- Parameter Tuning: While the theoretical results are significant, practical performance often depends on careful parameter tuning, which is explored in the experiments.
- Future Work: The authors suggest further investigation into running SVRG on larger-scale neural network problems, as well as exploring the impact of adaptive learning rates and mini-batch sizes in more detail. They also note that while their method is faster than SGD theoretically, the per-iteration cost might be slightly higher due to gradient computations, which could be mitigated by parallelization.
Summary updated