Step-Size Stability in Stochastic Optimization: A Theoretical Perspective

Fabian Schaipp, Robert M. Gower, Adrien Taylor · DOI

Abstract

We present a theoretical analysis of stochastic optimization methods in terms of their sensitivity with respect to the step size. We identify a key quantity that, for each method, describes how the performance degrades as the step size becomes too large. For convex problems, we show that this quantity directly impacts the suboptimality bound of the method. Most importantly, our analysis provides direct theoretical evidence that adaptive step-size methods, such as SPS or NGN, are more robust than SGD. This allows us to quantify the advantage of these adaptive methods beyond empirical evaluation. Finally, we show through experiments that our theoretical bound qualitatively mirrors the actual performance as a function of the step size, even for nonconvex problems.

Introduction

Tuning learning rates is a notoriously difficult aspect of training machine learning models. While standard Stochastic Gradient Descent (SGD) is highly sensitive to this hyperparameter—often diverging if the step size is set even slightly too high—adaptive methods like Stochastic Polyak Stepsize (SPS) and Non-negative Gauss-Newton (NGN) are empirically known to be much more robust.

Traditional optimization theory typically focuses on convergence rates under the assumption of an optimally tuned step size. This paper bridges the gap between theory and practice by introducing a framework to explicitly quantify stability: how an algorithm behaves when the step size is large.

The Stability Index Framework

The authors analyze optimization through a model-based stochastic proximal point framework. In this setting, an algorithm constructs a surrogate model of the loss function at each iteration and minimizes it. The choice of model defines the algorithm:

  • SGD utilizes a simple linear model.
  • SPS uses a truncated linear model capped by a known lower bound.
  • NGN employs a square-root linearized model.
  • SPP (Stochastic Proximal Point) uses the exact loss function.

To compare these, the authors introduce the stability index ($\delta_t$). This metric measures the discrepancy between the actual loss and the surrogate model's loss, weighted by the step size $\alpha$. This index is the critical factor in determining how performance degrades as $\alpha$ increases.

Comparison of next-step loss (left) and stability index (right) across different optimization methods as a function of step size.

Key Insights: Linear vs. Sub-linear Scaling

The core theoretical contribution is the characterization of how $\delta_t$ scales with $\alpha$. For standard SGD, the stability index grows linearly with the step size. Consequently, if the learning rate is an order of magnitude too large, the variance penalty scales proportionally, leading to immediate instability.

In contrast, the authors mathematically prove that for adaptive methods like SPS, NGN, and SPP, the stability index scales sub-linearly or remains strictly capped. Specifically, they show that $\delta_t^{\text{SPS}} \le \delta_t^{\text{SGD}}$ and $\delta_t^{\text{NGN}} \le \delta_t^{\text{SGD}}$ under all conditions. This provides the first rigorous theoretical evidence for the empirical robustness of these methods; they can tolerate much larger step sizes because their error bounds do not explode as rapidly as SGD's.

Theoretical Bounds and Verification

By incorporating the stability index into convex suboptimality bounds, the authors derive a general theorem (Theorem 4) that describes the final error bound $\Omega_T$ as a function of the base learning rate. This bound typically follows a U-shaped curve: too small a learning rate leads to slow convergence, while too large a rate leads to instability. The "flatness" of the right side of this curve is determined by the stability parameter $\nu$.

Illustration of the theoretical suboptimality bound (left) and its numerical verification using PEPit (right).

As shown in the figures above, as the stability parameter $\nu$ decreases (representing more stable methods), the final bound becomes significantly more forgiving of large learning rates. These theoretical predictions were verified using PEPit, a tool for computer-aided worst-case analysis of first-order methods, confirming that the derived bounds are tight and accurately reflect algorithmic behavior.

Empirical Evidence in Deep Learning

While the primary mathematical proofs assume convexity, the authors tested their framework on non-convex deep learning tasks, specifically training a ResNet20 on CIFAR10.

The results were striking: the theoretical curves predicting performance degradation perfectly mirrored the actual empirical training loss. In these experiments, SGD began to degrade at $\alpha \ge 1$, whereas SPS and NGN remained stable up to $\alpha \approx 10$. The stability index framework correctly predicted this order-of-magnitude difference in robustness. Furthermore, the framework provides a theoretical explanation for the effectiveness of learning rate warmup: warmup suppresses the explosion of the stability index during the high-gradient early phases of training.

Conclusion

This work provides a formal mathematical language for discussing the robustness of optimization algorithms. By identifying the stability index as the key driver of performance at large step sizes, the authors have turned an empirical observation—that adaptive methods are easier to tune—into a provable theoretical property. Future work may extend this framework to momentum-based methods like Adam or use the stability index as a real-time diagnostic tool to detect and terminate unstable training runs early.

Summary updated

BibTeX
@inproceedings{schaipp2026step,
  author = {Fabian Schaipp and Robert M. Gower and Adrien Taylor},
  title = {{Step-Size Stability in Stochastic Optimization: A Theoretical Perspective}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=yhvzMLgpdV},
}
Figure