Abstract
The SAGA algorithm, a popular variance-reduction technique, has demonstrated remarkable success in convex optimization. This paper extends these results to the nonconvex regime, providing the first theoretical proof that SAGA converges to a stationary point significantly faster than both standard Gradient Descent (GD) and Stochastic Gradient Descent (SGD). We demonstrate that SAGA achieves a faster convergence rate and can even attain linear convergence for specific classes of nonconvex functions.
Introduction
Most modern machine learning models, particularly deep neural networks, are trained by minimizing a "finite-sum" objective function representing the average loss across $n$ data points. Traditional optimization methods face a trade-off: Gradient Descent (GD) provides high precision but is computationally expensive per iteration, while Stochastic Gradient Descent (SGD) is computationally cheap but suffers from high variance, requiring decaying step sizes that slow convergence.
Variance reduction methods like SAGA were designed to bridge this gap, offering the stability of GD with the per-iteration cost of SGD. While their efficacy is well-established for convex problems, their performance in the nonconvex landscapes typical of modern ML has remained largely theoretical. This work addresses that gap.
The SAGA Algorithm
The core mechanism of SAGA involves maintaining a "table" of the most recent gradients calculated for each data point. Unlike SGD, which discards gradient information after a single update, SAGA uses this stored information to construct an estimate of the full gradient with significantly lower variance.
The algorithm's memory-based update rule allows it to drive the system toward a stationary point more efficiently than traditional methods, provided the gradients are Lipschitz continuous.
Theoretical Convergence and Speedup
A key contribution of this paper is quantifying the speedup SAGA offers over traditional methods. To reach an accuracy $\epsilon$:
- Gradient Descent (GD) requires $O(n/\epsilon)$ steps.
- SAGA requires $O(n + n^{2/3}/\epsilon)$ steps.
For large datasets (large $n$) and high-precision requirements (small $\epsilon$), SAGA is provably faster by a factor of $n^{1/3}$. Furthermore, for "gradient dominated" functions—nonconvex functions that retain certain convex-like global properties—SAGA achieves linear convergence, closing the gap to the optimum exponentially fast.
Parallelization and Scalability
To accommodate modern hardware such as GPUs, the authors analyze Minibatch-SAGA. This variant processes small batches of data in parallel, maintaining the theoretical advantages of the base algorithm while improving practical throughput.
Additionally, the authors introduce Reg-SAGA, a variant that handles regularization separately. For specific models, this reduces the storage overhead from $O(nd)$ to $O(n)$, where $d$ is the dimensionality, significantly improving memory efficiency.
Empirical Validation
The theoretical findings were tested using high-dimensional datasets (rcv1 and realsim) for binary classification with a logistic loss and a nonconvex regularizer. In these experiments, SAGA variants converged faster than SGD in terms of both training loss and the "stationarity gap" (the proximity of the gradient to zero). Notably, SAGA performed effectively with a constant step size, avoiding the complex learning rate schedules required by SGD.
Conclusion and Future Work
SAGA represents a significant advancement in nonconvex optimization, offering a provable $n^{2/3}$ advantage over GD and escaping the sublinear slowness of SGD. While the $O(n)$ storage requirement remains a hurdle for massive models, the efficiency gains in convergence speed and ease of tuning make it a powerful tool. Future research may explore SAGA's ability to escape saddle points and its performance on deep neural networks beyond generalized linear models.
Summary updated