Stochastic learning flow: moment equations for stochastic gradient descent at finite step size
Christian Schmid, James M Murray
Key points
From the paper's conclusion- Analytical theories of learning in deep networks often assume gradient flow, discarding the finite step size and batch noise of stochastic gradient descent (SGD).
Abstract
Analytical theories of learning in deep networks often assume gradient flow, discarding the finite step size and batch noise of stochastic gradient descent (SGD). Starting from the discrete update, we derive continuous-time equations for the mean and covariance of the parameter distribution under a Gaussian closure for a general stochastic learning, to first order in the learning rate $\eta$. Applying these stochastic learning flow (SLF) equations to SGD, we show that the mean descends an effective loss regularized by the covariance and loss curvature, while the covariance, unlike in stochastic differential equation approximations, becomes unstable at curvature $2/\eta$. In SGD ensembles of linear and nonlinear networks, SLF predicts learning curves and mean trajectories more accurately than gradient flow and captures the covariance dynamics, failing where the parameter distribution becomes strongly non-Gaussian. In the full-batch limit, the edge of stability corresponds to a stationary point of the coupled sharpness-covariance dynamics, recovering self-stabilization and central flow, and batch-to-batch curvature fluctuations lower this threshold under SGD.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- High-dimensional limit theorems for adaptive variants of SGD I: Ballistic limitsarXiv · 2026
- Convergence of stochastic gradient descent for learning linear neural networksarXiv · 2026
- Critical step size of stochastic gradient descent for a linear neuron: an exact solution and the role of the input spectrumarXiv · 2026
- Moment-Accurate Gaussian Mixtures for Constant-Step Stochastic ApproximationarXiv · 2026
- Gaussian Limits for SGD Without Stationary MomentsarXiv · 2026
- SGD with Large Learning Rates: General Analysis & Improved RatesarXiv · 2026