Solution

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

Condition on , and set , and . Since the sampled index is independent of and has the discrete uniform distribution, is an unbiased stochastic gradient:
Write . Expanding and using the zero conditional mean of proves the stochastic gradient second-moment identity
The stochastic gradient descent update is . Expanding the squared Euclidean distance and using the preceding identities gives
The subgradient inequality for the differentiable convex function gives . Combining this with (3),
Removing the temporary notation for the conditioning point yields
The noise contributes twice in this argument: once in the supplied bound (3), and once in converting the expected squared step into the squared gradient. Each contribution is at most .

New to topics? Read the docs here!