An Adaptive Incremental Gradient Method With Support for Non-Euclidean Norms

Binghui Xie, Chenhan Jin, Kaiwen Zhou, James Cheng, Wei Meng

TL;DR

SAGA-BB introduces a robust, adaptive step-size framework for the popular SAGA optimization algorithm, eliminating the need for tedious manual tuning. By utilizing a novel "stable" Barzilai-Borwein step-size and a new theoretical analysis, it achieves state-of-the-art performance across various machine learning tasks while providing the first convergence guarantees for SAGA in non-Euclidean norm spaces.

What Problem Does This Paper Address?

In modern machine learning, we often solve "finite-sum" optimization problems where the goal is to minimize a loss function averaged over millions of data points. While Stochastic Gradient Descent (SGD) is the workhorse for these tasks, it suffers from high variance, leading to slow convergence. Variance-reduced (VR) methods like SAGA and SVRG were designed to fix this, offering much faster theoretical convergence rates.

However, these VR methods have a major practical flaw: they are extremely sensitive to the step-size (learning rate). Finding the right step-size usually requires an expensive "grid search," which is time-consuming and often infeasible for massive datasets. Furthermore, most existing theoretical proofs for these algorithms assume we are working in standard Euclidean space (using the $\ell_2$ norm). Many important problems, like those involving sparse data or probability simplexes, are better suited for non-Euclidean norms, but SAGA lacked the theoretical framework to support them—until now.

Methods

The authors propose SAGA-BB, which integrates an adaptive Barzilai-Borwein (BB) step-size into the SAGA algorithm. The key technical innovations include:

  1. The "Mediant" Step-Size: Standard adaptive methods often use an arithmetic mean of local curvature estimates. The authors found this approach is highly sensitive to "outliers"—iterations where the gradient change is very small, causing the step-size to explode. To solve this, they propose using a mediant (a weighted arithmetic mean where weights are in the denominator). This stabilizes the step-size evolution significantly.
  2. Memory-Efficient Implementation: Unlike other adaptive VR methods that might require $O(nd)$ memory (where $n$ is the number of samples and $d$ is the dimension), SAGA-BB is optimized for linear models to require only $O(n)$ extra storage, matching the efficiency of the original SAGA.
  3. Non-Euclidean Theory: The authors developed a new Lyapunov function—a mathematical tool used to prove convergence—that works with arbitrary norms and Bregman divergences. This allows SAGA-BB to handle "composite" objectives (like those with $L_1$ regularization) in non-Euclidean settings.
  4. Restarting Strategy (R-SAGA-BB): For strongly convex problems, they employ a restarting technique to ensure the algorithm maintains a fast linear convergence rate.

Datasets

The algorithm was evaluated on four standard binary classification datasets from the LibSVM repository:

  • mushrooms
  • ijcnn1
  • w8a
  • covtype

These datasets represent a variety of scales and features common in benchmarking optimization algorithms for logistic regression.

Key Insights and Ideas

  • Stability is King: Figure 1 in the paper illustrates how "unstable" stochastic variants of step-sizes can fluctuate wildly. By switching to the "stable" mediant-based formulas, the authors achieved much smoother step-size trajectories that better reflect the true local geometry of the optimization landscape.
Figure 2: The evolution of step-sizes on the left and the performance for different adaptive methods.
  • Bridging the Gap: SAGA is unique because it doesn't compute a full gradient every epoch (unlike SVRG). This makes it faster per iteration but harder to adaptively tune. SAGA-BB successfully bridges this gap by using the "incremental" gradients already stored in SAGA's memory table to estimate curvature without extra computation.
  • Theoretical Generality: By supporting non-Euclidean norms, the authors have made SAGA applicable to a wider range of specialized problems, such as those occurring in tomography or online learning over simplexes, where the geometry of the space isn't naturally "flat" or Euclidean.

Key Results

  • Superior Convergence: In head-to-head tests against fine-tuned versions of SAGA, SVRG, and SARAH, SAGA-BB consistently reached lower loss values faster.
Convergence rates on different LibSVM datasets. SAGA-BB (blue line) consistently outperforms other methods.
  • Robustness: A standout feature of SAGA-BB is its robustness to the initial step-size. While vanilla SAGA or SVRG might diverge if the initial step-size is slightly too large, SAGA-BB automatically corrects itself, finding a good solution across a wide range of starting values.
Robustness to initial step-size. SAGA-BB maintains low gradient norms across a wide range of initializations.
  • Complexity Match: Theoretically, SAGA-BB matches the "oracle" complexity of SAGA: $O((n+\kappa) \log(1/\epsilon))$ for strongly convex problems and $O(1/\epsilon)$ for general convex problems, where $\kappa$ is the condition number.

Limitations and Future Work

While SAGA-BB is highly effective for convex problems, the paper primarily focuses on the convex and strongly convex settings. The authors note that extending these adaptive strategies to non-convex problems (like training deep neural networks) remains an open challenge. Additionally, they suggest that incorporating these adaptive step-sizes into accelerated stochastic methods (like Katyusha) could yield even faster convergence in the future.

Summary updated

BibTeX
@misc{xie2022adaptive,
  author = {Binghui Xie and Chenhan Jin and Kaiwen Zhou and James Cheng and Wei Meng},
  title = {{An Adaptive Incremental Gradient Method With Support for Non-Euclidean Norms}},
  year = {2022},
  eprint = {2205.02273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.02273},
}
Figure