Abstract
This paper presents a sufficient condition for stochastic gradients not to slow down the convergence of Nesterov's accelerated gradient method. The new condition has the strong-growth condition by Schmidt & Roux as a special case, and it also allows us to (i) model problems with constraints and (ii) design new types of oracles (e.g., oracles for finite-sum problems such as SAGA). Our results are obtained by revisiting Nesterov's accelerated algorithm and are useful for designing stochastic oracles without changing the underlying first-order method.
Introduction
In the landscape of convex optimization, Nesterov’s Accelerated Gradient Method (NAGM) is often considered the "gold standard" due to its optimal $O(1/k^2)$ convergence rate. However, NAGM is notoriously fragile; even minor noise in gradient computations—common in modern large-scale machine learning—can cause the acceleration to vanish or lead to algorithmic divergence.
Modern machine learning typically relies on stochastic estimates (e.g., mini-batches) rather than exact gradients to manage computational costs. While the "strong-growth condition" previously offered a path for NAGM to handle some noise, it was limited to unconstrained problems and failed to explain the success of modern variance-reduced methods like SAGA or SVRG. This research addresses these gaps by introducing a universal variance condition that defines the noise tolerance of accelerated algorithms in both constrained and unconstrained settings.
A Generalized Variance Condition
The authors propose a novel framework, denoted as Algorithm 1, which integrates Nesterov’s acceleration with dual-averaging techniques. The core of this framework is a new variance condition where the variance of the stochastic gradient is bounded by the variation in the exact gradients:
$$\mathbb{E}[\|\tilde{\nabla} f(x_k) - \nabla f(x_k)\|^2] \leq C \cdot \|\nabla f(x_k) - \nabla f(x_{k-1})\|^2$$
To manage this relationship, the authors introduce a robustness parameter, $\lambda \in (0, 1]$. This parameter acts as a tunable "knob": a smaller $\lambda$ increases the algorithm's tolerance for noisy gradients, albeit at the cost of slightly slower constant factors in the convergence rate.
One significant advantage of Algorithm 1 is its "two-phase" convergence behavior. Unlike standard methods that require distinct configurations for smooth versus strongly convex functions, this algorithm utilizes a weight sequence that automatically transitions from an accelerated $O(1/k^2)$ rate to a linear convergence rate as the optimization progresses.
Theoretical Insights
Generalizing Strong Growth
The research demonstrates that the classic strong-growth condition is a specific instance of their new generalized condition, applicable when the problem is unconstrained. By extending this to constrained optimization, the authors provide a more robust theoretical foundation for practical applications.
The SAGA Connection
A key contribution is the theoretical bridge built between acceleration and variance reduction. The authors prove that the SAGA oracle naturally satisfies their new variance condition. This provides the first rigorous justification for why SAGA can be successfully accelerated, offering a blueprint for designing other stochastic oracles that maintain accelerated rates.
Hindsight in Design
The framework suggests that maintaining acceleration during gradient quantization (compression) requires incorporating information from previous iterations. This "hindsight" approach provides a theoretical basis for communication-efficient distributed learning that was previously missing.
Experimental Results
The algorithm was evaluated across several domains to verify its robustness and efficiency:
- Synthetic Least Squares: These tests confirmed the "two-phase" convergence behavior and demonstrated that the algorithm maintains linear convergence in the presence of Gaussian noise, provided $\lambda$ is appropriately tuned.
- Federated Learning: Using LIBSVM datasets (
mushroomanda5a), the authors tested the algorithm with compressed and quantized gradients. Algorithm 1 significantly outperformed the state-of-the-art Accelerated Constrained Gradient Descent (ACGD) in both iteration count and total bits communicated. - Finite-Sum Problems: The "Accelerated SAGA" implementation achieved high precision with significantly fewer gradient computations compared to standard mini-batch SGD or full-gradient descent.
Limitations and Future Directions
While the framework provides a powerful tool for stochastic acceleration, it introduces the challenge of parameter tuning. Selecting the optimal $\lambda$ requires balancing iteration count against the computational speed of the gradient oracle. Additionally, while the algorithm handles constraints via a proximal step, this step could become a computational bottleneck for highly complex constraint sets.
Future research may look toward extending these principles to non-convex landscapes, which would have profound implications for training deep neural networks where stochasticity and acceleration are both critical components.
Summary updated