Adaptive Step Sizes in Variance Reduction via Regularization

Bingcong Li, Georgios B. GiannakisarXiv 2019

Abstract

Variance reduction methods like SARAH are powerful for large-scale optimization but often require tedious manual tuning of step sizes. While the Barzilai-Borwein (BB) adaptive step size offers a "tune-free" alternative, its instability on non-strongly convex functions limits its applicability. This paper proposes a regularization framework that bridges this gap, enabling the use of BB step sizes for general convex and nonconvex problems. By employing recursive regularization, the proposed algorithms achieve superior convergence rates and robust performance without the need for exhaustive grid searches.

Introduction

In machine learning, Empirical Risk Minimization (ERM) is typically solved using Gradient Descent (GD) or Stochastic Gradient Descent (SGD). While GD provides stability, its computational cost on large datasets is prohibitive. Conversely, SGD is fast but suffers from noise. Variance Reduction (VR) methods, such as SARAH, provide a middle ground by reducing stochastic noise to accelerate convergence.

However, a significant hurdle in deploying these methods is the "tuning nightmare": selecting an optimal learning rate. The Barzilai-Borwein (BB) step size, which adapts based on the local geometry of the objective function, is a promising solution. Unfortunately, BB step sizes are mathematically fragile, requiring strong convexity to prevent step sizes from exploding or becoming negative.

Methods: The Regularization Bridge

The authors address this instability by introducing a quadratic regularization term. Instead of optimizing the original function $f(x)$, they optimize a surrogate $\tilde{f}(x) = f(x) + \frac{\mu}{2} \|x - x_0\|^2$, which is forced to be strongly convex.

Algorithms for Regularized and Recursively Regularized SARAH

As shown in Algorithm 2 and 3, several variants are proposed:

  1. Regularized SARAH (Alg 2): Uses a single quadratic regularizer to stabilize BB step sizes.
  2. Recursively Regularized SARAH (Alg 3): Updates the regularization to prevent convergence plateaus. This is achieved either by gradually decreasing $\mu$ (v1) or by shifting the "anchor point" of the regularizer to the most recent estimate $x_{s-1}$ (v2).
  3. Nonconvex Regularized SARAH (Alg 4): Extends the approach to nonconvex problems by adding sufficient regularization to ensure local strong convexity.

Key Insights

A major contribution of this work is the "Free Lunch" for convex problems. Adding regularization improves the theoretical complexity of SARAH from $O(n + \sqrt{n}/\epsilon)$ to $O((n + 1/\sqrt{\epsilon}) \ln(1/\epsilon))$, significantly reducing the dependence on the dataset size $n$. Furthermore, the recursive approach (v2) effectively "moves the goalposts" as the algorithm progresses, allowing it to reach the true optimum of the original function and avoiding the stagnation typical of fixed regularization.

Results and Discussion

The researchers evaluated their approach on the a3a dataset for both convex (logistic regression) and nonconvex binary classification.

Convergence of gradient norm for different regularization strengths

Numerical results demonstrate that Recursively Regularized SARAH (v2) significantly outperforms vanilla SARAH in convex settings. As illustrated in the figure above, a fixed regularization strength (e.g., $\mu = 10^{-3}$) can lead to a performance plateau where the gradient norm stops decreasing. The recursive methods mitigate this, achieving higher precision. In nonconvex settings, the proposed method also outperformed popular adaptive methods like AdaGrad in the final stages of optimization.

Limitations and Future Work

Despite its advantages, the method has some limitations. The BB step size introduces a squared dependence on the condition number ($\kappa^2$), which may be less efficient than non-adaptive methods in certain geometries. Additionally, while the method is "almost tune-free," an initial regularization strength $\mu_0$ must still be chosen. Future work includes scaling these techniques to large-scale deep neural networks.

Summary updated

BibTeX
@misc{li2019adaptive,
  author = {Bingcong Li and Georgios B. Giannakis},
  title = {{Adaptive Step Sizes in Variance Reduction via Regularization}},
  year = {2019},
  eprint = {1910.06532},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.06532},
}
Figure