Itay Lavie, 1,∗ Clarissa Lauditi †,1 and Cengiz Pehlevan †1,2,3
1John A. Paulson School of Engineering and Applied Sciences, Harvard University, Cambridge, MA
2Center for Brain Science, Harvard University, Cambridge, MA
3Kempner Institute for the Study of Natural and Artificial Intelligence, Harvard University, Cambridge, MA
A recurring design principle in modern optimizers is to decouple update magnitude from the raw gradient norm, yet its consequences for learning-curve and resource scaling remain unclear. We isolate this mechanism by studying normalized SGD in a random-feature model with power-law teacher and data covariance. Fixed-norm updates induce an effective learning rate that grows as gradients shrink. We derive a dynamical mean-field theory (DMFT) describing the joint dependence of the loss on training time, model width and batch size. Normalization initially accelerates SGD, mapping the power-law exponent rSGD<1 to 2rSGD/(1−rSGD), with exponential convergence at rSGD=1 and formal finite-time convergence for rSGD>1. At finite step size, however, the same feedback ultimately breaks the acceleration and leads to marginal stability. The late-time theory yields width-limited, edge-of-stochastic-stability (EoSS), and deterministic edge-of-stability (EoS) regimes. These phases determine when larger batches or wider models reduce serial training time at comparable compute. We quantify in which of these phases increased batch size or width can compensate the excess compute use per step by fewer optimization steps to target loss. Linearized ResNet experiments on CIFAR-5M support the predicted acceleration, breakdown, and resource-scaling trends. Together, these results connect normalization-induced acceleration, EoS effects, and width-batch allocation within a solvable theory.
I. INTRODUCTION
Optimization governs how efficiently neural networks convert training compute into improved performance, yet its role in shaping neural scaling laws remains incompletely understood. These laws describe how performance improves with training time, model size, and data, providing a quantitative basis for allocating compute across these resources [1, 2]. Several theoretical studies connect these laws to the spectral structure of data and tasks: learning proceeds progressively through the data spectrum, while finite training time, model size, and data impose different spectral cutoffs [3–7]. Only recently have studies begun to examine how these spectral learning dynamics interact with optimizer design [8, 9], and many aspects of this interaction remain poorly understood.
Modern adaptive optimizers such as RMSProp, Adam, SOAP, and Muon induce trajectory-dependent effective learning rates through gradient-dependent preconditioning, even when the base learning rate is fixed [10–13]. This rescaling changes both update direction and magnitude; grafting makes their distinct roles explicit by combining the direction of one optimizer with the magnitude of another [14]. We isolate the feedback between update magnitude and learning dynamics by studying normalized SGD, which preserves the stochastic-gradient direction while fixing the update norm. With the normalization used below, this is equivalent to SGD with an endogenous scalar learning rate ηeff(t)=η/∣g(t)∣2, providing a tractable setting for studying how adaptive rescaling affects convergence and stability.
Gradient normalization creates a tension between acceleration and stability. As progressively weaker spectral modes are learned, the gradient norm decays and the effective learning rate grows, potentially accelerating progress through the spectral tail. At finite step size, however, the same growth eventually brings the leading spectral mode to the discrete-time stability threshold. The deterministic edge-of-stability (EoS) corresponds to marginal stability of the leading Hessian mode [15], while the edge-of-stochastic-stability (EoSS) is associated with a stability limit imposed by minibatch fluctuations [16]. The spectral tail therefore controls the transient acceleration, while the spectral edge controls its breakdown.
These stability limits also shape the computational value of increasing training resources. A larger batch can support a larger effective learning rate, but each update is more expensive [17–20]; increasing width changes both approximation capacity and the spectrum that controls stability. Understanding these trade-offs requires
† Equal senior authorship distinguishing gains in effective step size from gains per unit compute. Our model makes this distinction explicit and connects the resulting predictions to experiments with linearized ResNets on CIFAR-5M [21], using spectral exponents measured from the neural tangent kernel and target alignment.
We study a power-law random-feature model, which captures key features of empirically observed neural scaling laws while remaining analytically tractable [4, 6]. Within this setting, we ask:
How does adaptive learning rate shapes acceleration, and how do capacity and stability limits determine the benefits of increasing batch size and model width?
Our main contributions are:
We derive a dynamical mean field theory (DMFT) for normalized SGD in a high-dimensional power-law random-feature model, characterizing the joint scaling of the loss with training time, model width, batch size, and finite step size.
We characterize source- and capacity-dependent transient scaling of norm-SGD: normalization accelerates the SGD exponent rSGD to 2rSGD/(1−rSGD) for rSGD<1, while rSGD=1 and rSGD>1 yield exponential and finite-time convergence, respectively.
DMFT yields a spectrum-dependent width-batch phase diagram: in overparameterized models, a width-dependent critical batch separates stochastic edge-of-stability (EoSS) from deterministic edge-of-stability (EoS), whereas underparameterized models are limited by finite-width error.
We characterize compute-speed trade-offs across batch size and width: in the EoSS phase, a nearly linear batch-scaling regime reduces the steps to a target loss at almost unchanged compute. In the width-limited phase, we identify spectral regimes where the stationary effective learning rate grows superlinearly with width, giving rise to potential width speedups.
We test the theory using linearized ResNets on CIFAR-5M. Measured kernel and target exponents yield predictions consistent with the accelerated loss decay and its crossover toward SGD-like scaling, while batch and width sweeps support the predicted efficiency trends in the explored regime.
We use norm-SGD to isolate how the feedback between gradient normalization and learning dynamics shapes convergence and stability. Our aim is to understand this mechanism rather than advocate norm-SGD as a practical optimizer.
A. Related Work
a. Theories of Neural Scaling Laws. Empirical scaling laws have been documented across several domains [22], quantifying the dependence of loss on model size, data, and compute [1, 2]. Theoretical explanations derive power-law exponents from kernel spectra and target alignment, or power-law random feature models [3–5, 23, 24] or hierarchical data model [25]; with recent works extending the spectral framework to training dynamics, compute-optimal regimes and feature learning [6, 7, 26].
b. Optimizers and Scaling. Whether optimizer gains persist with model size and compute has itself become a scaling question. Comparisons among AdamW, Shampoo, SOAP and Muon show that reported gains depend on tuning, model scale, and training horizon [27–32]. Time dependent batch-size and learning rate schedules further shape finite-time scaling through update scale and gradient noise, batch-size schedules, and coupled schedules [17, 19, 33–37]. High-dimensional theory further resolves optimizer-dependent preconditioning and batch effects [8, 9]. Grafting and norm-based views separate update direction from magnitude [14, 38]. Following this decomposition, we study gradient normalization to isolate magnitude control while leaving the SGD direction unchanged.
c. Critical Batch Size and Compute Efficiency. Increasing batch size trades more computation per update for fewer serial updates, with diminishing returns beyond a problem-dependent “critical batch size” [17, 18]. In LLM pretraining, prior work showed that critical batch size scales primarily with training data size rather than model size [19]. Batch-size schedules can also replace learning-rate decay while preserving similar learning curves [33]; Seesaw develops this connection theoretically for noisy linear regression and extends it to normalized SGD under a variance-dominated approximation [36]. Spectral analyses provide complementary perspective: high-dimensional theory identifies a spectrum-dependent batch threshold beyond which the convergence rate of SGD with momentum saturates [39]. We study these thresholds and limits in
FIG. 1. Three transient convergence regimes. Loss (top) and effective learning rate (bottom) at large α, ν. Before tstab, simulations and DMFT follow the continuous-time prediction: formal finite-time convergence for a>1/2 (left), exponential for a=1/2 (center), and accelerated power-law convergence for a<1/2 (right). SGD uses ηSGD=ηeff(0) to match the initial update norm. At tstab, ηeff reaches 2/λmax and the discrete dynamics depart from the flow prediction.
normalized SGD, quantifying spectrum-dependent departures from linear effective-step scaling and separating the resulting efficiency consideration from the EoSS-EoS phase transition at which the effective learning rate freezes.
d. Training Stability and large step size effects. Large learning rates can lead to faster optimization, while driving training toward the boundary of discrete-time stability. On real objectives, GD often exhibits progressive sharpening, followed by edge-of-stability dynamics with persistent oscillations along sharp directions [15, 40–42]. In SGD, sampling fluctuations modify the stability criterion, producing an edge of stochastic stability governed by batch-dependent directional curvature and related critical step-size transitions [16, 43–47]. Because curvature determines the stable learning-rate range, its scaling with model size is also central to optimal learning-rate transfer. The μP framework establishes such transfer across width and depth [48–54], with recent work seeking mechanistic explanations for it through width-consistent sharpness and top spectral modes [55–57].
II. MODEL
We study online normalized SGD in a power-law random-feature model commonly used in theories of neural scaling laws [3, 4, 6, 7, 58]. At each step t, a fresh batch of zero-mean inputs {ψμt}μ=1B∈Rd is drawn independently with covariance E[ψμtψρs⊤]=δμρδtsΛ, where Λkk=λk=k−b. A frozen random matrix A∈RN×d projects the inputs onto N features, and wt∈RN is trained on top of them. The target coefficients obey βk2=k−2a in the covariance eigenbasis, with 2a+b>1 ensuring finite initial loss. Denoting the gradient by g, the loss, predictor, and weight updates are
We take the proportional limit d,N,B→∞ at fixed width and batch ratios ν:=dN and α:=dB.
In this limit, we use DMFT to reduce the high-dimensional dynamics to effective stochastic processes for individual spectral modes [59–63]. Their correlation and response functions, random at finite d,N,B, concentrate to deterministic limits. Equal-time correlations determine observables such as the loss and squared gradient norm C3tt, hence ηefft=η/νC3tt, while responses encode how perturbations propagate across steps. The derivation and closed set of equations are given in App. B.
III. CONTINUOUS TIME DYNAMICS
We first isolate the transient dynamics from the finite-width and minibatch effects that govern late-time behavior. As η→0, normalized SGD approaches ∂tw(t)=−d(g⊤(t)g(t))−1/2g(t). These updates are parallel to ordinary gradient flow (GF) everywhere but have a different magnitude. Indeed, defining a
FIG. 2. Three late-time regimes: width limited, EoSS, and EoS. Left: DMFT phase diagram in the (α,ν) plane. Color denotes ηeff∞, solid curves phase boundaries, and perforated circles denote norm-SGD simulations; colors that blend well indicate a good match to the theory. Increasing ν removes the width bottleneck, while increasing α suppresses minibatch noise and drives the EoSS–EoS transition; within EoS, the stability threshold depends weakly on ν. Center: ηeff∞ versus ν, showing width-limited behavior and the phase boundary between batch-dependent EoSS branches to the common EoS branch as α increases. Right: ηefft at ν=1. Dots are simulations, dashed curves are DMFT, and horizontal dotted lines are stationary predictions.
new clock τ through dtdτ:=(dg⊤(t)g(t))−1/2 gives ∂τw(τ)=−g(τ). In this limit, normalization is therefore equivalent to reparameterizing time, with the effective learning rate increasing as the gradient norm decays. Consequently, it changes the temporal scaling of the loss while leaving the width- and data-limited exponents unchanged from GF (see e.g. [6]). To extract this temporal scaling, we subsequently take α,ν→∞. In the τ-clock, the residual in mode k decays as exp(−λkτ), so its relaxation time is τk∼λk−1∼kb. At time τ, modes k≲kτ∼τ1/b have been learned, leaving the loss dominated by the unresolved tail. Since each such mode contributes λkβk2∼k−(2a+b), summing this tail gives L(τ)∼kτ−(2a+b−1)∼τ−rSGD, where rSGD=(2a+b−1)/b. Reexpressing the same trajectory in physical time gives
(see Appendix E for details). Thus, normalization produces accelerated power-law convergence for a<1/2, exponential convergence at a=1/2, and formal finite-time convergence for a>1/2. Figure 1 verifies these predictions at large but finite α,ν=10. Defining tstab as the first step in which the top mode loses stability ηeff>2/λmax we see that for t<tstab, simulations and DMFT track the continuous-time prediction and outperform constant learning-rate SGD, whose learning rate is set to ηeff(0) to match the initial update norm. The lower panels show ηeff(t) growing toward 2/λmax: once this stability threshold is reached, the discrete dynamics depart from the continuous-time prediction and enter the stability-controlled regime analyzed in the next section. Notably, tstab itself can be found within the flow framework, as up to that time the trajectory is still well approximated by the flow.
IV. DISCRETE-TIME DYNAMICS: EDGE OF STABILITY AND BREAKDOWN OF THE CONTINUOUS DESCRIPTION
At finite step size, the effective learning rate grows as the gradient decays until finite width, minibatch fluctuations, or deterministic instability cut off the acceleration. Figure 1 shows ηefft approaching a constant or stationary mean, denoted by ηeff∞. Norm-SGD then has the same late-time update rule as SGD with constant step size ηeff∞, with ηeff∞ selected autonomously by the dynamics through three different mechanisms, as we show below. Because the feature map is untrained, the curvature is time-independent; therefore the response to perturbations is stationary, and we seek time-translation-invariant (TTI) solutions.
Let R3ts denote the causal DMFT response associated with the gradient field whose equal-time correlation C3tt determines the squared gradient norm. In a stationary state, R3ts=R3(t−s). Its Z-transform (see App A
FIG. 3. Spectral control of batch-size scaling and saturation. Left: Stationary effective learning rate ηeff∞ versus batch ratio α=B/d, at fixed width ratio ν=N/d. Solid curves show DMFT predictions and circles show simulations. Dashed lines indicate the small-batch linear approximation 2α/μ1, with μ1=⟨λk⟩k, and dotted lines indicate the curvature ceiling 2/λmax(ν). Stars mark the EoSS–EoS transition; the vertical line marks B=1. Flatter spectra support a more extended increase in effective learning rate before saturation. Center: Training different batch sizes α on a=0.45, b=0.2 data. With equal compute, a larger batch size achieves the same level of performance faster (fewer steps). The inset shows the loss as a function of compute with a nearly collapsed curve across all batch sizes within a certain range. Right: The excess loss above the loss floor in equation D.14. Training curves for different batches collapse to one master curve when measures in time τ(t)=∑t′ηefft′, implying that ηefft′, α together control compute vs. time tradeoff.
for an introduction to the Z-transform and its use here) obeys
where ⟨⋅⟩k=d−1∑k(⋅) and the large-z condition selects the causal branch. Equation 3 determines the response for a candidate value of ηeff∞. We determine ηeff∞ by imposing the gradient norm square C3∞ and hence ηeff∞ has a finite size as t→∞ and solve for it self-consistently. The resulting self-consistency condition admits three distinct stationary solutions, or phases, as derived in Appendix D and illustrated in Fig. 2. (1) In the under-parametrized regime ν<1, the random-features miss part of the teacher, producing irreducible error sustained by bias and noise. In the over-parameterized regime ν>1 or large batch α, the effective learning rate is instead stability-limited: (2) at small batch, collective minibatch fluctuations produce an edge of stochastic stability (EoSS), whereas at sufficiently large batch (3) the leading mode of the Hessian H=AΛA⊤/N becomes marginally stable, producing a deterministic edge of stability (EoS). The three phases are determined by
Each of the conditions in Eq. 4 together with Eq. 3, and additionally Eq. D.13 for Phase 1, determines ηeff∞, R^3, and ρ for Phase 1.
These conditions have direct spectral interpretation through random matrix theory. As we show in Appendix C, R^3 is related to the Stieltjes transform of the random-feature Hessian H, and the EoS phase condition can be shown to be equivalent to ηeff∞=λmax(ν)2, where λmax(ν) is the deterministic equivalent of the upper edge of the spectrum of H. Similarly, the EoSs condition can be compared with the usual mini-batch mean-square stability criterion for a given realization of the Hessian: B=Tr[2−ηHηH] [44]. Remarkably, the crossing from EoSs to EoS happens at finite critical batch size αc, rather than α→∞, reflecting the fact that there is only a marginal 1/d benefit in stability by increasing α beyond αc. αc itself can be found analytically by comparing the conditions for phases 2 and 3 above at fixed ν and solving for α1.
1 This αc is indeed critical in the statistical physics sense and marks a phase transition; but it is distinct from “critical batch size” introduced by [17].
V. BATCH SIZE AND WIDTH SPEEDUPS
While compute efficiency in power-law random-feature models has been studied extensively (for the case of SGD see [6, 7]), another aspect is how to reduce the number of optimization steps needed to reach a target loss without substantially increasing compute, which we will refer to as speed or speedup. The three phases identified above yield distinct regimes:
In Phase 1, increasing batch size speeds up optimization, but the reduction in steps does not offset the higher compute per step. Increasing width, however, can reduce the required steps enough to reach some target losses faster at roughly the equal total compute.
In Phase 2, increasing batch size can result in speedup with roughly equal compute, but increasing width cannot.
In Phase 3, neither larger batch size nor wider networks can lead to speedup with approximately equal compute if the model is over-parameterized ( ν≥1) or the total parameter count in the model is larger than the batch size ( ν≥α).
We quantify these results using Qα(α):=ηeff∞/α (or Qν(ν):=ηeff∞/ν) which measure whether the potential steps saving due to the increase ηeff∞ can compensate the increase in compute due to α ( ν resp.). In all phases above these quantities would depend on the data and task through a,b, enabling speed up in some scenarios an forbidding it in others.
The absence of approximately equal-compute speedup follows from the scaling of the effective learning rate. In the small-step Phase-1 regime, increasing batch size yields only square-root gains; in Phase 2, increasing width yields gains slower than square-root. These gains cannot offset the linear increase in per-step compute. In Phase 3, increased batch size provides no effective-step gain, while the fractional gain from increasing ν scales at most as ν leading to a significant compute inefficiency. The derivations are given in Appendix F4.
A. Batch Speedup at the Edge of Stochastic Stability
We study this trade-off on the stationary EoSS branch by varying α=B/d at fixed ν=N/d and input spectrum. Assuming a per-step cost proportional to α, we measure stationary effective time per unit compute by Qα(α)=ηeff∞(α)/α. Linear growth of the effective learning rate would reduce the required number of updates proportionally, leaving the total compute unchanged. Throughout EoSS, however, Qα′(α)<0 for all b: larger batches yield only sublinear effective-step gains. Thus, accumulating the same effective time requires fewer updates but more compute; nearly linear scaling keeps this overhead small.
Nevertheless, the departure from linear scaling can be arbitrarily small. Expanding the Phase 2 condition from Eq. 4 at small α gives
ηeff∞=μ12α[1−Aα+O(α2)],A:=μ12μ2+ν1(5)
where μj=⟨λkj⟩k. Both the relative efficiency penalty and the logarithmic slope deficit 1−∂logηeff∞/∂logα therefore scale like Aα. Allowing a small compute overhead δ gives the local estimate αδ≃δ/A, thus defining a notion of approximately identical compute use, with δ=0 giving linear scaling – exactly the same compute and loss with less optimization steps.
When progress toward a target loss follows a common effective-time description across batch sizes (as the excess loss in Fig 3, right panel), αδ characterizes the departure from equal compute for target loss. It thus provides a local analogue of empirical critical batch sizes [19]. Unlike αδ, which quantifies a tolerated departure from linear scaling, the EoSS–EoS boundary αc marks saturation of the stationary effective learning rate [20].
The spectrum controls how quickly this benefit deteriorates. For λk=k−b, larger b concentrates curvature in fewer leading directions, increasing μ2/μ12 and the initial efficiency penalty. Flatter spectra spread curvature across more directions and support a more sustained benefit from increased batch size. Figure 3 (left) illustrates this distinction: steeper spectra allow larger effective steps at small α, but saturate sooner. Dimension determines whether this regime accommodates large physical batches. The leading linear approximation reveals the dependence on spectrum and dimension
ηlin∞=μ12α∼{2(1−b)αdb,2αd/ζ(b),0≤b<1b≥1(6)
FIG. 4. Spectral dependence of width efficiency. Stationary effective time per unit compute, quantified by Qν=ηeff∞/ν. Left: Width dependence of Qν at fixed b = 3, for different teacher exponents a. Solid curves show DMFT predictions before EoS, dashed curves indicate the EoS branch, and markers show simulations. Increasing Qν corresponds to superlinear growth of the effective learning rate with width; a maximum identifies an optimal width according to this stationary efficiency measure. Center: Dependence of Qν on the teacher and data exponents at fixed ν=0.1. The background shows DMFT predictions, while circles show simulation estimates using the same logarithmic color scale. Dotted reference lines indicate the fixed width and data exponent linking the two panels. Both panels use d = 2000, B = 200, and fixed bare learning rate η=10−5. Right: Loss as a function of steps (inset: compute) showing an example where wider networks train faster, while requiring approximately the same compute as narrower networks.
where ζ(b)=∑k=1∞k−b,b>1. At fixed physical batch size B, increasing d reduces the leading effective-step gain for b≤1, because the total curvature ∑kλk grows with dimension. For b>1, this sum converges to ζ(b), making the linear prediction ηlin∞ independent of d.
Eventually, the effective learning rate reaches the curvature ceiling at the EoSS–EoS transition, marked by stars in Figure 3 (left). Beyond this point, further batching provides no effective-step gain and the efficiency deteriorates as Qα∝α−1.
The right panel of Fig. 3 shows that the loss curves for different batch sizes approximately collapse when the excess loss L−L∞ is plotted against cumulative effective time, τ(t):=∑t′ηefft′. Here, L∞ is the corresponding loss floor from equation D.14. This collapse indicates that reaching a fixed target excess loss requires approximately the same effective time τ∗ across batch sizes. The middle panel of Fig. 3 demonstrates the compute-speed tradeoff. The main plot shows the loss as a function of step size, showing that larger batches get to the same target loss faster, while the contour connects equal-compute points. The inset shows the same loss curves as a function of compute ( ∝BNt) with very little spread in compute around B=1,000 indicating significant savings in number of steps.
B. Width Speedup at the Width Limited Phase
Next, we vary the width ratio ν=N/d at fixed batch ratio α, base learning rate η, input and teacher spectra b,a (resp.). Similarly, assuming a per-step cost proportional to ν, we measure stationary width efficiency by Qν(ν)=ηeff∞(ν)/ν. Whereas batch efficiency decreases throughout EoSS, width efficiency can increase on the width-limited branch: adding parameters can raise the stationary effective learning rate more than proportionally to their computational cost. This behavior is controlled by the residual target power Pν:=d1∑k=1d1+λkηeff∞ρλkβk2 left unrepresented at finite width, where the product ηeff∞ρ is determined by the width constraint in Eq. 4 and it is independent of η. As derived in Appendix F 3, taking η≪1 at fixed 0<ν<1 gives
ηeff∞(ν)∼ημ1Pνα.(7)
Since μ1 is independent of width, reducing Pν increases the stationary effective learning rate as Pν−1/2. Efficiency improves only if this increase outweighs the additional cost per update, which requires Qν′≥0. The data spectrum and teacher alignment jointly determine whether this condition holds. For b>1 and 2a+b>1, the width scalings in Appendix F 3 yield
FIG. 5. Theory predicts training curves exponents for training with linearized networks. Loss (top) and effective learning rate (bottom). Before ηeff hits its ceiling ηeff∞, the loss decreases with an accelerated power law, after the ceiling is reached the power law degrades to the standard SGD power law. Throughout the narrowest width and smallest batch size are optimal, as predicted in the previous section for these a, b. (left) Loss as a function of images seen, Bt, for different batch sizes and fixed w=128, η=0.1 (proportional to compute). (right) Loss as a function of compute, calculated as 6NBt, for different widths and fixed B=1,000, η=0.01
up to log factors of ν. For flatter spectra, 0<b≤1, the corresponding asymptotic scalings instead predict decreasing efficiency within this width window for all admissible teacher exponents a.
Figure 4 (left) shows stronger width-efficiency gains for larger a, which concentrates target power in the leading data modes. The curves reach an interior maximum at ν∗<1, while beyond this maximum, further widening no longer produces a proportional increase in the effective learning rate. Here, the decreasing efficiency on the EoS branch, where Qν′(ν)<0 (see Appendix F4), limits the width benefit. The middle panel shows the dependence of Q on both a,b when fixing ν=0.1, visualizing that higher a,b favor larger widths, while low a,b favor narrow widths while they are not capacity limited. Finally, the left panel of Fig. 4 shows a case where larger widths lead to faster training at approximately the same compute budget for the same target loss. In this regime, the loss floor L∞ plays an important role, and narrow models can reach their capacity limit before the width speedup can be realized. In these cases, wider models trivially reach a target loss faster and using less compute, implying that some of the benefit is due to the lower loss floor. In Fig. 9 in Appendix F3, we show narrower widths that exhibit a capacity floor under the same parameters as in the right panel.
VI. EXPERIMENT WITH REAL DATA AND NETWORKS
In this section, we experiment with training real ResNet in the lazy (kernel) regime on the CIFAR-5M binary classification task of classifying animate vs inanimate while training with normalized SGD. To match the setting to our theory, we extract a,b from the infinite-width deterministic NTK and treat the linearized neural networks eNTK as random features drawn from the NTK. In our experiments, we measured b≃1.8 and a≃−0.325, close to the measurements of [6] for the same architecture.
In Fig. 5, right panel, we show the results when varying the width in the range w=4 ( N=1,120 random features) to w=256 ( N=4,135,936) with fixed B=1,000 for a single pass with no repetitions. On the left panel we show the results for the same setting when fixing w=128 and varying the batch size from B=10 to B=10,000. Since the NTK is infinite-dimensional, while any network has a finite parameter count and batch size, we adopt our theory to this dimension-free regime ( d→∞ while N,B are finite) in Appendix H. This also means that ν<1 and phase 2 (EoSS) is inaccessible. As discussed in the previous section, this implies that the smallest batch size B is always compute optimal, which we confirm in the left panel. Additionally, based on results from the previous section, we expect that as long as the model is time-constrained rather than parameter-constrained, narrow networks will be more compute-efficient for our measured exponents a,b, which the experiments in the right panel confirm.
Additionally, we add to the figures rulers showing the normalized gradient flow accelerated exponent, and intersecting rulers showing the breakdown of acceleration and the change to the standard SGD exponent when the effective learning rate reaches marginal stability. Throughout, our deterministic DMFT dynamics track the stochastic dynamics well, even though the DMFT assumes Gaussian features and only uses the NTK spectrum, the NTK target coefficients, and N, B, with no information on the eNTK or data, architecture, and task beyond those four quantities.
VII. OUTLOOK
Normalized SGD provides a solvable setting in which acceleration, stability, and resource allocation can be studied together. In continuous time, normalization preserves the gradient-flow trajectory while accelerating its clock, yielding accelerated power-law, exponential, or formal finite-time convergence depending on the teacher exponent. However, in discrete dynamics, the growing effective learning rate ultimately breaks this acceleration down through one of three mechanisms: width-limited noise and approximation error, a noise-driven EoSS, or deterministic EoS dynamics.
We relate these phases to compute efficiency and speedup. We find a critical batch ratio αc that marks the phase transition between EoSS and EoS, and distinguish it from αδ, the maximal batch ratio that allows approximately linear scaling of learning rate and batch size – which allows speedup with equal compute. We quantify the dependence of these scales on width and on data exponents.
Experiments with linearized ResNets on CIFAR-5M support the predicted acceleration and its breakdown, and connect the spectral description to observed batch- and width-dependent compute trends. Extending this connection beyond the kernel regime requires accounting for the evolution of features, target alignment, and curvature during training. Further directions include determining how learning-rate and batch-size schedules alter the trade-off, and relating effective-time efficiency to wall-clock performance under realistic hardware costs. Additionally, developing similar trade-off of compute-parameter count instead of compute-speedup could accelerate inference at the cost of increased compute cost in the training phase. Finally, extending the analysis to optimizers that also modify update direction would clarify which conclusions persist beyond global gradient normalization.
Acknowledgments The authors thank Alex Meterez for the useful discussion. I.L. and C.L. are supported by DARPA grant AIQ-HR00112520041. C.P. is supported by an NSF CAREER Award (IIS-2239780), DARPA grants DIAL-FP-038 and AIQ-HR00112520041, and the Simons Collaboration on the Physics of Learning and Neural Computation. This work has been made possible in part by a gift from the Chan Zuckerberg Initiative Foundation to establish the Kempner Institute for the Study of Natural and Artificial Intelligence.
[1] J. Hoffmann, S. Borgeaud, A. Mensch, E. Buchatskaya, T. Cai, E. Rutherford, D. d. L. Casas, L. A. Hendricks, J. Welbl, A. Clark, et al., Training compute-optimal large language models, arXiv preprint arXiv:2203.15556 (2022).
[2] J. Kaplan, S. McCandlish, T. Henighan, T. B. Brown, B. Chess, R. Child, S. Gray, A. Radford, J. Wu, and D. Amodei, Scaling laws for neural language models, arXiv preprint arXiv:2001.08361 (2020).
[3] Y. Bahri, E. Dyer, J. Kaplan, J. Lee, and U. Sharma, Explaining Neural Scaling Laws, Proceedings of the National Academy of Sciences 121, e2311878121 (2024), arXiv:2102.06701 [cs].
[4] A. Maloney, D. A. Roberts, and J. Sully, A Solvable Model of Neural Scaling Laws (2022), arXiv:2210.16859 [cs].
[5] B. Bordelon, A. Canatar, and C. Pehlevan, Spectrum dependent learning curves in kernel regression and wide neural networks, in International Conference on Machine Learning (PMLR, 2020) pp. 1024–1034.
[6] B. Bordelon, A. Atanasov, and C. Pehlevan, A Dynamical Model of Neural Scaling Laws (2024), arXiv:2402.01092 [cond-mat, stat].
[7] E. Paquette, C. Paquette, L. Xiao, and J. Pennington, 4+3 Phases of Compute-Optimal Neural Scaling Laws (2024).
[8] E. Paquette, N. Marshall, L. Benigni, G. Wang, A. Agarwala, and C. Paquette, Phases of Muon: When Muon Eclipses SignSGD (2026), arXiv:2605.09552 [math.OC].
[9] K. L. Xiao, N. Marshall, A. Agarwala, and E. Paquette, Exact risk curves of signSGD in high-dimensions: quantifying preconditioning and noise-compression effects, in Proceedings of the 42nd International Conference on Machine Learning, ICML'25, Vol. 267 (JMLR.org, Vancouver, Canada, 2025) pp. 68391–68439.
[10] T. Tieleman and G. Hinton, Tieleman, T. and Hinton, G. (2012) Lecture 6.5-rmsprop Divide the Gradient by a Running Average of Its Recent Magnitude. COURSERA Neural Networks for Machine Learning, 4, 26-31. - References - Scientific Research Publishing (2012).
[11] D. P. Kingma and J. Ba, Adam: A Method for Stochastic Optimization (2014), arXiv:1412.6980 [cs.LG].
[12] N. Vyas, D. Morwani, R. Zhao, M. Kwun, I. Shapira, D. Brandfonbrener, L. Janson, and S. Kakade, SOAP: Improving and Stabilizing Shampoo using Adam (2025), arXiv:2409.11321 [cs.LG].
[13] K. Jordan, Y. Jin, V. Boza, J. You, F. Cesista, L. Newhouse, and J. Bernstein, Muon: An optimizer for hidden layers in neural networks (2024).
[14] N. Agarwal, R. Anil, E. Hazan, T. Koren, and C. Zhang, Disentangling Adaptive Gradient Methods from Learning Rates (2020), arXiv:2002.11803 [cs.LG].
[15] J. M. Cohen, S. Kaur, Y. Li, J. Z. Kolter, and A. Talwalkar, Gradient descent on neural networks typically occurs at the edge of stability, arXiv preprint arXiv:2103.00065 (2021).
[16] A. Andreyev and P. Beneventano, Edge of stochastic stability: Revisiting the edge of stability for sgd, arXiv preprint arXiv:2412.20553 (2024).
[17] S. McCandlish, J. Kaplan, D. Amodei, and O. D. Team, An empirical model of large-batch training, arXiv preprint arXiv:1812.06162 (2018).
[18] C. J. Shallue, J. Lee, J. Antognini, J. Sohl-Dickstein, R. Frostig, and G. E. Dahl, Measuring the Effects of Data Parallelism on Neural Network Training (2019), arXiv:1811.03600 [cs.LG].
[19] H. Zhang, D. Morwani, N. Vyas, J. Wu, D. Zou, U. Ghai, D. Foster, and S. Kakade, How does critical batch size scale in pre-training?, in International Conference on Learning Representations, Vol. 2025 (2025) pp. 66756–66782.
[20] A. Meterez, P. A. Nair, D. Morwani, C. Pehlevan, S. Kakade, and A. Damian, A defense of the quadratic model, arXiv preprint arXiv:2607.21716 (2026).
[21] P. Nakkiran, B. Neyshabur, and H. Sedghi, The Deep Bootstrap Framework: Good Online Learners are Good Offline Generalizers (2021), arXiv:2010.08127 [cs.LG].
[22] J. Hestness, S. Narang, N. Ardalani, G. Diamos, H. Jun, H. Kianinejad, M. M. A. Patwary, Y. Yang, and Y. Zhou, Deep learning scaling is predictable, empirically, arXiv preprint arXiv:1712.00409 (2017).
[23] S. Spigler, M. Geiger, and M. Wyart, Asymptotic learning curves of kernel methods: empirical data versus teacher-student paradigm, Journal of Statistical Mechanics: Theory and Experiment 2020, 124001 (2020).
[24] A. Canatar, B. Bordelon, and C. Pehlevan, Spectral bias and task-model alignment explain generalization in kernel regression and infinitely wide neural networks, Nature communications 12, 2914 (2021).
[25] F. Cagnetta, A. Raventós, S. Ganguli, and M. Wyart, Deriving neural scaling laws from the statistics of natural language, arXiv preprint arXiv:2602.07488 (2026).
[26] B. Bordelon, A. Atanasov, and C. Pehlevan, How Feature Learning Can Improve Neural Scaling Laws (2024), arXiv:2409.17858 [cond-mat, stat].
[27] I. Loshchilov and F. Hutter, Decoupled weight decay regularization, arXiv preprint arXiv:1711.05101 (2017).
[28] V. Gupta, T. Koren, and Y. Singer, Shampoo: Preconditioned stochastic tensor optimization, in International Conference on Machine Learning (PMLR, 2018) pp. 1842–1850.
[29] J. Liu, J. Su, X. Yao, Z. Jiang, G. Lai, Y. Du, Y. Qin, W. Xu, E. Lu, J. Yan, et al., Muon is scalable for llm training, arXiv preprint arXiv:2502.16982 (2025).
[30] G. Magakyan, P. Parrilo, and A. Ozdaglar, Spectral scaling laws of muon, arXiv preprint arXiv:2606.04058 (2026).
[31] K. Wen, D. Hall, T. Ma, and P. Liang, Fantastic pretraining optimizers and where to find them, in International Conference on Learning Representations, Vol. 2026 (2026) pp. 144731–144838.
[32] G. Harari, Y. Zimmermann, O. T. Kulseng, L. Zichi, C. W. Tan, M. L. Descoteaux, and B. Kozinsky, Beyond Adam: SOAP and Muon for Faster, Label-Efficient Training of Machine Learning Interatomic Potentials (2026).
[33] S. L. Smith, P.-J. Kindermans, C. Ying, and Q. V. Le, Don’t decay the learning rate, increase the batch size, arXiv preprint arXiv:1711.00489 (2017).
[34] A. Defazio, A. Cutkosky, H. Mehta, and K. Mishchenko, When, why and how much? adaptive learning rate scheduling by refinement (2023).
[35] H. Tissue, V. Wang, and L. Wang, Scaling law with learning rate annealing, Advances in Neural Information Processing Systems 38, 91017 (2026).
[36] A. Meterez, D. Morwani, J. Wu, C.-A. Oncescu, C. Pehlevan, and S. Kakade, Seesaw: Accelerating Training by Balancing Learning Rate and Batch Size Scheduling (2026), arXiv:2510.14717 [cs.LG].
[37] A. Meterez, P. A. Nair, D. Morwani, C. Pehlevan, and S. Kakade, Anytime pretraining: Horizon-free learning-rate schedules with weight averaging, arXiv preprint arXiv:2602.03702 (2026).
[38] J. Bernstein and L. Newhouse, Old Optimizer, New Norm: An Anthology (2024), arXiv:2409.20325 [cs.LG].
[39] K. Lee, A. N. Cheng, C. Paquette, and E. Paquette, Trajectory of Mini-Batch Momentum: Batch Size Saturation and Convergence in High Dimensions (2022), arXiv:2206.01029 [math.OC].
[40] S. Arora, Z. Li, and A. Panigrahi, Understanding Gradient Descent on Edge of Stability in Deep Learning (2022), arXiv:2205.09745 [cs.LG].
[41] J. M. Cohen, B. Ghorbani, S. Krishnan, N. Agarwal, S. Medapati, M. Badura, D. Suo, D. Cardoze, Z. Nado, G. E. Dahl, et al., Adaptive gradient methods at the edge of stability, arXiv preprint arXiv:2207.14484 (2022).
[42] J. Cohen, A. Damian, A. Talwalkar, J. Z. Kolter, and J. D. Lee, Understanding Optimization in Deep Learning with Central Flows (2024).
[43] C. Xing, D. Arpit, C. Tsirigotis, and Y. Bengio, A walk with sgd, arXiv preprint arXiv:1802.08770 (2018).
[44] R. Mulayoff and T. Michaeli, Exact Mean Square Linear Stability Analysis for SGD (2024), arXiv:2306.07850 [cs.LG].
[45] S. Jastrzebski, M. Szymczak, S. Fort, D. Arpit, J. Tabor, K. Cho, and K. Geras, The break-even point on optimization trajectories of deep neural networks, arXiv preprint arXiv:2002.09572 (2020).
[46] C. Paquette, K. Lee, F. Pedregosa, and E. Paquette, SGD in the Large: Average-case Analysis, Asymptotics, and Stepsize Criticality, in Proceedings of Thirty Fourth Conference on Learning Theory (PMLR, 2021) pp. 3548–3626.
[47] A. Agarwala and J. Pennington, High dimensional analysis reveals conservative sharpening and a stochastic edge of stability (2025), arXiv:2404.19261 [cs.LG].
[48] G. Yang and E. J. Hu, Tensor programs iv: Feature learning in infinite-width neural networks, in International Conference on Machine Learning (PMLR, 2021) pp. 11727–11737.
[49] G. Yang, E. Hu, I. Babuschkin, S. Sidor, X. Liu, D. Farhi, N. Ryder, J. Pachocki, W. Chen, and J. Gao, Tuning large neural networks via zero-shot hyperparameter transfer, Advances in Neural Information Processing Systems 34, 17084 (2021).
[50] B. Bordelon and C. Pehlevan, Self-consistent dynamical field theory of kernel evolution in wide neural networks, Advances in Neural Information Processing Systems 35, 32240 (2022).
[51] G. Yang, D. Yu, C. Zhu, and S. Hayou, Tensor programs vi: Feature learning in infinite depth neural networks, in International Conference on Learning Representations, Vol. 2024 (2024) pp. 55099–55150.
[52] B. Bordelon, L. Noci, M. Li, B. Hanin, and C. Pehlevan, Depthwise hyperparameter transfer in residual networks: Dynamics and scaling limit, in International Conference on Learning Representations, Vol. 2024 (2024) pp. 22088–22127.
[53] L. Chizat, The hidden width of deep resnets: Tight error bounds and phase diagram, arXiv preprint arXiv:2509.10167 (2025).
[54] N. Dey, B. Zhang, L. Noci, M. Li, B. Bordelon, S. Bergsma, C. Pehlevan, B. Hanin, and J. Hestness, Don't be lazy: Completep enables compute-efficient deep transformers, Advances in Neural Information Processing Systems 38, 137707 (2026).
[55] L. Noci, A. Meterez, T. Hofmann, and A. Orvieto, Super consistency of neural network landscapes and learning rate transfer, Advances in Neural Information Processing Systems 37, 102696 (2024).
[56] N. Ghosh, D. Wu, and A. Bietti, Understanding the mechanisms of fast hyperparameter transfer, in International Conference on Learning Representations, Vol. 2026 (2026) pp. 65022–65063.
[57] C. Lauditi, C. Pehlevan, and B. Bordelon, Spectral dynamics in deep networks: Feature learning, outlier escape, and learning rate transfer, arXiv preprint arXiv:2605.07870 (2026).
[58] A. Bodin and N. Macris, Model, sample, and epoch-wise descents: exact solution of gradient flow in the random feature model, Advances in neural information processing systems 34, 21605 (2021).
[59] H. Sompolinsky and A. Zippelius, Dynamic theory of the spin-glass phase, Physical Review Letters 47, 359 (1981).
[60] C. De Dominicis, Dynamics as a substitute for replicas in systems with quenched random impurities, Physical Review B 18, 4913 (1978).
[61] A. Crisanti and H. Sompolinsky, Path integral approach to random neural networks, Physical Review E 98, 062120 (2018).
[62] F. Mignacco, F. Krzakala, P. Urbani, and L. Zdeborová, Dynamical mean-field theory for stochastic gradient descent in gaussian mixture classification, Advances in Neural Information Processing Systems 33, 9540 (2020).
[63] M. Helias and D. Dahmen, Statistical Field Theory for Neural Networks, Lecture Notes in Physics, Vol. 970 (Springer International Publishing, Cham, 2020).
[64] M. Mézard and A. Montanari, Information, physics, and computation, Oxford graduate texts (Oxford university press, Oxford, 2009).
Appendix A: A Short Introduction to the Z-transform
The Z-transform packages the sequence f0, f1, f2, ..., ft, ... into a function of a complex variable, with each power of z−1 labeling one time step; the result is a generating function for a sequence, which can also be seen as the discrete-time analogue of the Laplace transform under the substitution z=es. This transformation diagonalizes operators that have a shift symmetry, or as they are more commonly called time translation invariant (TTI) operators. Practically, the transform turns shifts and convolutions into algebraic manipulations.
1. From a sequence to a function
For a causal sequence ft, defined for t≥0, the Z-transform is
f^(z):=t=0∑∞ftz−t=f0+f1z−1+f2z−2+⋯,(A.1)
where first equality is the definition and the second makes its bookkeeping role explicit. For example, the transform of the sequence 1,a,a2,… is the geometric series
t=0∑∞atz−t=z−az,∣z∣>∣a∣.(A.2)
The condition ∣z∣>∣a∣ is the region of convergence of this series. For a causal sequence, the region of convergence is the exterior of a circle whose radius is set by the growth rate of the sequence. Keeping track of this region tells us where algebraic manipulations and contour integrals are valid.
In particular, z→1 corresponds to the small-s limit s→0 in Laplace transform or the small frequency limit in Fourier transform ω→0, which is why the behavior near z=1 contains information about long times.
More generally, the sequence can be recovered from its transform by extracting the coefficient of z−t
ft=∮γ2πizdzztf^(z),(A.3)
where the contour γ is a circle lying in the region of convergence. This is the familiar coefficient-extraction formula for a power series. In practice, one rarely use this method to invert the series directly; it is more useful as a way to understand how the singularities of f^ determine the behavior of ft.
2. Shifts and recurrences
A change of summation index gives the transform of a forward shift,
t=0∑∞ft+1z−t=z(f^(z)−f0).(A.4)
It follows that the forward difference (Df)t=ft+1−ft satisfies
Df(z)=(z−1)f^(z)−zf0.(A.5)
Thus z−1 plays the role of the perhaps more familiar Laplace variable s for a time derivative, while the remaining term carries the initial condition.
This shift rule turns linear recurrences into algebraic equations. For example, if
xt+1=axt+bt,(A.6)
with prescribed input bt, transforming both sides and using equation A.4 gives
x^(z)=z−azx0+b^(z).(A.7)
The denominator already reveals the natural mode at.
3. Time-translation invariance and diagonalization
Consider a causal matrix Kts acting on time indices. It is time-translation invariant, or TTI, when it depends only on the lag between its indices,
Kts=K(t−s),K(u)=0foru<0.(A.8)
Its action on a sequence is therefore a convolution,
(Kf)t:=s=0∑tK(t−s)fs,K^(z):=u=0∑∞K(u)z−u.(A.9)
Ignoring the initial boundary for a moment, a geometric sequence fs=zs is an eigenvector of every TTI matrix:
s∑K(t−s)zs=ztu∑K(u)z−u=K^(z)zt.(A.10)
The Z-transform is therefore a change to the common eigenbasis of TTI matrices, and K^(z) is the corresponding eigenvalue. This is the precise sense in which it diagonalizes the time dynamics. Matrix products become products of their Z-transforms; equivalently, convolution with a sequence obeys
Kf(z)=K^(z)f^(z).(A.11)
For example, the delayed running-sum matrix has K(u)=1u>0, so
K^(z)=u=1∑∞z−u=z−11,∣z∣>1.(A.12)
Together with equation A.5, this shows that z−1 and 1/(z−1) represent discrete differentiation and integration, just as s and 1/s do in the Laplace transform.
4. Reading dynamics from singularities
Equation equation A.2 gives the basic dictionary: a pole at z=a produces a mode proportional to at. Such a mode decays when ∣a∣<1 and grows when ∣a∣>1. On the unit circle it is marginal: a=1 gives a constant, a=−1 a period-two oscillation, and a=eiω an undamped oscillation at frequency ω. The unit circle is therefore the discrete-time stability boundary. More generally, a pole of order m adds a factor tm−1 to the exponential mode.
If a sequence approaches a finite limit as t→∞, its asymptotic value can be obtained using the final-value theorem
t→∞limft=z→1lim(z−1)f^(z).(A.13)
Thus a nonzero constant at late times appears as a simple pole at z = 1, with coefficient isolated by multiplying by z - 1. A growing mode or an undamped oscillation violates the pole condition and prevents the limit from existing.
The same picture can be phrased in frequency language. Evaluating a stable transform at z=eϵ+iω and taking ϵ↓0 gives its response to a discrete-time frequency ω. The point z=1 is zero frequency, while z=−1 is the highest discrete-time frequency and corresponds to sign alternation from one step to the next.
5. Beyond TTI matrices
An ordinary Z-transform suffices for a TTI matrix because Kts=K(t−s) depends on only one time lag. A general two-time matrix Ft1t2, such as a correlation matrix, is not necessarily TTI and retains two independent time indices. We therefore introduce one transform variable for each index:
The double transform preserves the diagonalization of TTI multiplication on either side. If K and L are TTI matrices, then
KFL⊤(z1,z2)=K^(z1)L^(z2)F~(z1,z2).(A.15)
For our use, the equal-time diagonal is especially important. If F is naturally diagonal in time, Ft1t2=δt1t2ft1, then
F~(z1,z2)=f^(z1z2).(A.16)
because the two time indices are equal. For a general F, define
ft:=Ftt,f^(ζ):=t=0∑∞Fttζ−t.(A.17)
We keep the product z1z2=ζ fixed by writing
z1=ζw,z2=wζ.(A.18)
The double transform thus also have the degree of freedom wt2−t1. Integrating along the unit circle removes every nonzero power of w, leaving only t1=t2:
Here ζ follows the behavior averaged across time, while w=eiθ resolves relative-time difference and we use the angular integration to project onto zero relative time and hence onto the diagonal.
6. Use in the steady-state analysis
We now specialize these facts to the calculation in this paper. Once ηefft approaches a constant, the matrices Θ and R3 become TTI. The Z-transforms diagonalize the time indices, turning matrix products and inverses into scalar algebra. In particular, Θ^(z)=ηeff/(z−1), while the physical branch of the self-consistent equation for R^3 is selected by R^3(z)→R3(0)=1 as z→∞.
The correlation functions remain genuine two-time objects. We therefore solve for their double transforms and apply equation A.19 to obtain the equal-time loss and gradient correlations c^1(ζ) and c^3(ζ), and the final-value theorem gives
The transformed DMFT equations contain several possible sources for this simple pole at ζ=1. Which one becomes singular distinguishes the width-limited, edge-of-stability, and stochastic edge-of-stability phases.
Appendix B: Deriving the Dynamical Mean-Field Theory Equations
Below, we use the cavity method [64] to find a mean-field description for the fields {hi}i=04 by adding a small perturbation to the rows and columns of ψ and A and reading off their collective average effect on a fresh coordinate in the same field. Along the way, we introduce average response functions Ri→j that denote the effect of a perturbation in a field hi on the field hj; these response functions are unknown and have to be solved for self-consistently.
a. Adding a row to ψ Throughout, we use ⋅~ to denote a perturbed quantity and ⋅~ to denote a fresh independent entry in the field. We ignore 1/d corrections and use → to denote the large d limit after employing the law of large numbers (LLN) and the central limit theorem (CLT) when summing independent quantities.
Using the fact that the new row ψ~ is independent of the old fields, we can use CLT on the first expression and LLN on the second, keeping in mind that batches are independent
We can again use causality to simplify the response R1tt. As we have seen above h1 is just noise uncorrelated in time, so the only contribution is the immediate one, thus R1=1
c. Cavity results Repeating the same process for a column and a row of A and collecting all the results together, we find
and since it is online, we only have to account for the difference in normalization (normalized by P vs by d)
C0(t,t)=αC1(t,t)
Which can also be seen more directly by considering h1t=u1t⇒⟨h1th1t′⟩=⟨u1tu1t′⟩⇒C1tt′=δtt′α1C0tt′.
However, these dynamics still describe the random field h1 and injected colored noises u2,k, u4,k. We would like to have a fully deterministic description in terms of the concentration response and correlation functions.
2. Closing the DMFT equations
Here, we derive a closed set of equations in terms of correlations and responses. Taking the derivative of the h3 equation by u3
We can also see the first term is SGD noise as it vanishes for α→1
As the operators in these equations are causal (and therefore lower triangular) we can solve them numerically by stepping through time.
Appendix C: Random Matrix Theory Interpretation
In this section we show that the Z-transform of the response function can be interpreted as the companion Stieltjes transform to Λ1/2ATAΛ1/2, giving another interpretation to its role, and showing that the EoS condition is equivalent to the familiar sharpness stability condition ηeff=2/λmax; where λmax is the largest eigenvalue for the random matrix Λ1/2ATAΛ1/2.
We start by showing the equivalence to the Stieltjes transform; by definition
h0k=h0k0j−Θh4.
now applying the cavity argument only to the ψ randomness
which is the Silverstein equation for the companion Stieltjes transform of Λ1/2ATAΛ1/2/N, i.e. the Silverstein equation of the matrix NAΛA written in input space (d); noting that the two matrices share the same non-zero spectrum.
This perspective gives a particularly sharp interpretation for the edge of stability phase condition, and justify its name. The largest eigenvalue of a Wishart is given by m(−1) that solves
1=ν1⟨(1+λkm)2λk2m2⟩
and given this solution for m, the largest eigenvalue λmax is explicit
so we find that the effective learning is exactly ηeff=λmax2 - the canonical EoS, expressed self-consistently for a random matrix.
Appendix D: Long Time Behavior and Effective Learning Rate Steady State
As discussed in the main text, after a certain amount of time, the solution to the DMFT equations in section B3 settles on a steady state for the effective learning rate. Our results uncover three possible phases for this steady state: (1) edge of stability, (2) edge of stochastic stability, and (3) width-limited regime.
To find these steady states, we assume ηefft≡ηeff∞ and solve for ηeff∞ self-consistently. Note that this assumption is not limited to a fixed point; for example, in a limit cycle, the ηeff∞ we find would be its zero-frequency component. For the rest of this section, we drop the ∞ from ηeff∞ for notational brevity.
To solve these equations, we use the z-transform, which diagonalizes time operators that are TTI, i.e. A(t,s)=A(t−s). We start by z-transforming the time integration operator Θ. Writing the operator Θts as a function function of the time lag u=t−s
Θu=ηeffv>0∑δu,v
where only positive time lags contribute and using the definition of the Z-transform we find
Θ^=ηeffu∑v>0∑δu,vz−u=ηeffu>0∑z−u=ηeffz−11.
Inspecting the self-consistent equation for R3 we see that if Θ is TTI then R3 must be TTI too, transforming Eq. B.2 we find
As explained in Appendix A, we can find the long-time behavior using the final value theorem
ηeff∞=η/c3(∞)=η/ζ→1lim(ζ−1)c^3(ζ)
giving us a self-consistency condition and allowing us to determine ηeff∞ (where we kept the ∞ superscript explicit to emphasize the steady-state condition).
Thus, self-consistency requires a simple pole at ζ=1. Inspecting the terms we find three candidates
As we show below, these three conditions correspond to the three phases from the main text. Before detailing the phases, we evaluate the contour integral in B^,K^,S^,T^ as they would be used throughout.
1. Evaluating the contour integral in K^,T^
A central quantity we will use in this section is
gk(z):=q−λkλk;q:=ηeffR^3(z)1−z
first we show five identities
a. (Identity 1) Multiplying the fraction in the definition of ogk by the conjugate of the denominator
Where we also used the fact R^3(z)=R^3(zˉ) which can be seen since the Laurent coefficients of R^3 are real (as there are time steps in the z-transform and R3 is real!).
We can expand R^3 in a Laurent series back to time domain R^3=∑t=01Rtz−t=1+∑t=11Rtz−t, additionally at ζ=1 we have zˉ=z−1, so after some simplification the expression becomes
which we can finally directly integrate using ∮2πdθeiθ(j−t+1)=δj−t+1,0 with δ the Kronecker delta which gives after the j summation and pushing in the minus from outside
ανt=1∑∞Rt(−1)t=αν(R^3(−1)−1)
which we recognize at R^3−1 evaluated at at z=−1. Using identity D.8 once more we reach the final result
calculating the integral explicitly again and resumming we arrive at
T^(ζ=1)=ηeff2(R^3(−1)−1)=νηeff2⟨gk⟩k
2. Width Limited Pole limζ→1eiθ−1+λkηeffR^32=0
This term can vanish in two separate ways, either for a specific k, or for all k. The former admits no consistent solution and here we focus here on the latter. For this expression to vanish for all k, we require eiθ−1 and ηeffR^3 vanish simultaneously.
Requiring eiθ−1 vanishes immediately implies θ=0 or equivalently z=1. Using the notation r:=R3(1) we find two cases. For r>0 substituting z=1 into
R^3(z)=(1+ν1⟨z−1+λkηeffR^3(z)λkηeff⟩k)−1
we immediately find
r=1−ν1
so a solution exists only for ν>1. Another solution can be found for r=ρ(z−1) in this case
The physical branch is the one where ρ>0 so this condition can only be satisfied for ν<1 as the denominator is greater than the numerator and ν is a positive real quantity (with ν=1 a borderline case giving a square root divergence).
The above conditions determine the product ηeffρ, but to isolate each one individually, we must determine ηeff from the residue of c^3 at ζ=1. Inspecting S, T^, and K^ the singularity cancels in all of them and only B^ maintains a singular part, so
where the last term is zero by assumption, we find that ℑ[ηeff1−z]=0, therefore z=±1, but only the case z=−1 gives a physically consistent solution.
Letting r−:=R^3(z=−1) we find the condition
⟨∣−2+λkηeffr−∣2λk2ηeff2∣r−∣2⟩=ν
which is the condition for Phase 1 - EoS. This condition has to be solved together with the self-consistent equation for R^3 in Eq. 3
r−−1=1+ν1⟨−2+λkηeffr−λkηeff⟩k.
Practically, we can first solve for the product ηeffr−, and then solve the second one for the ratio, which determines the physical ηeff∞. In Appendix C we show that the result can be interpreted as ηeff∞=2/λmax with λmax the largest eigenvalue of the random matrix ANΛAT.
4. Edge of Stochastic Stability Pole limζ→1K^(ζ)−1=0
We already evaluated K^(ζ=1) in Appendix D 1 and found
K^(ζ=1)=α⟨gk(z=−1)⟩k.
Our EoSS pole assumption thus directly implies
⟨2−λkηeffr−λkηeffr−⟩k=!α
which has to be solved together with the r− equation
Appendix E: Short Derivation of the GF Scaling Law
Here we give a simple heuristic derivation for the scaling law L(τ)∼τrSGD=τ−b2a+b−1. Writing the loss as a sum over spectral modes ek(t):=wk∗−wk(t) and using the solution ek(t)=ek(0)exp(−2λkt)
L=21k∑λkek2(t)=k∑λkek2(0)exp(−2λkτ)
and plugging in λk=k−b,ek(0)=k−a we find
k∑k−2a−bexp(−2k−bτ).
From this we can conclude that at time τ approximately down to τ1 are learned. Plugging the eigenvalue scaling we find that modes up to k∗ are learned
τk∼2λk1∼kb⇒k∗=τ1/b.
Summing only modes higher than k∗ we finally get an explicit scaling with time
Appendix F: Effective Learning Rate Scaling with Batch Size and Width
1. Effective learning rate and batch scaling in Phase 2
We derive the stationary effective learning rate ηeff∞ on the Phase 2 (EoSS) branch, and quantify its departure from linear scaling with batch size. That is, we quantify when increasing batch size can lead to the same loss with fewer optimization steps and nearly the same compute budget – close to linear scaling of ηeff∞ with α. We also show that super-linear scaling is never possible in our setting, meaning the best possible outcome is to break even in terms of compute.
Concretely, we study how ηeff∞ varies with α=B/d at fixed ν=N/d and fixed input spectrum {λk}k.
First, let r−=R^3(−1). The response equation and the Phase 2 condition together read
with μ1=⟨λk⟩k. Thus, at fixed spectrum, the spectral products tend to zero and the denominators can be expanded geometrically. Keeping every term through order α2 gives
Matching the coefficients to obtain ηeff∞(α) yields to
ηeff∞(α)=μ12α[1−α(μ12μ2+ν1)]+O(α3).(F.5)
Then, the leading term in α sets the linear scaling while the quadratic term determines its first relative correction
ηlin∞ηeff∞=1−Cα+O(α2)(F.6)
with C=μ12μ2+1/ν. Notice the sign of this correction is always negative, so the growth of ηeff∞ is always sublinear, and larger Cs give smaller tipping points or smaller batch size in the sense of [17].
The logarithmic slope measures the fractional increase in effective learning rate produced by a fractional increase in batch size
p(α)=dlogαdlogηeff∞.(F.7)
The equality of the two logarithmic derivatives follows from keeping d fixed. Linear scaling corresponds to p=1, whereas 0<p<1 corresponds to sublinear growth. Differentiating the expansion above gives
dαdηeff∞=μ12[1−2Cα+O(α2)](F.8)
and therefore
p(α)=1−Cα+O(α2).(F.9)
Thus, the coefficient C controls the initial departure from linear scaling. We can trade off some compute efficiency for fewer optimization steps by introducing a small tolerance δ; the local condition p≥1−δ gives
αδ=μ2/μ12+1/νδ+O(δ2)(F.10)
where the expansion is taken as δ→0 at fixed spectrum and ν; yielding a mathematically concrete notion of the tradeoff mentioned above.
Consequently, at fixed ν, the coefficient of the initial slope deficit 1−p remains finite for b<1/2, grows logarithmically for b=1/2 and grows with dimension for b>1/2. The linear scaling window size is inversely proportional to that, i.e., macroscopic for b<1/2 and vanishing for b>1.
For completeness, the leading effective learning rate is
Here ζ(b)=∑k=1∞k−b denotes the Riemann zeta function, whose value is finite for R∋b>1. Together, these expressions specify the leading effective learning rate and the dimension dependence of its first relative correction in every spectral regime.
2. Critical batch ratio separating EoSS and EoS
We determine the critical batch ratio αc=Bc/d by imposing the Phase 2 and Phase 3 conditions simultaneously. We consider λk=k−b and derive large d asymptotics at fixed ν>0 and fixed b.
with 0<sc<1. These equations determine the transition within the stationary stability-limited regime. For fixed b>0, we first separate the contribution of the largest eigenvalue, corresponding to k=1. The squared phase condition reads
νd=(1−scsc)2+k=2∑d(kb−scsc)2.(F.16)
The remaining squared terms grow more slowly than d. Thus, at large d, the first term supplies the leading contribution, giving
1−scsc≃νd,sc→1.(F.17)
We now use this result in the unsquared phase condition. Keeping the top-mode contribution and setting sc≃1 in the remaining terms gives
Bc≃νd+k=2∑dkb−11.(F.18)
The first term is the contribution of the largest eigenvalue, while the second collects the remaining spectrum. For 0<b<1, the spectral sum grows as d1−b/(1−b). It grows logarithmically at b=1 and approaches a finite constant for b>1. Comparing this contribution with νd gives the leading critical batch ratio:
The flat-spectrum result b=0 is exact. The remaining expressions are leading approximations as d→∞ at fixed b>0 and ν>0.
For b<1/2, the remaining spectrum dominates the critical batch, and the dependence on ν enters at smaller order. At b=1/2, both contributions have the same order and must be added. For b>1/2, the largest eigenvalue determines the leading result Bc≃νd=N, while the dependence on b appears in subleading corrections.
FIG. 6. Critical batch ratio αc versus width ratio ν. Solid curves show DMFT predictions, the dashed line shows the leading top-mode estimate ν/d, and markers show the large-dimension approximation ν/d+d1∑k=2dkb−11. The remaining spectrum raises the saturation threshold substantially for smaller b.
The three conditions to be satisfied can be then read as
From the response function equation, one can then solve for r− and get
r−=1+νΦ(ηeff∞r−)(F.26)
from which the third equation simplify as
α=Φ(ηeff∞r−)(1+η22ηeff∞Pν).(F.27)
We first specify the physical branch on which the expansion is performed. Writing y=ηeff∞r−, the EoS condition derived above is
G(yc)=ν,G(y)=d1k∑(2−λkyλky)2.(F.28)
On 0≤y<2/λmax, G(y) increases continuously from 0 to ∞. Hence its unique root in this interval satisfies 0<yc<2/λmax. The stable Phase-1 branch lies below this EoS endpoint, so 0<y<yc and therefore
0<λky<2∀k.(F.29)
Each denominator in Φ(y) is thus positive and no larger than 2, giving
Φ(y)=d1k∑2−λkyλky≥d1k∑2λky=2μ1y.(F.30)
Moreover, Φ(y)>0 implies r−=1+Φ(y)/ν≥1. Substituting y=ηeff∞r− we obtain
Φ(ηeff∞r−)≥2μ1ηeff∞r−≥2μ1ηeff∞.(F.31)
This bound follows from the stability branch selection. Using this bound in the stationary closure gives
α≥η2μ1Pν(ηeff∞)2.(F.32)
Rearranging
0<ηeff∞≤ημ1Pνα.(F.33)
Since α, μ1>0 and Pν>0 remain fixed, η→0 therefore implies ηeff∞→0. The stationary closure gives 0≤Φ(y)≤α, hence 1≤r−≤1+α/ν. Therefore y=ηeff∞r−→0, implying Φ(y)→0 and r−→1. Expanding Φ near zero then gives
This is the same μ1 that appears in the small- α EoSS branch calculation. To extract the width dependence, we now specialize to λk=k−b and βk=k−a. Writing mν=ηeff∞ρ, the width equation and the residual target power become
The first equation determines mν independently of the teacher exponent a. Once mν is known, the second equation determines the dependence on both a and b.
For λk=k−b, the denominator kb+mν changes behavior around k∼mν1/b: below this index it is dominated by mν, and above it by kb. To obtain asymptotic width scalings, we focus on an intermediate-width regime where this crossover is well separated from both spectral endpoints, i.e.
1≪mν1/b≪d.(F.41)
Both ranges then contain many modes, allowing their contributions to the spectral sums to be estimated separately. This condition specifies a window of ν given d, it is not required by the full stationary equations.
For modes with k≪mν1/b, the denominator is dominated by mν, whereas for k≫mν1/b it is dominated by kb. Splitting the sums into these two ranges gives the scaling estimates
Here ≍ denotes equality of leading scaling, without specifying the multiplicative constant.
Now, to determine mν, we approximate the width equation by
dν≍mν1/b+mν∫mν1/bdk−bdk.(F.44)
For 0<b<1, the integral is dominated by its upper endpoint and gives mνd1−b, which dominates the first term.
FIG. 7. Width efficiency and spectral dependence. Left: Qν=ηeff∞/ν versus width for b=0.5 and different teacher exponents a. DMFT predictions (solid; dashed in EoS) are compared with simulations (symbols) and anchored Phase-1 scalings (dotted), which predict Qν∝ν−1/2 for a>1/2, with a logarithmic correction at a=1/2. Right: Qν across (a,b) at ν=0.1, with theory and simulation markers sharing the color scale. The thick white curve marks the EoS boundary; the dark contour marks Qν=1. For these parameters, no interior efficiency maximum is observed for ν<1: Qν(ν) decreases to a minimum before rising toward a peak near the interpolation threshold ν=1.
FIG. 8. Width efficiency at b=1. Left: Qν=ηeff∞/ν versus width for different teacher exponents a. DMFT predictions (solid; dashed in EoS) agree with simulations (symbols). Dotted curves show anchored Phase-1 scalings, including the logarithmic corrections at b=1; for a>1/2, Qν∝[νlog(1/ν)]−1/2. Efficiency initially decreases, reaches a minimum, and rises toward a peak near ν=1. Right: Qν across (a,b) at ν=0.1, with theory and simulation markers sharing the color scale. The thick white curve marks the EoS boundary, and the dark contour marks Qν=1. The vertical and horizontal dotted reference lines indicate ν=0.1 and b=1, respectively.
FIG. 9. Complimentary figure to 4 right panel. Here we train a larger range of widths to convergence, showing that the width speedup can sometimes be subsumed by the loss floor, making larger widths for compute and speed efficient.
For b=1, it gives mνlog(d/mν). For b>1, the lower endpoint dominates, giving a contribution of order mν1/b, comparable to the first term. Therefore,
up to factors independent of ν. Thus efficiency grows with width when 2a+b>3 for a<1/2, or b>2 for a>1/2, with a logarithmic correction at a=1/2. This scaling alone does not determine the optimal width. The gain is eventually reversed by stability: on the EoS branch, Qν′(ν)<0. When this branch is reached below ν=1, the increasing and decreasing regimes imply an efficiency maximum at an underparameterized width. Its location is determined by the full stationary equations.
Here too, efficiency decreases with width within the asymptotic regime and the negative powers of ν dominate the logarithmic corrections.
4. Absence of approximately equal-compute speedup
Approximately equal-compute speedup requires the stationary effective learning rate to grow approximately linearly with the resource being increased. We examine the complementary resource directions to those permitting this behavior.
a. Batch size in Phase 1. At fixed width and spectrum, the width constraint fixes ηeff∞ρ, so Pν is independent of batch size. The small-step asymptotics in equation F.36 therefore gives
ηeff∞∼ημ1Pνα,∂logα∂logηeff∞⟶21.
Thus the gain is square-root rather than approximately linear. For example, doubling the batch reduces the updates needed to accumulate the same effective time by only a factor 2, increasing total compute by a factor 2. Increasing batch size therefore does not provide approximately equal-compute speedup in this regime.
b. Width in Phase 2. At fixed batch size and spectrum, the EoS condition Φ(y)=α fixes y independently of width. The response equation gives
ηeff∞=ν+ανy,∂logν∂logηeff∞=ν+αα.
The physical Phase-2 branch satisfies ν>1 and G(y)<ν. Since Φ(y)2≤G(y), we obtain α<ν<ν, and hence
∂logν∂logηeff∞<21.
Width gains are therefore slower than square-root throughout Phase 2. In particular, doubling width while remaining in this phase increases the compute required for the same effective time by more than a factor 2.
c. Batch size and width in Phase 3. At fixed width, the deterministic stability threshold ηeff∞=2/λmax(ν) is independent of batch size. Additional batching therefore provides no stationary speedup.
For width, the response equation and the EoS condition give
ηeff∞=ν+Φ(y)νy,G(y)=ν.
Using yΦ′(y)=Φ(y)+G(y) and differentiating along the EoS branch yields
∂logν∂logηeff∞=ν+Φ(y)Φ(y).
For ν≥1, the inequality Φ(y)2≤G(y)=ν immediately bounds this slope by 1/(1+ν)≤1/2. For ν<1, Phase 3 is reached from the width-limited branch. At the transition to EoS, the Phase-1 closure gives
α=Φ(y)(1+η22ηeff∞Pν)≥Φ(y).
Hence throughout Phase 3, Φ(y)≤α. Assuming N>B, equivalently ν>α, we therefore obtain
∂logν∂logηeff∞=ν+Φ(y)Φ(y)≤ν+αα<21.
Thus, also for ν<1, increasing width yields at most square-root gains in the stationary effective learning rate when N>B. We do not treat here the case of an under-parameterized network where the batch size α is larger than the total parameter count ν, and we do not exclude speedups in this case; instead we note that this case is far removed from modern practice.
Appendix G: Experimental Details
a. Task and data. We train on CIFAR-5M with the binary animate/inanimate target, y=+1 for classes 2–7 and y=−1 otherwise, so that E[y2]=1. We rescaled each coordinate's color scale to [−1,1] and used online training with no repetition: each of the 5×106 training images is used exactly once, so every step draws a fresh batch such that the total number of steps satisfies TBT=5×106 in every run.
b. Architecture. We use the residual CNN of [6]: a 3×3 stem convolution with w channels, three residual groups of one block each with the third at stride 2, average pooling, and a scalar readout. A block is Relu→Conv3×3→Relu→Conv3×3 summed with its shortcut. The width w is constant across groups and there is no batch normalization. The number of trainable parameters is
N(k)=63w2+28w.(G.1)
c. Linearized training. We train the linearization of the network around its initialization, f(δθ)=J(θ0)δθ, on the half mean-squared error, with the normalized update δθ←δθ−ηg/∥g∥2. Accordingly we use ηefft=η/∥gt∥2. We note that this follows our dimension-free update described in App. H and differs from our proportional regime where we used dη for the update.
d. Spectral exponents. We take λk and βk from the analytic infinite-width NTK, evaluated on M=16,384 images and diagonalized in numerically; we find trΛ=0.690 and by the definition of the labels ∑kλkβk2=E[y2]=1. We fit b from the decay of λk and 2a+b−1 from the decay of the residual target power
1−C(k):=∑k′=1Mλk′βk′2∑k′=kMλk′βk′2,
both over the window k∈[20,512] where we find a good power fit with parameters
b=1.81,2a+b−1=0.17,a=−0.32,λmax=0.44,(G.2)
close to the values reported in [6] for the same architecture. Hence rSGD=0.095, with predicted transient exponent 2rSGD/(1−rSGD)=0.21.
The DMFT takes the measured spectrum for k≤1024 and the fitted power law beyond it, continued to d=1010. We found that taking larger d made a negligible difference.
e. Sweep. We vary width and batch size over
w
4
16
64
128
256
N
1,120
16,576
259,840
1,035,776
4,135,936
B
2
10
100
1,000
10,000
T
2.5⋅106
5⋅105
5⋅104
5⋅103
500
η
0.01
0.1
0.2
0.5
with two seeds per cell, for 241 runs in total.
f. Evaluation. We report the mean-squared error on a fixed held-out set of 4,096 images, evaluated at 150 logarithmically spaced steps, and record ∥gt∥2 and ηefft at every step. The DMFT is integrated to up to T=3800 steps due to memory constraints.
Appendix H: The Dimension-Free Limit
The main text focuses on the proportional limit d,N,B→∞ at fixed ν=N/d and α=B/d, here we extend the results to the case of taking the limit d→∞ first, and only then taking N,B≫1−a dimension free setting. This limit corresponds to the kernel settings and our NTK and linearized networks experiments where the representations live in an infinite-dimensional kernel space. We show that at fixed N,B the theory has a regular limit there in which the dimension drops out of every equation, leaving N,B,η and the spectrum. We then translate the steady state of App. D into this setting, where phase 1 (width-limited) and phase 3 (EoS) survive but phase 2 (EoSS) does not. The main change is that we no longer average over k modes, but take the trace (sun), so with λk=k−b and βk=k−a,
TrΛ=ζ(b),L0=k∑λkβk2=ζ(2a+b),(H.1)
and the limit exists for a trace-class kernel, b>1, alongside the usual 2a+b>1.
To define this limit, we also need to modify the update and remove the d scaling,
wt+1=wt−η(g⊤g)−1/2g,ηefft=∥gt∥2η.(H.2)
which should be contrasted with equation 1.
1. The Dimension-Free DMFT Equations
In App. B3 the dimension enters only through ⟨⋅⟩k=d−1∑k and the ratios ν,α, and these appear only in the combinations ν−1⟨⋅⟩k and α−1⟨⋅⟩k. Multiplying every relation by d therefore removes the dimension and trades the intensive quantities for convergent ones (under this appendix's additional assumption b>1),
with j the all-ones time vector. These are the ν,α→0 limit of the main-text closure at fixed N and B, and are exact for 1≪N,B≪d. The same substitution in equation 3 gives the stationary response
which always has a solution: its mode sum now runs over infinitely many modes and is no longer bounded by d, which is the origin of the ν<1 condition in the main text. The right-hand side of equation H.8 grows continuously from zero and diverges precisely at R^3(−1)=1+B/N, so it matches any η at a smaller effective learning rate than phase 2 requires. The width-limited state is therefore reached first for every N, B and η, and phase 2 is excluded. The only transition left is width-limited to EoS, at a critical batch size obtained by evaluating equation H.8 on the EoS branch,