Manuscript Offprint
arXiv:2610.23779Mesoscopic learning dynamics of extensive-width neural networks
Shu Zhou, Jean Barbier, and Sebastian Goldt
International School for Advanced Studies (SISSA)
Via Bonomea 265, 34136 Trieste, Italy
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-
- Correspondence: {shuzhou, sgoldt}@sissa.it, jbarbier@ictp.it.

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 . 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.
Our main finding is that the dynamics close on two order parameters before specialization, but not after. In the early stages of learning, the student only learns the first two Hermite modes of the teacher function, and its dynamics reduce to an autonomous low-dimensional system of ODEs under a “Gaussian closure” assumption on the correlations between teacher and student neurons. Specialization, on the other hand, is driven by higher-order Hermite modes; although we find no closed low-dimensional system in this regime, we can still predict analytically when the network specializes.
In the following, we define our setting in section II. Starting from two observations about the learning dynamics in section III A, our main contributions are:
(i) Gaussian closure in the pre-specialization regime. We derive a low-dimensional autonomous flow that describes the learning of the teacher's linear and quadratic components and predicts the generalization loss before specialization. The flow closes on a small number of interpretable order parameters under a Gaussian-closure assumption: finite collections of teacher-student and off-diagonal student-student overlaps are treated as jointly Gaussian, see (section III B).
(ii) The onset of specialization and quadratic shield-ing. We estimate the time at which a linear fraction of student neurons develops strong correlations with individual teacher neurons (Fig. 1(c)). The timescale is governed by the specialization exponent , the smallest degree strictly greater than two at which the Hermite expansion of has a nonzero coefficient, and reads
We also identify a quadratic shielding mechanism whereby having learned the low-order components of the teacher filters gradient fluctuations accelerates specialization by an activation-dependent constant, and discuss the different patterns of specialization, see section III C.
(iii) The refinement phase. When learning arrives at a stage with a fixed one-to-one assignment of student to teacher neurons, we derive the dynamics of the matched overlaps and their fixed points, see section III D.
B. Further related work
Plateaus and specialization in narrow networks. Saad and Solla [4, 5] analyzed specialization in committee machines and found that the generalization error passes through an extended plateau before its final decay. They traced this plateau to an unstable fixed point of the order-parameter ODEs at which all student neurons have the same finite overlap with all teacher neurons. Escaping the plateau requires breaking this permutation symmetry, which happens when small initial asymmetries in the overlaps grow exponentially along the unstable direction of the symmetric fixed point. A more precise analysis of these transients [45–47] in showed that the plateau length diverges with the inverse of the logarithm of the initial asymmetry in rescaled “time” , where n is the number of steps. More recently, the plateau has been revisited for modern activation functions [48–51]. All of these works require a finite number of hidden neurons, whereas our focus is on the extensive-rank case.
Identifying learning timescales via loss invariants for finite-rank teachers. One of our key results is the timescale at which neurons start specializing. A large body of recent work has sought to express the timescales of learning with online SGD, and hence its sample complexity, in terms of a few invariants of the population loss. Ben Arous et al. [21] introduced the information exponent of a single teacher neuron, i.e., the degree of the first non-vanishing Hermite coefficient of its activation function, and showed that online SGD requires samples (up to logarithmic factors) to escape the uninformative region around a random initialization. The same exponent governs learning with shallow neural networks [52] and controls the trade-off between time and sample complexity of online SGD with large batches [53]. For multi-index targets, the leap exponent of Abbe et al. [54, 55] measures the largest jump in degree along the hierarchical “staircase” in which the relevant directions are learned one after the other [56], and sets the duration of the resulting saddle-to-saddle dynamics. Bietti et al. [57] characterize similar saddle-to-saddle dynamics and Hermite-dependent timescales under a two-timescale learning procedure for low-rank target functions. These invariants also depend on the input distribution: correlations between latent variables lower the effective information exponent and accelerate learning [58], and so does a spiked input covariance [59].
Sequential learning in the “giant-steps” framework. For extensive-rank students trained on single- or multi-index teachers when the number of samples n scales as a power of d, Ba et al. [60] showed that one step of gradient descent on the first layer creates alignment with the teacher’s linear component and, with a sufficiently large learning rate and subsequent readout fitting, can yield nonlinear prediction beyond random-feature and kernel baselines. Related one-step representation-learning guarantees are established by Damian et al. [61]. Dandi et al. [62], Cui et al. [63] extended this analysis to several steps of gradient descent, and found that target directions are learned sequentially if they satisfy the staircase property. We also find that the student learns different parts of the teacher function sequentially, but we follow the continuous online evolution for a teacher with extensively many features.
Dynamical mean-field theory of feature learning. The key object in the Saad–Solla approach is the matrix of teacher–student overlaps, which becomes a large matrix in the extensive regime that we consider. A complementary description of the learning dynamics is provided by the dynamical mean-field theory (DMFT) of wide networks; see Bordelon and Pehlevan [64] for a recent review, and see Mignacco et al. [65, 66] for earlier work using DMFT for small neural networks, which was made rigorous by Celentano et al. [67], Gerbelot et al. [68]. These works typically consider infinite width at fixed input dimension and fixed training set; the dynamical order parameters are then the feature and gradient kernels evaluated on all pairs of training samples and training times, with the hidden-neuron index averaged out [69], with fluctuations around the deterministic limit characterized in Bordelon and Pehlevan [70]. This description captures feature learning in the mean-field parametrization, but the number of order parameters grows with the number of samples and of time steps rather than with the input dimension, and no extensive teacher is present. Montanari and Urbani [71] derived the DMFT of gradient flow for a two-layer network with generic activation in the limit at fixed , followed by a large-width limit, but for a teacher with at most a few neurons. Finally, adaptive-kernel theories of feature learning consider Bayesian or Langevin-trained networks at equilibrium, rather than by SGD [72–76].
II. TEACHER-STUDENT SETUP AND ORDER PARAMETER DYNAMICS
A. Extensive-width teacher-student setup
Task and architecture. We consider a supervised learning task where inputs are sampled i.i.d. for from the multivariate normal distribution with zero mean and identity covariance . The corresponding responses are generated by a two-layer teacher network with hidden neurons as
where is the fixed first-layer weight matrix with i.i.d. standard Gaussian entries; the labels are noiseless. The activation function is applied element-wise.
The student network possesses the same architecture and produces the prediction
When the network label is needed, we write and . Networks with fixed second-layer weights, also called committee machines, are a standard model of neural networks [5, 6, 77–79]. This setting isolates feature learning in the first layer. Trainable readouts would require additional order parameters; we leave them, and deeper networks, to future work.
Training. We train the student by one-pass (“online”) stochastic gradient descent (SGD): at each step , we compute the gradient of the square loss on a single fresh sample and its teacher label , eq. (1). The training time therefore equals the number of training samples. This online setting is common in theory [4, 5]; while only an approximation for, e.g., image classification, where examples are reused, it is close to current practice for large language models, where most inputs are used only once or twice [80, 81]. We initialize with i.i.d. standard Gaussian entries and update it as
(3)
where is the gradient matrix and is the Frobenius norm. We hence impose a global spherical constraint on the student weight matrix, . This constraint fixes the average squared norm of the hidden-neuron weights, but does not constrain each hidden neuron separately. In the regimes considered below, we observe that the individual hidden-neuron norms remain concentrated around this average.
Scaling regime. We consider the following high-dimensional, extensive-width limit
Since is fixed, powers of k and d are interchangeable in asymptotic statements; we write size exponents in powers of k. We take the learning rate to vanish in the extensive-width limit, as ; the required rate depends on the dynamical regime. This places the dynamics in the gradient-flow, or perfect-learning, regime identified by Veiga et al. [7] and Arnaboldi et al. [8], in which the contributions of the effective SGD noise vanish asymptotically; we return to this point in section II C.
B. Order parameters
The activation function can be decomposed in the orthogonal basis of Hermite polynomials defined as :
where are the so-called Hermite coefficients of .
With this expansion, the student decomposes as
Note that the constant term in the expansion drops out of the loss, and hence the dynamics, since teacher and student share the same activation function. The contains terms made of tensors of all orders constructed from , contracted with input rank-one tensors . In each such term, at least one tensor is of order . Learning the network is thus a “tensor-sensing” problem: the labels depend on the tensors , , ..., all built from the same weights . The first-order and second-order terms are called the “linear component” and “quadratic component”, respectively.
Building on the framework of Saad and Solla [4, 5], we introduce the teacher-student overlap matrices describing the system at microscopic neuron-wise resolution:
where label the teacher and student networks, with , and . We denote by the th row of , so that and . The crucial difference from Saad and Solla [4, 5] is that the overlap matrices are now extensive: their number of entries diverges.
To handle the extensive overlap matrices, we describe them at the mesoscopic resolution, i.e., we will track their distributions via their (rescaled) empirical moments:
This strategy follows the recent mean-field theory of the statics of extensive-width networks by Barbier et al. [34]. The parameter p indexes the degree of the “overlap moment” (or simply overlap). These overlaps describe how well the student learns each Hermite component of the teacher and separately capture its contribution to the loss. Indeed, the population loss admits the following exact decomposition [34]:
with a fresh sample generated via the teacher as in eq. (1) and the student prediction.
To measure alignment between individual neurons, we also introduce the permutation-fixed order parameters,
where the maximum is over permutation matrices , and denotes the element-wise (Hadamard) th power. For teacher–student overlaps, the maximization selects the assignment with the largest sum of powered overlaps, making the observable independent of the neuron labels in either network. The cases measure signed alignment and alignment in magnitude, respectively.
C. Master equations for the order parameters
We assume that, in the extensive-width limit, the order parameters concentrate on deterministic values throughout training, i.e., their stochastic SGD dynamics are well approximated by their average, as established rigorously for two-layer networks with few hidden neurons [6–8]. We therefore omit sample averages in what follows and identify with these limiting observables. For every integer , the dynamics of these order parameters during training with online SGD obey a set of ODEs that can be obtained by substituting the Hermite expansion of eq. (4) into the equations of Saad and Solla [5]; with our scaling of learning rate, these “master equations” read
(7)
A detailed derivation is provided in appendix B 1 for and extended in appendix C to the general case . Throughout, we omit the time index of and in the driving terms. The master equations couple all because the gradients contain contractions of .
The master equations can also be extended to include terms in , which depend on the second moments of the sample gradient. Here, we retain only the terms linear in , consistently with the gradient-flow regime discussed by Veiga et al. [7], Arnaboldi et al. [8]. In our normalization, the omitted terms are per update and therefore contribute only through the Gaussian closure regime, i.e. over a timescale . We thus neglect them in the Gaussian-closure analysis, taking as ; for example, suffices at this level of scaling. This truncation need not remain valid on the longer specialization timescale. We therefore retain the relevant quadratic terms when analyzing specialization in section III C, where they determine the admissible learning rate.
III. RESULTS: THE MESOSCOPIC DYNAMICS OF LEARNING
The master equations for the order parameters are the starting point of our analysis. Two numerical observations guide it: the evolve on separated timescales, and the overlaps are Gaussian early in training.
A. Sequential learning and overlap statistics
Fig. 2 shows the test loss of extensive-width networks with various activations during training, together with the order parameters , and from the same simulations. Although all order parameters in eq. (7) are coupled, their dynamics show a clear separation of timescales.
For small times , the student remains close to its random initialization (cf. Fig. 1(a); we will establish these timescales in our derivations of the next sections). At (blue in Fig. 2), the loss starts to decrease as increases; then converges to a fixed value for the remainder of training. Subsequently, evolves and converges to its final value. This suggests that the early stages of learning may be described by and alone; we will derive such a description in section III B. The higher-order parameters start moving after and , and unlike the first- and second-order modes, their dynamics are strongly coupled. Their concurrent growth accompanies the onset of specialization, as measured by the increase in . At this stage, student neurons become strongly correlated with teacher neurons.
We can gain further insight into the learning dynamics by considering the distribution of teacher–student overlaps. In Fig. 3, we plot a histogram of the entries of the teacher–student overlap taken from the simulations shown in Fig. 2 at four representative time steps. Close to initialization and early during training, we observe that the overlaps follow a normal distribution. This suggests a Gaussian ansatz for the joint distribution of a finite subset of that we formalize in section III B. This joint distribution is characterized by the empirical first two moments and , and Wick's theorem expresses the higher-order contractions in eq. (7) in terms of these two order parameters. Specialization is marked by the breakdown of this normal distribution: as the higher-order moments grow, some teacher–student overlaps become large and the Gaussian closure in terms of and fails (third column of Fig. 3). The student hidden neurons then break the rotational symmetry within the teacher subspace and align with individual teacher neurons, as illustrated in Fig. 1(c). Once the student–teacher matching stabilizes, the dynamics enter a final refinement regime. The distribution of the matched diagonal overlaps converges to a delta peak at one, while the off-diagonal overlaps retain an approximately Gaussian background, as shown in the final column of Fig. 3 and illustrated in Fig. 1(d).

FIG. 2. Sequential learning of order parameters. For the three different activation functions ReLU, ELU, and tanh, we show the test loss (top row) and the evolution of the order parameters and during training. The shaded regions indicate the successive regimes dominated by the dynamics of , , and higher-order modes , while the bottom row tracks a permutation-fixed student–teacher overlap. Parameters: Network with width , input dimension .
B. The Gaussian closure phase
We now use these two observations to derive closed equations for and, under Gaussian closure, for .
First-order flow: linear alignment. At , the dynamics are governed at leading order by the linear Hermite component. For , a scaling analysis shows that all higher-order contractions in eq. (7) are subleading (appendix B), so the first-order dynamics close without assuming that the entries of are jointly Gaussian:
(8)
Here, is the first Hermite coefficient of the activation function, and is fixed by the teacher. This two-dimensional linear system describes the evolution of from its initial values and agrees with simulations, as shown in Fig. 7.
Equation (8) has a simple interpretation. The teacher–student overlap is driven by an effective attractive force toward , which tends to align the linear component of the student network with the teacher's. Similarly, the attraction of toward plays the role of a regularization that keeps the norm of the student's linear component from exceeding its overlap with the teacher's. The spherical normalization of the weights only contributes a correction of order at this stage and therefore does not modify the leading-order evolution of . The first-order flow connects our description to the equations of Saad and Solla [4, 5] for soft committee machines. Specifically, our eq. (8) follows from eq. (14) of Saad and Solla [4] after translating to our normalization, summing over hidden-neuron indices, and retaining the leading linear Hermite contribution in the extensive-width limit. The main difference is that Saad–Solla-type analyzes work at fixed hidden width, where the full pairwise overlap dynamics are finite-dimensional and closed. In the extensive-width limit, the overlap matrix itself becomes high-dimensional, and we instead project it onto a moment hierarchy. Within this hierarchy, aggregates the Saad–Solla overlaps over all pairs of neurons, and for , adds a second closed stage. For odd activations such as erf or tanh (also used by Saad and Solla), , so this intermediate stage is absent and the dynamics couple directly to higher-order sectors and specialization, as shown for tanh in Fig. 2. We now derive this second-order flow.
Second-order flow via Gaussian closure. Once the linear mode has converged, the quadratic component drives the dynamics, from until specialization. On this timescale obeys an autonomous flow. Starting from the master equations eq. (7), we find that the update of involves loop and multipoint contractions of the microscopic overlaps . At random initialization, fixed finite collections of off-diagonal student–student overlaps, and any teacher–student overlap, are asymptotically jointly Gaussian. Motivated by this initial property and numerical observations during early learning (Fig. 3), we adopt a Gaussian-closure approximation for the overlap statistics before specialization:
where n is fixed and diagonal self-overlaps are treated separately. The marginal means and variances are specified in appendix A. The correlation between distinct entries is set by the indices they share: entries with no common neuron are uncorrelated at leading order, while entries sharing one neuron, say , have covariance
Wick’s theorem then expresses the statistics of any fixed product of overlaps as a sum over pairings determined by this index-sharing pattern. The overlaps generated by eq. (9) are subsequently averaged using the same Gaussian-closure prescription. We further assume that this evaluation holds at leading order for the normalized sums over extensively many entries as in eq. (7). The contractions in eq. (7) then depend only on and . Keeping only the leading terms yields the fol-

FIG. 3. Empirical distribution of the student–teacher overlap matrix entries at representative stages of training. Histograms of the teacher–student overlaps at representative stages of training. Early on (first two columns), all entries lie within a Gaussian bulk (blue), whose mean and width are determined by and . As training progresses, student neurons become strongly correlated with individual teacher neurons. For each student neuron, we highlight in red all overlaps whose magnitudes exceed the extremal value of random teacher–student overlaps, which scales like . Their appearance marks the emergence of specialization. The solid black curve is a Gaussian fit to the remaining overlaps. Parameters: Width and input dimension .
lowing closed second-order flow,
(10)
derived in appendices C and D. Simulations again closely match these predictions for (Fig. 7).
Although more intricate than eq. (8), eq. (10) similarly drives the teacher–student and student–student overlaps to match the teacher–teacher overlap. As before, the student–student term is a regularization that penalizes alignment between different student neurons and therefore reduces feature redundancy. Unlike for , here the spherical normalization of the weight update contributes at leading order through the final terms in both equations.
Combining the closed and flows yields the generalization loss throughout the pre-specialization regime. We use the fact that terms beyond the second-order one in the expansion of the teacher network are not yet learned and therefore play the role of effective Gaussian noise, as in the static analysis of Barbier et al. [34].

FIG. 4. Generalization loss dynamics under Gaussian closure. We show the test loss eq. (5) obtained by simulating neural networks together with the prediction obtained under Gaussian closure, eq. (11). Panel (a) uses the activation , for which the predicted plateau loss is zero. In this case, Gaussian closure describes the entire training dynamics; panels (b–d) show ReLU, ELU, and tanh activation functions. The blue dashed line shows the theoretical pre-specialization loss plateau after removing the contributions from the first two Hermite sectors. Parameters: , .
This resembles a form of Gaussian equivalence, where a random function (here, the response of the teacher network) is approximated by the first two terms of its Hermite expansion, while the remaining terms are subsumed in an effective loss term [17, 82–85]. Substituting and into the loss decomposition in eq. (5) and using the identity , we obtain
The closed flow for and describes the learning dynamics of neural networks with high accuracy, as shown in Fig. 4. For a quadratic activation function, this description remains accurate throughout learning, capturing the entire loss trajectory down to zero. For the other activation functions shown, it tracks the loss up to the plateau reached at the end of the Gaussian-closure stage. By this point, the student has learned the quadratic approximation of the teacher,
which is precisely what a kernel or random-feature machine learns at quadratic sample complexity [84, 86]. For activations with nonzero Hermite components beyond degree two, further learning proceeds through specialization, which breaks Gaussian closure and which we analyze next.
C. The specialization transition
We now analyze the dynamics of specialization, that is the emergence of macroscopic correlations between individual student and teacher neurons that appear as outliers separating from the bulk of overlaps in Fig. 3.
An exact, low-dimensional description of this regime analogous to Gaussian closure is currently out of reach. Here, we therefore focus on estimating the onset of specialization: we estimate the time required for a representative teacher-student overlap to escape the bulk (where ) and become macroscopic ( ). This approach parallels the analysis of weak recovery of teacher features in single- and multi-index models; see, for example, Ben Arous et al. [21]. The key difference in our case is that the network has already learned the linear and quadratic components of the teacher before specializing; we will show that this impacts the effective single-neuron dynamics in several ways. We delegate detailed derivations to appendix E.
The timescale of specialization. Our starting point is an effective equation of motion for on the Gaussian plateau, i.e. after and have converged to their asymptotic value. Having learned the linear and quadratic parts of the teacher means that the first two terms of the loss decomposition eq. (5) vanish, i.e. that
In the master equations eq. (7), these constraints imply that the drift terms proportional to , , and vanish. On the Gaussian plateau, the growth of is thus driven by the th Hermite mode; is thus the specialization exponent
that is the degree of the term in the Hermite expansion of that will drive specialization. We are therefore led to consider the effective activation function
(14) where is normalized w.r.t. the standard Gaussian measure, and .
Expanding a single SGD step including normalization to second order in and averaging over the fresh sample under Gaussian closure yields an effective equation of motion in terms of the orders:
with and , so that is the leading order of the loss on the plateau. The first term in eq. (15) is a drift and describes alignment of the student neuron with the teacher neuron and is driven by the population gradient. The second term, in , is a linear shrinkage induced by the normalization. Its magnitude depends on the second moment of the sample gradient, and therefore also reflects gradient fluctuations. The coupling to other neurons plays a role too in the dynamics, but does not change the order of in eq. (15), see appendices E1 and E2.
To estimate the onset of specialization, we track the largest overlap of the student neuron with some teacher neuron. By virtue of being the largest, its initial value follows the extreme-value statistics of the Gaussian distribution of overlaps on the plateau, which has mean and second moment , so
Neglecting the shrinkage for now, the leading overlap follows the gradient flow (using the dot notation for a time derivative). Integrating from to a fixed threshold gives a gradient-flow specialization timescale
Once a finite fraction of the leading overlaps has reached , increases by a finite amount, so eq. (16) is the specialization time at fixed learning rate.
The result eq. (16) is for gradient flow and ignores the effect of the SGD noise. The noise enters the shrinkage term, which in turn bounds the learning rate. At the start of the plateau, when the noise term is most relevant, balancing the two terms of eq. (15) for gives the largest admissible learning rate ; at a fixed fraction of , eq. (16) becomes
Specialization in an extensive-width network thus requires a number of samples that grows as the power of the width (equivalently, of the input dimension, since is fixed). For a single student neuron trained on a single teacher neuron with information exponent ,

FIG. 5. Timescale of specialization. We plot the time of specialization measured experimentally against the theoretical prediction, eq. (16). Symbols indicate the SGD step where networks with varying specialize, defined as the first time at which deviates from its Gaussian-closure value by more than 0.1, with for odd and for even . The detailed data collection procedure is illustrated in Fig. 10. We fix the learning rate for all networks at ; the activation functions for are defined as with , respectively.
online SGD needs samples up to logarithmic factors [21]. Equation (17) contains an additional factor of . This factor of is an extensive-width effect: a student neuron has to recover a single teacher neuron from an extensive number of unresolved teacher neurons using only the teacher output; likewise, each student neuron only makes a small contribution to the student output. The logarithmic correction is a direct consequence of the extreme-value statistics at initialization induced by the extensive width of the student, and enters once through the time integral and once through .
To verify our prediction experimentally, we measured the onset of specialization during online SGD in neural networks with standard activation functions like ReLU, ELU, tanh, and others. In Fig. 5, we see that during training at fixed learning rate , the experimentally measured onset of specialization follows precisely the gradient flow prediction of eq. (16) for different specialization exponents. The largest networks tested reach . In other words, online SGD specializes as fast as the noise-free gradient flow in a practical setting without having to scale down the learning rate with the dimension. We now explain that a noise-reduction effect that is specific to the extensive-rank setting is responsible for the apparent speed-up; we call this effect quadratic shielding.
Quadratic shielding reduces SGD noise. Our estimate of in eq. (17) accounts for the learned quadratic part only by assuming that the first two Hermite modes do not contribute to the loss, without considering its effect on the weights. In fact, rewriting the constraints from eq. (12) in terms of the weights, we find that learning the quadratic part of the teacher function requires the student weights to match the first and second-order statistics of the teacher weights:
The second condition fixes only up to an orthogonal transformation in neuron space, , which is why the individual overlaps remain at the scale although the quadratic part of the teacher has been learned. This effective rotational symmetry of the weights is the source of the so-called “universal phase” in the static analysis of Barbier et al. [34] which, as in the present paper, precedes specialization as data size grows. As we now argue, these constraints reduce the effective noise of SGD compared to its strength before the Gaussian-plateau.
On the Gaussian plateau, simply discarding the learned low-degree components leaves the effective activation . For this reduced activation, the population gradient would still scale like , while its variance would decrease to only , suggesting weaker stochastic fluctuations and a larger admissible learning rate than the estimate above. However, this simplification ignores that even after learning the linear and quadratic part of the teacher, the first two Hermite modes still contribute to the noise, yielding an instantaneous noise whose variance is proportional to . As far as specialization is concerned, the low-order parts of the teacher output hence act like noise, obfuscating the signal coming from .
Quadratic shielding suppresses the accumulated effect of these fluctuations on specialization. The dynamics of and , which occur on timescales and that are much shorter than (cf. section III A), effectively project the weights onto the manifold defined by the constraints eq. (18). Indeed, we show in appendix E3 that confining the weights explicitly to restores the noise scale of the pure degree-r problem: the drift remains proportional to , while the noise decreases to be proportional to . Balancing drift and noise again then gives gives the largest admissible learning rate and a specialization timescale of
Therefore the admissible learning rate increases, and the specialization time decreases, by a factor , without changing the dependence on the dimension. For the ReLU activation, . At fixed , this suppression instead extends the regime in which gradient flow accurately describes specialization, providing a possible explanation for the agreement in Fig. 5.
We emphasize however that at the level of our derivation, the confinement of the weights to M is an assumption: SGD does not enforce eq. (18) sample by sample. We did however test this mechanism by measuring the mean-square displacement (MSD) of teacher–student overlaps on the Gaussian plateau, see Fig. 11. The slope of the MSD crosses from an dependence at short lags to an dependence for lags that are larger than the timescale of the dynamics . So although the instantaneous noise remains quadratic in due to the “cross-talk” from the linear and quadratic part of the teacher at short timescales, its contribution to the overlaps is suppressed by the quadratic shielding from the dynamics at specialization timescale. This observation supports the effective-confinement approximation.
Three scenarios for specialization. The different patterns of specialization that we see in the third column of Fig. 3 depend on the activation function, and more precisely on which of its Hermite coefficients are nonzero. We distinguish three scenarios.
For ReLU-like activations (ReLU, GELU, Swish, PReLU, leaky ReLU, Softplus), the Hermite expansion contains only even terms beyond the linear one. Hence a student neuron can specialize either by aligning or by anti-aligning with a teacher neuron: both contribute equally to the leading nonlinear term of the dynamics and the loss eq. (5). Fig. 6(a) shows this: the largest overlaps (light blue) are bimodal both before specialization, when their signs are set by the initialization, and after it. This behavior is consistent with the overlap distributions in Fig. 3, where the specialized ReLU features split into strongly positive and strongly negative overlap modes. The even-order overlaps, such as , can therefore grow and amplify the even higher-order parameters, whereas the odd moments, like and , remain suppressed. With fixed second-layer weights, however, the student can learn the teacher perfectly only if its neurons align, rather than anti-align, with the teacher neurons. ReLU-like students therefore remain stuck in suboptimal configurations, as reported for ReLU networks by Safran and Shamir [87], who also showed that mild overparameterization can overcome this bottleneck.
Activations like tanh, erf, and Softsign instead have only odd Hermite components. During the transition, student neurons therefore correctly align with the teacher neurons, see the specialization trajectories in Fig. 6(b) and the histogram in Fig. 3. In tanh-like networks, some student neurons also anti-align with each other during the transition. Since tanh is odd, such a pair cancels in the output and effectively drops out, which can lower the test loss. This shows up as a transient growth of the even-order self-overlaps (fourth row of Fig. 2), although the instability itself is driven by the odd mode . We sketch this behavior in the inset of Fig. 6(b). However, this anti-alignment is transient, and ultimately all student neurons correctly align with their corresponding teacher neuron.
Finally, activations such as ELU have both odd and even nonlinear Hermite components; the cubic mode is then typically the first higher-order mode to become unstable. Because both parities are active, students align correctly with their teacher neurons, and do not anti-align with each other, as shown in Fig. 6(c).
Specialization need not produce a one-to-one matching

FIG. 6. Three scenarios of specialization. We illustrate the dynamics of specialization for three representative activation functions. For each student neuron, we show the largest alignment it has with a teacher neuron (thin blue curves): at each update and for each student neuron , we set . The black curves show the corresponding macroscopic order parameter defined by eq. (6). Insets schematically illustrate the three specialization patterns discussed in the text: (a) sign-degenerate matching for activations with only even nonlinear Hermite components, such as ReLU (); (b) student–student anti-alignment for activations with only odd nonlinear Hermite components, such as tanh (); (c) many-to-one matching without a sign symmetry for mixed-parity activations, such as ELU (). Parameters: , , and .
at once: early on, several student neurons can align with the same teacher one. Similar many-to-one specialization patterns have been observed in over-realizable soft committee machines and overparameterized teacher-student networks [6, 9, 50]. Such configurations indicate that specialization has begun, while the final permutation-like student-teacher assignment remains unresolved.
D. The refinement phase
In the refinement phase in the long-time regime after specialization, the student has converged onto a specific matching between student and teacher neurons. Without loss of generality, we relabel the neurons so that student is matched to teacher , with matched overlap . The matched diagonal overlaps are , while the unmatched off-diagonal overlaps remain at the Gaussian background scale, for . Therefore, the higher-order moments are dominated by the diagonal: for , similarly to the equilibrium analysis of Barbier et al. [34]. The late-time overlap histogram in Fig. 3 bears out this structure.
The diagonal overlaps are determined by the stationary points of the local diagonal flow derived in appendix F. At leading order they satisfy, for all ,
(20)
The contributions are absent from eq. (20), consistent with the picture developed above: control the collective evolution of the student–teacher overlap matrix, but they do not resolve the individual student–teacher assignment. After and learned, these sectors do not contribute to the leading order stationary diagonal equation.
The nonzero stationary points of eq. (20) determine the stationary distribution of student–teacher overlaps. We find them by imposing stationarity mode by mode: for every with , the nonzero sector-wise condition is for . For activations with an active odd nonlinear Hermite component, such as tanh or ELU, this condition gives the specialized fixed point for all . Consequently and at leading order for . The corresponding stationary diagonal law is , and the full overlap distribution is this diagonal atom plus the off-diagonal Gaussian background.
For rectified activations such as ReLU, all nonlinear odd Hermite components are absent. The reduced dynamics in eq. (20) therefore admits specialized stationary configurations with for all , allowing arbitrary assignments of the two signs. The stationary diagonal law may therefore contain both signs, with . The weights and are not fixed by eq. (20); they depend on the earlier specialization dynamics and on the initialization. Equivalently, the full overlap distribution has a two-peak diagonal component plus an off-diagonal Gaussian background. This refinement picture is consistent with the specialization patterns discussed above and with the overlap distributions in the last column of Fig. 3. In the rectified case, and the even moments satisfy at leading order, as shown in the last row of Fig. 2.
IV. DISCUSSION
We have revisited the Saad–Solla equations for the learning dynamics of two-layer neural networks in the extensive-width limit, where the hidden width and input dimension grow proportionally. This approach first changes variables from the student weights to their overlaps with the teacher weights. For the narrow networks considered by Saad and Solla, this yields an number of order parameters whose dynamics can be described exactly, but at extensive width, we are left with an extensive number of overlaps with no obvious way to further reduce the dimensionality of the description.
We therefore took a “mesoscopic” perspective on these order parameters by seeking to describe the learning dynamics via the distribution of overlaps. In the early stages of learning, we found that a Gaussian assumption on the joint distribution of overlaps yields a closed flow for low-order overlap statistics which accurately describes the learning up to teacher’s quadratic component. Specialization marks the breakdown of this closure, when an extensive number of student neurons strongly correlate with their teacher neurons and the overlap distribution splits into a bulk and an extensive number of outliers. We estimated the timescale of specialization and found a quadratic shielding mechanism, whereby learning the linear and quadratic components of the target function filters gradient fluctuations and accelerates learning.
The concept of Gaussian closure may seem reminiscent of the Gaussian equivalence principle for neural networks and random feature models [17, 82–85, 88, 89]. The two notions are, however, different. For narrow two-layer networks trained on structured inputs, Gaussian equivalence establishes that the joint distribution of local pre-activations is jointly Gaussian [17, 83, 85, 88, 89]. Similar Gaussian-equivalence descriptions also simplify the characterization of generalization error of random features [82, 84, 85]. Here, we instead assume that a finite subset of teacher–student overlaps behave as jointly Gaussian random variables along the early portion of the SGD trajectory. Its breakdown signals the onset of specialization.
Interestingly, the leading-order scaling of the specialization time can be obtained from an effective single-neuron description. However, we do not recover the sample complexity of single-index models: our estimate retains an additional factor of k which reflects the difficulty of recovering a specific teacher neuron from an extensive-rank network. Another difference to single-index models is that the network already learns non-trivial structure from the teacher before specialization, even though individual teacher features remain unresolved. This collective learning accelerates specialization through quadratic shielding, which reduces the cumulative effect of large instantaneous gradient fluctuations. The extensive width also introduces an extreme-value effect: each student neuron can specialize towards one of many teacher neurons, so its largest initial overlap is enhanced by a factor of relative to a typical overlap.
A key assumption of our work is that each SGD step uses a fresh sample, so predictions like the specialization timescale crucially depend on it. While it was initially conjectured that similar predictions in the online setting for learning timescale based on information or leap exponents would extend to SGD with re-use, Dandi et al. [90] and Arnaboldi et al. [91] showed that reusing samples allows a two-layer network to learn directions with information exponent larger than twoStudying the dynamics of specialization for SGD with re-use is therefore an important future direction to establish whether there is a simple invariant that predicts the specialization timescale for this algorithm, akin to the generative exponent of Damian et al. [92].
A natural question is whether we can complete the “mesoscopic” picture by finding a simple description of the overlap distribution beyond specialization that would reduce the number of necessary order parameters, akin to Gaussian closure in the early stages of learning. Only of the overlaps detach from the bulk. We found that a naive ansatz consisting of a Gaussian bulk and a single evolving atomic spike for the outliers already captures the dynamics of a network starting from an “informed” initialization, where each student neuron has a small but finite alignment with a specific teacher neuron at initialization, see Fig. 12. The resulting dynamics close on five macroscopic order parameters and reproduce the observed training trajectory, but they miss the specialization transition by construction. Whether specialization can be captured by a small number of evolving distributional parameters remains an appealing open question.
V. CONCLUDING PERSPECTIVES
An important next step is to extend the mesoscopic description of learning dynamics to mismatched teacher–student architectures, and to deep networks, for example along the lines of Barbier et al. [34]. Equally important is understanding how the structure of the data shapes learning in extensive-rank networks that are able to capture more of that structure than narrow networks. Hidden or neural manifold models [17, 93, 94], hierarchical models [95] or explicitly non-Gaussian models of data [58, 96, 97] would allow us to test which aspects of collective learning and neuron specialization persist beyond isotropic Gaussian inputs.
A broader challenge is to identify signatures of these stages when the teacher is unknown, from the learned representations and network responses alone. Finally, a fundamental question that emerges from our dichotomy between Gaussian closure and specialization is when the acquisition of useful representations in systems with many trainable degrees of freedom can be understood through a small number of order parameters, and when the emerging dynamics are irreducibly complex.
ACKNOWLEDGMENTS
The authors gratefully acknowledge funding by the European Union (ERC BEYOND2, project 101166056 for S.Z. and S.G., and ERC CHORAL, project 101039794 for J.B.). Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. S.Z. gratefully acknowledges the Abdus Salam International Centre for Theoretical Physics in Trieste for its hospitality during a visit when this work was initiated, as well as Rudy Skerk for valuable discussions and help with the code.
[1] H. Robbins and S. Monro, The annals of mathematical statistics, 400 (1951).
[2] Y. LeCun, L. Bottou, G. B. Orr, and K.-R. Müller, in Neural networks: Tricks of the trade (Springer, 2002) pp. 9–50.
[3] L. Bottou and O. Bousquet, Advances in neural information processing systems 20 (2007).
[4] D. Saad and S. A. Solla, Physical Review E 52, 4225 (1995).
[5] D. Saad and S. A. Solla, Physical Review Letters 74, 4337 (1995).
[6] S. Goldt, M. Advani, A. M. Saxe, F. Krzakala, and L. Zdeborová, Advances in neural information processing systems 32 (2019).
[7] R. Veiga, L. Stephan, B. Loureiro, F. Krzakala, and L. Zdeborová, in Advances in Neural Information Processing Systems, Vol. 35, edited by S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (Curran Associates, Inc., 2022) pp. 23244–23255.
[8] L. Arnaboldi, L. Stephan, F. Krzakala, and B. Loureiro, in The Thirty Sixth Annual Conference on Learning Theory (PMLR, 2023) pp. 1199–1227.
[9] F. Richert, R. Worschech, and B. Rosenow, Physical Review E 105, L052302 (2022).
[10] S. Lee, S. Goldt, and A. Saxe, in International Conference on Machine Learning (PMLR, 2021) pp. 6109–6119.
[11] F. Gerace, L. Saglietti, S. Sarao Mannelli, A. Saxe, and L. Zdeborová, Machine Learning: Science and Technology 3, 015030 (2022).
[12] L. Saglietti, S. Mannelli, and A. Saxe, Advances in Neural Information Processing Systems 35, 21113 (2022).
[13] J. H. Lee, S. S. Mannelli, and A. M. Saxe, in Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235, edited by R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, and F. Berkenkamp (PMLR, 2024) pp. 26837–26855.
[14] N. Patel, S. Lee, S. Sarao Mannelli, S. Goldt, and A. Saxe, Physical Review X 15, 021051 (2025).
[15] F. Mori, S. Sarao Mannelli, and F. Mignacco, in International Conference on Learning Representations, Vol. 2025 (2025) pp. 59198–59220.
[16] F. Mignacco and F. Mori, PNAS nexus 5, pgag182 (2026).
[17] S. Goldt, M. Mézard, F. Krzakala, and L. Zdeborová, Physical Review X 10, 041044 (2020).
[18] M. Refinetti and S. Goldt, in International Conference on Machine Learning (PMLR, 2022) pp. 18499–18519.
[19] G. Braun, M. H. Quang, and M. Imaizumi, in The 28th International Conference on Artificial Intelligence and Statistics (2025).
[20] G. Braun, B. Loureiro, M. Ha Quang, and M. Imaizumi, in International Conference on Learning Representations, Vol. 2026 (2026) pp. 93717–93759.
[21] G. Ben Arous, R. Gheissari, and A. Jagannath, Journal of Machine Learning Research 22, 1 (2021).
[22] G. Ben Arous, R. Gheissari, and A. Jagannath, Advances in Neural Information Processing Systems 35, 25349 (2022).
[23] A. Damian, E. Nichani, R. Ge, and J. D. Lee, Advances in Neural Information Processing Systems 36, 752 (2023).
[24] C. Paquette, E. Paquette, B. Adlam, and J. Pennington, Advances in Neural Information Processing Systems 35, 35984 (2022).
[25] E. Collins-Woodfin, C. Paquette, E. Paquette, and I. Seroussi, Information and Inference: A Journal of the IMA 13, iaae028 (2024).
[26] L. Chizat, E. Oyallon, and F. Bach, in Advances in Neural Information Processing Systems, Vol. 32, edited by H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett (Curran Associates, Inc., Red Hook, NY, 2019).
[27] A. Jacot, F. Gabriel, and C. Hongler, in Advances in Neural Information Processing Systems, Vol. 31 (Curran Associates, Inc., Red Hook, NY, 2018) pp. 8580–8589.
[28] G. Hinton, L. Deng, D. Yu, G. E. Dahl, A.-r. Mohamed, N. Jaitly, A. Senior, V. Vanhoucke, P. Nguyen, T. N. Sainath, et al., IEEE Signal processing magazine 29, 82 (2012).
[29] S. Mei, A. Montanari, and P.-M. Nguyen, Proceedings of the National Academy of Sciences 115, E7665 (2018).
[30] L. Chizat and F. Bach, Advances in neural information processing systems 31 (2018).
[31] G. Rotskoff and E. Vanden-Eijnden, in Advances in Neural Information Processing Systems, Vol. 31 (Curran Associates, Inc., 2018).
[32] J. Sirignano and K. Spiliopoulos, Stochastic Processes and their Applications 130, 1820 (2020).
[33] A. Maillard, E. Troiani, S. Martin, L. Zdeborová, and F. Krzakala, in Advances in Neural Information Processing Systems, Vol. 37, edited by A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (Curran Associates, Inc., Red Hook, NY, 2024) pp. 82085–82132.
[34] J. Barbier, F. Camilli, M.-T. Nguyen, M. Pastore, and R. Skerk, Physical Review X 16, 031014 (2026).
[35] H. Cui, F. Krzakala, and L. Zdeborová, in International Conference on Machine Learning (PMLR, 2023) pp. 6468–6521.
[36] V. Erba, E. Troiani, L. Zdeborová, and F. Krzakala, Advances in Neural Information Processing Systems 38, 88862 (2026).
[37] J. Girardin, E. Troiani, Y. Xu, V. Erba, F. Krzakala, and L. Zdeborová, arXiv:2606.28242 (2026).
[38] S. Sarao Mannelli, E. Vanden-Eijnden, and L. Zdeborová, Advances in Neural Information Processing Systems 33, 13445 (2020).
[39] S. Martin, F. Bach, and G. Biroli, in International Conference on Artificial Intelligence and Statistics (PMLR, 2024) pp. 3655–3663.
[40] S. Martin, G. Biroli, and F. Bach, Journal of Machine Learning Research 27, 1 (2026).
[41] Y. Ren, E. Nichani, D. Wu, and J. D. Lee, arXiv preprint arXiv:2504.19983 (2025).
[42] G. Ben Arous, M. A. Erdogdu, N. M. Vural, and D. Wu, in Advances in Neural Information Processing Systems, Vol. 38 (2025).
[43] R. Berthier, A. Montanari, and K. Zhou, Foundations of Computational Mathematics 25, 1627 (2025).
[44] C. Gerbelot and J.-C. Mourrat, arXiv:2607.10869 (2026).
[45] M. Biehl and H. Schwarze, Journal of Physics A: Mathematical and General 28, 643 (1995).
[46] P. Riegler and M. Biehl, Journal of Physics A: Mathematical and General 28, L507 (1995).
[47] M. Biehl, P. Riegler, and C. Wöhler, Journal of Physics A: Mathematical and General 29, 4769 (1996).
[48] Y. Yoshida and M. Okada, in Advances in Neural Information Processing Systems, Vol. 32 (2019).
[49] M. Straat and M. Biehl, in Proceedings of the 27th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning (ESANN) (2019) pp. 517–522, arXiv:1903.07378.
[50] Y. Tian, in International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 119 (PMLR, 2020) pp. 9470–9480.
[51] E. Oostwal, M. Straat, and M. Biehl, Physica A: Statistical Mechanics and its Applications 564, 125517 (2021).
[52] A. Bietti, J. Bruna, C. Sanford, and M. J. Song, Advances in neural information processing systems 35, 9768 (2022).
[53] L. Arnaboldi, Y. Dandi, F. Krzakala, B. Loureiro, L. Pesce, and L. Stephan, in Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235 (2024) pp. 1730–1762.
[54] E. Abbe, E. B. Adsera, and T. Misiakiewicz, in Conference on Learning Theory (PMLR, 2022) pp. 4782–4887.
[55] E. Abbe, E. B. Adsera, and T. Misiakiewicz, in The Thirty Sixth Annual Conference on Learning Theory (PMLR, 2023) pp. 2552–2623.
[56] E. Abbe, E. Boix-Adsera, M. S. Brennan, G. Bresler, and D. Nagaraj, Advances in Neural Information Processing Systems 34, 26989 (2021).
[57] A. Bietti, J. Bruna, and L. Pillaud-Vivien, arXiv preprint arXiv:2310.19793 (2023).
[58] L. Bardone and S. Goldt, in Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235, edited by R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, and F. Berkenkamp (PMLR, 2024) pp. 3024–3045.
[59] A. Mousavi-Hosseini, D. Wu, T. Suzuki, and M. A. Erdogdu, Advances in Neural Information Processing Systems 36, 71449 (2023).
[60] J. Ba, M. A. Erdogdu, T. Suzuki, Z. Wang, D. Wu, and G. Yang, Advances in Neural Information Processing Systems 35, 37932 (2022).
[61] A. Damian, J. D. Lee, and M. Soltanolkotabi, in Proceedings of Thirty Fifth Conference on Learning Theory, Proceedings of Machine Learning Research, Vol. 178 (PMLR, 2022) pp. 5413–5452.
[62] Y. Dandi, F. Krzakala, B. Loureiro, L. Pesce, and L. Stephan, Journal of Machine Learning Research 25, 1 (2024).
[63] H. Cui, L. Pesce, Y. Dandi, F. Krzakala, Y. M. Lu, L. Zdeborová, and B. Loureiro, in Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235 (PMLR, 2024) pp. 9662–9695.
[64] B. Bordelon and C. Pehlevan, arXiv:2601.01010 (2026).
[65] F. Mignacco, F. Krzakala, Y. Lu, P. Urbani, and L. Zdeborova, in International conference on machine learning (PMLR, 2020) pp. 6874–6883.
[66] F. Mignacco, F. Krzakala, P. Urbani, and L. Zdeborová, Advances in Neural Information Processing Systems 33, 9540 (2020).
[67] M. Celentano, C. Cheng, and A. Montanari, arXiv preprint arXiv:2112.07572 (2021).
[68] C. Gerbelot, E. Troiani, F. Mignacco, F. Krzakala, and L. Zdeborova, SIAM Journal on Mathematics of Data Science 6, 400 (2024).
[69] B. Bordelon and C. Pehlevan, Advances in Neural Information Processing Systems 35, 32240 (2022).
[70] B. Bordelon and C. Pehlevan, Advances in Neural Information Processing Systems 36, 9707 (2023).
[71] A. Montanari and P. Urbani, Advances in Neural Information Processing Systems 38, 26530 (2026).
[72] Q. Li and H. Sompolinsky, Physical Review X 11, 031059 (2021).
[73] R. Pacelli, S. Ariosto, M. Pastore, F. Ginelli, M. Gherardi, and P. Rotondo, Nature Machine Intelligence 5, 1497 (2023).
[74] I. Seroussi, G. Naveh, and Z. Ringel, Nature Communications 14, 908 (2023).
[75] K. Fischer, J. Lindner, D. Dahmen, Z. Ringel, M. Krämer, and M. Helias, in Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235, edited by R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, and F. Berkenkamp (PMLR, 2024) pp. 13660–13690.
[76] N. Rubin, K. Fischer, J. Lindner, I. Seroussi, Z. Ringel, M. Krämer, and M. Helias, in Proceedings of the 42nd International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 267, edited by A. Singh, M. Fazel, D. Hsu, S. Lacoste-Julien, F. Berkenkamp, T. Maharaj, K. Wagstaff, and J. Zhu (2025) pp. 52225–52257.
[77] H. Schwarze, Journal of Physics A: Mathematical and General 26, 5781 (1993).
[78] A. Engel, Statistical mechanics of learning (Cambridge University Press, 2001).
[79] B. Aubin, A. Maillard, J. Barbier, F. Krzakala, N. Macris, and L. Zdeborová, in Advances in Neural Information Processing Systems, Vol. 31, edited by S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (Curran Associates, Inc., Red Hook, NY, 2018).
[80] T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert-Voss, G. Krueger,
T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei, Advances in neural information processing systems 33, 1877 (2020).
[81] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, N. Goyal, E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, and G. Lample, arXiv:2302.13971 (2023).
[82] F. Gerace, B. Loureiro, F. Krzakala, M. Mézard, and L. Zdeborová, in International Conference on Machine Learning (PMLR, 2020) pp. 3452–3462.
[83] S. Goldt, B. Loureiro, G. Reeves, F. Krzakala, M. Mézard, and L. Zdeborová, in Mathematical and Scientific Machine Learning (PMLR, 2022) pp. 426–471.
[84] S. Mei and A. Montanari, Communications on Pure and Applied Mathematics 75, 667 (2022).
[85] H. Hu and Y. M. Lu, IEEE Transactions on Information Theory 69, 1932 (2022).
[86] T. Misiakiewicz and A. Montanari, arXiv preprint arXiv:2308.13431 (2023).
[87] I. Safran and O. Shamir, in International conference on machine learning (PMLR, 2018) pp. 4433–4441.
[88] B. Loureiro, C. Gerbelot, H. Cui, S. Goldt, F. Krzakala, M. Mézard, and L. Zdeborová, in Advances in Neural Information Processing Systems, Vol. 34 (2021) pp. 18137–18151.
[89] A. Montanari and B. N. Saeed, in Proceedings of the 35th Conference on Learning Theory, Proceedings of Machine Learning Research, Vol. 178 (PMLR, 2022) pp. 4310–4312.
[90] Y. Dandi, E. Troiani, L. Arnaboldi, L. Pesce, L. Zdeborová, and F. Krzakala, in Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235 (PMLR, 2024) pp. 9991–10016.
[91] L. Arnaboldi, Y. Dandi, F. Krzakala, L. Pesce, and L. Stephan, arXiv preprint arXiv:2405.15459 (2024).
[92] A. Damian, L. Pillaud-Vivien, J. D. Lee, and J. Bruna, in Proceedings of the Thirty Seventh Conference on Learning Theory, Proceedings of Machine Learning Research, Vol. 247 (2024).
[93] S. Chung, D. D. Lee, and H. Sompolinsky, Physical Review X 8, 031003 (2018).
[94] U. Cohen, S. Chung, D. D. Lee, and H. Sompolinsky, Nature communications 11, 746 (2020).
[95] F. Cagnetta, L. Petrini, U. M. Tomasini, A. Favero, and M. Wyart, Physical Review X 14, 031001 (2024).
[96] A. Ingrosso and S. Goldt, Proceedings of the National Academy of Sciences 119, e2201854119 (2022).
[97] L. Lufkin, A. Saxe, and E. Grant, Advances in Neural Information Processing Systems 37, 25938 (2024).
[98] F. Ricci, L. Bardone, and S. Goldt, in Forty-second International Conference on Machine Learning (2025).
Appendix A: Gaussian closure
By Gaussian closure we mean the following approximation, used before specialization. Finite collections of off-diagonal overlap entries are treated as jointly Gaussian, with covariances obtained from Wick contractions of the weights and , whose coordinate moments are taken to be Gaussian at leading order. Diagonal self-overlaps are set to one. After the index sums, every retained contraction in the order-parameter dynamics is then a function of and .
More precisely, in this regime, for any fixed finite collection of entries taken from
namely where is fixed independently of , and where for the self-overlap blocks , the following vector is assumed to be approximately jointly Gaussian under the closure:
The empirical marginal mean and variance are fixed by the first two empirical overlap moments. Correlations between distinct entries additionally depend on their index-sharing structure, as described below. For the teacher–student block , the entrywise empirical mean and variance are
For the off-diagonal part of the aa-block, , the corresponding mean and variance are
Here , , denote the first two diagonal self-overlap moments; for the self-blocks this replaces the maximum over permutations in eq. (6). We use and .
The covariance is obtained from Wick contractions; for identical entries it reduces to the variance above. If two entries share no network-labeled neuron, we take their leading covariance to be zero:
If two entries share one index, the local covariance is given by the corresponding Wick contraction. For example (see appendix D 1), contracting the shared weight vector with unit coordinate covariance gives the local Wick estimate
where denotes the th row of and is distinct from both conditioned neurons. This local covariance may still depend on the realized background overlap . Averaging this background factor over all gives
More generally, for any fixed contraction pattern appearing in the macroscopic dynamics,
with the index identifications specified by that pattern, we evaluate the products using Wick's rule. Each covariance pairing is computed according to the index-sharing pattern of the two paired overlap entries. The local Wick contractions may produce background overlaps, such as . After performing the index sums with the normalization , the remaining background moments are evaluated by the same Gaussian moment rule, while diagonal moments use the norm-concentration approximation. This closes the retained contractions in terms of and . Here the closure is understood to hold at the leading order of these normalized sums; this does not follow from finite-dimensional Gaussianity alone. The relevant contractions for are evaluated explicitly in appendix D.
Appendix B: Macroscopic flow of
1. Expectations of triple products of Hermite polynomials
We first derive the dynamics of without spherical normalization. Substituting the online SGD step eq. (3) into the definition of gives
In the dynamics of , we omit the term , which acts as effective SGD noise [7]. This term is , but its contribution vanishes under the learning-rate scaling specified in the main text. For the same reason, we also omit it from eq. (7).
For a given new training sample , the gradient components with respect to the student weights are given by:
where the teacher and student network outputs are expanded in the Hermite polynomial basis as:
with pre-activations defined as and . Hermite polynomials are orthogonal under the Gaussian measure, and gives
Averaging over the training data then gives the update for :
The order parameters are empirical statistics of the overlap tensor , which is itself determined by the weight matrix . Since is generated by online SGD, it depends on the previously observed samples . This dependence is the source of randomness in the order parameters, so we take expectations over both the training history and the fresh sample used in the next SGD update. To evaluate the update of , we first isolate the input expectations of the following Hermite triplets:
Accordingly, we define the corresponding summations across modes and neuron indices as:
Using these definitions, the update rule simplifies to
As discussed in the main text, the terms governed by (capturing the overlap between and ) act as the attractive force, whereas the terms in (overlap between and ) represent self-repulsion. We now express these terms through the order parameters at time t.
Applying Stein's lemma or, more directly, Lemma 12 from Ricci et al. [98], we find that in the extensive-width limit these triplet expectations evaluate to:
where terms with a negative or half-integer factorial argument in the denominator vanish. This imposes selection rules on the Hermite indices. Expanding explicitly yields:
Applying an analogous reduction to and substituting these back into the expressions for and , we obtain the macroscopic equations:
(B2)
2. Scaling analysis of the overlap tensor
To isolate the leading-order contributions to in the extensive-width limit, we analyze the finite-size scaling of the tensor contractions involving in eq. (B2). For clarity, we temporarily suppress the teacher–student superscripts, such as , and use the teacher–teacher overlaps as a representative example. The same scaling estimates apply to the cross-overlap and student–student tensors, up to changes in the corresponding macroscopic moments. Since , we express all asymptotic orders in powers of . At initialization, the entries of the overlap tensor exhibit a diagonal–off-diagonal scale separation. For , the off-diagonal overlaps verify , , and therefore have typical size . In contrast, the diagonal entries satisfy and remain , so that the normalized trace obeys . Similarly, for , the squared overlaps scale as with variance , whereas on the diagonal.
These entry-wise scaling estimates imply concentration of the macroscopic order parameters. For example, the first two moments can be written as their deterministic limits plus finite-size fluctuations,
These fluctuations vanish in the thermodynamic limit and therefore do not affect the leading-order deterministic flow of the order parameters. This self-averaging property also justifies factorizing products of order parameters at leading order. Indeed, if and , with vanishing in probability, then
Thus nonlinear couplings between macroscopic order parameters can be evaluated, to leading order, by replacing each order parameter with its deterministic expectation. Concentration makes the macroscopic dynamics deterministic and Markovian: the drift at step t depends only on the current order parameters, as in eq. (B1), so there is no need to track the microscopic training history or average over past trajectories. Consequently, the online-SGD dynamics reduce to closed deterministic ODEs for a finite set of order parameters in the pre-specialization regime, rather than to history-dependent path-integral equations of the type that arise in dynamical mean-field theory. For notational simplicity hereafter, we identify the empirical order parameters with their deterministic large-system expectations:
| Index relation | Order | Sum of fluctuations | Multiplicity | Overall | |
|---|---|---|---|---|---|
TABLE I. Scaling of all the combinations of the form for and . The “Index relation” column lists the index configurations, “Order” gives the typical size of a single term, “Sum of fluctuations” the accumulated standard deviation over all index combinations, and “Multiplicity” the number of equivalent terms. The “Overall” column includes the normalization , which scales as at fixed ; the learning-rate factor is omitted here. The centered-background estimates in this table do not include coherent contributions from nonzero overlap means during training, which are retained explicitly in the contractions below.
To reduce eq. (B2) to the flow, we evaluate contractions of the form . Table I lists the scaling of each term; the last column includes the prefactor of eq. (B1).
Because saturates on an timescale, drift terms of order or smaller cannot accumulate to an effect. Hence only the sector contributes to the leading-order dynamics of . According to eq. (B2), we have
Substituting into eq. (B1) and proceeding similarly for gives eq. (8) in the main text. Fig. 7 compares the theoretical predictions with numerical simulations for several values of the width-to-dimension ratio .
Appendix C: Unclosed flow of general
1. Spherical normalization
The derivation above omitted spherical normalization for clarity; including it does not change the leading-order dynamics of . Letting , the normalization step in eq. (3) introduces the normalization factor raised to a power , whose expansion in is
Note that the cross-term proportional to is smaller by a factor and hence subleading in the extensive-width limit. Focusing on the leading normalization term, we define

FIG. 7. Macroscopic first- and second-order dynamics in a ReLU network. The input dimension is , while the width is varied. Darker curves correspond to larger width-to-dimension ratios. Solid curves show online-SGD simulations, while dashed curves show the closed dynamical predictions from eqs. (8) and (10). For each run, the theoretical curve is initialized with the empirical order parameters of the corresponding seed. Thus the comparison tests the deterministic macroscopic flow conditioned on the initial state, rather than an ensemble-averaged trajectory.
As in the calculation of without normalization, we average these terms over the data, which gives
The averaged normalization term is
This term is and therefore does not affect on the timescale . Thus, in the linear-adaptation regime, the leading dynamics are the same for unconstrained Euclidean SGD, Riemannian SGD, and explicit spherical normalization.
The term of the expansion above contributes a correction of order , of the same order as the SGD-noise terms omitted in eq. (7). Both are controlled by the learning-rate condition given in the main text.
2. Flow of
We now address the timescales up to specialization. Unlike the first-order phase, the dynamics of the higher-order parameters ( ) contain tensor couplings, which do not reduce to functions of the . Recall the explicit trace definition of :
From to the onset of specialization, keeping the contributions and averaging over the fresh sample gives the discrete-time updates:
The higher-order dynamics retain the attraction–repulsion structure, now through tensor contractions: the drift in splits into competing attractive and repulsive triplet contractions. Generalizing eq. (B2), we define the leading-order triplet contractions and driving :
(C1)
To close the dynamics of , these contractions must be expressed as polynomials in the macroscopic order parameters.
Appendix D: Macroscopic flow of
1. Three-point contractions
We first consider products of two overlaps with three distinct neuron indices, specifically, the terms within and of eq. (C1), and the terms at . In the extensive-width limit, sums over independent input coordinates concentrate, so these products can be decoupled with Wick's theorem. We also note that this calculation provides the covariance structure used in the definition of Gaussian closure. To make the contraction structure transparent, we represent each hidden-neuron index by a vertex and each overlap by an edge between two vertices; the teacher–student labels are absorbed into the superscripts of the corresponding vertices. Taking the trace as an illustrative low-order example:
(D1)
In the second step, we split the sum over input coordinates into and . For we use , which gives . For , Gaussian closure treats and as independent, and the sum factorizes into ; the auxiliary index makes this factorization explicit. The same procedure gives the remaining three-point contractions:
For coupled trace components of the form with and , closure requires multiple simultaneous index contractions. These terms are at most of order and therefore do not contribute at leading order. The , case is evaluated below:
Hence, for all and , trace terms of the generalized form asymptotically decouple into . Consequently, for any arbitrary , the contraction components scaled by can be analytically reduced to:
This drift term is canceled by the corresponding terms generated by spherical normalization. Thus, to leading order, the macroscopic dynamics are governed by terms proportional to , i.e., by the loop contractions of .
2. Loop contractions of
Loop contractions cannot be decoupled with the pairwise approximations above. Instead, all relevant coincidences of input and neuron indices must be evaluated at the leading scaling order. Below, we list the approximations needed to close the dynamics of . Before the specialization, we do not need to treat the diagonal term of specially. Consider the contraction of the loop corresponding to , as an example:
The expansion of this loop involves two classes of index coincidences: (1) coincidences of input indices, and ; and (2) coincidences of neuron indices, , with distinct input indices ( ).
For the first class, the leading terms come from the Wick pairings
The configuration is counted in all three input-index coincidence classes and must therefore be subtracted twice.
For the second class, when the teacher indices coincide , the weights pair without any further coincidence of input indices:
We omit configurations such as or with and , or with (or ), as they do not contribute at leading order.
Collecting these terms gives
The same expansion for the remaining loops gives
Also, for
Combining the three-point and loop contractions above gives the pre-specialization dynamics of , eq. (10).

FIG. 8. Fitted closure for high-order loop contractions. Data are collected from simulations with different activation functions in the unspecialized Gaussian-closure regime. The near-unit values show that a dictionary built from and captures the dominant finite-size loop contractions entering and . This regression is used only to validate the Gaussian closure and is not part of the asymptotic scaling argument.
3. Higher-order loop contractions
Beyond the closure, the specialization channels involve higher-order loop contractions such as

which contribute to the leading contractions of high order dynamics in eq. (7). Each of these loops can, in principle, be reduced by enumerating all index coincidences and Wick pairings, as in the calculation of above. However, the number of Wick pairings grows factorially with the contraction order, making direct enumeration impractical at high orders. One possible approach is to approximate each high-order contraction by a polynomial in the low-order macroscopic observables and . We retain only monomials that preserve the numbers of teacher and student factors in the original loop and fit their coefficients to simulation data in the unspecialized regime.
The resulting fitted closures for the high-order contractions are shown in Fig. 8. The corresponding values are close to one, indicating that this low-order dictionary captures the dominant loop structure of the Gaussian regime at the simulated finite sizes. The main source of residual error is the approximation . In finite dimension, , and loops containing several student-student edges multiply this correction several times. The error is therefore amplified for higher-order loops, consistent with the gradual decrease of in the panels with more student-student edges in Fig. 8.
Appendix E: The onset of specialization and its speed-up through quadratic shielding
We define the onset of specialization as the first time at which exceeds its value at the saturation of and by a fixed positive amount independent of the system size. We call the interval between this saturation and the onset of specialization the quadratic plateau. Here, we seek to estimate the timescale at which specialization sets in, Throughout, we work at fixed and use the unit-diagonal approximation .
1. Effective equation of motion for teacher-student overlap
We will obtain estimates for the onset of specialization by deriving an effective equation of motion for a single teacher-student overlap, including the leading quadratic SGD correction. First, we note that at the end of Gaussian closure, the student has learned a quadratic approximation of the teacher, which amounts to matching its first three Hermite modes. We hence assume that the first two modes of the generalization error in eq. (5) are zero, i.e.
for , or more explicitly
At the end of Gaussian closure, we therefore have the following two conditions on the weights:
The matching conditions eq. (E1) cancel the population-drift terms proportional to , , , and in the master equation eq. (7); the term vanishes identically. Since is the first active Hermite sector above quadratic order, for , so the remaining mixed terms with vanish as well. Under Gaussian closure, the mixed terms with and the higher pure Hermite sectors are subleading at the Gaussian overlap scale, for fixed coefficients. For example, the contribution for is suppressed by relative to the source. These cancellations and scale estimates motivate considering an activation function that retains the learned quadratic part and the first active higher Hermite sector. For concreteness, we therefore consider the effective activation function
which has specialization exponent ; is normalized to have unit norm w.r.t. the standard Gaussian measure, and .
For a fresh Gaussian input , let , , and be the error between teacher and student, with . We normalise the full weight matrix as in eq. (3), so that , retaining the unit-diagonal approximation for the individual neuron norms. This gives the normalized update
where
For , expanding the exact relation in gives
The linear term is the sample gradient projected onto the global Frobenius sphere. The term describes the shrinkage induced by normalizing a step of nonzero squared length; its mean contains both deterministic and stochastic gradient contributions.
At the end of Gaussian closure, the student has learned a quadratic approximation of the teacher so by eq. (E1), the error term is simply
Under the same delocalized Gaussian-plateau approximation, , , whereas . Relative to , the discarded terms are therefore and , respectively, and are subleading for overlaps with , including the leading overlaps considered below.
To compute the mean drift , we note that since is proportional to the th Hermite polynomial and give at most a degree-two factor. Therefore, the terms linear in vanish and we find that
(E7) the k leading entries
median
upper bound
--- lower bound


FIG. 9. Numerical check of eq. (E11). The x-axis shows the time-averaged ratio in eq. (E11), and the y-axis indicates the dimension ( ). Each point is computed over the interval from the saturation of and to specialization onset. We define onset as the first time increases by 0.2 above its plateau value, tracking the largest-magnitude student–teacher overlap for each student. The lower bound is estimated by the 5th percentile of the data, while the upper bound is the maximum after excluding the largest 1/d fraction of values.
where
Thus the population drift is proportional to , even though the sample gradient contains an order- contribution. For the quadratic correction, we use again Gaussian closure to obtain
where we have written and . Combining the two equations, we obtain the equation of motion
2. Estimating the timescale of specialization
To estimate the growth driven by the population term, consider in eq. (E8). The term of its first sum is . The term of its second sum cancels the diagonal part of the normalization term, leaving the two off-diagonal sums and , where in the unit-diagonal approximation. At , the source has magnitude . Gaussian closure gives off-diagonal fluctuations of order and a remaining normalization term of order for even , smaller by for odd . These estimates do not exclude cancellation of the source, so a positive growth assumption is still needed to infer a specialization timescale.
For each student, let be the magnitude of its largest positive overlap for odd , or its largest absolute overlap for even . For the population dynamics, we assume that growth from the initial plateau value to a fixed threshold in time satisfies
The constants are independent of k at fixed r and k/d. The lower bound excludes cancellation or reversal of growth on average; extending the bounds beyond the Gaussian regime is an additional assumption. For collective onset, the lower bound is needed for a sufficiently large fixed fraction of students, and the upper bound for all but a vanishing fraction. A numerical check is provided in Fig. 9.

FIG. 10. Evolution of for different widths , with , illustrating how the timescale data in Fig. 5 are collected. We show and as examples. Since the value of at the beginning of the plateau depends on , we measure the first time it exceeds this value by a fixed amount of 0.1. Alternatively, one could use a fixed absolute threshold, such as , for all dimensions. We expect the same asymptotic scaling, provided the subsequent growth introduces no additional slow timescale. Indeed, the reduced dynamics predict that growth between two fixed positive overlap magnitudes takes time, which is asymptotically shorter than the plateau. A higher threshold can nevertheless introduce stronger finite-size effects at small and requires longer simulations at large .
The initial condition is set at the beginning of the plateau, after and have saturated. At this point, Gaussian closure gives a mean and a standard deviation approximately equal to for each . The mean is negligible compared with the extreme level. Applying the Gaussian extreme-value estimate to the teacher overlaps of each student therefore gives
where on the initial plateau. At fixed , this is also .
Neglecting the term in , eq. (E11) gives
With this initial condition, the initial-overlap term dominates, yielding
recovering eq. (16) at fixed . When a sufficiently large fixed fraction of students reach , we assume that a fixed positive fraction of their leading overlaps can still form one-to-one teacher matches. Their growth then produces a fixed increase in , with chosen even when is even to avoid sign cancellation. Thus the overlap growth time sets the collective specialization timescale. The predicted scaling is tested in Fig. 5, with the measurement procedure described in Fig. 10.
Using the same effective growth estimate, balancing the two terms in eq. (E10) at gives the noise-limited learning-rate scale
Choosing a sufficiently small fixed fraction of this scale gives
3. Quadratic shielding speeds up specialization
So far, we have used low-order learning to simplify the residual error, but have not incorporated its dynamical confinement of the weights. This partial learning has an important impact on the learning dynamics even though it is achieved without teacher-student specialization. To see this, we now constrain the learning dynamics to occur on the manifold that is defined by the two conditions of the student weights that result from learning the quadratic part of the teacher, namely the matching conditions eq. (E1):
By the timescale separation between learning the quadratic part of the teacher and specialization discussed in section III A, we assume that relaxation normal to this manifold is sufficiently fast to approximate the slow dynamics of specialization by the projected gradient , where is the orthogonal projection onto the tangent space . This effective-confinement assumption is additional to Gaussian closure; ordinary globally normalized SGD does not enforce these constraints sample by sample.
To see how restricting the dynamics of the weights to the manifold affects the SGD dynamics, we first note that every tangent perturbation satisfies and , since the conditions of eq. (E16) must hold to first order in . Therefore, the directional derivative of the quadratic part of the student network is exactly zero:
Writing , the low-degree sample gradient is thus normal to , and
Unlike the cancellation in the population drift, this cancellation holds for every input. It removes the gradient component linear in ; the projected drift retains its prefactor . For the effective confined dynamics, we assume that its leading-overlap growth still satisfies the scaling in eq. (E11). The norm of the gradient is affected by the exact cancellation: writing with , we obtain
where the factor is exact. To estimate the dimension scaling, we additionally assume , so that . Assuming that the effective confined dynamics have a growth-opposing second-order correction of scale , balancing again drift and noise gives the revised estimate of the optimal learning rate, and hence specialization timescale,
Here again the time is evaluated at a sufficiently small fixed fraction of the critical scale, in the regime where this is the active step-size restriction. Compared with the naïve derivation, the admissible learning rate increases since there is less noise, so the optimized learning time decreases by a factor of order . However, note that the dimension exponent is unchanged. At a fixed learning rate, the cancellation instead enlarges the regime in which the gradient-flow prediction remains valid, from to .
4. Numerical verification of quadratic shielding predictions
An important assumption in the analysis of quadratic shielding is that the fast dynamics of and effectively confine SGD to the manifold M, eq. (E16), after the Gaussian plateau. We test this effective confinement by measuring the diffusion of teacher-student overlaps on the Gaussian plateau. After learning the quadratic part of the teacher, but before specialization, the dynamics of teacher-student overlaps are dominated by stochastic increments over lags that are sufficiently shorter than the specialization time. From the equation of motion for an general overlap in eq. (E5), we see that the leading contribution to the variance is

FIG. 11. Experimental verification of quadratic shielding. We measure the mean-square displacement (MSD) eq. (E24) of the teacher–student overlaps on the Gaussian plateau. We use the effective activation , with , , . Here, is the relaxation time of the dynamics, as per eq. (10). Left: The MSD slope as a function of the lag time shows a crossover between two noise scales ( ) Right: The two limiting MSD slopes as a function of for short and long lags compared to .
always at fixed weights. On the plateau, where a typical has size , and both have root-mean-square size of order . Thus is smaller than by a factor of order . To leading order, the overlap noise therefore comes from . Under the same assumptions as in the derivation of, we find
For the projected dynamics on , the sample-wise cancellation derived above instead gives and hence
To test whether this projected noise scale describes ordinary SGD over longer lags, we analyse the dynamics of n = 16 students trained on the same teacher from the same initial weights, but using different input streams that drive the dynamics. We measure the centered mean-square displacement of an overlap on the plateau,
where labels replicas. We use as the characteristic quadratic relaxation scale. We see on the left of Fig. 11 that for short times compared to , the slope of the MSD is indeed given by the full instantaneous noise and scales as . For longer times instead, quadratic shielding kicks in and reduces the SGD noise, leaving an MSD slope proportional to . Since all replicas start after quadratic learning, this crossover reflects the relaxation of newly injected normal fluctuations, not further learning of the quadratic target. These observations support the effective-confinement description of ordinary SGD over the measured plateau window: the one-step noise remains quadratic in , while its accumulated effect along the slow directions is quartic. We repeated the experiment with various values of , or equivalently, , and find that the trend persists at short and long lag times as predicted.
Appendix F: Dynamics of the refinement regime
1. Fixed point
We next derive the dynamics after the specialization transition has selected a permutation of the hidden neurons. After matching, the diagonal student–teacher overlaps are , whereas the off-diagonal overlaps remain at the Gaussian background scale, , , . Therefore, for any ,
The first term is , while the off-diagonal Gaussian contribution scales as , and thus can be ignored.
The emergence of matched student–teacher overlaps does not require modifying the and equations: the contraction calculations of appendix D already include the relevant diagonal index configurations.
To see this, consider the three-point contraction in eq. (D1):
In the original derivation, this contraction was separated according to the input-coordinate indices. The contribution with gives the connected term proportional to , while the contribution with factorizes at leading order into a product of two single-overlap sums, giving .
In the refinement regime, configurations with give large contributions. These configurations can themselves be divided into and . Both cases are already contained in the two classes of the original contraction calculation. In particular, the order parameter denotes the full first-order cross-overlap, , and therefore includes both the matched diagonal contribution and the off-diagonal background. The same point applies to the loop contractions. For instance, consider . In the coordinate-level expansion discussed in appendix D, these configurations are further classified according to coincidences among input indices and hidden-neuron indices. However, a configuration such as does not generate a new contribution. The diagonal contribution has already been absorbed into conditions discussed before. Thus no additional diagonal-spike term should be added to the or equations unless one rewrites the dynamics explicitly in terms of residual off-diagonal fields.
We now consider the higher-order parameters, which are dominated by the matched student–teacher overlaps. Keeping the order- terms after the global Frobenius normalization, we obtain the dynamics of the matched overlaps:
The sector contributes , while the sector contributes since .
We now investigate the fixed point of eq. (F1), where the closed and dynamics have already reached their plateaus. There, the and sectors vanish at leading order, so the remaining drift comes only from the Hermite components with . In the refinement regime, the corresponding cross-overlaps are dominated by the matched diagonal entries. Thus,
The same diagonal closure applies to the local term in eq. (F1). For ,
where the leading contribution comes from the term . Substituting eq. (F3) and eq. (F2) into eq. (F1) gives the closed diagonal dynamics
At a stationary point of the leading diagonal flow, eq. (F4) yields the self-consistency equation
for . A sufficient construction is to require the contribution from each Hermite sector to vanish separately: for every with , nonzero matched overlaps must satisfy for . Since the right-hand side is independent of , all nonzero matched overlaps have the same allowed magnitude. On the fully positive aligned branch, this identifies the homogeneous stationary configuration .

(a) Overlap Distribution
(b) Order Parameters
(c) Loss
FIG. 12. Matched-initialization experiment and full-trajectory macroscopic prediction. The student is initialized with partial teacher information according to eq. (F5), with s = 0.5, ELU activation, d = 50, k = 200, and learning rate . (a) Student–teacher overlap distributions at different training times, plotted as in Fig. 3. The matched entries form a diagonal spike, while the remaining overlaps are compared with a Gaussian fit. (b) Time evolution of the macroscopic order parameters. Solid curves show the simulation results, and dashed curves show the theoretical ODE predictions. (c) Population loss along training.
2. Informed initialization
To extend the Gaussian-closure description across the full training trajectory, we consider a constructed matched-initialization setting in which the student weight matrix is initialized with partial information from the teacher,
where Z is a standard Gaussian noise matrix and s is a control parameter that tunes the distance from the teacher initialization. Under this initialization, the student weights already contain a planted teacher-aligned component. Consequently, the overlap distribution is well described by a spike-plus-Gaussian ansatz throughout training: the matched diagonal component evolves as a macroscopic spike, while the remaining off-diagonal overlaps stay close to a Gaussian background. The low-order overlaps and may already be large at initialization, but they have not necessarily reached their fully learned plateaus, so their dynamics must also be tracked. Under the spike-plus-Gaussian ansatz, the matched diagonal overlaps are assumed to concentrate around a common value, . Consequently, the higher-order cross-overlaps are dominated by the diagonal spike and satisfy, for , , . Thus, within this ansatz, the training trajectory can be described by five macroscopic order parameters: . The first four are governed by the closed and equations derived above. The remaining equation for follows from eq. (F1):
Fig. 12 shows the overlap distributions and the time evolution of the order parameters for s = 0.5 and ELU activation. The matched entries form a diagonal spike while the remaining overlaps stay Gaussian, and the five-variable flow reproduces the measured order parameters; the corresponding loss is shown in panel (c).