Suppose a fixed-step size stochastic gradient descent iteration satisfiesand 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. Past exam of the optimisation for data science course of the University of Oxford 2023 2 c Solution 2026-10-25
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 givesBecause is a global minimizer, for every realisation. Hence the corrected equation (4) isAll 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.
Past exam of the optimisation for data science course of the University of Oxford 2023 2 d Solution 2026-10-25
Write . Dividing the corrected estimate from part (c) by gives the averaged stationarity bound for stochastic gradient descentThe Cauchy-Schwarz inequality, first within each expectation and then over the indices, givesThusEquivalently, 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.
Past exam of the optimisation for data science course of the University of Oxford 2023 2 f Solution 2026-10-25
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, soThis 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 , soThus the printed inequality is false under its stated assumptions. The squared Euclidean distance in the corrected bound resolves the defect.