Phase diagram of Stochastic Gradient Descent in high-dimensional two-layer neural networks

Rodrigo Veiga, Ludovic Stephan, Bruno Loureiro, Florent Krzakala, Lenka Zdeborová
2/1/2022
60 citations
stat.MLcond-mat.dis-nncs.LG

Official code: rodsveiga/phdiag_sgd (4 stars, Jupyter Notebook, last commit 2022-10-05).

Abstract

Despite the non-convex optimization landscape, over-parametrized shallow networks are able to achieve global convergence under gradient descent. The picture can be radically different for narrow networks, which tend to get stuck in badly-generalizing local minima.

Show full abstract

Here we investigate the cross-over between these two regimes in the high-dimensional setting, and in particular investigate the connection between the so-called mean-field/hydrodynamic regime and the seminal approach of Saad & Solla. Focusing on the case of Gaussian data, we study the interplay between the learning rate, the time scale, and the number of hidden units in the high-dimensional dynamics of stochastic gradient descent (SGD). Our work builds on a deterministic description of SGD in high-dimensions from statistical physics, which we extend and for which we provide rigorous convergence rates.

View on arXivView PDF

Code Implementations(1)

Repository of the "Phase diagram of Stochastic Gradient Descent in high-dimensional two-layer neural network"

40Jupyter Notebook, CythonJan 31, 20224 years ago

Similar Papers

Cite this paper

@article{veiga2022phase,
  title  = {Phase diagram of Stochastic Gradient Descent in high-dimensional two-layer neural networks},
  author = {Rodrigo Veiga and Ludovic Stephan and Bruno Loureiro and Florent Krzakala and Lenka Zdeborová},
  year   = {2022},
  eprint = {2202.00293},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.00293}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.00293.svg)](https://codeofpaper.com/paper/2202.00293)

Discussion