A comparison of continuous-time approximations to stochastic gradient descent
Preprint
Abstract
Applying a stochastic gradient descent (SGD) method for minimizing an objective gives rise to a discrete-time process of estimated parameter values. In order to better understand the dynamics of the estimated values, many authors have considered continuous-time approximations of SGD. We refine existing results on the weak error of first-order ODE and SDE approximations to SGD for non-infinitesimal learning rates. In particular, we explicitly compute the leading term in the error expansion of gradient flow and two of its stochastic counterparts, with respect to a discretization parameter h. In the example of linear regression, we demonstrate the general inferiority of the deterministic gradient flow approximation in comparison to the stochastic ones. Further, we demonstrate that for Gaussian features both SDE approximations are equally good. However, for leptokurtic features we find that the SDE approximation with state-dependent diffusion coefficient is of higher quality than the approximation with state-independent noise. Moreover, the relationship reverses for platykurtic features.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- A note on diffusion limits for stochastic gradient descentJournal of Approximation Theory, 2025
- Random Matrices and Non-Commutative Probability2021
- Runtime Analysis of Stochastic Gradient Descent2020
- On the fast convergence of random perturbations of the gradient flowAsymptotic Analysis, 2020
- Uniform-in-time weak error analysis for stochastic gradient descent algorithms via diffusion approximationCommunications in Mathematical Sciences, 2020
- Stochastic modified equations for the asynchronous stochastic gradient descentInformation and Inference: A Journal of the IMA, 2019
- On the diffusion approximation of nonconvex stochastic gradient descentAnnals of Mathematical Sciences and Applications, 2019
- Semigroups of stochastic gradient descent and online principal component analysis: properties and diffusion approximationsCommunications in Mathematical Sciences, 2018