Optimal generalisation and learning transition in extensive-width shallow neural networks near interpolation

Jean Barbier, Francesco Camilli, Minh-Toan Nguyen, Mauro Pastore, Rudy Skerk
1/30/2025
stat.MLcond-mat.dis-nncond-mat.stat-mech

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We consider a teacher-student model of supervised learning with a fully-trained two-layer neural network whose width $k$ and input dimension $d$ are large and proportional. We provide an effective theory for approximating the Bayes-optimal generalisation error of the network for any activation function in the regime of sample size $n$ scaling quadratically with the input dimension, i.e., around the interpolation threshold where the number of trainable parameters $kd+k$ and of data $n$ are comparable. Our analysis tackles generic weight distributions. We uncover a discontinuous phase transition separating a "universal" phase from a "specialisation" phase. In the first, the generalisation error is independent of the weight distribution and decays slowly with the sampling rate $n/d^2$, with the student learning only some non-linear combinations of the teacher weights. In the latter, the error is weight distribution-dependent and decays faster due to the alignment of the student towards the teacher network. We thus unveil the existence of a highly predictive solution near interpolation, which is however potentially hard to find by practical algorithms.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{barbier2025optimal,
  title  = {Optimal generalisation and learning transition in extensive-width shallow neural networks near interpolation},
  author = {Jean Barbier and Francesco Camilli and Minh-Toan Nguyen and Mauro Pastore and Rudy Skerk},
  year   = {2025},
  eprint = {2501.18530},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.18530v2}
}

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

Discussion