paper

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

arXiv:2501.18530 · doi:10.1103/56sb-pdh6

Abstract

We consider a teacher-student model of supervised learning with a fully-trained two-layer neural network whose width and input dimension 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 scaling quadratically with the input dimension, i.e., around the interpolation threshold where the number of trainable parameters and of data 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 , 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.

This submission has been superseded by arxiv:2510.24616, which describes a unified theory to derive the phase diagram of the model, accounts for non-homogeneous readouts, pushes forward the approach to deeper targets/models, and has been published in Phys. Rev. X 16, 031014 (2026)

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