Manuscript Offprint
arXiv:2610.33846When is early stopping beneficial under label noise? A phase diagram for kernel gradient flow
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Early stopping is commonly used to prevent fitting label noise from degrading generalization. Does this mean that, when a positive fraction of the training labels is intrinsically unpredictable, the best test error must occur before interpolation? Experiments on a CIFAR10 classification task with randomly labeled examples motivate the opposite possibility: although fixed-feature and shallow models exhibit late-time deterioration of the test error, the need for early stopping essentially disappears in larger, deeper convolutional networks even after the random labels have all been classified correctly. We determine when late-time deterioration disappears entirely in a solvable setting. For kernel gradient flow on a synthetic noisy classification task, we derive sharp high-dimensional learning curves and obtain a phase diagram controlled by the balance between the linear kernel component that learns the shared relation between inputs and labels and the higher-order components that enable fitting the label noise. In one regime, generalization is optimized at finite time and early stopping is necessary. In another, generalization improves until interpolation, but the endpoint is suboptimal across kernels. At the boundary, the interpolating endpoint attains the lowest generalization error across the considered kernel family and all training times. Thus, even with extensive irreducible label noise, interpolation can outperform early stopping. The neural-network experiments leave open how learned representations acquire an analogous favorable geometry.
1 Introduction
Early stopping is a standard mechanism used to prevent overfitting, in particular in the presence of label noise. The usual dynamical picture is that training first learns structure shared across examples and only later fits labels that cannot be predicted from the inputs. Continued training then degrades test performance, so the best generalization error is attained at a finite time, before interpolation. This intuition is made precise in theoretical analyses of linear, kernel, and neural-network dynamics, where early stopping acts as an implicit regularizer that prevents the learner from fitting corrupted labels (Yao et al., 2007; Raskutti et al., 2014; Ali et al., 2019; Li et al., 2020). One might therefore expect early stopping to be particularly important when an extensive fraction of the training labels is intrinsically unpredictable.
We challenge this expectation through a controlled experiment based on CIFAR10 (Krizhevsky, 2009). Cats and dogs define a shared classification task, while automobile images, comprising 20% of the training set, receive fixed random labels. We measure the generalization error on new samples of cats and dogs and the memorization error, defined as the fraction of misclassified automobiles in the training set, to track when the unpredictable labels have been fitted. Figure 1 follows the two errors jointly as training progresses across architectures and model sizes. Fixed-feature and smaller or shallower models exhibit the familiar behavior: as the memorization error decreases, the test performance eventually deteriorates.
RF-CNN (readout matched)
Two-layer CNN
Four-layer CNN
WRN-28
(a)

(b)
(c)
Figure 1: Generalization along the path to memorization. Test error on 2000 cats and dogs (x-axes) versus classification error on the randomly labelled automobiles (y-axes) taken from the CIFAR10 dataset. The fixed training set has n = 7000 images: 2800 cats, 2800 dogs with their respective labels, and 1400 automobiles with independent random labels. Panels vary the overparametrization ratio , where P counts optimized parameters. Curves average about 30 completed seeds; a centered arithmetic average of up to seven neighboring recorded times is applied to both coordinates for display, preserving the initial and final values. These parametric curves trace the two errors as training time t increases. Triangles mark initialization, squares the last iterate and crosses the minimum displayed test error. All trainable networks use square loss and constant-rate Nesterov SGD, without augmentation or weight decay, through 1500 epochs; RF-CNN uses full-batch readout GD through steps. In Appendix F we provide all numerical details and the unsmoothed trajectories, including training loss.
For the larger, deeper convolutional and residual networks, this deterioration is essentially absent: their best observed test performance is attained with zero memorization error, and early stopping does not visibly improve generalization.
Empirical hypothesis. In image classification, even with extensive label noise, large, deep neural networks with competitive test performance do not benefit from early stopping.
Appendix F examines this empirical hypothesis in more detail. We report the unsmoothed neural network trajectories and training losses behind Figure 1, together with additional convolutional and residual architectures. We also consider other training procedures commonly used to obtain stronger performance on image-classification tasks, combining cross-entropy loss, data augmentation, learning-rate warm-up and cosine decay, followed by an extended constant-rate tail. We also replace the automobiles by randomly labelled cats and dogs, so that clean and randomized examples belong to the same image classes. The evidence collected in Appendix F robustly points to the same qualitative behavior: the larger and more complex networks attain their best observed test performance after all random labels have been classified correctly, with little subsequent deterioration. Further controls examine the effects of the optimizer, batch size, training-set size and fraction of random labels.
This raises the theoretical question of whether there are settings in which one can show analytically that training all the way to interpolation gives the lowest test error.
This question is related to, but distinct from, grokking and benign overfitting. Canonical grokking concerns noiseless, realizable tasks, where training accuracy becomes essentially perfect long before test performance improves (Power et al., 2022). Here, instead, a considerable fraction of the labels is intrinsically unpredictable, and we ask whether fitting them eventually harms generalization. Benign overfitting asks whether an interpolating estimator can generalize well despite label noise (Bartlett et al., 2020; Liang and Rakhlin, 2020); it does not by itself determine whether interpolation is optimal relative to earlier points along the training trajectory. Our focus is precisely on this dynamical comparison between early stopping and convergence.
Can the minimum test error nevertheless genuinely occur at convergence? Existing theoretical analyses that follow feature-learning dynamics under label noise toward interpolation reach the opposite conclusion for the shallow neural networks they study in the regimes analyzed: fitting the noisy labels eventually degrades generalization, making early stopping preferable (Han et al., 2025; Montanari and Urbani, 2025). They therefore do not account for the empirical hypothesis formulated here. We show that such behavior is possible for square-loss kernel gradient flow in the Rules-and-Facts (RAF) model introduced by Farné et al. (2026).
Each training label either follows a shared linear rule or is independent of the input. Whereas Farné et al. (2026) analyze the resulting empirical risk minimizers (ERM) under explicit regularization, here we follow the full learning trajectory from initialization to interpolation in the absence of explicit regularization. In the proportional high-dimensional limit, this trajectory is governed by the relative strengths of the rule-aligned component and the higher-order kernel components that provide the capacity to fit the unpredictable labels.
Main theoretical result. We derive exact learning curves and obtain a phase diagram with three regimes, corresponding to three families of kernels. In the first, test error reaches its minimum at finite time and subsequently increases, so early stopping is necessary. In the second, test error improves until convergence, but the resulting interpolating predictor is suboptimal relative to other kernel geometries. Precisely at the boundary between these regimes, gradient flow converges to an interpolating predictor that attains the lowest generalization error across the considered kernel families and all training times. Thus, even in the presence of extensive label noise, interpolation can lead to a better test error than any early stopping.
The kernel analysis therefore produces the behavior that motivated this work. At the critical geometry, the best test error is attained at interpolation, and the corresponding trajectory in Figure 4 closely resembles those of the larger, deeper neural networks in Figure 1, whose best test performance is attained after all randomly labelled examples have been classified correctly. The theory thus provides a concrete realization of the observed phenomenon. It does not, however, explain how neural-network training constructs a representation with analogous properties. Determining which aspects of feature learning, model size, and architecture produce this behavior remains an open question.
Early stopping and learning trajectories. For least squares, early stopping acts as a spectral regularizer (Yao et al., 2007; Raskutti et al., 2014), and the complete gradient-flow trajectory has an explicit matrix-exponential form (Ali et al., 2019). High-dimensional learning curves have been derived for linear, kernel, and Gaussian-covariate models (Advani et al., 2020; Ghosh et al., 2022; Bodin and Macris, 2022), including regimes in which training error decreases while test error remains essentially unchanged (Ghosh et al., 2022). Recent work also interprets early stopping through a transient spectral transition in an anisotropic linear model (Coeurdoux et al., 2026).
These analyses do not characterize the transition between lowest test error at finite time and at convergence across kernels.
Early stopping and explicit regularization. Early stopping, Tikhonov regularization and other spectral filters can attain comparable statistical rates (Bauer et al., 2007; Yao et al., 2007; Raskutti et al., 2014; Celisse and Wahl, 2021; Hu and Lei, 2022). For least-squares regression, Ali et al. (2019) compare gradient flow with ridge regression under the calibration and obtain uniform constant-factor risk comparisons. More recent work shows that a finitely stopped gradient-descent iterate can be represented as a generalized, spectrally dependent ridge solution (Sonthalia et al., 2024), while high-dimensional and finite-sample comparisons demonstrate that optimally stopped gradient descent and optimally tuned scalar ridge need not attain the same risk (Stark and Steinberger, 2025; Wu et al., 2026). Our setting makes this distinction fully explicit for classification error.
Benign overfitting and kernel geometry. Benign-overfitting theory characterizes when an interpolating estimator can generalize well despite label noise (Bartlett et al., 2020; Liang and Rakhlin, 2020). More generally, kernel spectra and their alignment with the target control generalization (Bordelon et al., 2020; Canatar et al., 2021; Bordelon and Pehlevan, 2022), while high-dimensional kernel linearization makes this dependence explicit for broad kernel families (El Karoui, 2010; Do and Vu, 2013). The RAF model provides a characterization of how kernel geometry allocates capacity between rule learning and fitting unpredictable labels (Farné et al., 2026). These results do not compare full learning trajectories across kernel geometries to determine when the test error at interpolation is lower than at every finite stopping time.
2 Data & kernel dynamics
Synthetic data model. The Rules-and-Facts (RAF) model proposed in Farné et al. (2026) separates a shared prediction rule from individual associations, which we treat as simple label noise for this paper. We draw independent inputs uniformly on the sphere of radius , namely with . An independent ground-truth vector defines . Training labels are given by
(1)
Here , so a fraction of the training labels is independent of the inputs, while the remaining fraction follows the shared rule . The assignments and random labels are drawn once and remain fixed throughout training. The learner observes only the supervised dataset . This construction provides a controlled setting in which we can follow the fitting of intrinsically unpredictable labels separately from generalization of the shared rule.
For a given predictor , we measure rule learning and factual memorization through the errors
(3)
Generalization concerns a fresh input with its rule label; the quantity is primarily a diagnostic of when training has fitted the unpredictable labels. In the kernel analysis, interpolation is achieved for zero empirical square loss; this is stronger than . For the unregularized dynamics below, the positive-definite kernel reaches interpolation as ; we ask whether the lowest test error occurs at a finite time or at this endpoint. Appendix F reports classification errors and losses separately for the neural-network experiments.
Kernel gradient flow. We consider the kernel predictor , and write and . Here is a fixed positive-semidefinite similarity kernel on inputs in , is its training matrix, and compares the training inputs with a new input . We use standard kernel gradient flow (Ghosh et al., 2022): for square loss this gives
(4)
The coefficient vector is , and is the vector of training labels. The kernel is fixed: the gradient is taken with respect to the function in its reproducing-kernel Hilbert space (RKHS), rather than with respect to the coefficient vector . Both lead to analogous results.
Appendix C discusses the alternative Euclidean flow dynamics and shows that it preserves the early-stopping boundary we derive below. Kernel gradient flow also describes the fixed-kernel dynamics associated with linearized wide neural networks (Jacot et al., 2018).
Given an initialization independent of the data and labels, Eq. (4) admits the standard matrix-exponential solution
(5)
When and , the training predictions satisfy , and hence as . The limiting predictor is therefore the interpolating endpoint of the trajectory. Our main results concern this unregularized dynamics; we retain fixed in intermediate formulas to state the corresponding extension.
The central dynamical quantity is the time of best generalization,
The subscript “es” stands for early stopping. We write when the minimum is attained only at convergence. This is an oracle quantity describing the trajectory; selecting a stopping time in practice would require validation data.
High-dimensional kernel reduction. We consider the high-dimensional limit with . In this work we consider positive-semidefinite dot-product kernels with fixed and with three continuous derivatives near zero and a finite value at one. Define
(7)
With X having rows and , kernel linearization (El Karoui, 2010; Do and Vu, 2013) yields
For every , as with ; the kernel and initialization variance remain fixed. Although the rank-one term matters for this matrix identity, we show in Appendix A that it does not affect the limiting memorization and generalization errors at fixed positive time. We can therefore compute the errors using the equivalent kernel . The assumption excludes purely linear kernels. We will show that only the ratio of and enters the error trajectories, after appropriate rescalings.
This reduction exposes the kernel geometry relevant to our question. The component retains the input-dependent directions that support learning the shared rule. The diagonal component , which aggregates the higher-order part of the nonlinear kernel, namely , provides the additional capacity needed to fit unpredictable training labels. Their relative strength determines whether continued training improves or eventually harms generalization, while the overall scale only sets the training-time scale. In all numerical validations, we use the original nonlinear kernel rather than imposing the linearized form.
3 Learning curves and the early-stopping boundary
We now determine when kernel gradient flow should be stopped before convergence. In the proportional high-dimensional limit, we derive the complete generalization and memorization trajectories. Although the shape and time scale of these trajectories depend on the sample ratio, initialization, and overall kernel scale, whether generalization is optimized at finite time or at convergence is governed by a single kernel-geometry parameter. We first state the exact learning curves and then identify this early-stopping boundary.
At each fixed positive reduced time and in the high-dimensional limit stated above, the two errors in Eqs. (2) and (3) converge to
(9)
The four quantities are time-dependent scalars. The finite optimal stopping time defined in Eq. (6) is found by solving the one-dimensional stationarity condition minimizing , with , and comparing the generalization errors at its candidate minima and at the endpoints.
The scalar parameters satisfy the closed one-dimensional expressions
(10)
(11)
where
(12)
Here the variable represents an eigenvalue of ; the corresponding effective-kernel eigenvalue is . We write for an average over the limiting eigenvalues of . For spherical inputs, is the Marchenko–Pastur law and the corresponding random variable (Marčenko and Pastur, 1967), with details in Appendix B; has continuous value zero at . The remaining variables in Eqs. (10) and (11) are
Thus, at fixed reduced ridge and initialization , kernel geometry enters only through the kernel angle . Different kernels are therefore distinguished by , and kernels with the same angle have identical error trajectories in reduced time. In the formulas above and measure alignment with the rule and variance of predictions on new inputs.
The quantities are instead the limiting mean and variance of the signed margin for a typical training fact. Its asymptotic Gaussian law gives the memorization error in Eq. (9). All time limits below are taken after the high-dimensional limit.
The learning curves are obtained by solving the gradient-flow dynamics independently in each eigenvector of , as is well known from (Ali et al., 2019; Advani et al., 2020; Bodin and Macris, 2022); all the details are given in Appendix B. The functions , and in Eq. (12) are usually called spectral filters: they determine how each eigenvector of contributes to the prediction at time (Ali et al., 2019). To compute , we additionally derive the asymptotic distribution of the signed training margins on the randomly labelled examples, whose mean and variance are and . At , gradient flow converges to exact interpolation, meaning zero squared loss on the training set. Correspondingly, , and hence , , and . Interpolation alone, however, does not determine generalization: the spectral filter entering test predictions is and therefore depends on the kernel geometry (or equivalently). Different kernel geometries can thus fit every training label exactly while producing different limiting test errors.
The kernel angle determines whether early stopping is needed. The location of the minimum generalization error along the trajectory is governed by a sharp threshold in the kernel geometry. Define
At zero ridge, , for every sample ratio , every fixed finite initialization scale and every random-label fraction , the generalization error in Eq. (9) decreases until convergence when . Its minimum is therefore attained at the interpolating endpoint, corresponding to . When , the generalization error eventually increases, and its minimum is attained at a finite positive time, . Because zero-ridge gradient flow converges to exact interpolation for every kernel considered here, this is precisely a boundary between kernels for which training to interpolation is optimal and kernels for which early stopping strictly improves upon the interpolating solution. The boundary depends only on the random-label fraction .
More generally, for fixed explicit regularization ,
In Appendix C we establish this result by analyzing the derivative of the ratio in Eq. (10). Remarkably, the boundary is independent of the sample ratio and the initialization scale . The same criterion extends to input covariances with bounded eigenvalues when the ground-truth direction is independent of the covariance eigenbasis and isotropically distributed; precise

Figure 2: The generalization cost of training to interpolation. For , , and , colors show from Eq. (16) in percentage points, comparing interpolation with optimal stopping for the same kernel. The gray region has exactly zero stopping benefit. The dashed line, (for ), separates it from a region with a finite optimal stopping time, independently of . Contours mark benefits of 0.1, 0.2, 0.3, and 0.4 percentage points.
assumptions are given in Appendix D. It is also unchanged under Euclidean gradient flow in the dual coefficients, as shown in Appendix C.
The cost of training to interpolation. The boundary above determines whether early stopping improves generalization. To quantify the size of this improvement, we compare the interpolating endpoint with the best point along the trajectory of the same kernel at fixed :
A positive value is the test-error penalty incurred by continuing to interpolation; a zero value means that convergence is optimal for the chosen kernel. Figure 2 shows this quantity as the sample ratio and the fraction of random labels vary, at fixed , zero initialization, and . For this kernel, the condition gives . Below and on this line, ; above it, finite-time stopping strictly improves on interpolation. The sample ratio does not move the boundary, but it changes the cost of training beyond the optimum. The phase diagram therefore distinguishes the existence of an early-stopping benefit from its magnitude. Here optimality is assessed at a fixed kernel; the comparison across kernel geometries follows in the next section.
4 Optimal interpolation at the critical geometry
The preceding section determined, for each fixed kernel geometry, represented by , whether generalization is optimized by early stopping or by training to interpolation. We now set and ask the stronger question of which kernel geometry and training time jointly attain the lowest generalization error. We will show that this happens for the critical kernel family
Applying Cauchy–Schwarz to Eq. (10) gives
This bound holds at every finite training time for every smooth dot-product kernel satisfying our assumptions. At the critical geometry, i.e. for kernels at from Eq. (14), equality is attained at convergence where . Consequently, the main result of the paper can be stated as
Kernels from the critical kernel family with therefore interpolate every training label while attaining the lowest generalization error available across the entire kernel family and all training times. In particular, no finite-time iterate for another unregularized kernel can match or improve upon this interpolating endpoint. This is stronger than benign interpolation: the interpolating predictor is not merely competitive, but minimizes the generalization error over all kernel geometries and all earlier stopping times considered here.
The same critical relation as in Eq. (17) was identified to be relevant for the ERM solutions by Farné et al. (2026); the new dynamical conclusion is that this endpoint also outperforms every early-stopped solution. Appendix C gives the equality conditions, and Figure 3 compares converged and optimally stopped errors across kernel angles and initialization scales.
When is the bound attained? Equality in Eq. (18) requires the initialization contribution to in Eq. (10) to vanish and
for some constant and on the positive spectral support. The critical angle is the unique angle attaining this bound, and it does so only at convergence. In Figure 3, we plot converged and best stopped test errors against . The dashed curve for looks nearly flat above , but remains strictly above the critical value as shown in the inset. The gap is more visible for . In Appendix C we provide the equality argument.

Figure 3: Test error at interpolation and optimal stopping. We fix , , and and evaluate Eqs. (9) and (10). The solid curve is ; the dashed and dash-dotted curves are for and 1. For , Eq. (15) gives , so all three curves coincide. The star marks the unique global optimum at from Eq. (14). For larger angles, finite optimal stopping remains strictly above this value; the gap is more visible for . The inset zooms on the increasing excess for the dashed blue curve at , to highlight that the minimum is truly attained only at .

Figure 4: Kernel geometry controls the gradient-flow trajectory. We fix , , , and . Arrows indicate increasing time; the cross marks test-error minima and the blue dot marks convergence. The blue trajectory benefits from early stopping. Red and green improve until interpolation, but only the critical red kernel attains the test-error bound in Eq. (18) (vertical line).
Three geometries, three generalization–memorization paths. Figure 4 displays the analytical trajectories in the same coordinates as the neural-network trajectories in Figure 1. The data distribution, sample ratio, and initialization are fixed, while we vary the kernel angle . We distinguish three regimes, corresponding to the following kernel families.
• Rule-dominated kernels, , generalization initially improves but eventually deteriorates as the randomly labelled examples are fitted, producing a finite optimal stopping time.
• Fact-dominated kernels, , the generalization error continues to decrease until interpolation, but the resulting predictor remains suboptimal relative to the critical kernel.
• Optimal kernels, : the trajectory reaches the lowest (among all considered kernels and stopping times) test error at the interpolating endpoint, where the memorization error vanishes. Thus, eliminating the benefit of early stopping is not sufficient: optimality is attained specifically at the boundary between the finite-time and interpolation-optimal regimes.
All three kernel families have enough capacity to eventually interpolate the training data. What differs is how fitting the unpredictable labels affects predictions on new examples. The critical geometry provides a fixed-representation mechanism through which interpolation can be completed without sacrificing the best generalization attainable within the kernel family. Its trajectory qualitatively resembles those of the larger, deeper neural networks in Figure 1. The kernel analysis does not, however, explain how neural-network training constructs a representation with analogous properties. Determining which aspects of feature learning, model size, and architecture produce this behavior remains an open question.
Early stopping and ridge follow different paths. Early stopping and ridge regression both regularize least squares, but generally give different predictors (Yao et al., 2007; Ali et al., 2019; Stark and Steinberger, 2025). Here we compare their generalization and memorization

Figure 5: Gradient flow and ridge follow different parametric paths. We fix , , and , with , ( ), and . For each kernel, we plot the test-error difference between unregularized kernel gradient flow and converged kernel ridge regression at the same memorization error. Negative values favor gradient flow. Squares mark the shared and classification limits; the circle marks the shared interpolating endpoint. Curves are numerical evaluations of Eqs. (9)–(11); we use the ERM ridge result of Farné et al. (2026). More details in Appendix E.
errors in the RAF model, and relate the optimal stopping time to the optimal ridge parameter found by Farné et al. (2026). We set . From Eq. (12), the spectral filters , with reduced time and reduced ridge regularization , for unregularized gradient flow and converged ridge regression are
(21)
with . The first expression has ; the second is evaluated after training to convergence. To make them equal at a positive eigenvalue , solve for . This gives
The required value depends on s. This is the generalized-ridge interpretation of gradient flow (Ali et al., 2019).
For a fixed kernel angle, the optimal nonnegative ridge regularization is (Farné et al., 2026)
When , this choice is positive and makes , exactly the filter of the unregularized critical kernel at convergence. Ridge therefore attains the bound in Eq. (18) while retaining positive training square loss. Finite-time gradient flow does not satisfy the equality condition in Eq. (20), so
For , both procedures attain their lowest test error at the shared interpolating endpoint, and ; among these kernels, only attains the bound.
The distinction also concerns the entire generalization-memorization path. Figure 5 compares the two test errors at the same memorization error, making their small differences clearly visible.
5 Discussion and Conclusion
In this work, we asked whether the presence of extensive label noise necessarily makes early stopping preferable to interpolation. The noisy CIFAR10 experiments in Fig. 1 and Appendix F support the hypothesis that deep and highly overparameterized neural networks actually do not benefit from early stopping. Figure 1 shows that the larger and deeper networks attain their best observed test performance only after their memorization error reaches zero, while fixed-feature and shallower models exhibit late-time test-error deterioration. Appendix F shows that this observation is robust beyond the setting of Fig. 1: it persists across a range of training recipes, including cross-entropy, data augmentation, and a scheduled learning rate, as well as across additional optimization controls.
We then asked whether the absence of a benefit from early stopping can be reproduced in an analytically solvable setting. Our analysis of high-dimensional learning curves for kernel gradient flow shows that it can. Kernel geometry determines whether the lowest test error occurs at a finite time or at convergence. We identify a critical kernel geometry for which the interpolating predictor attains the lowest test error across the considered kernel family and all training times. Thus, fitting unpredictable labels need not come at the expense of generalization, in a sense yet considerably stronger than the one known from the literature on benign overfitting.
The critical-kernel trajectory provides a concrete fixed-representation counterpart of the behavior observed in the deeper neural networks: fitting the unpredictable labels does not produce a late-time deterioration of generalization, and the best test error is attained at the end of the trajectory. Our analysis does not, however, establish that the networks learn this same geometry, nor does it explain how feature learning, architecture, and optimization produce the empirically observed behavior. The theory nevertheless places the empirical hypothesis formulated in the introduction on a precise footing: even under extensive label noise, the absence of a benefit from early stopping is possible and can be controlled by representation geometry. Understanding how larger and deeper feature-learning architectures realize analogous behavior remains an open question.
All the results can be reproduced using the code provided in the repository: https://github.com/SPOC-group/Early-stopping.
Acknowledgement
We acknowledge funding from the Swiss National Science Foundation grants SNSF SMArtNet (grant number 212049), the Simons Collaboration on the Physics of Learning and Neural Computation via the Simons Foundation grant (#1257413 (LZ)), and the Swiss State Secretariat for Education, Research and Innovation (SERI), which funded the ERC Advanced Grant SPASM-net.
We thank Giulio Biroli for his question about extending the work Farné et al. (2026) to the dynamical domain, and Gabriele Farné for useful discussions.
AI Use Statement
In this work, we used generative AI tools to help check, and polish mathematical derivations, as well as for literature searches. Generative AI was also used to provide feedback on numerical methodology, in particular data preprocessing and code development. We also used AI to polish the writing. We have reviewed all AI-assisted work and we take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
References
Madhu S Advani, Andrew M Saxe, and Haim Sompolinsky. High-dimensional dynamics of generalization error in neural networks. Neural Networks, 132:428–446, 2020.
Alnur Ali, J Zico Kolter, and Ryan J Tibshirani. A continuous-time view of early stopping for least squares regression. In The 22nd international conference on artificial intelligence and statistics, pages 1370–1378. PMLR, 2019.
Devansh Arpit, Stanisław Jastrzębski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In International conference on machine learning, pages 233–242. PMLR, 2017.
Yingbin Bai, Erkun Yang, Bo Han, Yanhua Yang, Jiatong Li, Yinian Mao, Gang Niu, and Tongliang Liu. Understanding and improving early stopping for learning with noisy labels. Advances in Neural Information Processing Systems, 34:24392–24403, 2021.
Peter L Bartlett, Philip M Long, Gábor Lugosi, and Alexander Tsigler. Benign overfitting in linear regression. Proceedings of the National Academy of Sciences, 117(48):30063–30070, 2020.
Frank Bauer, Sergei Pereverzev, and Lorenzo Rosasco. On regularization algorithms in learning theory. Journal of complexity, 23(1):52–72, 2007.
Antoine Bodin and Nicolas Macris. Gradient flow in the gaussian covariate model: exact solution of learning curves and multiple descent structures. arXiv preprint arXiv:2212.06757, 2022.
Blake Bordelon and Cengiz Pehlevan. Learning curves for SGD on structured features. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=WPI2vbkA13Q.
Blake Bordelon, Abdulkadir Canatar, and Cengiz Pehlevan. Spectrum dependent learning curves in kernel regression and wide neural networks. In International Conference on Machine Learning, pages 1024–1034. PMLR, 2020.
Abdulkadir Canatar, Blake Bordelon, and Cengiz Pehlevan. Spectral bias and task-model alignment explain generalization in kernel regression and infinitely wide neural networks. Nature communications, 12(1):2914, 2021.
Alain Celisse and Martin Wahl. Analyzing the discrepancy principle for kernelized spectral filter learning algorithms. Journal of Machine Learning Research, 22(76):1–59, 2021.
Florentin Coeurdoux, Grégoire Ferré, and Jean-Philippe Bouchaud. Random matrix theory of early-stopped gradient flow: A transient bbp scenario. arXiv preprint arXiv:2604.18450, 2026.
Yen Do and Van Vu. The spectrum of random kernel matrices: universality results for rough and varying kernels. Random Matrices: Theory and Applications, 2(03):1350005, 2013.
Noureddine El Karoui. The spectrum of kernel random matrices. The Annals of Statistics, 38(1):1–50, 2010. ISSN 00905364, 21688966. URL http://www.jstor.org/stable/25662236.
Gabriele Farné, Fabrizio Boncoraglio, and Lenka Zdeborová. The rules-and-facts model for simultaneous generalization and memorization in neural networks. arXiv preprint arXiv:2603.25579, 2026.
Nikhil Ghosh, Song Mei, and Bin Yu. The three stages of learning dynamics in high-dimensional kernel methods. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=EQmAP4F859.
Walid Hachem, Philippe Loubaton, Jamal Najim, and Pascal Vallet. On bilinear forms based on the resolvent of large random matrices. Annales de l'IHP Probabilités et statistiques, 49(1):36–63, 2013.
Andi Han, Wei Huang, Zhanpeng Zhou, Gang Niu, Wuyang Chen, Junchi Yan, Akiko Takeda, and Taiji Suzuki. On the role of label noise in the feature learning process. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume
267 of Proceedings of Machine Learning Research, pages 21733–21773. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/han25c.html.
Tong He, Zhi Zhang, Hang Zhang, Zhongyue Zhang, Junyuan Xie, and Mu Li. Bag of tricks for image classification with convolutional neural networks. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 558–567. IEEE, 2019.
Reinhard Heckel and Fatih Furkan Yilmaz. Early stopping in deep networks: Double descent and how to eliminate it. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=tlV90jvZbw.
Ting Hu and Yunwen Lei. Early stopping for iterative regularization with general loss functions. Journal of Machine Learning Research, 23(339):1–36, 2022.
Arthur Jacot, Franck Gabriel, and Clément Hongler. Neural tangent kernel: Convergence and generalization in neural networks. Advances in neural information processing systems, 31, 2018.
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. URL https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf.
Mingchen Li, Mahdi Soltanolkotabi, and Samet Oymak. Gradient descent with early stopping is provably robust to label noise for overparameterized neural networks. In International conference on artificial intelligence and statistics, pages 4313–4324. PMLR, 2020.
Tengyuan Liang and Alexander Rakhlin. Just interpolate: Kernel “ridgeless” regression can generalize. The Annals of Statistics, 48(3):1329–1347, 2020. doi: 10.1214/19-AOS1849.
Ilya Loshchilov and Frank Hutter. SGDR: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=Skq89Scxx.
Bruno Loureiro, Cedric Gerbelot, Hugo Cui, Sebastian Goldt, Florent Krzakala, Marc Mezard, and Lenka Zdeborová. Learning curves of generic features maps for realistic datasets with a teacher-student model. Advances in Neural Information Processing Systems, 34:18137–18151, 2021.
Vladimir A Marčenko and Leonid Andreevich Pastur. Distribution of eigenvalues for some sets of random matrices. Mathematics of the USSR-Sbornik, 1(4):457–483, 1967.
Song Mei, Theodor Misiakiewicz, and Andrea Montanari. Generalization error of random feature and kernel methods: Hypercontractivity and kernel matrix concentration. Applied and Computational Harmonic Analysis, 59:3–84, 2022.
Andrea Montanari and Pierfrancesco Urbani. Dynamical decoupling of generalization and overfitting in large two-layer networks. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen, editors, Advances in Neural Information Processing Systems, volume 38, Main Conference, pages 26530–26608. Curran Associates, Inc., 2025. doi: 10.52202/085713-0895. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/261a154e3de61a0a8a1303c8a6c81ac7-Paper-Conference.pdf.
Preetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang, Boaz Barak, and Ilya Sutskever. Deep double descent: Where bigger models and more data hurt. Journal of Statistical Mechanics: Theory and Experiment, 2021(12):124003, 2021.
David Nualart and Giovanni Peccati. Central limit theorems for sequences of multiple stochastic integrals. The Annals of Probability, 33(1):177 – 193, 2005. doi: 10.1214/009117904000000621. URL https://doi.org/10.1214/009117904000000621.
Giovanni Peccati and Ciprian A Tudor. Gaussian limits for vector-valued multiple stochastic integrals. In Séminaire de Probabilités XXXVIII, pages 247–262. Springer, 2005.
Alethea Power, Yuri Burda, Harri Edwards, Igor Babuschkin, and Vedant Misra. Grokking: Generalization beyond overfitting on small algorithmic datasets. arXiv preprint arXiv:2201.02177, 2022.
Garvesh Raskutti, Martin J Wainwright, and Bin Yu. Early stopping and non-parametric regression: an optimal data-dependent stopping rule. The Journal of Machine Learning Research, 15(11):335–366, 2014.
Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In 2018 IEEE/CVF conference on computer vision and pattern recognition, pages 4510–4520. Ieee, 2018.
Jack W Silverstein and Sang-Il Choi. Analysis of the limiting spectral distribution of large dimensional random matrices. Journal of Multivariate Analysis, 54(2):295–309, 1995.
Rishi Sonthalia, Jackie Lok, and Elizaveta Rebrova. On regularization via early stopping for least squares regression. arXiv preprint arXiv:2406.04425, 2024.
Thomas Stark and Lukas Steinberger. Implicit vs. explicit regularization for high-dimensional gradient descent. arXiv preprint arXiv:2502.10578, 2025.
Jingfeng Wu, Peter L. Bartlett, Sham M. Kakade, Jason D. Lee, and Bin Yu. Risk comparisons in linear regression: Implicit regularization dominates explicit regularization (extended abstract). In Steve Hanneke and Tor Lattimore, editors, Proceedings of Thirty Ninth Conference on Learning Theory, volume 336 of Proceedings of Machine Learning Research, pages 6849–6851. PMLR, 29 Jun–03 Jul 2026. URL https://proceedings.mlr.press/v336/wu26a.html.
Yuan Yao, Lorenzo Rosasco, and Andrea Caponnetto. On early stopping in gradient descent learning. Constructive approximation, 26(2):289–315, 2007.
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016.
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=Sy8gdB9xx.
A From a nonlinear kernel to an effective linear predictor
In this appendix we recall the model and learning problem, then explain why a nonlinear kernel has a simple high-dimensional description. We give the full kernel gradient-flow solution, calculate the RAF label moments, and then justify the effective linear predictor and removal of the constant kernel component. Appendix B uses this description to derive the four order parameters and the low dimensional description for the generalization and memorization errors.
Setting and notation. We work in a supervised setting. We start from inputs that are independent and uniform on the sphere . A vector specifies a common rule to be learned and is independent of the inputs. With probability , sample has label , where g^\mu = x^\mu^\top w_\star / \sqrt{d}; with probability , it has an independent, equally likely label . We call the latter samples facts and denote their indices by . The rows of are x^\mu^\top, and collects the labels. In particular, and .
We learn this data model with a fixed positive-semidefinite dot-product kernel , with training matrix and test vector . We assume the function has three continuous derivatives near zero and is finite at one. We define the coefficients
The kernel angle is defined as . For example, a power series with nonnegative summable coefficients, , and the stated smoothness defines an admissible kernel.
Writing for its reproducing-kernel Hilbert space, kernel ridge regression minimizes the regularized square loss:
We follow the RKHS gradient flow of this functional, starting from with independent . The predictor remains in this span, because its time derivative is a linear combination of the same training kernel functions, namely . The loss is summed over samples, rather than divided by . Generalization is the probability of disagreeing with the rule on a new independent input, while memorization is the classification error on the training facts, as in Eqs. (2) and (3) of the main text.
Throughout these two appendices, the high-dimensional limit we consider is at fixed , with , a fixed kernel, fixed , finite , and fixed . The time limit is taken afterwards. Unless otherwise stated, a vanishing random error means convergence in probability in the high-dimensional limit: its probability of exceeding any fixed positive tolerance tends to zero. The spherical inputs have population covariance ; general covariance is treated separately in Appendix D.
Kernel matrix. Write the sample covariance . Its diagonal entries equal one, and off-diagonal entries are of order . Its largest eigenvalue remains bounded at fixed . Here , so the kernel entries are . Expanding around zero therefore gives a constant and a linear term; the quadratic term has off-diagonal mean . The diagonal is evaluated directly at . The resulting kernel expansion is taken from El Karoui (2010), with related extensions in Do and Vu (2013), and reads
(27) where is the largest singular value and the convergence is in the high-dimensional limit just specified. This is Eq. (8). Spherical inputs can be represented as with independent standard Gaussian ; their normalization factors tend uniformly to one, giving the corresponding spherical form of the kernel expansion.
For Gaussian random-feature kernels, the constant, linear and higher-degree contributions are the squared Hermite coefficients of the underlying activation (Mei et al., 2022; Farné et al., 2026). Throughout this work we assume both and ; the latter condition excludes purely linear kernels.
RKHS gradient flow and its solution. For the functional in Eq. (26), the reproducing identity , which expresses evaluation at a sample as an RKHS inner product, yields
The gradient is taken with respect to the function , with the RKHS inner product; the kernel itself remains fixed. Substituting into gives the coefficient dynamics and their solution,
This is the standard kernel least-squares solution (Ali et al., 2019; Ghosh et al., 2022). The alternative Euclidean coefficient gradient has an extra factor K, as explained in Appendix C.
RAF label moments. At fixed X, the label-dependent part of Eq. (29) is linear in y. Its cross-moment with the rule vector therefore requires , while its covariance requires and the initialization variance. We calculate these label moments first; their role in the prediction errors will become explicit after reducing the predictor below. We separate each label into a part correlated with the rule field and a residual, as in the square-loss RAF and Gaussian-covariate calculations (Farné et al., 2026; Loureiro et al., 2021). Conditional on X, is Gaussian with covariance and unit marginal variance since and . For , ; the independent random labels contribute zero correlation because each factual label is independent of and has mean zero. Hence
This is an exact decomposition of the binary labels. To see what moments it supplies, we use the Gaussian identities and for unit-variance . They give
Since , Eq. (31) also gives and . Expanding at the small off-diagonal overlaps and then expanding the products with gives
(32)
The term has diagonal ; adding restores . Here and below, denotes a correction vanishing in probability in the proportional high-dimensional limit. The decomposition and the zero cross-moment are exact at finite dimension. The covariance simplification is asymptotically exact: the omitted off-diagonal entries are , whose squared sum is . Their Frobenius norm, and hence their operator norm, therefore vanishes. The labels are centered conditional on , by the symmetry of the Gaussian rule field and the independent random signs. The residual need not be Gaussian or have independent entries. Only its covariance and cross-moment enter the overlap and squared-norm calculations below; the Gaussian limit of factual margins is justified separately.
Prediction on an independent test input. For a new input , the test vector is and the prediction is . All these overlaps are small: unlike the training matrix, the test vector has no diagonal entry . Expanding each entry of the test vector, , gives
Here contains the quadratic term with its mean removed, , and the higher-order terms. The spherical fourth-moment identity , together with , gives, conditional on the training inputs,
To control the sum over all training examples, first note that the coefficients have total squared norm of order at fixed time. For an eigenvalue of , Eq. (29) has label response . Since and the initialization is independent and centered,
Now write and average over the independent test input while holding and fixed. Equation (34) gives
(36)
The diagonal sum is by Eq. (35). For the off-diagonal sum, the spherical moments and give
Cauchy–Schwarz therefore bounds the absolute off-diagonal sum by . Both terms in brackets are of order , and the mean squared correction is . This calculation does not assume independence between the coefficients and training inputs. Higher Taylor terms involve at least three overlaps; their sixth moments are , giving a total correction of order . Combining these vanishing terms with Eq. (33) leaves only the constant offset and linear prediction term.
Thus the full prediction has the form
We now show that the constant offset and its effect on the remaining coefficients also vanish.
Why the constant does not affect the limiting errors. Equation (38) separates the prediction into a constant and an input-dependent part. We denote the constant by , recalling that . We now show that vanishes at every fixed positive time. Substituting the kernel expansion in Eq. (27) into the coefficient flow, and omitting its vanishing remainder, gives
Multiply this equation by . Since and , the last two terms become and . Therefore
We calculate the mean squared offset, averaging over the rule vector, label assignments and initialization. We first keep X fixed so that the matrices governing the flow are known. The averages then use the centered label covariance derived above. Its bounded eigenvalues give
Here denotes the largest eigenvalue. To estimate the second sum, we use the full matrix governing the coefficient dynamics,
At an intermediate time , the solution is
For an eigenvalue of , the initialization is multiplied by , while the labels are multiplied by . These are the two factors controlling the fluctuations of . More explicitly, for any vector fixed once is fixed, independence of the centered initialization and the labels gives
(44)
The sum needed here is obtained by choosing . Thus supplies the weights of the sum, while determines their time evolution. We obtain
(45)
Both sums on the right-hand side of Eq. (40) thus have fluctuations of order . This conclusion does not require them to be independent. The estimates hold for typical input matrices, for which and remain bounded.
We first consider , so . Multiplying the scalar equation by and integrating gives
(46)
The first term comes from initialization. Since the initial coefficients are independent, centered and have variance , we have . Its contribution therefore decays exponentially at fixed .
For the integral term, the preceding variance estimates give a size of order for the expression in parentheses, uniformly over . Here and below, size means root mean square. Integrating these sizes bounds the root mean square of the integral, even though its values at different times are correlated. Its contribution is consequently bounded, up to a factor independent of n, d, by
Thus the initial term disappears exponentially and the integral term has squared size :
If , then . Applying the coefficient variance estimate with directly gives
The constant prediction therefore vanishes in both cases.
To justify removing the constant from the training matrix as well, we must compare the coefficients obtained with and without it. Define
Starting from the same initialization and using the same labels, the coefficients for this matrix are explicitly
Their equation is . Subtracting it from the full coefficient equation and integrating gives
Every eigenvalue of is positive, so the exponential can only decrease the norm of each vector . Since that vector has norm ,
For , the initial contribution to this bound is of order , and the learned contribution is . For , the bound is , which also remains finite. The coefficient difference need not vanish, but its contribution to the errors does. Indeed, the training-prediction difference is . The preceding estimates and the bounded eigenvalues of give
For a new input with covariance , the change in the input-dependent prediction has mean square
Here the average also includes the new input x. Both prediction differences vanish, as does the constant offset. We may therefore use the effective dynamics in the limiting calculations of and below. This argument applies at fixed .
In the following calculations we write simply for : it solves the effective flow displayed above, starting from the original initialization . The symbol continues to denote the original prediction, which differs from the effective prediction by a vanishing amount at fixed .
After this removal, define the effective weight vector by
Thus is the linear predictor seen by a new input in the high-dimensional limit. The diagonal component still changes the fitted coefficients , but it has no direct diagonal contribution to the test vector. This distinction between the training matrix and test prediction is also central to the static RAF analysis (Farné et al., 2026).
Example: the full RBF kernel. For , Eq. (25) gives
After reducing time by and fixing the reduced initialization variance, only their ratio enters the unregularized calculation. Thus, the properties of the kernels we consider in our equations are entirely summarized by the kernel angle . We invert this relation to match a desired angle in numerical checks of the theory. Those simulations use the full RBF kernel, including its nonzero constant term, rather than the effective matrix in Eq. (56).
B Derivation of the order parameters' equations
In this appendix we derive the low-dimensional learning curves from the effective predictor established in the previous Appendix A. We first solve its reduced eigenmode dynamics, then use the label moments already calculated to evaluate overlaps, prediction variances and factual margins. Finally, normalized traces become one-dimensional spectral integrals. This follows usual square-loss learning-curve calculations (Advani et al., 2020; Loureiro et al., 2021; Bodin and Macris, 2022).
To evaluate the solution with the effective kernel previously computed, we define the reduced quantities
Here is a shorthand for the kernel geometry. We absorb the factor into the coefficients by writing , while retaining for the original coefficients. With , Eq. (29) becomes
For an eigenvector of with eigenvalue , let and denote the projections of the coefficient vector and labels onto that eigenvector. Its kernel eigenvalue is , and its reduced dynamics are . Multiplying by the integrating factor and integrating from 0 to gives
Define and . Applying these scalar functions to each eigenvalue reconstructs the matrix solution:
These functions are usually denoted as spectral filters (Ali et al., 2019): they specify how much each eigenvector contributes at time . The training predictions are , so their response to the labels is . For test prediction , the rule-dependent part of the labels contributes a factor (through ), and forming the effective weight vector in Eq. (56) contributes . Together these give the factor in .
The effective predictor and its overlap with the rule. By Eq. (56), , with the factor already included in . Substituting the label decomposition in Eq. (30) into Eq. (61) gives
(62)
To obtain the second line, write the compact singular-value decomposition , where contains the positive eigenvalues shared by and . Then
Each factor or contributes , giving . Both sides vanish on the null space of because . The three terms are the part fitted from the rule vector , the part fitted from the label residual, and the remaining initialization.
The normalized overlap measures alignment with the rule, and is the variance of predictions on a new input. They concentrate around the deterministic limits and at fixed and . For example, multiplying Eq. (62) by and averaging gives
The residual term averages to zero by , and the initialization term averages to zero by independence. Similarly, the mean squared norm is the sum of the squared norms of the three terms in Eq. (62): their pairwise scalar products have zero conditional mean. The three contributions are
(65)
All expectations in these three lines are conditional on . We used and Eq. (32). The term comes from the covariance remainder in that equation. The normalized quadratic forms concentrate around these conditional means in the isotropic proportional limit (Advani et al., 2020; Loureiro et al., 2021; Bodin and Macris, 2022). In particular,
(66)
These limits are taken at fixed as specified in Appendix A and Section 2 of the main text.
From matrix traces to one-dimensional integrals. The nonzero eigenvalues of and coincide. The eigenvalue distribution of tends to the Marchenko–Pastur law (Marčenko and Pastur, 1967),
We use the same average notation as in the main text: . Here denotes the measure with its dependence on the sample ratio made explicit. It has total mass one and mean eigenvalue one, so . Counting the same nonzero eigenvalues in the two matrices gives
For large , the normalized trace averages over the empirical eigenvalue distribution, which converges to . Changing the normalization from to introduces the factor . Since , Eq. (66) becomes
At , is defined by its continuous limit, zero. These are Eq. (10). For a new spherical input, two linear classifiers disagree with probability equal to the angle between their weight vectors divided by . Since , the test error defined in the main text in Eq. (2) therefore concentrates to the standard formula , giving the first formula in Eq. (9).
Mean and variance of a factual training margin. We now derive a low-dimensional expression for the memorization error on the training facts, defined in Eq. (3). We use the effective dynamics from Appendix A, which give the same limiting margin for a typical training sample. Their prediction vector is
For compactness within this calculation only, we write and . The th entry of Eq. (70) is . For a fact , multiply this entry by and separate the term . Since , the signed margin satisfies
Here comes from replacing the full nonlinear-kernel predictor by its effective-kernel limit in Appendix A. We now compute the mean and variance of this margin. We hold the inputs X fixed and condition on being a fact; the average is over the ground truth vector , the remaining label assignments, the random labels and the initialization. The order parameters in Eq. (11) are
(72)
The limits are in probability, with and fixed . In Eq. (71), the fact's own label contributes , while the other two terms have zero mean: is a balanced sign independent of the remaining labels and initialization. Therefore
For the variance, we subtract this mean and square the remaining terms. The cross term between the labels and initialization averages to zero because is centered and independent of the inputs, target vector and labels. Using , we obtain
(74)
Here is the label covariance in Eq. (31), and . Conditioning on being a fact leaves the other label moments unchanged, so Eq. (32) applies.
Removing the index from each sum gives the useful identities
(75)
The last term uses .
For the independent spherical inputs, a typical diagonal entry of these matrix functions concentrates around its average, the normalized trace. With , . Isotropic eigenvectors have squared components averaging to . The normalization is therefore , the number of training examples, rather than . Thus the mean gives
The limits are in probability for a typical fixed index and fixed . For the variance, the matrices , , and have respective eigenvalues , , and . Replacing their diagonal entries in Eqs. (74)–(75) by the corresponding spectral averages gives
(77)
The last equality uses and gives Eq. (11). The atom at zero in Eq. (67) must be included: when , the diagonal part of the kernel also fits training directions absent from the linear predictor on new inputs.
From factual margins to memorization error. The moment calculation above does not by itself imply a Gaussian margin. We now justify this last step. For a typical fact and fixed , the off-diagonal row of is spread over many training examples. In particular,
The first relation follows from Eq. (75) and the concentration of diagonal entries around normalized traces. For the second, recall the Gaussian representation of the spherical inputs from Appendix A, namely and , with : the row normalization is asymptotically negligible, while the corresponding Gaussian sample covariance has isotropic eigenvectors because left multiplication of Z by an orthogonal matrix leaves its Gaussian law unchanged. Thus the off-diagonal entries of the bounded spectral function vanish individually. Equation (78) says that the off-diagonal margin has finite total variance, but no individual training example contributes at order one.
To identify its limiting law, it is useful to separate the linear Gaussian part of the rule labels from the remaining fluctuations. Using , the off-diagonal label contribution in Eq. (71) can be written exactly as
(79)
We added and subtracted , then removed its linear Gaussian projection . This projection follows from , so . The first term is a linear function of the Gaussian field , with , and is therefore Gaussian exactly.
The last term is the fluctuation of each label around its mean when the rule field is known. Conditional on , the label agrees with with probability and has the opposite sign with probability . Hence
These centered fluctuations are independent across examples at fixed and are bounded by two in absolute value. Their weighted sum has variance . Equation (78) makes this variance finite while the largest individual contribution vanishes, giving a Gaussian limit by the conditional central-limit theorem. Its limiting variance does not depend on , so this contribution is asymptotically independent of the first two terms.
The middle term in Eq. (79) contains the rule labels after their linear Gaussian part has been subtracted. For a standard Gaussian , the residual sign has zero correlation with and variance . The bounded spectrum of and the weight estimates in Eq. (78) allow the Gaussian central-limit criteria to be applied to polynomial approximations of this residual, following Nualart and Peccati (2005); Peccati and Tudor (2005). As the polynomial approximation is refined, the mean squared difference between the weighted residual in the second line of Eq. (79) and its polynomial approximation tends to zero. The weighted residual therefore has a joint Gaussian limit with the linear Gaussian term in the first line of the same equation. Their covariance is zero because , the residual appearing in the second line, is uncorrelated with every component of . The two limiting Gaussian variables are therefore independent. Their variances, together with that of the last term, give the label contribution already calculated in Eq. (77). Finally, the initialization contribution in
Eq. (71) is already Gaussian conditional on X, since is Gaussian and independent of the data and labels. For a fact, is an independent balanced sign, so this multiplication does not change the centered Gaussian law.
Combining these contributions, the signed margin of a typical fact converges in distribution, at fixed positive , as with :
Here and are the limiting mean and variance derived in Eq. (77).
It remains to pass from a typical fact to the empirical memorization error. Let for a factual example. The measured error is the average . For two distinct facts, the joint Gaussian margin fluctuations have zero limiting covariance: the cross terms are off-diagonal entries of the bounded matrix functions used above, and these vanish. Their misclassification indicators therefore become uncorrelated. The variance of their average consists of a diagonal contribution of order and a vanishing off-diagonal contribution. Since , the measured fraction converges to the single-fact Gaussian tail probability,
Final low-dimensional equations. Combining Eqs. (69), (77) and (82) recovers the main formulas:
(83)
Here again , , initialization variance. All averages are one-dimensional Marchenko–Pastur integrals. The filters are given by Eq. (12), with and the reduced quantities in Eq. (58). These equations are Eqs. (9), (10) and (11) of the main text. At zero ridge and convergence, and , so and . Every factual margin then tends to one and , consistently with zero square loss on the whole training set. Generalization still depends on the kernel angle through .
C Why the critical kernel separates the stopping regimes
In this Appendix section we use , , and . We first prove the stopping criterion of Section 3, Eq. (15). At zero ridge, the test error initially decreases for every ; it keeps decreasing when and eventually increases when . We then compare all kernel angles and training times, proving the bound in Section 4, Eq. (18), and showing that the critical kernel attains it at interpolation. Finally, we check that Euclidean coefficient flow has the same stopping boundary. We consider , , and fixed finite initialization variance . All statements concern the limiting curves obtained as at fixed ; time is varied after this limit. Write . Separating the label and initialization contributions to , and writing , gives
(84)
Let minimize over , with . Since arccos decreases and for , this is equivalent to maximizing , or its square . Differentiating Eq. (83) gives
Thus every minimum at a finite positive time satisfies . We compare all candidate minima with the endpoints; uniqueness is not assumed.
Test error initially decreases for every kernel angle. This step rules out the initial classifier as the best point along the trajectory. If , Eq. (84) gives and , so increases just after initialization. If , both and vanish at , and we must start from the one-sided classification limit . Expanding in Eq. (84) gives
(86)
The last equality uses the Marchenko–Pastur moments , and . Thus initially decreases for either initialization and for every . We now determine whether its derivative remains negative or eventually becomes positive.
Convergence is optimal for at zero ridge. At , is equivalent to . The same proof also covers positive ridge whenever . Use the existing filter defined in Appendix B. In Eq. (84), an eigenvalue contributes to and to , where
Thus is the ratio of the integrands of (the label-induced prediction variance) and (the rescaled rule alignment), and is the fractional rate at which the latter integrand grows. For , increases with , whereas decreases.
For completeness, normalize the signal contributions into weights by defining . Since and , differentiation gives
Then and , so
Subtracting the two rates gives the numerator . Here is covariance under those same weights. Its sign follows directly from for every pair of eigenvalues, since increases while decreases. Therefore increases, since . Initialization adds a variance that decreases with time, while increases:
Its decay therefore reinforces the improvement in generalization. The Marchenko–Pastur law has an interval of positive eigenvalues, so the covariance is strictly negative at every finite positive time: unequal positive eigenvalues give a strictly negative product above, and their spectral weights are positive. Hence the test error strictly decreases until convergence, including at . At zero ridge, this is exactly the regime .
Finite stopping is beneficial for at zero ridge. At zero ridge, this is the regime . More generally, suppose . The long-time variance-to-signal ratio decreases with . The smallest positive eigenvalues of (corresponding to eigenvalues of ) therefore carry the most variance per unit signal, and they are also the last to relax. Let be the lower edge of the positive spectrum, possibly zero at . At long times, using gives the weighted average below. Its weight concentrates near as , since larger eigenvalues have an additional exponential decay.
By contrast, averages over the full positive spectrum. Since this function strictly decreases, its average is smaller than its value at . Consequently eventually decreases, so the test error eventually increases. The initialization has already decayed too quickly to change this conclusion: is bounded by a constant times .
Together with the initial decrease proved above, this late increase places the minimum test error at a finite positive time. This establishes the criterion in Section 3, Eq. (15): is equivalent to , or at zero ridge. The argument does not require a unique turning point.
Finding the finite stopping time. The derivatives follow directly from Eq. (69). Since and , differentiation under the spectral integral gives
Using then gives the explicit expressions
(93)
We compare the errors at the stationary candidates and the endpoints. A finite observation window cannot by itself establish that the optimum is at infinity; the boundary above does.
The critical kernel attains the lowest test error across angles and times. The stopping criterion compares times for a fixed kernel. We now set and compare the best test errors across all kernel geometries, parametrized by the single angle , as in Section 4. Starting from Eq. (69) or the trace formulas in Eq. (66), drop the nonnegative initialization variance and apply Cauchy–Schwarz. Writing , the two steps are
(94)
Combining them gives
This is the bound in Eq. (18); it holds for every kernel angle and every training time. Here denotes the resulting upper bound on squared correlation, and arccos is decreasing. Equality requires zero surviving initialization variance and proportional to , as stated in Eq. (20). At convergence, , so this condition holds only at . There and , and the predictor interpolates. Thus the critical endpoint attains the lowest test error across all angles and all training times, extending the ERM comparison of Farné et al. (2026) to the full learning trajectory. With the argument below we now show that no finite stopping time attains the same value.
At finite , equality would require throughout the positive spectral interval. The right-hand side is linear in , whereas the second derivative of the left-hand side is , which cannot vanish on an interval. Thus no finite-time filter attains equality, even at zero initialization. In particular,
Positive ridge can instead achieve at convergence when (Farné et al., 2026); this matches the optimal test error but no longer interpolates the training scores. All optimality statements here concern the stated smooth dot-product kernel family and training trajectories.
RKHS and Euclidean coefficient flow have the same boundary. The two flows minimize the same square-loss objective and converge to the same coefficients . Their distinction is the metric used for the gradient. In coefficient coordinates, RKHS length is , so the RKHS gradient multiplies the ordinary coefficient derivative by :
Consequently, Euclidean coefficient flow has one additional factor K in its dynamics. In the spectral formulas, the only change is the exponential factor and the time scale:
Substituting the second exponential into Eq. (83) gives the Euclidean learning curves. The curves and optimal times generally differ, but their ERM errors coincide because both exponentials vanish at convergence.
The stopping proof also keeps the same sign. For , in Eq. (87) is still increasing, and the fractional rate is now with , which still decreases with . For , the smallest positive eigenvalues still relax last and have the largest limiting variance per unit signal. The initialization contribution decays faster than this late-time correction. Initial improvement at follows by the same expansion, with an increasing variance-to-signal weight proportional to ; at , again starts proportionally to . Thus both metrics have the boundary , or at zero ridge. The main figures use RKHS flow.
D Extension to a general input covariance
In this appendix we show why the boundary survives an anisotropic input distribution when the target vector remains independent and isotropic. Replace only the input model by
and suppose the eigenvalue distribution of tends to a probability law . The target vector is still . The normalization fixes the rule field variance to one and gives inputs with asymptotic covariance ; their finite-dimensional covariance need not be exactly . Bounded eigenvalues exclude a single input direction carrying a finite fraction of the total variance. Here the rule field is , and its variance over the independent target vector at fixed input is . The trace condition fixes only the scale: multiplying by a positive constant leaves the normalized inputs unchanged.
The kernel expansion (27) remains valid with quadratic constant (El Karoui, 2010, Theorem 2.1). Gaussian sample-space rotational invariance, followed by asymptotically negligible row normalization, gives the same diagonal and factual-margin calculations. Hence Eq. (11) remains valid with equal to the new eigenvalue law of .
Test errors require an additional weighting: a new input has different variance in different feature directions. Define the positive measure by
It has total mass one. Repeating the trace calculation with test overlaps and yields
(101)
Cyclicity of the trace suffices; need not commute with . For isotropic inputs, Eq. (68) recovers the main formulas. In general differs from both the ordinary feature eigenvalue law and .
For numerical evaluation, one scalar covariance resolvent equation is sufficient (Silverstein and Choi, 1995; Hachem et al., 2013). In particular let be the Stieltjes transform of the eigenvalue law of . With the normalization , it satisfies
For Im , choose the solution with positive imaginary part and at infinity. The continuous eigenvalue density is
Any zero-eigenvalue mass is included separately in the averages defining . The test measure in Eq. (100) follows from the same solution: on the positive spectrum,
Thus only one density is computed, with an additional weight in the test integrals of Eq. (101). This weight accounts for the variance of a new input along each sample eigenvector. A possible atom of at zero does not contribute there, since the test integrands vanish at zero. For isotropic inputs the weight is , recovering the main formulas.
The same boundary, different errors and times. Replace by throughout the stopping proof. For initial improvement, use the spectral-moment expression in Eq. (86), before its Marchenko–Pastur simplification. Positivity of the measure, the opposing order of and , and the late-time concentration on the smallest supported positive eigenvalues are unchanged. Hence, for a nondegenerate positive spectrum, the boundary remains , and the best squared correlation becomes , again attained by the unregularized critical kernel. An interval of positive spectral support is sufficient to exclude finite-time equality; a discrete spectrum requires checking the filter equality at its supported eigenvalues. A single positive eigenvalue only rescales a zero-initialized classifier. These conclusions retain and finite initialization variance. They do not cover a target vector aligned with selected covariance eigenvectors, covariance spikes growing with dimension, or arbitrary structured inputs: those changes can give different spectral weights to rule learning and fitting random labels and can alter the boundary.
E Numerical checks and kernel experiments
In this section, we test our theoretical predictions in the previous appendix sections and in the main text against numerical simulations in several different learning regimes. We first compare the predicted generalization and memorization curves with the dynamics of a full nonlinear RBF kernel on synthetic RAF data. We then move to the CIFAR10 dataset construction of the main text, namely with cat/dogs images preserving their true labels (to generalize on) and randomized automobiles (to memorize), and examine whether changing the kernel produces qualitatively similar behavior on real image data.
E.1 Numerical evaluation of the gradient-flow and ridge comparison
Figure 5 compares two numerical evaluations of the analytical learning curves for kernel ridge regression and for kernel gradient flow. We use Eqs. (9)–(11) at for gradient flow and their limit at positive for ridge, consistent with the ERM analysis of Farné et al. (2026, Eqs. (21), (24), (35) and (36)).
E.2 Validation with the full RBF kernel
We generate data from the spherical RAF model and use the kernel
For each theoretical kernel angle, we choose the bandwidth through Eq. (57). The simulations use the full training and test kernels, retaining all nonlinear contributions and the nonzero constant term . No centering or subtraction of this term is performed. This allows us to test the effective-kernel reduction as well as the learning curves derived from it.
We compute the finite-sample dynamics by diagonalizing the RBF matrix and evaluating the high dimensional predictor in Eq. (5), with . Initialization is matched to the theory through . The theoretical curves are evaluated by spectral quadrature, including the zero-eigenvalue mass, and checked at higher resolution. Figure 6 uses in panels (a,b,c) and in panel (d). Each panel averages 12 independent realizations of the data, ground-truth vector and initialization, with 10000 fresh test inputs per realization. The remaining parameters are indicated in the figure.
Across these choices, the simulations reproduce the predicted learning curves, including delayed improvements in generalization and late overfitting. The same experiments also illustrate how the parameters change the relative timing of rule learning and factual memorization. Alongside the optimal stopping time in Eq. (6), we define the memorization time
and use in Figure 6. This threshold measures when factual classification error (memorization error) becomes small; exact interpolation of the training labels is reached asymptotically.
— : theory — : theory ○ RBF: □ RBF: ---- ……
(a) Initialization-delayed generalization , , ,
(b) Transient gain, then overfitting , , ,

(c) Early stopping before memorization , , ,
(d) Generalization before memorization , , ,

Figure 6: Numerical validation across four learning regimes. Lines show the theoretical generalization and memorization errors; circles and squares show the corresponding means from RBF simulations, with one standard error bars. All panels use and retain the kernel's nonzero constant term. Parameters are shown above the panels. (a) Delayed generalization after factual memorization. (b) Delayed generalization followed by late overfitting. (c) Optimal stopping before factual memorization. (d) Continued improvement toward the critical interpolating endpoint. Dotted lines mark and dashed lines finite . The corresponding reduced times are and .
By varying the initialization, sample ratio and kernel angle, we obtain the four behaviors shown in Figure 6, with agreement between theory and simulation in each case.
In panel (a), facts are memorized before generalization has finished improving. The large initialization delays the emergence of the rule in the predictions. Panel (b) shows a similar delay, followed by substantial deterioration as training fits label noise along the kernel eigenvectors associated with small eigenvalues. These are the slowest modes of gradient flow. Both panels have a finite test optimum, although the late deterioration in (a) is weak. Their delayed generalization resembles grokking (Power et al., 2022). Here this separation occurs in the presence of unpredictable labels and requires no feature learning.
In panel (c), the ordering is reversed: optimal stopping occurs while factual memorization is still incomplete. At , the sample covariance has a null space whose labels are fitted through the diagonal kernel component. These directions affect factual memorization without contributing directly to the test overlaps, allowing memorization to continue well after the test optimum. This is the classical overfitting scenario: test error increases as training continues to fit the unpredictable labels. In panel (d), useful generalization likewise develops while many facts remain unfitted, but the critical kernel continues to improve until convergence. Its interpolating endpoint therefore attains the best theoretical test error. Together, the four panels show that the theory captures both the different stopping regimes and the separation of learning times within them.
E.3 Kernel-dependent stopping on CIFAR10
We now examine the same generalization-memorization comparison on CIFAR10 data. Using the official CIFAR10 split (Krizhevsky, 2009), we construct training sets of 3072 images with balanced cat and dog classes and approximately 20% automobiles carrying fixed independent random labels. Generalization is measured on the official test cats and dogs, and memorization on the randomly labeled training automobiles. We repeat the experiment with five independently sampled training sets and factual label assignments.
Pixel coordinates are standardized using training statistics, and each image is then normalized to unit Euclidean norm. On these inputs , we use the full RBF kernel
We use zero initialization and zero ridge. The RKHS dynamics are evaluated by eigendecomposition on a logarithmic time grid, with the interpolating predictor computed separately at .

Figure 7: Kernel-dependent generalization and memorization on CIFAR10. Full RBF-kernel gradient flow with zero initialization and zero ridge. Curves show the unsmoothed mean errors over five repetitions; arrows indicate increasing time. Stars mark the minimum mean test error on the evaluated grid, including the exact convergence endpoint and choosing it when tied. Filled squares mark interpolation. The different bandwidths reproduce the qualitative contrast between trajectories that benefit from early stopping and trajectories with little or no observed deterioration near interpolation.
Figure 7 shows the mean trajectories for several kernel bandwidths. For some kernels, test error initially decreases and then rises as factual memorization is completed, producing a clear benefit from early stopping. For others, the trajectory reaches interpolation with little or no observed loss of generalization. The resulting endpoint errors nevertheless differ substantially: a kernel with little stopping benefit need not be the one with the best test performance.
This is the same qualitative distinction that appears in the theory. Kernel choice controls both whether late training is harmful and how well the interpolating predictor generalizes. The bandwidths shown were selected for illustration. These image experiments provide a qualitative comparison with the theoretical regimes shown in the main text.
F Neural-network experiments on CIFAR10
In this section we describe the experiments behind Figure 1 and examine how the observation varies with the training recipe used. The question is whether fitting the unpredictable labels in the dataset necessarily increases the test error on new cats and dogs with their original labels. We first report the square-loss protocol and unsmoothed network trajectories including the training loss, so as to complement Figure 1. We then consider augmented cross-entropy training and additional optimizer and residual-network controls. We also randomize labels on cats and dogs themselves, and vary the optimizer, sample size, batch size and random-label fraction. All these experiments compare finite training trajectories.
F.1 Data, observables and square-loss training
Following the CIFAR10 dataset construction of Farné et al. (2026), the dataset in Figure 1 contains 2800 cats labelled +1, 2800 dogs labelled -1, and 1400 automobiles assigned independent uniform labels in . Thus and . The official CIFAR-10 test split supplies 1000 new cats and 1000 new dogs. Pixels are standardized coordinatewise using training-set statistics. Errors are evaluated on the original, unaugmented images. Batch-normalization layers use the means and variances accumulated during training, which remain fixed during evaluation. A nonnegative score is classified as +1.
Alongside clean test error and factual memorization error of Equations (2) and (3), we also record the mean squared training loss . means that every randomized automobile is classified correctly, while zero square loss requires the scores themselves to equal their labels.
The architecture comparison includes a random-feature convolutional network (RF-CNN), a two-layer convolutional neural network (CNN), deeper CNNs and residual networks. The first two models have the form , where denotes the convolutional weights. RF-CNN keeps fixed at its random initialization and trains only the affine readout ; the two-layer CNN trains both. The feature map applies average pooling, a convolution with rectified linear activation (ReLU), spatial averaging, and a convolution with ReLU.
The four- and six-layer CNNs use blocks comprising a convolution, batch normalization and ReLU, followed by global average pooling, layer normalization and an affine output. ResNet-16 and WRN-28 denote a residual network and a wide residual network, respectively. Their depth labels follow the convention , where B is the number of residual blocks in each of three groups: two for ResNet-16 and four for WRN-28 (Zagoruyko and Komodakis, 2016). Each block contains two convolutions, with batch normalization and ReLU applied before each convolution (preactivation). A shortcut (a connection bypassing the two convolutions) adds the block input to its output, using a projection (a learned convolution) when their dimensions differ. Neither network uses dropout, and their widths are adjusted to the prescribed capacity used in each panel. Widths are chosen near , where P counts the number of all optimized weights for each architecture used. For the RF-CNN, P counts only the readout; the fixed first layer weights are additional.
Trainable networks minimize full MSE with constant-rate Nesterov SGD, momentum 0.9, batch size 128. The gradient of each parameter tensor is clipped to Euclidean norm five to limit unusually large updates. There is no augmentation, weight decay or learning-rate decay. The prescribed learning rates range from 0.005 to 0.02, depending on family and capacity, and are given in the code. Convolutional weights use Keras He-normal initialization: a zero-centered Gaussian distribution with its tails truncated, rescaled to variance . For a convolution with input channels, counts the scalar values used to compute one output activation. The two-layer CNN's readout weights are independent zero-mean Gaussian variables with variance equal to the inverse feature dimension; the deeper CNNs and residual networks use He-normal initialization for their readouts. Biases start at zero. Each epoch visits every training example in a random order. Training continues for 1500 epochs, corresponding to 82500 minibatch updates.
We use a fixed dataset and vary the initialization and minibatch order across seeds. Each curve averages over 28-30 completed runs. The dataset is fixed in all these runs.
The random feature CNN readouts start from zero and follow full-batch GD on MSE. Features are standardized using training statistics, scaled by the inverse square root of their dimension and supplemented with an intercept. The step size is , where is the largest singular value of this design matrix. The finite GD iterates are evaluated spectrally through steps, using a feature SVD or a Gram eigendecomposition according to feature dimension.
For readability, Figure 1 averages each error coordinate over at most seven neighboring saved observations within each seed, then averages across seeds. The window shrinks symmetrically near the boundaries, so initialization and the final iterate are preserved. Figure 8 therefore reports the corresponding test error, memorization error and training MSE without temporal smoothing. Lines show means across seeds, and shading gives pointwise 95% confidence intervals for these means. Crosses use the minimum raw mean test error, and squares mark the last observation. Time is displayed as with epoch labels; the loss axis is logarithmic.
The larger deep networks retain good test performance as factual error approaches zero, while the two-layer CNN remains less accurate. The loss panels also show why factual classification and exact interpolation should not be conflated: the observed training MSE remains positive, and keeps decreasing even if moderately after 1500 epochs, except with some numerical spikes. The empirical observation is that completing factual classification, i.e. achieving zero memorization error, need not produce a substantial late loss of generalization. Small numerical fluctuations and a finite gap between the best recorded and final test errors remain compatible with that observation.
Two-layer CNN
Four-layer CNN
Six-layer CNN
ResNet-16
WRN-28
(a)
(b)
(c)

Training epoch t
Training epoch t
Training epoch t
Figure 8: Unsmoothed dynamics behind Figure 1. Test error, memorization error and full training MSE (top to bottom), averaged over 28–30 completed seeds per curve through 1500 epochs at . Shading gives pointwise 95% confidence intervals for the mean across seeds. Crosses mark each raw mean test curve's minimum and the corresponding values of the other metrics; squares mark the last observation. No temporal averaging is applied. The models are two-, four- and six-layer CNNs, a residual network with nominal depth 16 (ResNet-16), and a wide residual network with nominal depth 28 (WRN-28).
F.2 Augmented cross-entropy training
We next ask whether the same observation persists under a training recipe commonly used to obtain good test performance on CIFAR10: cross-entropy, random crops and horizontal flips, and a scheduled learning rate (Zagoruyko and Komodakis, 2016; Loshchilov and Hutter, 2017; He et al., 2019). We use a separate fixed dataset containing 2458 cats, 2458 dogs and 1228 randomly labelled automobiles (n = 6144), with five training seeds and the same 2000 official-test cats and dogs. Inputs are standardized using this dataset's training statistics.
4-layer CNN, 6-layer CNN, ResNet-16, WRN-28 and MobileNetV2 each have approximately 2.7 million optimized parameters. Here, the model labelled ResNet-16 is the wide residual architecture WRN-16-4: the width multiplier four gives 64, 128 and 256 channels in its three residual groups. MobileNetV2 is a computationally efficient convolutional architecture that combines convolutions acting separately on each channel with convolutions that mix channels (Sandler et al., 2018). We adapt its first convolution to preserve the spatial resolution of the small CIFAR10 images, using stride one, and replace its classifier with a scalar output. All models are trained from scratch.
Each epoch presents one randomly transformed view of every training image: four-pixel zero padding, a random crop and a horizontal flip with probability 1/2. Images are standardized before augmentation, and labels remain fixed. Transformations are paired across architectures by seed, image and epoch. We minimize mean binary cross-entropy,
using Nesterov SGD with momentum 0.9, batch size 128 and gradient clipping at norm five for each parameter tensor, as in the square-loss experiments above. The learning rate increases linearly to 0.05 over five epochs, follows a cosine decay to 0.0005 at epoch 400, and remains at this positive value thereafter. The schedule is specified in advance, independently of test performance or training classification error. There is no weight decay, dropout or label smoothing. All reported errors and losses are evaluated on the original, unaugmented images.
The reported trajectories extend to 2000 epochs, except for WRN-28, which is shown through 1000 epochs. Across all five architectures (the four and six-layer CNNs, ResNet-16, WRN-28 and MobileNetV2), the test error settles onto an approximately constant plateau with zero memorization error, while training cross-entropy continues to decrease. Although the attained test errors differ across architectures, continued training preserves performance close to the best observed level, with only small fluctuations and little visible advantage from early stopping. Thus, even under this recipe, completing factual memorization does not lead to a substantial deterioration in generalization. The continued decrease in cross-entropy reflects increasing classification margins after the random labels have already been classified correctly.
Figure 9 shows the parametric paths, averaging at most five neighboring observations within each seed before taking the seed mean, with endpoints unchanged. Figure 10 gives the unsmoothed trajectories for all five architectures, including the training cross-entropy. These experiments show that the observation is also present under augmented cross-entropy training. The training horizons are fixed.

Figure 9: Generalization while fitting random labels with augmented cross-entropy. Clean cat-dog test error versus classification error on randomly labelled automobiles, for the 6144-image dataset and approximately 2.7 million optimized parameters per network. Coordinates are averaged over at most five neighboring saved observations within each seed, then over five seeds. Triangles mark initialization, arrows indicate increasing time, crosses mark the minimum displayed mean test error and squares mark the reporting endpoints. Trajectories extend to 2000 epochs, except WRN-28, which is shown through 1000 epochs.
Four-layer CNN
ResNet-16
Six-layer CNN
WRN-28
MobileNetV2
(a)

(b)
(c)
Figure 10: Unsmoothed trajectories under augmented cross-entropy training. Clean test error, automobile memorization error and mean binary cross-entropy on all original training images. Lines show five-seed means; shading gives pointwise 95% confidence intervals for these means. Crosses mark the minimum raw mean test error and the corresponding values of the other metrics; squares mark the reporting endpoints. The comparison includes CNN4, ResNet-16, CNN6, WRN-28 and MobileNetV2. Trajectories extend to 2000 epochs, except WRN-28, which is shown through 1000 epochs. Time is displayed as with epoch labels; the cross-entropy axis is logarithmic.
F.3 Optimizer and residual-network controls
In this subsection we examine whether the architectural comparison is sensitive to the optimizer, learning rate or batch size. Figure 11 uses the fixed 6144-image dataset, square loss without augmentation and five seeds. We compare two-layer CNNs, four-layer CNNs and ResNet-16 at and 447.
Starting from the baseline Nesterov protocol, we halve the learning rate or increase the batch size from 128 to 1024. For the larger batch, we either retain the baseline rate or multiply it by . We also consider SGD without momentum at five times the baseline rate and Adam at learning rate , both with batch size 128. Nesterov momentum remains 0.9, all learning rates are constant, and gradients are clipped at norm five for each parameter tensor. The CNNs are trained for 800 epochs and ResNet-16 for 400.
For each run, we measure the difference between the final test error and its lowest recorded value along that trajectory, then average this difference across seeds. The plot shows that the larger ( ) deep models show a smaller gap across the displayed protocols. Although the measured gaps vary, the qualitative architectural comparison remains similar under these changes to the optimization procedure.

Figure 11: Sensitivity to the optimization protocol. Difference between the final test error and the lowest test error recorded during each run, averaged over five seeds and expressed in percentage points. Results compare two-layer CNNs, four-layer CNNs and ResNet-16 at intermediate capacity (top) and high capacity (bottom). Error bars give 95% confidence intervals for the mean. The larger deep models retain a smaller gap across the displayed optimizer, learning-rate and batch-size choices.
We then return to augmented cross-entropy training and consider the same ResNet-16 architecture (WRN-16-4) used in Section F.2. Figure 12 varies the training-set size, batch size and fraction of random labels over five seeds, with ten seeds at . The datasets are constructed separately from the preceding experiments using common, fixed pools of cats, dogs and automobiles. In the training-size comparison, each smaller dataset is contained in the larger ones, and shared automobiles retain the same random labels.
Starting from , where is the batch size, we vary from 1536 to 9216, from 128 to 1024, and from 0 to 0.8, changing one quantity at a time. For larger batches, the peak learning rate is either held at 0.05 or increased in proportion to the batch size. Training uses the augmentation, loss, momentum and gradient clipping described in Section F.2, with five epochs of warm-up followed by cosine decay to 1% of the peak rate at epoch 400. These runs stop at epoch 400, without the subsequent constant-rate tail. Errors on the original images are evaluated every five epochs.
Figure 13 repeats these conditions with square loss, no augmentation and constant learning rates: 0.01, or 0.04 and 0.08 under linear scaling at batch sizes 512 and 1024. The remaining settings are unchanged.
Across both recipes, all displayed conditions with random labels reach zero memorization error, while test performance approaches a plateau close to its lowest recorded value and remains stable through the end of training. The level of this plateau nevertheless varies substantially. Increasing the training-set size also changes , while increasing the random-label fraction at fixed n leaves fewer rule examples. Thus, the quality of generalization changes across these conditions, but completing factual memorization does not produce a substantial late deterioration. The observation therefore persists beyond a single choice of sample size, batch size or random-label fraction. Memorization error is undefined at and is omitted from the plot.
The captions specify the reporting horizons, including the two square-loss conditions shown before their planned 400 epochs. These comparisons concern the complete training recipes and do not equate zero classification error with zero loss.

Figure 12: Extended ResNet controls with augmented cross-entropy. Columns vary training-set size, batch size and random-label fraction under the 400-epoch recipe of Section F.3. Means are unsmoothed; bars show one sample standard deviation over ten seeds at , 0.2 and five otherwise. “Fixed LR” and “linear LR” refer to peak rates. Memorization error is omitted at .

Figure 13: ResNet controls with constant-rate square loss. Conditions follow Figure 12, with five seeds. Per-seed arithmetic averaging uses a symmetric window of half-width at most 0.08 in , shrinking at the endpoints. Lines and shading give means and one sample standard deviation. Horizons are 200 epochs for , 300 for , and 400 otherwise; time is labelled in epochs.
F.4 Random labels on cats and dogs
We now ask whether the preceding observations depend on using a separate image class for the random labels. We replace the automobiles by a disjoint subset of cats and dogs with independent uniform labels in . The square-loss dataset contains 5600 clean and 1400 randomized examples; the cross-entropy dataset contains 4916 clean and 1228 randomized examples, balanced between the two classes in each subset. We retain the clean training and test images from the automobile experiments and recompute training normalization statistics. Data and labels are fixed across seeds. The observables follow Eqs. (2) and (3); the randomized subset includes labels that happen to agree with the original class.
The square-loss protocol follows Section F.1. Figures 14 and 15 show that, at the two larger capacities, the deeper trainable networks reach their lowest mean test error after memorization error reaches zero. Subsequent deterioration is smaller than for frozen features and the two-layer CNN, although some architectures retain a visible gap.
With the augmented cross-entropy recipe of Section F.2 and Eq. (108), all five architectures reach zero memorization error while maintaining test performance close to their lowest observed mean error (Figures 16 and 17). Training cross-entropy continues to decrease. Thus, the observation also holds when clean and randomized examples belong to the same image classes.
For further details of the numerical implementations, we refer to the repository at https://github.com/SPOC-group/Early-stopping.
RF-CNN (readout matched)
Two-layer CNN
Four-layer CNN
WRN-28
(a)

(b)
(c)
Figure 14: Memorization paths with random labels on cats and dogs. Square-loss training at , averaged over ten seeds. Both coordinates use the endpoint-preserving average over at most seven saved times described in Section F.1. Triangles mark initialization, crosses the minimum displayed mean test error and squares the endpoints. Trainable networks run for 1500 epochs; RF readout GD runs through full-batch steps.
Two-layer CNN
Four-layer CNN
Six-layer CNN
ResNet-16
WRN-28
(a)
(b)
(c)

Training epoch t
Training epoch t
Training epoch t
Figure 15: Unsmoothed square-loss trajectories with random labels on cats and dogs. Test error, memorization error and training square loss for the five trainable architectures, through 1500 epochs. Lines show ten-seed means; shading gives pointwise 95% confidence intervals. Crosses mark the minimum raw mean test error and corresponding other metrics; squares mark endpoints. Time uses with epoch labels, and loss is shown logarithmically.

Figure 16: Memorization paths with augmented cross-entropy and randomized cats and dogs. Five-seed means after endpoint-preserving averaging over at most five saved times; markers follow Figure 14. Reporting horizons are 2000 epochs for CNN4, 1100 for ResNet-16, 900 for WRN-28 and 1700 for MobileNetV2. Each network has approximately 2.7 million optimized parameters.
Four-layer CNN
ResNet-16
Six-layer CNN
WRN-28
MobileNetV2
(a)

(b)
(c)
Figure 17: Unsmoothed cross-entropy trajectories with randomized cats and dogs. Five-seed means of test error, memorization error and training cross-entropy on original images, with pointwise 95% confidence intervals. Horizons follow Figure 16; CNN6 is additionally shown through 2000 epochs. Markers and axes follow Figure 15. No temporal averaging is applied.