arXivPreprintOpen accessq-fin.CP

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

S\'ebastien Valeyre

Key points

From the paper's conclusion
  • We then show that $\lambda_c$ is controlled by the effective rank $\Omega_1$ of the input covariance rather than by the number of parameters, $1/(\Omega_1+2) \leq \lambda_c < 1/\Omega_1$ in rescaled units: the critical step size is inversely proportional to $N$ only for isotropic inputs, whereas it decays more slowly, or saturates, for power-law spectra.

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 $N$ weights obey a closed linear recursion of dimension $N$, which we solve exactly. We prove that the dynamics converges if and only if the step size is below a critical value $\lambda_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 $\lambda_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 $\lambda_c$ is controlled by the effective rank $\Omega_1$ of the input covariance rather than by the number of parameters, $1/(\Omega_1+2) \leq \lambda_c < 1/\Omega_1$ in rescaled units: the critical step size is inversely proportional to $N$ 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 $B$: the critical step size grows linearly with $B$ and saturates once $B$ exceeds the effective rank.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers