QUICK REVIEW
[Paper Review] The convergence of the Stochastic Gradient Descent (SGD) : a self-contained proof
Gabriel Turinici|arXiv (Cornell University)|Mar 26, 2021
TL;DR
This paper presents a self-contained, pedagogical proof of the convergence of Stochastic Gradient Descent (SGD) under strong convexity and gradient moment conditions. It establishes $ L^2 $ convergence of the iterates to the true minimum when the step size sequence satisfies $ \rho_n \to 0 $ and $ \sum \rho_n = \infty $, with explicit error bounds and decay rate analysis.
ABSTRACT
We give here a proof of the convergence of the Stochastic Gradient Descent (SGD) in a self-contained manner.
Motivation & Objective
- To provide a complete, accessible proof of SGD convergence without relying on external references.
- To formalize the convergence conditions under which SGD converges in expectation to the global minimum.
- To clarify the role of learning rate schedules in ensuring $ L^2 $ convergence of iterates.
- To offer a pedagogical framework suitable for teaching or implementing SGD in machine learning contexts.
Proposed method
- Formalizes the SGD update rule: $ X_{n+1} = X_n - \rho_n \nabla_X L(\omega_n, X_n) $, with i.i.d. random samples $ \omega_n $.
- Imposes two key assumptions: bounded second-order gradient moments $ \mathbb{E}[\|\nabla_X L(\omega,X)\|^2] \leq C_0 + C_1\|X\|^2 $, and strong convexity of the expected loss $ \mathcal{L}(X) $.
- Derives a recursive inequality for the expected squared distance to the optimum: $ d_{n+1} \leq (1 - \rho_n\mu + \rho_n^2 c_1) d_n + \rho_n^2 c_0 $.
- Uses a Lyapunov-style argument to show that $ d_n \to 0 $ under $ \rho_n \to 0 $ and $ \sum \rho_n = \infty $, leveraging a product inequality lemma.
- Applies a logarithmic bound on the product $ \prod (1 - \rho_\ell \xi) \to 0 $ to prove asymptotic convergence.
- Handles non-constant step sizes via iterative contraction arguments and $ \epsilon $-limiting analysis.
Experimental results
Research questions
- RQ1Under what conditions does SGD converge in $ L^2 $ to the global minimum of a strongly convex expected loss function?
- RQ2How do learning rate schedules affect the convergence rate and final error bound in SGD?
- RQ3What is the role of gradient moment bounds in ensuring stability and convergence of SGD?
- RQ4Can a self-contained proof of SGD convergence be constructed without relying on advanced stochastic processes?
Key findings
- The expected squared distance to the minimum, $ d_n = \mathbb{E}[\|X_n - X_*\|^2] $, converges to zero if the learning rate sequence satisfies $ \rho_n \to 0 $ and $ \sum_{n \geq 1} \rho_n = \infty $.
- For constant learning rates $ \rho_n = \rho $, the $ \limsup $ of $ d_n $ is bounded by $ \epsilon $ for sufficiently small $ \rho $, ensuring convergence to an $ \epsilon $-neighborhood of the optimum.
- The convergence rate is governed by the inequality $ d_{n+1} \leq (1 - \rho_n\mu + \rho_n^2 c_1) d_n + \rho_n^2 c_0 $, with $ c_0, c_1 $ derived from gradient moment bounds.
- The proof establishes that $ \lim_{k \to \infty} \prod_{\ell=n}^{n+k} (1 - \rho_\ell \mu / 2) = 0 $, which ensures asymptotic convergence under the given step size conditions.
- The result holds even when the loss function is non-smooth, provided subgradients are used at non-differentiable points (e.g., ReLU activations).
- The analysis confirms that $ \sum \rho_n = \infty $ is necessary for convergence to the exact minimum, as shown by counterexamples with finite sum.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.