A Stochastic--Geometric Theory of Scaling Laws in Grokking
Anonymous authors
ICLR 2027
TL;DR. We present a stochastic--geometric theory of grokking that uses stopping-time analysis to derive scaling laws in grokking for learning rate, batch size, and $\ell_2$ regularization, validated empirically and against prior results.
Abstract. Delayed generalization (\ie~grokking) refers to the phenomenon in which a neural network fits its training data early in training but only begins to generalize after a prolonged delay, often through an abrupt transition. Despite extensive empirical study, its underlying mechanism remains poorly understood. In this work, we first theoretically characterize a shell--core topological configuration of the reachable solution space induced by Adam's optimization dynamics with weight-shrinkage regularization, supported by empirical evidence. This optimization-induced topological configuration gives rise to grokking. In model's parameter space, random initialization solutions concentrate on a thin outer spherical shell, enclosing another spherical shell of memorization solutions, which in turn contains a core corresponding to the generalization solutions. Leveraging stopping-time theory, we then analyze the geometry of this topological configuration and the solution transition time at which optimization trajectories escape the memorization manifold and first reach the boundary of the generalization manifold. Our theoretical analysis derives grokking scaling laws for the learning rate, batch size, and regularization coefficient, which are further validated through experiments and shown to recover results from prior literature.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 16:45 UTC.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 1/3
Read review
Summary
A fully-connected two-layer neural network trained with Adam on modular arithmetic data can exhibit grokking. Assuming that the parameter space consists of a generalizing core and an overfitting shell outside of the core, the authors derived expressions for the core and shell radii, and presented numerical results supporting their theory.
Strengths
None.
Weaknesses
-
The presentation of the mental model is not clear. The introduction appear to tell me, the parameter space consists of a generalizing core and an overfitting shell, but what is the justification? Also, if that is the case, the core and shell radii should be the property of the loss function and risk function themselves, so why would they depend on the learning rate and batch size? The authors indeed say the shell-core structure is "optimizer-induced", but I think the meaning of that deserves elaboration.
-
The authors claim Eq. (7) is one of their main result, but I don't see what can be learned from the equation. Eq. (7) tells me that the shell radius depend on the ratio of the learning rate and the batch size, but this is not surprising because the minibatch noise depends on the same ratio. How does the shell radius depend on this ratio? Eq. (7) says their relation is a Taylor expansion, which is true for any smooth function. If, for example, the authors can show that the 3rd-order term must be orders or magnitudes smaller than the constant, linear, and quadratic terms, then that is indeed something new for me to learn. Unfortunatelly I don't see the authors proving that.
-
The numerical results are presented with "theoretical fits." However, they did not clearly write down the fitting functions. Therefore, how falsifiable are their predictions is not clear to me.
Questions for the authors
What is the justification of the shell-core model of the parameter space?
Eqs. (7) and (15) appers to be just Taylor expansions. What can I learn from them, since all smooth functions can be written as Taylor series?
7 comments
Responses to Reviewer iaDy (part 2)
Regarding
Also, if that is the case, the core and shell radii should be the property of the loss function and risk function themselves, so why would they depend on the learning rate and batch size?
We appreciate your concerns. Let us put it simply.
- The radii are a property of neither the loss function nor the risk function.
- Their dependence on hyperparameters such as the learning rate and the batch size comes directly from Adam's joint SDE (Lemma 1):
Intuition. Why learning rate and batch size enter into Adam's SDE.
In mini-batch sampling, the optimiser uses the gradient computed from a mini-batch to estimate the true full-batch gradient. The error (variance) of this estimate appears as the diffusion term. The batch size controls the noise magnitude: a larger batch gives a smaller estimation error.
SGD as example. Let me use SGD's SDE as an example, step by step. (You can also find in appendix A5)
For example, suppose a batch contains samples
with per-sample gradients
whose mean and covariance are
The mini-batch gradient is their average
By the central limit theorem (CLT), if the batch size is sufficiently large, converges in distribution to
where is the per-sample covariance. The covariance of the batch average is scaled by because the samples are independent:
Wiener process. Therefore, for any mini-batch, the estimated gradient can be written as two terms:
where is the sampling noise. We use the negative-sign convention because gradient descent uses the negative gradient; this simplifies the later derivation.
SDE. Adam is too complicated to serve as an example, so let us use SGD. Consider the update at iteration (a stochastic process)
where is the learning rate. Substituting gives
Each iteration corresponds to a time step , i.e. . A Wiener process (Brownian motion) has increments , so and
Taking gives the SDE of SGD:
Where and enter. The batch size enters through the covariance
Responses to Reviewer iaDy (part 3)
Regarding
The authors indeed say the shell-core structure is "optimizer-induced", but I think the meaning of that deserves elaboration.
We appreciate your concerns. The shell-core structure is indeed induced by the optimiser: it follows from Adam's joint-state SDE, which we developed and validated.
Adam's joint-state SDE is
where is the parameter at time , and and are the first- and second-moment estimates at time .
The SDE has two terms. In SDE theory, is called the drift, which is deterministic, and is called the diffusion, which is stochastic.
Training starts from an initial state , where is the initial parameter given by the initialiser (e.g. PyTorch's Kaiming initialiser), and the first- and second-moment estimates are initialised to zero.
- Initialisation shell. As we derived in Section 3, concentrates on a thin hyperspherical shell: for a given initialiser, the initial radius is nearly the same whatever the random seed.
- Memorisation. Starting from , as optimisation progresses, the trajectory first reaches the memorisation boundary at the stopping time . Because the initial states concentrate, the trajectories towards memorisation behave alike. This is why, in Fig. 1, we observe very symmetric trajectories using manifold learning (MDS). It also suggests that, for any starting parameter (with the initialiser kept the same), the radius at which the trajectory hits the memorisation boundary, , is expected to be nearly identical.
- Generalisation. Once the trajectory has reached the memorisation manifold, as optimisation continues, it finally settles in the generalisation manifold, where drift and diffusion equilibrate.
This is the optimisation-induced topology. The memorisation and generalisation manifolds and are defined as the solutions reachable under Adam's dynamics.
Empirically, the three radii concentrate across seeds (Appendix A.2; , 10 seeds, mean std): initialisation , memorisation , generalisation .
Regarding
- The authors claim Eq. (7) is one of their main result, but I don't see what can be learned from the equation. Eq. (7) tells me that the shell radius depend on the ratio of the learning rate and the batch size,
We appreciate your concerns.
We would like to clarify the scope of this work: we study the scaling laws of grokking, i.e. how grokking scales with the learning rate, the batch size and the regularisation coefficient. Eq. (7) is the result that theoretically derives the relationship between these hyperparameters and the memorisation radius. Several things can be learned from it.
- The learning rate and the batch size act through the single ratio . They modulate the stochastic diffusion of Adam's SDE through the factor . To the best of our knowledge, the scaling of the memorisation radius with has not been derived in prior work.
- The regularisation coefficient acts differently. modulates the deterministic drift, and enters only through the leading constant, .
- Eq. (7) predicts a U-shape. It is consistent with Fig. 2.
Regarding
but this is not surprising because the minibatch noise depends on the same ratio. How does the shell radius depend on this ratio?
We appreciate your concerns. We welcome criticism and are open to academic disagreement.
However, knowing that the mini-batch noise depends on the ratio does not tell us how the scaling laws are quantitatively governed by and .
- Rating
- 2/4
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper studies grokking in a standard setting of two-layer networks trained with Adam and weight decay. The authors propose a geometric picture of parameter space: initializations lie on a thin spherical shell, memorizing networks (low training loss) lie on a shell of smaller radius, and generalizing solutions (low test loss) on an even smaller one. The authors frame the problem as afirst-passage problem between these spheres and analyze the weight norm when the optimizer first reaches the memorization and the generalization solutions. The first passage problem is then analyzed with a continuous-time SDE limit of Adam which in late stages of training is reduced to a one-dimensional SDE for the parmeter norm.
Strengths
-
Insight: The first passage formulation is insightful and, in my knowledge, a new way to compute the grokking time from theory. the reduced SDE offers a clean and computable way to quantify the delay.
-
Quantiative: the theory tracks the numerical experiments very well: the theoretical expressions for , and closely match the measured values across the sweeps over , and .
Weaknesses
-
Applicability: the theory relies heavily on the weight decay, though grokking has been observed also without it (eg Kumar et al 2024, cited in the manuscript), and with full batch optimization (eg the leading term in theorem 3 diverges when ). So the theory only describes the regime with strong weight decay, and the learning rate mostly sets the time scale. meanwhile, the number of samples used in training, which is the main control parameter in Power et al and Liu et al, is absent. The number used in experiments is not even reported. This is the main weakness in my opinion.
-
The Scaling laws carry little content and the constants are fitted and not discussed:
- theorem 1 is just a second order taylor expansion in $\eta/b $ around a noiseless trajectory, so the fit in Fig. 2 is basically the statement that is analytic to 2nd order
- similarity, theorem 2 is just the standard stationary variance of noisy dynamics in a quadratic well.
- theorem 3 assumes that the norm decays exponentially to leading order from to at rate , giving . However, since is not computed independently but it is defined as the average decay rate measured along the trajectory (Eqs. 437-438), so the formula holds for any trajectory by construction.
Minor:
- Section 3 and Appendix A.3–A.4 establish that the norm of a Gaussian initialization concentrates on a thin shell, which is textbook chi-square result. It uses heavier tools than needed and does not contribute to readability.
- Lots of missing details: what's the loss used? size of training set? how was "theoretical curves fitted"? what epsilon was used? these gaps do not meet basic standards of sceintifc reproducability
Questions for the authors
-
Training data size. What training fraction was used? How do , and depend on it, and can the framework predict how the solution transition time scales with the number of training samples?
-
Grokking without weight decay. How does the theory account for grokking with , or with full-batch training? In these cases the leading term of Theorem 3 diverges, or the noise vanishes, yet grokking may occur.
-
Definitions of memorization and generalization. What value of was used? Can the authors show training and test curves (loss and accuracy) with and marked, to show that they correspond to the start and end of the plateau in learning? Do the results change with ?
-
Theoretical curves. How were the "theoretical" curves in Figs. 2, 4 and 5 obtained? Which constants are fitted, and how many free parameters does each curve have? As a simple check of Theorem 1, does stay the same when and are scaled by the same factor?
9 comments
Responses to reviewer Zmho (part 1)
Dear Reviewer Zmho,
We very much appreciate that you have read and assessed our work. We will organise our responses point by point to address your concerns.
Regarding
The paper studies grokking in a standard setting of two-layer networks trained with Adam and weight decay. The authors propose a geometric picture of parameter space: initializations lie on a thin spherical shell, memorizing networks (low training loss) lie on a shell of smaller radius, and generalizing solutions (low test loss) on an even smaller one. The authors frame the problem as a first-passage problem between these spheres and analyze the weight norm when the optimizer first reaches the memorization and the generalization solutions. The first passage problem is then analyzed with a continuous-time SDE limit of Adam which in late stages of training is reduced to a one-dimensional SDE for the parmeter norm.
We appreciate your careful reading of our work and thank you for highlighting our theoretical analysis.
We would like to clarify that this paper does not focus specifically on two-layer neural networks; the two-layer architecture is used only in the experimental setting. Our work studies training dynamics.
To validate our equations, lemmas, theorems, and theoretical predictions, we need to compute the gradient, with entries, and the Hessian, with entries, at every training step, where is the number of parameters. For larger networks, this computation becomes impractical.
Regarding
Critical Strengths:
- Insight: The first passage formulation is insightful and, in my knowledge, a new way to compute the grokking time from theory. the reduced SDE offers a clean and computable way to quantify the delay.
- Quantiative: the theory tracks the numerical experiments very well
We appreciate that you carefully read our work and highlight the insights. In fact, our core contribution and positioning are:
-
Core contribution. Before the responses, we want to clarify the claimed contribution of our work comes from
the analytical analysis regarding how hyper parameters such as learning rate and batch size modulate grokking, using stopping analysis based on the rigorously-derived SDE and the radial-form SDE. -
Positioning. Unlike the largely empirical literature on scaling laws in grokking, our work provides a purely theoretical framework based on SDE theory that derives the observed scaling laws under weight-shrinkage regularisation.
Regarding
Critical Weaknesses:
- Applicability: the theory relies heavily on the weight decay, though grokking has been observed also without it (eg Kumar et al 2024, cited in the manuscript), and with full batch optimization (eg the leading term in theorem 3 diverges when ). So the theory only describes the regime with strong weight decay, and the learning rate mostly sets the time scale. meanwhile, the number of samples used in training, which is the main control parameter in Power et al and Liu et al, is absent. The number used in experiments is not even reported. This is the main weakness in my opinion.
We appreciate and thank you for raising your concerns. We welcome criticism and open to academic disagreements.
We want to clarify two aspects:
- First, this is the scope and limitation of the theoretical analysis. The reason is because deriving the scaling laws purely from SDE theory needs the weight-evolution SDE and its radial form (manifold radius) has to be analysable so that we are able to derive useful and verifiable results. Without the weight-shrinkage regulariser, we have the difficulty to explicitly derive the radial SDE. Thus, analytical form of the scaling laws is impossible.
- Second, for the learning tasks we've tested in our setting. Without weight-shrinkage regularisers, training doesn't grok after significantly elongated steps.
To avoid to complicate the problem, and deliver a neat theory to the community, we treat this as the elimination of our work. We wish to leave this into future work if that is mathematically possible.
Responses to reviewer Zmho (part 2)
Regarding
The Scaling laws carry little content and the constants are fitted and not discussed:
- theorem 1 is just a second order taylor expansion in around a noiseless trajectory, so the fit in Fig. 2 is basically the statement that is analytic to 2nd order
We appreciate your concerns, and would like to clarify the following.
-
In the training dynamics, when trajectories hit the memorisation boundary, the SDE is dominated by the drift, and the diffusion terms act only negligibly in this regime. Unlike an empirically based study, a purely analytical derivation is very difficult: without these simplifications and assumptions, we would not be able to derive the analytical form of the scaling law.
-
Theorem 1 is not a Taylor expansion. It is derived from the perturbation expansion of the infinitesimal generator . For a stochastic process driven by a Wiener process, a Taylor expansion is not applicable, since the process is continuous but not differentiable.
Let us briefly explain how Theorem 1 is derived.
- We first establish a rigorous, non-approximated joint SDE for Adam on the state (Lemma 1):
- We then define the stopping time , starting from the initial state and hitting the memorisation boundary :
- Based on , we define the memorisation radius :
In SDE theory, one question of interest is: when changes by , how much does a scalar function of the state change in expectation? This is given by an operator called the infinitesimal generator, which is derived from Itô's lemma. For Adam's joint SDE it is
- For a problem in which trajectories hit a memorisation boundary, the PDE must satisfy boundary conditions. In SDE theory this is referred to as the Dirichlet exit problem. Let be the exit-value function, so that . Then
where is the -block projector, so that .
This PDE admits no analytical solution. One way forward is to derive an approximate solution by operator perturbation, expanding the operator.
We agree with you that the "algebraic form" of the result may resembles Taylor expansion.
Responses to reviewer Zmho (part 3)
similarity, theorem 2 is just the standard stationary variance of noisy dynamics in a quadratic well.
We appreciate your concerns.
Thm2 differs from Thm1 in both its form and its derivation route. In the derivation of Thm1, the dynamics are dominated by drift. For Thm2, however, diffusion is no longer negligible: once the trajectory enters , the drift and diffusion equilibrate.
To derive thm2, the outline is
- Radial SDE after slow-manifold reduction. From Adam's joint SDE, we derive the SDE of the manifold radius (Lemma 2; please see Fig. 6, High-Level Sketch of Theoretical Analysis Framework) under the slow-manifold reduction and the small-isotropic gradient covariance (see Observations 1 and 2):
where , with , is the effective scalar preconditioner obtained from Adam's preconditioner , and is the task-loss mean gradient.
- First-hitting problem on . Starting from the state at which the trajectory first reaches , we define
- Equilibrium centre. Adam's SDE then approaches its equilibrium, centred at the regularised local minimiser (we do not assume a global minimiser):
- Linearisation around . Writing and using , under the dominant-regularization approximation,
- Local stationary approximation. Taking the conditional expectation of the radial SDE, with ,
- Averaging over gives Theorem 2:
where and is the preconditioned diffusion factor, with .
The last step is a local stationary balance, but the result is specific to Adam. It rests on the reduction of Adam's joint SDE on to a one-dimensional radial SDE (Lemma 2), and the constant is determined by Adam's preconditioner through and . As a result, the correction scales with , with only a weak batch-size dependence , and .
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The authors characterize the solution manifold in parameter space of the ADAM optimizer with the goal of understanding the phenomenon of grokking. In grokking, training error goes to zero much faster (in fewer iterations) than the generalization error. The results here show the time required to go from memorization to generalization on average in terms of the hyperparameters such as learning rate and regularization strength.
Strengths
- Clear explanation of grokking
- Non standard examples like learning group actions
Weaknesses
It is well known that ADAM dynamics can be written under appropriate assumptions (small learning rate) as an SDE and there is a vast literature (e.g Wilson et al 2017, Reddi Kale Kumar 2018) proving lack ergodicity and lack of convergence to solutions that generalize. The authors may want to specifically write what assumptions they are making on the optimization landscape to obtain their results; they assume the probability of the solutions reaching generalization error less than epsilon is always non-zero.
The results do not really tell us that the solution manifold is a sphere and there is an inner shell, outer shell etc. One can always define radii or diameter of any set but that doesn't mean the set is a sphere or the surface of a sphere. There is a lot of terminology from differential geometry, probability (e..g, what is p_ADAM) that is used without properly defining them.
Questions for the authors
Is the asymptotic expansion of the solution of the SDE used? How exactly does this lead to Theorem 1? The authors cite a textbook on perturbation analysis and say the proof is in the appendix but this does not exactly convey any intuition. The same kind of questions apply to every result in the paper.
Why are we able to get explicit dependence on the hyperparameters of the transition time and how do we interpret them? What is the guarantee that solutions won't go back to ``shell'' of memorization?
3 comments
Responses to Reviewer evUy (part 1)
Dear Reviewer evUy,
We very much appreciate that you have read and assessed our work. We will organise our responses point by point to address your concerns.
Core contribution. Before the responses, we want to clarify the claimed contribution of our work comes from the analytical analysis regarding how hyper parameters such as learning rate and batch size modulate grokking, using stopping analysis based on the rigorously-derived SDE and the radial-form SDE.
Positioning. Unlike the largely empirical literature on scaling laws in grokking, our work provides a purely theoretical framework based on SDE theory that derives the observed scaling laws under weight-shrinkage regularisation.
Regarding
Critical Strengths:
- Clear explanation of grokking
- Non standard examples like learning group actions
We thank the reviewer for highlighting these strengths.
Regarding
It is well known that ADAM dynamics can be written under appropriate assumptions (small learning rate) as an SDE and there is a vast literature (e.g Wilson et al 2017, Reddi Kale Kumar 2018)
We appreciate the concerns and thank the reviewer.
We want to clarify that SDE approximations of Adam do exist. For example, we have credited such as [1-2] in our manuscript.
[1] Sadhika Malladi et al. On the SDEs and scaling rules for adaptive gradient algorithms. NIPS [2] Enea Monzio Compagnoni et al. Adaptive methods through the lens of SDEs: Theoretical insights on the role of noise.
However, most of these approximations are first-order approximations. In our work, we need to study grokking from the perspective of the stochastic dynamics. In a stochastic dynamical system, studying the modulation effects on this stochastic process from such as learning rate and batch size needs the second-order information. To the best of our knowledge, the SDE form we rigorously proved does not exist in literature. We develop this for studying the stochastic dynamics of grokking under weight-shrinkage regulariser.
Regarding
proving lack ergodicity and lack of convergence to solutions that generalize.
We appreciate the concerns. First of all, the delayed generalisation on datasets without noise and under structures exists empirically in literature. This is the grokking.
For the literature [3-4], we've read their papers. Their papers do not overlap with grokking and do not discuss the generalisation from the perspective of SDE theory such as ergodicity. Probably you the literature [3-4] you mentioned are wrong?
One more note. Ergodicity is orthogonal to generalisation.
Despite the study regarding Adam by approximating exact SDE comes very late in literature [1-2], they also do not overlap our formulation (exact SDE).
[3] Ashia C. Wilson et al. The Marginal Value of Adaptive Gradient Methods in Machine Learning [4] Sashank J. Reddi. On the convergence of Adam and Beyond
Regarding
The authors may want to specifically write what assumptions they are making on the optimization landscape to obtain their results; they assume the probability of the solutions reaching generalization error less than epsilon is always non-zero.
We appreciate the concerns. We agree with you.
In fact, our theoretical research regarding solution structure (in another paper, not in the scope of this paper) and experiments show that, from the lens of SDEs, in equilibrium state, weight trajectories will reach a ring likes the “event horizon of a black hole.” The solutions will stay on this ring-like region centring its local optimum, rather than zero loss. The confinement of this region is small.
This can be done by SDE and its FPE (Fokker-Planck Equation).
Regarding
The results do not really tell us that the solution manifold is a sphere and there is an inner shell, outer shell etc.
We appreciate your concerns. Please refer to Appendix A.2 in page 14. The empirical evidences show the manifold shape and the shell-core structure under several tasks.
We want to add a disclaimer. We only study the weight-shrinkage situation. In our experiments and literature, grokking needs weight-shrinkage regulariser. But this does not exclude that without weight-shrinkage regulariser, models can not grok. This is the limitation of this work. we only consider the classic setting and provide theoretical interpretation.
Responses to Reviewer evUy (part 2)
Regarding
Is the asymptotic expansion of the solution of the SDE used? How exactly does this lead to Theorem 1? [...]
We appreciate your concerns.
Theorem 1 is derived through an asymptotic expansion, but one obtained through perturbation theory on operators. Usual Taylor expansion doesn't apply to stochastic process which is continuous but not differentiable ANYWHERE.
Let me put the outline simply.
We use plain language below; if you are familiar with SDE theory and operator perturbation theory (e.g. Kato's), please ignore some of the terms we use.
- Establishing a rigorous Adam SDE. We first establish a rigorous parameter-evolution SDE for Adam, without approximations, so that the SDE captures all information during the evolution.
Please also see
Appendix A.5 (PROOF: ADAM'S CLOSED-FORM CONTINUOUS-TIME SDE LIMIT)andFig. 6.
The SDE is
where are the parameters and the first- and second-moment estimates, respectively. Please see Lemma 1, which is also verified through experiments.
- Defining the stopping time. Suppose we train a model from the initial state , since Adam and AdamW initialise and to zero.
We are interested in the time at which the trajectory , starting from , reaches the memorisation boundary . We can now define the stopping time for a single realisation of the SDE. This is standard in SDE theory.
- Defining the expectation over all realisations starting from anywhere in the initialisation manifold . We are interested in the expected radius on reaching the memorisation boundary.
- We denote by the parameter at the moment the trajectory hits the memorisation boundary.
- Infinitesimal generator. Let be the exit-value function: the expected squared parameter norm at the first-hitting time of , starting from . Averaging it over the initialisation gives . is a scalar function of the state, and evolves exactly according to its SDE, i.e.
In SDE theory (and in physics as well), this type of problem is called the Dirichlet exit problem, defined on the state .
We ask: if changes by , how much does change? In SDE theory, there is an operator, defined on the SDE and acting on the scalar function , called the "infinitesimal generator" .
This is basic SDE theory. The generator is derived directly from Itô's lemma, which is why it has a second-order term: the stochastic effect usually has non-zero variance and does not admit the usual first-order Taylor expansion.
and solves the Dirichlet problem
This is a PDE which doesn't admit analytical solution in usual sense.
- Perturbation solution for .
However, directly solving for , and hence expressing in terms of the hyperparameters of the SDE, is impossible.
To solve it, we need some tricks. One way is to decompose the generator . In operator theory, an operator can be expanded (this is very common in quantum physics and functional analysis).
Note: there are several traditions for this theory; the one we are familiar with is Kato's framework for spectral theory/operator theory.
Please read A.12 PROOF: SCALING LAW OF MEMORIZATION RADIUS for the details.
Responses to Reviewer evUy (part 3)
Regarding
Why are we able to get explicit dependence on the hyperparameters of the transition time and how do we interpret them?
We appreciate your concerns.
Why hyperparaemters enter into scaling laws.
This is because the algebraic link: . The explicit relationship is ruled by the infinitesimal generator of the SDE (in SDE theory). The hyper-parameters of the SDE enter into .
This is why we get explicit dependence on the hyperparameters of the transition time.
Interpretation.
Intuitively, both learning rate and batch size modules the SDE.
-
The diffusion of the SDE is modulated through . Larger leads higher randomness; smaller leads lower randomness. Solution trajectories with smaller randomness will be faster to reach the memorisation boundary.
-
The drift of the SDE is modulated by . Larger gives faster step size, reaching to memorisation boundary is faster.
This is also verified by the experiments in Fig2: Scaling Laws of Manifold Radius
Please also read L458 Discussions and Limitations.
(L458) Discussions and Limitations. The scaling laws originate from how , , and modulate Adam's SDE: and module the stochastic diffusion by scaling the gradient covariance with a factor , whereas modulates the deterministic gradient drift flow by regularization. Our results inherit the conditions required by Adam's SDE limit, including an adapted Wiener-process approximation. These conditions require a sufficiently small learning rate and a sufficiently large batch size; thus, our results do not directly apply to the large- regime.
Regarding
What is the guarantee that solutions won't go back to ``shell'' of memorization?
We appreciate your concerns.
The guarantee comes from the equilibrium state of the SDE. This can be expressed quantitatively using the Fokker–Planck equation (FPE) for the radial SDE. The FPE mathematically describes probabilities of solutions. Of course, the probability that a solution returns to any location in the space is nonzero. However, the probability measure is zero.
When solutions reach the vicinity of their respective optima, they remain ONLY on a ring very close to the optimum. This likes the event horizon of a black hole. The reason is that noise from mini-batch sampling is always present and nonzero. This persistent noise maintains a balance between the drift toward the optimum and the thermal fluctuations that prevent convergence to the optimum. This behavior is governed by the nature of the SDE.
We thank the reviewer again.
The authors.
Comments on the paper
1 comment
We've revised the manuscript as per the concerns from the reviewers.
Dear Reviewers and AC,
We heartfelt thank the reviewers for reading and assessing our theoretical work. We also thank the AC for organising the reviewing.
We revised the manuscript as per the concerns such as the training data setting and reproducibility (see Appendix L624 for the outlines).
We also made clarification that why we choose a 2-layer network for experiments which is NOT the theoretical limitation:
We use a two-layer MLP because our analysis tracks per-sample gradients, of size , together with second-order quantities, the gradient covariance and the Hessian, of size , throughout training; this becomes impractical for larger networks. Grokking requires FP32 precision; with half precision (FP16), training exhibits the well-known slingshot effect (Hanqing et al., 2026) and does not grok.
We welcome criticism and are open to academic disagreements.
Thank you again.
The authors.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Responses to Reviewer iaDy (part 1)
Dear Reviewer iaDy,
We very much appreciate that you have read and assessed our work. We will organise our responses point by point to address your concerns.
Regarding
We appreciate your careful reading and the summary.
We would like to clarify that this paper does not focus specifically on two-layer neural networks; the two-layer architecture is used only in the experimental setting. Our work studies training dynamics.
To validate our equations, lemmas, theorems, and theoretical predictions, we need to compute the gradient, with O(N) entries, and the Hessian, with O(N2) entries, at every training step, where is the number of parameters. For larger networks, this computation becomes impractical.
Regarding
We appreciate your careful reading and summary.
The topological configuration comes from empirical observations under weight-shrinkage regularisers. Please refer to the experiments conducted in Figure 1 and Appendix (A.2 ADDITIONAL RESULTS: ADAM–INDUCED SHELL–CORE RADIUS & STOPPING-TIME CONCENTRATION).
Regarding
We appreciate that you highlight our contribution.
Regarding
We appreciate your concerns, welcome criticism and open to academic disagreements.