Adaptive Accelerated (Extra-)Gradient Methods with Variance Reduction

Zijian Liu, Ta Duy Nguyen, Alina Ene, Huy L. Nguyen

Introduction

Finite-sum optimization is a cornerstone of modern machine learning, where the goal is to minimize an objective function that is the average of many individual loss functions. While Stochastic Gradient Descent (SGD) is widely used, its convergence is often slowed by the variance inherent in stochastic estimates. Variance Reduction (VR) methods, such as SVRG and Katyusha, address this by periodically incorporating full gradient information. However, these methods typically require precise knowledge of the problem's smoothness parameter ($\beta$) to set the optimal step size—a parameter that is rarely known in practice and often requires extensive hyperparameter tuning.

This paper introduces AdaVRAE and AdaVRAG, the first accelerated variance-reduced optimization algorithms that automatically adapt to a problem's smoothness, eliminating the need for tedious grid searches while maintaining state-of-the-art convergence rates.

Proposed Adaptive Methods

The authors propose two distinct algorithmic frameworks:

  1. AdaVRAE (Adaptive Variance Reduced Accelerated Extra-Gradient): This method utilizes an "extra-gradient" step to refine gradient direction estimates. It adaptively adjusts step sizes based on the difference between gradients at successive iterates.
  2. AdaVRAG (Adaptive Variance Reduced Accelerated Gradient): A simpler approach based on mirror descent that updates step sizes based on the movement of the iterates themselves.

A key innovation in both methods is the use of epoch-level acceleration and cumulative step sizes. Unlike previous adaptive VR methods that reset step sizes at each epoch, these algorithms retain information about the local geometry of the function, leading to more stable and faster convergence.

Theoretical Contributions

The paper provides rigorous theoretical guarantees for these adaptive methods:

  • Optimality: AdaVRAE achieves a gradient complexity of $O(n \log \log n + \sqrt{n\beta/\epsilon})$, matching the theoretical lower bound for convex finite-sum problems up to logarithmic factors.
  • Checkpointing Strategy: The authors identified that the coefficient used to combine the current iterate with the "checkpoint" (the point of the last full gradient) is vital. By gradually increasing this coefficient, they improved the initial convergence term from $O(n \log n)$ to $O(n \log \log n)$.
  • Adaptivity vs. Acceleration: The work proves that it is possible to achieve the optimal accelerated rate for VR methods adaptively in general convex settings. While AdaVRAE matches the best-known rates exactly, AdaVRAG offers a slightly simpler implementation with a marginally higher dependence on smoothness ($\sqrt{\beta \log \beta}$).

Experimental Results

The algorithms were evaluated on binary classification tasks using standard LIBSVM datasets (a1a, mushrooms, w8a, and phishing) across three objective functions: Logistic loss, Squared loss, and Huber loss, all with $\ell_2$-regularization.

Convergence performance on the mushrooms dataset across three loss functions.

As shown in the experiments, both AdaVRAE and AdaVRAG significantly outperformed the previous state-of-the-art adaptive method, AdaSVRG. Notably, these adaptive algorithms performed as well as, or even better than, non-adaptive methods like VRADA and VARAG that were manually tuned with the "perfect" step size. This suggests that adaptivity can discover more efficient optimization paths than fixed-parameter methods.

Conclusion and Future Work

AdaVRAE and AdaVRAG bridge the gap between theoretical acceleration and practical usability in variance-reduced optimization. While current guarantees are established for bounded convex domains, empirical results show robust performance in unconstrained settings. Future research directions include extending these adaptive techniques to non-convex optimization problems, which are central to deep learning.

Summary updated

BibTeX
@inproceedings{liu2022adaptive,
  author = {Zijian Liu and Ta Duy Nguyen and Alina Ene and Huy L. Nguyen},
  title = {{Adaptive Accelerated (Extra-)Gradient Methods with Variance Reduction}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=Pne6lAshRJ},
}
Figure