TL;DR
Tuning the learning rate in Stochastic Gradient Descent (SGD) is notoriously tedious and resource-intensive. This paper introduces AdaSGD, an adaptive step-size strategy for convex stochastic optimization that automatically senses local curvature on the fly. By decoupling mini-batch evaluation from step-size computation, AdaSGD removes the need for hyperparameter tuning while matching or outperforming meticulously tuned baselines.
What Problem Does This Paper Address?
In deterministic optimization, Malitsky & Mishchenko (2020) proposed Adaptive Gradient Descent without Descent (AdaGD). AdaGD automatically adjusts its step size using local gradient differences—adapting to local Lipschitz smoothness without line searches, prior knowledge of smoothness constants, or hyperparameter tuning.
However, moving AdaGD to the stochastic setting (mini-batch SGD) broke its main appeal. Prior stochastic adaptations introduced an arbitrary scaling parameter $\alpha$ that required careful manual tuning to guarantee convergence, defeating the purpose of being "tuning-free." The authors set out to build a principled, theoretically sound stochastic extension of AdaGD that remains genuinely robust to parameter selection.
Methods
AdaSGD updates iterates via standard stochastic gradient steps: $$x_{k+1} = x_k - \lambda_k \nabla f_{\xi_k}(x_k)$$
The critical breakthrough lies in how the local Lipschitz estimate $\hat{L}_{k-1}$ and step-size $\lambda_k$ are chosen:
-
Re-using the Previous Mini-Batch ($\xi_{k-1}$):
Instead of using the current batch $\xi_k$, AdaSGD measures the gradient difference across the previous batch: $$\hat{L}_{k-1} = \frac{\|\nabla f_{\xi_{k-1}}(x_k) - \nabla f_{\xi_{k-1}}(x_{k-1})\|}{\|x_k - x_{k-1}\|}$$ Because $\xi_{k-1}$ is already fixed with respect to filtration $\mathcal{F}_{k-1}$, $\lambda_k$ is conditionally independent of the new stochastic gradient $\nabla f_{\xi_k}(x_k)$, keeping the stochastic oracle completely unbiased. -
Step-Size Rules (Three Variants):
The paper investigates three variants. The recommended version (Variant-III) incorporates a mild damping factor $k^{-(1/2+\delta)}$ (for an arbitrarily small $\delta > 0$) to control stochastic noise: $$\lambda_k = \min\left( \frac{1}{2\sqrt{2}\hat{L}_{k-1} k^{1/2+\delta}}, \; \lambda_{k-1} \sqrt{1 + \left(1 - \frac{1}{k^{1/2+\delta}}\right)\frac{\lambda_{k-1}}{\lambda_{k-2}}} \right)$$ - Extra Oracle Call:
Computing $\hat{L}_{k-1}$ requires one extra gradient evaluation per iteration ($\nabla f_{\xi_{k-1}}(x_k)$). However, this 2x per-iteration cost is heavily offset by avoiding extensive hyperparameter grid searches.
Datasets
The authors benchmarked AdaSGD across synthetic and standard real-world convex problems:
- Synthetic Datasets: Linear regression ($N=200, d=20$), Sum of ridge functions ($N=200, d=20$), and Poisson regression (illustrating locally Lipschitz, non-globally smooth gradients).
- Real-World / Standard Benchmarks:
Diabetes(linear regression)2moonsfrom Scikit-Learn ($N=200, d=3$)w8abinary classification dataset ($N=49,749, d=300$) for logistic regression.
Key Insights and Ideas
-
Decoupling Sampling Noise from Curvature: The error decomposition splits into two parts: $$\|\nabla f_{\xi_k}(x_k) - \nabla f_{\xi_{k-1}}(x_{k-1})\|^2 \le 2\underbrace{\|\nabla f_{\xi_k}(x_k) - \nabla f_{\xi_{k-1}}(x_k)\|^2}_{\text{sampling noise}} + 2\underbrace{\|\nabla f_{\xi_{k-1}}(x_k) - \nabla f_{\xi_{k-1}}(x_{k-1})\|^2}_{\text{curvature}}$$ By isolating the curvature term to batch $\xi_{k-1}$, the step size purely bounds curvature while standard variance assumptions handle sampling noise.
-
Tuning-Free vs. Parameter-Free: While AdaSGD requires an initial $\lambda_0$, setting $\lambda_0$ to an arbitrary tiny value (e.g., $10^{-3}$) works universally well across problems. Unlike vanilla SGD, where an overly small step size causes training to stall, AdaSGD rapidly expands the step size until it encounters the true local curvature.
- Strong Convergence Guarantees Without Knowing Problem Constants: For strongly convex objectives, Variant-III achieves an expected convergence rate of: $$\mathbb{E}[\|x_{k+1} - x^\star\|^2] \le \mathcal{O}\left(\frac{1}{k^{1/2+\delta}}\right)$$ without knowing either the strong convexity constant $\mu$ or the Lipschitz constant $L$.
Key Results
- Extreme Robustness to Initialization: Across linear, ridge, logistic, and Poisson regressions, varying $\lambda_0$ over six orders of magnitude ($10^{-4}$ to $10^2$) showed that AdaSGD's final optimality gap is virtually flat for small initializations ($\lambda_0 \le 10^{-2}$). In contrast, fixed-step SGD, decayed SGD, stochastic Polyak, and Adagrad degrade sharply outside narrow optimal windows.
- Competitive with Heavily-Tuned Baselines: When run with default $\lambda_0 = 10^{-3}$ and zero tuning, AdaSGD matches or outperforms grid-searched baselines across epochs.
- Batch Size Invariance: Testing across small (8), medium (32), and large (128) mini-batch sizes confirmed that the method remains equally robust under varying gradient noise levels.
Limitations and Future Work
- 2x Stochastic Oracle Calls: Every iteration requires evaluating two stochastic gradients ($\nabla f_{\xi_k}(x_k)$ and $\nabla f_{\xi_{k-1}}(x_k)$).
- Convexity Requirement: The Lyapunov proofs rely fundamentally on convexity inequalities. The authors discuss extending general convex results, but extending theoretical guarantees to non-convex objectives (such as deep neural networks) remains an open challenge.
- Variant Trade-offs: Variant-I (without the $k^{-(1/2+\delta)}$ decay) works well on problems with non-global Lipschitz gradients (like Poisson regression) but can oscillate when stochastic noise is high.
Summary updated