cs.LGFeb 16, 2026

On the Stability of Nonlinear Dynamics in GD and SGD: Beyond Quadratic Potentials

Authors: Rotem Mulayoff, Sebastian U. Stich

Organizations: CISPA Helmholtz Center for Information Security, Saarbrücken, Germany

Abstract

The dynamical stability of the iterates during training plays a key role in determining the minima obtained by optimization algorithms. For example, stable solutions of gradient descent (GD) correspond to flat minima, which have been associated with favorable features. While prior work often relies on linearization to determine stability, it remains unclear whether linearized dynamics faithfully capture the full nonlinear behavior. Recent work has shown that GD may stably oscillate near a linearly unstable minimum and still converge once the step size decays, indicating that linear analysis can be misleading. In this work, we explicitly study the effect of nonlinear terms. Specifically, we derive an exact criterion for stable oscillations of GD near minima in the multivariate setting. Our condition depends on high-order derivatives, generalizing existing results. Extending the analysis to stochastic gradient descent (SGD), we show that nonlinear dynamics can diverge in expectation even if a single batch is unstable. This implies that stability can be dictated by a single batch that oscillates unstably, rather than an average effect, as linear analysis suggests. Finally, we prove that if all batches are linearly stable, the nonlinear dynamics of SGD are stable in expectation.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SGD at the Edge of Stability: The Stochastic Sharpness Gap

    Apr 22, 2026Fangshuo Liao, Afroditi Kolomvaki, Anastasios KyrillidisEdge of StabilityNeural Network Optimization

  2. SGD at the Edge of Stability: Stochastic Stabilization with Large Learning Rates

    Jun 29, 2026Konstantinos Emmanouilidis, Lachlan MacDonald, Salma Tarmoun +1Edge of StabilityStochastic Optimization Convergence

  3. Momentum Further Constrains Sharpness at the Edge of Stochastic Stability

    Apr 15, 2026Arseniy Andreyev, Advikar Ananthkumar, Marc Walden +2Stochastic Gradient DescentGradient Descent Dynamics