Step-Size Stability in Stochastic Optimization: A Theoretical Perspective

Fabian Schaipp, Robert M. Gower, Adrien Taylor

TL;DR

This paper introduces a new theoretical tool called the stability index to explain why certain stochastic optimization methods are much easier to tune than standard Stochastic Gradient Descent (SGD). The authors prove that while SGD’s performance degrades linearly as the learning rate grows too large, adaptive methods like the Stochastic Polyak Step-size (SPS) and non-negative Gauss-Newton (NGN) remain stable due to a sub-linear scaling of this index.

What Problem Does This Paper Address?

In machine learning, the learning rate (or step size) is arguably the most important hyperparameter to tune. If it’s too small, training is agonizingly slow; if it’s too large, the model diverges.

Practitioners have long noticed that "model-based" methods—like SPS, NGN, and the Stochastic Proximal Point (SPP) method—are remarkably robust, often working well across several orders of magnitude of step sizes. However, optimization theory has traditionally focused on convergence rates (how fast they get to the answer) rather than stability (how much the answer breaks if you pick the wrong step size). This paper fills that gap by providing a theoretical framework to quantify this sensitivity.

Methods

The authors analyze a family of model-based stochastic proximal point methods. In this framework, every step involves minimizing a simplified "surrogate" model of the loss function.

The core of their analysis is the stability index ($\delta_t$). Mathematically, it measures the difference between the current loss and the "regularized" model value after a step. They derive the stability index for four major algorithms:

  1. SGD: The baseline, using a simple linear model.
  2. SPS (Stochastic Polyak Step-size): Uses a truncated linear model that respects a known lower bound of the loss.
  3. NGN (Non-negative Gauss-Newton): Uses a square-root linearization specifically for non-negative losses.
  4. SPP (Stochastic Proximal Point): The "gold standard" that uses the exact local loss function as its model.

The researchers use this index to provide new non-asymptotic convergence bounds for both convex and "weakly convex" (slightly non-convex) functions.

Datasets

The authors validated their theory using a mix of synthetic and real-world benchmarks:

  • Synthetic Linear Regression: Used to test specific conditions like "interpolation" (where the model can perfectly fit every data point).
  • LIBSVM Datasets (vowel and dna): Used for multi-class logistic regression tasks.
  • CIFAR-10: Used to train a ResNet20 architecture, providing a challenging non-convex test case to see if the convex theory still holds in practice.

Key Insights and Ideas

  • The Linear Explosion of SGD: The authors prove that for SGD, the stability index scales linearly with the step size ($\alpha$). This is why SGD "explodes" so easily when the learning rate is bumped up.
  • The Stability Cap: For SPS, NGN, and SPP, the stability index is either capped by a constant or grows sub-linearly. For example, in SPS, the index is capped by the "interpolation constant"—a measure of how much noise is in the data. If the model can fit the data perfectly, these methods become incredibly stable.
  • Theory Meets Practice: Surprisingly, the theoretical bounds derived for convex problems qualitatively match the actual training curves of deep neural networks (ResNet20). The "U-shaped" curve of final loss vs. learning rate is much wider and flatter for the adaptive methods, exactly as the stability index predicts.
  • Warmup Explained: The paper provides a theoretical justification for "learning rate warmup." They show that warmup effectively slows down the initial explosion of the stability index, preventing the optimization from diverging in the volatile early stages of training.

Key Results

  • Provable Robustness: The authors prove that $\delta_t^{SPS} \leq \delta_t^{SGD}$ and $\delta_t^{NGN} \leq \delta_t^{SGD}$. This means these adaptive methods are always at least as stable as SGD for any given step size.
  • Interpolation Advantage: In the "interpolation regime" (common in overparameterized deep learning), the stability index for SPP and SPS remains bounded even as the step size goes to infinity.
  • Empirical Match: In ResNet20 experiments, SGD begins to fail at a base learning rate of $\alpha \approx 1$, while SPS and NGN remain stable and perform well up to $\alpha \approx 10$. The theoretical "stability bound" ($\Omega_T$) correctly predicted these breakdown points.

Limitations and Future Work

  • Scope of Algorithms: The current theory is restricted to "SGD-like" updates. It does not yet cover popular techniques like momentum, weight decay, or preconditioners (e.g., Adam), which are standard in modern deep learning.
  • Convexity Constraints: While the experiments on ResNet are promising, the formal proofs rely on (weak) convexity. Extending this to the highly non-convex landscapes of Transformers remains an open challenge.
  • Practical Heuristics: The authors suggest that the stability index could be used in the future to create "early-exit" heuristics—automatically stopping a training run if the index suggests the learning rate is causing instability.

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