Solution

ID: past-exam-of-the-optimisation-for-data-science-course-of-the-university-of-oxford/2023/2/d/solution

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.

New to topics? Read the docs here!