Asymptotics of feature learning in two-layer networks after one gradient-step

Hugo Cui, Luca Pesce, Yatin Dandi, Florent Krzakala, Yue M. Lu +2 more
2/7/2024
stat.MLcond-mat.dis-nncs.LG

No official code found. Best implementation: SPOC-group/OneStepGD_asymptotics (1 star, last commit 2024-05-27).

Abstract

In this manuscript, we investigate the problem of how two-layer neural networks learn features from data, and improve over the kernel regime, after being trained with a single gradient descent step. Leveraging the insight from (Ba et al., 2022), we model the trained network by a spiked Random Features (sRF) model. Further building on recent progress on Gaussian universality (Dandi et al., 2023), we provide an exact asymptotic description of the generalization error of the sRF in the high-dimensional limit where the number of samples, the width, and the input dimension grow at a proportional rate. The resulting characterization for sRFs also captures closely the learning curves of the original network model. This enables us to understand how adapting to the data is crucial for the network to efficiently learn non-linear functions in the direction of the gradient -- where at initialization it can only express linear functions in this regime.

View on arXivView PDF

Code Implementations(1)

code for Asymptotics of feature learning in two-layer networks after one gradient-step

11Jupyter NotebookFeb 5, 20242 years ago

Similar Papers

Cite this paper

@article{cui2024asymptotics,
  title  = {Asymptotics of feature learning in two-layer networks after one gradient-step},
  author = {Hugo Cui and Luca Pesce and Yatin Dandi and Florent Krzakala and Yue M. Lu and Lenka Zdeborová and Bruno Loureiro},
  year   = {2024},
  eprint = {2402.04980},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.04980v2},
  journal = {ICML 2024 2024}
}

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/2402.04980.svg)](https://codeofpaper.com/paper/2402.04980)

Discussion