betaFeedback

WorksEconomics, Econometrics and Finance

Critical step size of stochastic gradient descent for a linear neuron: an exact solution and the role of the input spectrum

Abstract

We study online stochastic gradient descent for a single linear neuron in a teacher-student setting with Gaussian inputs of arbitrary covariance. The mean-square errors of the NN weights obey a closed linear recursion of dimension NN, which we solve exactly. We prove that the dynamics converges if and only if the step size is below a critical value λcλ_c, given by an explicit scalar equation that involves all the eigenvalues of the input covariance, and we obtain the stationary error of each weight, which diverges at λcλ_c. This condition coincides with the classical mean-square stability condition of the least-mean-squares filter; our derivation is elementary and self-contained. We then show that λcλ_c is controlled by the effective rank Ω1Ω_1 of the input covariance rather than by the number of parameters, 1/(Ω1+2)≤λc<1/Ω11/(Ω_1+2) \leq λ_c < 1/Ω_1 in rescaled units: the critical step size is inversely proportional to NN only for isotropic inputs, whereas it decays more slowly, or saturates, for power-law spectra. Finally, we extend the solution to mini-batches of size BB: the critical step size grows linearly with BB and saturates once BB exceeds the effective rank.

Paper details

vlnc:W_fjpz8ter
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
arXiv nonexclusive license
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Economics, Econometrics and Finance

Not recorded for this paper

View statement
Looking for related papers…