Unified Theory of Adaptive Variance Reduction

А. Л. Шестаков, В. И. Парфенов, Aleksandr Beznosikov · DOI

Abstract: Variance reduction is a family of powerful mechanisms for stochastic optimization that appears to be helpful in many machine learning tasks. It is based on estimating the exact gradient with some recursive sequences. Previously, many papers demonstrated that methods with unbiased variance-reduction estimators can be described in a single framework. We generalize this approach and show that the unbiasedness assumption is excessive; hence, we include biased estimators in this analysis. But the main contribution of our work is the proposition of new variance reduction methods with adaptive step sizes that are adjusted throughout the algorithm iterations and, moreover, do not need hyperparameter tuning. Our analysis covers finite-sum problems, distributed optimization, and coordinate methods. Numerical experiments in various tasks validate the effectiveness of our methods.

1. Introduction

Stochastic Gradient Descent (SGD) remains the foundational algorithm for training modern machine learning models. However, the inherent variance of stochastic gradients often hinders convergence, particularly as the optimization process approaches a local minimum. Variance Reduction (VR) techniques—such as SAGA, SVRG, and PAGE—address this by maintaining recursive estimates of the full gradient, enabling faster convergence rates.

Despite their success, VR methods face two significant hurdles in practical deployment. First, existing theoretical frameworks typically rely on the assumption that gradient estimators are unbiased. This excludes several state-of-the-art methods that utilize biased estimators, such as the EF21 scheme for distributed error feedback or the JAGUAR coordinate method. Second, VR methods are notoriously sensitive to the choice of step size (learning rate), which usually depends on the problem's smoothness constant ($L$). In practice, $L$ is rarely known, leading to a tedious and computationally expensive hyperparameter tuning process.

2. A Unified Framework for Biased and Unbiased Estimators

This paper bridges the theoretical gap by introducing a generalized recursive bound (Assumption 1) that characterizes the error of a gradient estimator without requiring unbiasedness. This framework posits that the variance or error of the estimator contracts recursively at each step.

By relaxing the unbiasedness constraint, the authors successfully unify a vast array of algorithms under a single mathematical umbrella. This includes:

  • Finite-sum methods: SAGA, PAGE, and ZeroSARAH.
  • Distributed methods: EF21 and DASHA.
  • Coordinate methods: SEGA and JAGUAR.

The unified theory proves that as long as the estimator's error follows this recursive contraction, the optimization algorithm will converge. This provides a rigorous foundation for using biased estimators, which are often more efficient in communication-constrained or high-dimensional settings.

3. Parameter-Free Adaptive Step Sizes

To address the "tuning gap," the authors propose a novel family of adaptive step sizes ($\gamma_t$) inspired by the AdaGrad philosophy. Unlike standard VR methods that require a fixed step size based on $L$, the proposed adaptive mechanism scales the learning rate inversely with the accumulated norms of past gradient estimators:

$$\gamma_t = \frac{\eta}{(\sum_{i=0}^t \|g^i\|^2)^{1/2}}$$

This approach allows the algorithm to automatically sense the local geometry of the loss surface. Because the unified framework accounts for the recursive error of the estimator, the authors can prove that this adaptive step size achieves the optimal $\mathcal{O}(1/\sqrt{T})$ convergence rate for non-convex problems. Crucially, this is achieved without any prior knowledge of the smoothness constant, making the methods truly "plug-and-play."

4. Experimental Validation

The effectiveness of the adaptive VR framework was tested on logistic regression tasks using the a9a dataset from the LibSVM repository. The experiments compared parameter-free versions of several algorithms (PFSAGA, PFPAGE, PFEF21) against both theoretically optimal constant step sizes and manually tuned baselines.

Key findings include:

  • Consistent Superiority: The parameter-free methods consistently outperformed even the best-tuned constant step size baselines.
  • Robustness to Compression: In distributed settings using the EF21 estimator, the adaptive step size maintained high performance across varying levels of gradient sparsification (e.g., Top-K compression), whereas constant step sizes required re-tuning for every different compression level.
  • Efficiency of Biased Estimators: The biased JAGUAR estimator showed surprisingly strong performance, often converging faster than its unbiased counterparts, further justifying the inclusion of biased methods in the unified theory.

5. Discussion and Limitations

While the proposed methods significantly reduce the need for manual tuning, they introduce a structural constant $\alpha \in (0, 1/3)$. Empirical results suggest that $\alpha=0.33$ is a robust choice across tasks, but it remains a fixed parameter within the adaptive formula. Additionally, while the theory is robust, the current empirical scope is focused on logistic regression. Future research is needed to evaluate these adaptive VR methods on large-scale, highly non-convex architectures like Vision Transformers or Large Language Models to fully assess their scalability in deep learning workflows.

Summary updated

BibTeX
@misc{2025unified,
  author = {А. Л. Шестаков and В. И. Парфенов and Aleksandr Beznosikov},
  title = {{Unified Theory of Adaptive Variance Reduction}},
  year = {2025},
  eprint = {2511.04569},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.04569},
  howpublished = {arXiv},
}
Figure