Averaged stationarity bound for stochastic gradient descent Created 2026-10-25 Updated 2026-11-05
Suppose a fixed-step size stochastic gradient descent iteration satisfies
and has a global minimizer . Taking expectations and forming a telescoping sum proves the displayed bound with and deterministic . The Cauchy-Schwarz inequality then bounds the averaged, or the best, expected gradient Euclidean norm by . This is a guarantee of stationarity in the indicated senses, rather than a last-iterate convergence assertion. The additive is a stochastic gradient noise floor.
Target: real-analysis.bigb, under Strongly convex function.
There is a summation-index misprint. On the native PDF, paper page 3, equation (4) has inside a sum indexed by . The intended telescoping estimate has inside that sum; this is the estimate proved below and used in part (d). The index mismatch is present in the original PDF, rather than being introduced by the transcription.
Take the expectation of the supplied conditional expectation bound (3), using the tower property:
Rearranging and forming a telescoping sum gives
Because is a global minimizer, for every realisation. Hence the corrected equation (4) is
All expectations at a finite iteration are finite here: a deterministic starting point and finitely many choices of the sampled index produce only finitely many possible iterates. The bound controls accumulated squared gradients, with an additive contribution from the stochastic gradient noise floor.
Write . Dividing the corrected estimate from part (c) by gives the averaged stationarity bound for stochastic gradient descent
The Cauchy-Schwarz inequality, first within each expectation and then over the indices, gives
Thus
Equivalently, if is chosen independently of the run with the discrete uniform distribution on , then . The same bound for the expected Euclidean norm follows by the Cauchy-Schwarz inequality.
The guarantee is averaged or best-iterate stationarity. It does not assert that every last iterate converges, or that the limiting Euclidean norm equals . The squared gradient bound has excess above ; the displayed expected Euclidean norm bound is within of , including the zero-noise case. For fixed , it is sharper:
For example, to ensure with , it suffices that . The big O notation here concerns these upper bounds, rather than an asserted asymptotic equality for the stochastic gradient noise floor.
The printed distance needs a square. The native PDF, paper page 3, prints in the final bound, but the general conclusion from (5) contains . We first prove the corrected statement and then show that the printed version can fail.
Take the expectation in (5), use the tower property, and sum over . The squared Euclidean distances form a telescoping sum:
Discard the final nonnegative squared Euclidean distance. The smallest of numbers is at most their arithmetic mean, so
This is an bound above the stochastic gradient noise floor for the best expected objective function value. By Jensen's inequality, it also bounds for the averaged iterate , because is a convex function.
To test the printed version, take one component function, , with , and . This convex quadratic function has , hence it has a -Lipschitz gradient. The stochastic gradient descent update is deterministic, its conditional variance is zero, and the assumed positive bound is valid. At , the new iterate is , so
Thus the printed inequality is false under its stated assumptions. The squared Euclidean distance in the corrected bound resolves the defect.
Stochastic gradient descent Created 2026-09-24 Updated 2026-11-05
Stochastic gradient descent updates an optimization parameter using a random estimate of the gradient:
For a finite-sum objective , selecting an index uniformly and taking gives an unbiased stochastic gradient. Averaging several selected gradients gives a mini-batch gradient. The saving is fewer component evaluations per update, while the randomness adds variance. Unbiasedness or a controlled bias is an assumption, rather than an automatic property of any approximate gradient.[ref]
A simple noise example is and , where independent centered noises have variance . With a constant step size ,
Its mean tends to zero, but its limiting variance is : solve . Thus constant steps can leave a stochastic gradient noise floor even for this strictly convex quadratic. Smaller or diminishing steps change the balance between progress and noise; a nonconvex stationarity estimate must not be read as guaranteed convergence to a global minimum.