arXiv:2610.23779stat.MLOct 2026

Manuscript Offprint

arXiv:2610.23779

Mesoscopic learning dynamics of extensive-width neural networks

Shu Zhou, Jean Barbier, Sebastian Goldt

Shu Zhou, 1^{1} Jean Barbier, 2^{2} and Sebastian Goldt 1,∗^{1,*}

1^{1}International School for Advanced Studies (SISSA)

Via Bonomea 265, 34136 Trieste, Italy

2^{2}The Abdus Salam International Centre for Theoretical Physics (ICTP)

Strada Costiera 11, 34151 Trieste, Italy

Understanding how stochastic gradient descent learns internal representations in wide neural networks trained on rich target functions is a central problem in machine learning. We study this question in two-layer neural networks learning target functions represented by networks of the same architecture, with arbitrary nonlinearity, and with network width and input dimension growing proportionally. In this regime, standard approaches for describing the learning dynamics require tracking a diverging number of overlaps, which measure correlations between learned and target features, leaving no obvious description in terms of a few order parameters. Here, we develop a mesoscopic description of learning by characterizing the distribution of overlaps. In the early stages of learning, we find that a Gaussian description of overlap statistics reduces the learning dynamics to a few collective variables that track learning of the target function's linear and quadratic components. We then estimate the timescale of specialization, when Gaussian closure breaks down and individual learned features begin to strongly correlate with specific target features. We find that specialization in extensive-rank networks is accelerated via a quadratic shielding mechanism, whereby learning the linear and quadratic components of the target function filters gradient fluctuations. We finally describe how the activation function determines the pattern of specialization and characterize the subsequent refinement of learned features. Together, these results show how collective learning gives way to individual feature discovery and clarify when learning in large neural networks admits a simple statistical description.

I. INTRODUCTION

The remarkable success of deep learning is inseparable from the ability of stochastic gradient descent (SGD) [1] to extract structure from high-dimensional data while navigating highly nonconvex loss landscapes [2, 3]. Statistical physics has provided a natural language for understanding such high-dimensional dynamics since the seminal work of Saad and Solla [4, 5], who analyzed the generalization dynamics of two-layer neural networks in the limit of large input dimension. The crux of their approach is to reduce the high-dimensional dynamics of the parameters to a set of low-dimensional ordinary differential equations (ODEs) describing a few macroscopic order parameters, or sufficient statistics, which completely capture the dynamics of the generalization error. The practical success of neural networks triggered renewed interest in this framework [6], which has since been made rigorous [6–8] and applied to over-parameterization [6, 9], continual and transfer learning [10–13], reinforcement learning [14], the derivation of optimal learning protocols [15, 16], and the impact of data structure on learning [17–20], among others.

The Saad and Solla approach requires tracking a number of order parameters that scales quadratically with the number of trainable neurons in the hidden layer. It is therefore limited to narrow networks, for which the target is a single- or multi-index model [21–23]. A related line of work analyzes homogenized SGD to derive deterministic Volterra integral equations [24], and matrix-valued ODEs for generalized linear and multi-index models [25], always assuming a fixed number of learned and target directions. In the complementary limit of neural networks with infinitely wide hidden layers, recent works have developed two different descriptions of the learning dynamics. In the so-called “lazy” regime [26], the network remains close to its initialization and behaves like a kernel method governed by the neural tangent kernel (NTK) [27]. Since the kernel remains constant in the infinite-width limit, this limit cannot capture feature learning, a hallmark of neural networks [28]. In the mean-field regime [29–32], the hidden neurons are interacting particles whose empirical distribution follows a nonlinear partial differential equation (PDE). This description captures feature learning, but the distribution lives in a space whose dimension grows with d, which makes it hard to analyze without extra structure.

In between these two extremes is the “proportional” or extensive-rank regime where both input dimension and network width go to infinity at the same rate. While closer to practice, it has proven hard to analyze. For the static problem, where one seeks the Bayes-optimal error achievable from a number of samples n scaling like the number of trainable parameters, recent work has located learning transitions in extensive-width networks with quadratic [33] and generic activation functions [34] using tools from statistical physics and random matrix theory, following initial empirical work by Cui et al. [35]. While this line of work has already seen several intriguing applications [36, 37], it does not cover the learning dy-

Figure

FIG. 1. The stages of learning in an extensive-width neural network. Schematic view of the learning regimes in the extensive-width teacher–student model. Red and blue arrows denote teacher and student hidden neurons, respectively, and the sphere represents the space of weight directions. The colored line schematically illustrates the decrease in generalization error during training. (a) At initialization, student weight vectors are isotropic and have only small random overlaps with the teacher's. (b) In the early stages of learning, the student learns a quadratic approximation of the teacher function by learning the teacher weights up to a rotation; individual teacher-student overlaps remain small d−1/2d^{-1/2}. This “Gaussian-closure” regime is described by the simple closed equations derived in section III B and accounts for the first two stages of loss reduction, shown by the green curve. (c) At the specialization transition, a positive fraction of student neurons develop macroscopic correlations with teacher neurons, although the matching may remain imperfect. Gaussian closure predictions fail, and the loss undergoes a third stage of reduction shown by the yellow curve; see section III C. The activation function determines the type of specialization; see section III C. (d) In the refinement phase, matched student neurons converge to their corresponding teacher directions, see section III D.

namics of a network trained with SGD. The learning dynamics of a wide student with quadratic activation function on a single-index target was studied by Sarao Mannelli et al. [38] for phase retrieval and more recently by Martin et al. [39, 40]; the latter analyze recovery of the full weight matrix, and do not explicitly study neural alignment between student and teacher. In any case, we will see that the higher-order terms play a crucial role in the dynamics of general networks. Ren et al. [41], Ben Arous et al. [42] considered feature learning in growing-rank regimes. Conceptually close to our work, Berthier et al. [43] use an elegant perturbative approach to derive learning timescales for a wide two-layer neural network trained on a single-neuron teacher when the second layer is trained faster than the first; Gerbelot and Mourrat [44] later made the analysis of the early-stage learning rigorous. Here, we focus on the case where both teacher and student are extensive and there is no timescale separation. We discuss further related work in section IB.