potentialpaper

How Large Must a Model Be to Grok? A competition between memorisation and generalisation timescales

YIDING SONG, Hanming Ye

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Despite a known dependence between grokking and model parameter count, how model capacity shapes grokking remains an open question. Focusing on small Transformers and modular arithmetic, we give a quantitative account of the relationship between model capacity and grokking as a competition between two timescales: generalisation (TgenT_{\text{gen}}) and memorisation (TmemT_{\text{mem}}). Building on prior formalisms for the empirical information capacity of Transformers, we define and measure TgenT_{\text{gen}} on modular arithmetic datasets and TmemT_{\text{mem}} on random-label datasets of equivalent complexity, and show that their intersection correlates with model sizes where consistent grokking begins. We also observe empirical laws for TgenT_{\text{gen}} and TmemT_{\text{mem}} as models and datasets scale, motivating their forms theoretically and finding that our model of TmemT_{\text{mem}} is consistent with prior observations that larger models tend to memorise faster. Moreover, extrapolating our empirical timescale laws predicted the existence of datasets for which no model of any size would consistently grok, a pattern supported on the modular arithmetic datasets of larger primes, demonstrating that our framework can make qualitative predictions out-of-distribution.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper studies the onset of grokking and proposes that it is governed by a crossover between memorization and generalization timescales, rather than by a static capacity threshold. It estimates memorization capacity and timescales using random-label experiments and reports that the point where memorization and generalization become comparably fast tracks the onset of delayed generalization.

The main strengths are the clear dynamic alternative to capacity-only explanations, the operational measurement of memorization and generalization timescales, and the clean controlled experiments across model sizes and multiple modular-arithmetic settings.

The main concern of the reviewers is whether the proposed crossover is genuinely predictive rather than a post-hoc diagnostic. Since TgenT_{\rm gen} and the grokking delay are both defined using validation-accuracy trajectories, the observed correspondence could be partly circular. The result is also quite sensitive to threshold and training choices, and moreover current evidence is largely restricted to modular division and small Transformers. Finally, the novelty relative to existing competition- and speed-based explanations should be stated more precisely.

The authors is encouraged to prioritise:

  1. Clarify whether the crossover criterion is predictive or just descriptive. Precisely state which data are used to estimate TmemT_{mem}, TgenT_{\rm gen}, and grokking onset and whether the crossover can be estimated without observing the full grokking transition. (Reviewers BuR8 and 84eo).

  2. Establish robustness to definitions and training protocols. The mismatch in regularization between capacity-estimation and grokking experiments should also be addressed. (Reviewers BuR8 and 84eo).

  3. Clarify the scope and novelty of the claim. (Reviewers FRNY, BuR8, and 84eo)

Final justification

Having considered the reviewers’ assessments and the discussion, I believe the authors have adequately addressed the main concerns through additional analyses, experiments, and a more appropriately scoped framing, and the remaining limitations do not outweigh the paper’s contribution. I therefore recommend acceptance.

Area Chair TS2h · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper studies the onset of grokking and proposes that it is governed by a crossover between memorization and generalization timescales, rather than by a static capacity threshold. It estimates memorization capacity and timescales using random-label experiments and reports that the point where memorization and generalization become comparably fast tracks the onset of delayed generalization.

The main strengths are the clear dynamic alternative to capacity-only explanations, the operational measurement of memorization and generalization timescales, and the clean controlled experiments across model sizes and multiple modular-arithmetic settings.

The main concern of the reviewers is whether the proposed crossover is genuinely predictive rather than a post-hoc diagnostic. Since TgenT_{\rm gen} and the grokking delay are both defined using validation-accuracy trajectories, the observed correspondence could be partly circular. The result is also quite sensitive to threshold and training choices, and moreover current evidence is largely restricted to modular division and small Transformers. Finally, the novelty relative to existing competition- and speed-based explanations should be stated more precisely.

The authors is encouraged to prioritise:

  1. Clarify whether the crossover criterion is predictive or just descriptive. Precisely state which data are used to estimate TmemT_{mem}, TgenT_{\rm gen}, and grokking onset and whether the crossover can be estimated without observing the full grokking transition. (Reviewers BuR8 and 84eo).

  2. Establish robustness to definitions and training protocols. The mismatch in regularization between capacity-estimation and grokking experiments should also be addressed. (Reviewers BuR8 and 84eo).

  3. Clarify the scope and novelty of the claim. (Reviewers FRNY, BuR8, and 84eo)

Final justification

Having considered the reviewers’ assessments and the discussion, I believe the authors have adequately addressed the main concerns through additional analyses, experiments, and a more appropriately scoped framing, and the remaining limitations do not outweigh the paper’s contribution. I therefore recommend acceptance.

Reviewer 84eoOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies how model size controls the onset of grokking in small decoder-only Transformers trained on modular division. The central claim is that grokking does not begin simply when the model has enough static capacity to memorize the training set. Instead, the authors propose a dynamic account: grokking appears when the memorization timescale becomes comparable to, or faster than, the generalization timescale.

Concretely, the paper defines TmemT_{\mathrm{mem}} as the number of epochs required to memorize random-label data with equivalent information content, and TgenT_{\mathrm{gen}} as the number of epochs required to reach high validation accuracy on the modular arithmetic task. The main empirical finding is that the model size where Tmem≈TgenT_{\mathrm{mem}} \approx T_{\mathrm{gen}} closely tracks the onset of nonzero generalization delay.

Strengths and weaknesses

Strengths

The main strength of the paper is the conceptual framing. Viewing grokking onset as a race between memorization and generalization speeds is appealing and provides a more dynamic alternative to a pure capacity-threshold explanation. This helps explain why small models may generalize immediately while larger models exhibit delayed generalization.

The experimental setup is clean. Modular division over prime fields gives a controlled setting where the training set can be enumerated, the generalization rule is well-defined, and random-label memorization can be compared against structured learning. The three-regime picture — undercapacity, immediate generalization, and grokking — is intuitive and clearly communicated.

The paper also makes a serious effort to quantify its hypothesis. The authors estimate model capacity using random-label memorization, measure TmemT_{\mathrm{mem}} and TgenT_{\mathrm{gen}} separately, run experiments across multiple primes and seeds, and provide statistical tests rather than relying only on visual evidence.

Overall, I think the paper contains a promising and original idea, and the results are suggestive.

Weaknesses / concerns

My main concern is that the empirical validation is quite narrow relative to the strength of the proposed explanation. The evidence is restricted to modular division, small decoder-only Transformers, one main architecture family, and mostly fixed training choices. This makes the current result feel somewhat rigid. The central hypothesis may be correct in this setting, but the paper does not yet convincingly establish that it is robust more broadly.

A particularly important concern is the lack of ablations over optimizer and training hyperparameters. Both TmemT_{\mathrm{mem}} and TgenT_{\mathrm{gen}} are measured in epochs, and these quantities can depend strongly on learning rate, batch size, optimizer, weight decay, dropout, initialization scale, and the chosen accuracy thresholds. It is natural that the absolute values of TmemT_{\mathrm{mem}} and TgenT_{\mathrm{gen}} would change under such modifications. However, the key claim should be that the crossover criterion itself remains predictive: grokking onset should still occur near Tmem=TgenT_{\mathrm{mem}} = T_{\mathrm{gen}}. The paper would be much stronger if this were validated under several alternative training protocols.

The architecture scope is also limited. The proposed framework is not intrinsically Transformer-specific, so it would be useful to test whether the same speed-crossover prediction holds for MLPs or other architectures. This is especially relevant because grokking-like behavior has been studied in settings beyond Transformers.

Similarly, the task scope is narrow. Modular arithmetic is a good controlled testbed, but there are prior grokking-related settings beyond modular arithmetic, including sparse parity, small-data image settings, and broader non-algorithmic setups such as Omnigrok-style experiments. Even one complementary benchmark would substantially strengthen the claim that the proposed explanation captures a general property of grokking rather than a peculiarity of modular division.

I also think the “mechanistic” framing is somewhat stronger than what is currently demonstrated. The paper measures external training timescales — when train accuracy saturates, when validation accuracy saturates, and when random labels are memorized — but it does not deeply inspect what changes inside the model during memorization or generalization. It would be helpful to know whether the transition aligns with changes in norms, Fourier modes, representation geometry, attention patterns, rank, or distinct memorizing/generalizing circuits.

Finally, the scale is relatively small. This is understandable for a controlled grokking study, but it limits the strength of broad claims about model capacity. The appendix mentions grokking models up to width d=1000d=1000, roughly tens of millions of parameters by the architecture description, while the memorization-speed sweeps appear to be much smaller. This is not necessarily a flaw, but it should temper the interpretation.

Overall assessment

I find this paper conceptually strong and genuinely interesting. The idea that grokking onset is governed by the relative speeds of memorization and generalization, rather than by capacity alone, is compelling and potentially important. The modular arithmetic evidence is clean and suggestive.

However, I currently find the empirical support too narrow for the strength of the framing. The main quantities are training-time measurements, so robustness to optimizer, learning rate, batch size, regularization, architecture, and task choice is essential. I would be much more positive if the authors could provide additional evidence that the Tmem=TgenT_{\mathrm{mem}} = T_{\mathrm{gen}} criterion predicts grokking onset across at least several alternative training protocols, and ideally across one additional architecture or benchmark.

In its current form, I see the paper as promising and thought-provoking, but under-validated.

Questions
  1. Does the relation between grokking onset and Tmem≈TgenT_{\mathrm{mem}} \approx T_{\mathrm{gen}} hold under changes to learning rate, batch size, optimizer, weight decay, dropout, and initialization scale?

  2. Why are TmemT_{\mathrm{mem}} and TgenT_{\mathrm{gen}} measured in epochs rather than optimizer steps, examples seen, or gradient updates? How sensitive is the crossover to batch size?

  3. Does the same speed-crossover prediction hold for non-Transformer architectures, such as MLPs?

  4. Can the authors test at least one additional grokking benchmark beyond modular division, such as sparse parity, modular addition, small-data MNIST, or a controlled label-corruption setting?

  5. Do the memorization and generalization phases correspond to different internal structures, such as different circuits, norm-growth patterns, Fourier modes, representation ranks, or attention/MLP features?

  6. How sensitive is the estimated capacity constant CmodelC_{\mathrm{model}} to dropout, weight decay, and other regularization choices? Are capacity, memorization-speed, and grokking experiments matched closely enough for this estimate to transfer?

  7. Can the proposed framework predict grokking onset before running a full grokking sweep, or does it require almost as much empirical measurement as directly observing grokking?

Limitations

The authors do acknowledge several limitations: the focus on small Transformers, modular division, measured rather than derived TgenT_{\mathrm{gen}}, and limited hyperparameter sweeps. This is appreciated.

However, I think these limitations are central enough that they materially weaken the current empirical support. In particular, the absence of optimizer, learning-rate, batch-size, weight-decay, architecture, and task ablations makes it difficult to know whether the observed crossover is a robust principle or a phenomenon specific to the chosen setup.

There is also a protocol point that I would like clarified: capacity runs appear to use different regularization settings from the speed and grokking runs, e.g. dropout 0 for capacity estimation versus dropout 0.2 for speed/grokking runs. If the estimated CmodelC_{\mathrm{model}} is imported into the other experiments, it would be helpful to know how sensitive this estimate is to such choices.

Final justification

The rebuttal addressed my main concern by providing substantially stronger evidence that the proposed crossover is robust across several training settings. This makes the central empirical claim much more convincing.

Some limitations remain, particularly regarding optimizer and batch-size robustness, architectural generality, and the broader scope of the framework. However, I believe these are now better reflected in the revised framing.

Overall, the rebuttal changed my assessment, and I update my recommendation.

Formatting concerns

no

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your review. It identified some gaps in our original submission regarding protocol robustness; these are addressed below in order of importance. The circularity-adjacent question (your last) is treated in depth in our response to Reviewer BuR8.

Robustness of the crossover criterion across training protocols

However, the key claim should be that the crossover criterion itself remains predictive [...] The paper would be much stronger if this were validated under several alternative training protocols.

Since the original submission, we have completed additional matched sweeps (identical protocols for the memorisation and grokking runs within each cell) over four optimiser/data axes and two further tasks:

Sweep Cells Spearman ρ\rho Best within-setting σlog⁡\sigma_{\log}
Weight decay, λ∈{0,0.01,0.03,0.1,0.3,1.0,3.0}\lambda \in \lbrace 0, 0.01, 0.03, 0.1, 0.3, 1.0, 3.0 \rbrace 42 0.900 0.049
Training fraction, α∈{0.3,0.4,0.5,0.6,0.7}\alpha \in \lbrace 0.3, 0.4, 0.5, 0.6, 0.7 \rbrace 29* 0.979 0.036
Learning rate, η∈{10−4,3×10−4,10−3,3×10−3,10−2}\eta \in \lbrace 10^{-4}, 3{\times}10^{-4}, 10^{-3}, 3{\times}10^{-3}, 10^{-2} \rbrace 15† 0.972 0.032
Initialisation scale ∈{0.5,1.0,2.0}\in \lbrace 0.5, 1.0, 2.0 \rbrace 15 0.839 0.024
Task: modular addition 10 0.801 0.037
Task: modular multiplication 10 0.648 0.056

(*Two training-fraction cells whose onset sits at the width-grid cap are excluded as censored. †At η=3×10−3\eta = 3{\times}10^{-3} no onset, and at η=10−2\eta = 10^{-2} no saturation, occurs within the 5,000-epoch budget, so the two highest rates contribute no valid cells; the 15 cells are the three lower rates over five primes.)

The pattern is consistent with the paper. Within every fixed setting, the crossover remains predictive with within-setting spreads of 0.02–0.06 dex, while the calibration constant shifts smoothly across protocols (e.g. +0.32+0.32 dex per unit λ\lambda; essentially flat in η\eta within the regime where saturation occurs at all). On the architectural axis, the crossover criterion holds at the depths of the central setting and degrades beyond depth ≈4\approx 4; characterising where and why our framework degrades with depth is ongoing work.

We also stress-tested our framing against a static predictor. Against the capacity-threshold predictor log⁡10(Kmem/Cmodel)\log_{10}(K_{\text{mem}}/C_{\text{model}}), the intersection's residual spread is 0.21 dex pooled across all seven sweeps vs 0.37 for the static rule, and 0.25 vs 0.45 on the weight-decay axis. Within a single setting, the static rule can be locally tight — but its calibration jumps by up to 2 dex between settings (+0.16→+2.05+0.16 \to +2.05 across λ\lambda). A static capacity threshold carries no information along the axes where onset actually moves. (Formal nested-model tests are in our response to Reviewer BuR8.)

The capacity-constant mismatch

...capacity runs appear to use different regularization settings from the speed and grokking runs... If the estimated CC is imported into the other experiments, it would be helpful to know how sensitive this estimate is to such choices.

We have two thoughts here:

  1. The constant cancels in every important statistic. Note P^cross\widehat{P}_{\text{cross}} is the intersection of two measured epoch-vs-parameter-count curves; CmodelC_{\text{model}} never enters it. Table 1, all sweep statistics above, and the onset detection are invariant to its value. CC appears only in quantities expressed in capacity-fraction units (the collapse exponent, PmemP_{\text{mem}} multiples), where a rescaled CC rescales the quoted constants uniformly without affecting any collapse quality or ranking.

  2. We have re-measured the constant at settings matched to the grokking runs (random labels, dropout 0.2, λ=1.0\lambda = 1.0), obtaining ≈0.86\approx 0.86 bits/parameter over the widths currently available. Therefore, we understand that C is indeed sensitive to choice of hyperparameters. Per the first point, however, this correction only changes the value of capacity-fraction constants, but not the main claims of the paper.

Units and batch size

Why are TmemT_{mem} and TgenT_{gen} measured in epochs rather than optimizer steps...? How sensitive is the crossover to batch size?

We ran further experiments. Refitting Tmem∝eafT_{\text{mem}} \propto e^{af} with time in optimiser steps leaves the capacity-fraction collapse essentially unchanged (pooled R2R^2 0.933 in epochs vs 0.935 in steps; per-prime ranges identical). The collapse is not an artefact of the time unit. Batch-size sensitivity itself remains untested, which we note clearly in our revision.

Reproducibility of the measured timescales

A related check we ran while consolidating data: we re-ran matched (p,width,seed)(p, \text{width}, \text{seed}) cells on different hardware (A100 vs H100) reproduces TmemT_{\text{mem}} and TgenT_{\text{gen}} bit-identically in ~75% of cells, with median Δlog⁡10=0.000\Delta\log_{10} = 0.000 overall. The measured quantities are deterministic properties of the training configuration, not machine artefacts.

Other Comments

I also think the "mechanistic" framing is somewhat stronger than what is currently demonstrated.

Adopted: we measure external timescales and make no internal-structure claims, so "mechanistic" has been removed throughout (including the contribution statement) and the framework is presented as a quantitative account of when onset occurs, agnostic about what changes inside the model. Internal probes (norms, Fourier modes, circuits) are left to future work explicitly.

The appendix mentions grokking models up to width d=1000d=1000... while the memorization-speed sweeps appear to be much smaller.

Clarification: all intersection statistics use widths d≤256d \le 256 for both timescales symmetrically; the wider grokking runs extend the delay curves only, but are unused in the paper.

Can the proposed framework predict grokking onset before running a full grokking sweep...?

No.

We believe this addresses your central question about whether the crossover criterion is validated across several alternative training protocols.

Reviewer 84eo · CommentOpenReview ↗

Thank you for the detailed rebuttal and for running the additional experiments. The new sweeps over weight decay, training fraction, learning rate, initialization scale, and two additional modular tasks substantially address my main concern that the crossover might be specific to the original setup.

I also find the comparison with the static capacity-threshold predictor convincing. The crossover appears more stable across settings, while the static predictor requires substantial recalibration. The clarification about CmodelC_{\mathrm{model}} is satisfactory, and I agree with removing the mechanistic framing.

Some limitations remain. Batch size and optimizer choice are still untested, the additional tasks are all within modular arithmetic, and the reported degradation beyond depth ≈4\approx 4 limits architectural generality. I also think the framework is better described as tracking or accounting for grokking onset than predicting it ex ante, since TgenT_{\mathrm{gen}} must still be measured across model sizes.

Overall, the rebuttal changes my assessment. Provided that the new experiments, the negative depth result, and the narrower framing are included in the revision, I would update my rating to 4.

Authors · CommentOpenReview ↗

Thank you for the comments. The new experiments, negative depth results, and narrower framing have been added to the paper.

Reviewer FRNY · CommentOpenReview ↗

We think that it would be particularly nice if there was an additional non-algorithmic benchmark, or something significantly more stochastic and complex, your recommendations are fair, could an RL problem be relevant here?

Reviewer BuR8OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies why grokking in modular arithmetic appears only above certain model sizes. Its central claim is that grokking onset is better explained by a crossover between two measured training timescales- memorisation time and generalisation time- rather than by the static capacity threshold at which memorisation becomes representable. Experiments use small decoder-only transformers on modular division over prime fields. Experiments largely substantiate the main claims.

Strengths and weaknesses

Overall, I found the experimental framing interesting and the methodology thoughtful. The use of random-label memorization experiments to estimate capacity and memorization time is sensible, and the empirical collapse of memorization time as a function of capacity fraction is a nice observation. The paper also makes a useful distinction between static representability of memorization and the dynamics by which gradient descent reaches either a memorizing or generalizing solution.

That said, I have some concerns about how predictive the proposed framework really is. Since T_{gen} is itself measured using validation accuracy on the same task family, and the generalization delay is also defined in terms of training and validation accuracy thresholds, the relationship between the speed crossover and grokking onset feels somewhat circular. The paper would benefit from a clearer separation of what information is used to estimate T_{mem} and T_{gen}, and the generalization delay. In particular, it should clarify whether the crossover is intended as an explanatory post-hoc diagnostic or as a predictive quantity that could be computed before observing the grokking transition.

In terms of clarity, the paper is generally readable, but several presentation choices make the main claim harder to assess. The quantities T_{mem} and T_{gen} are called “speeds,” but they are actually first-passage times measured in epochs; calling them timescales or times would avoid confusion. Equation 6 is also somewhat confusing because T_{mem} is multiply defined, first as a function of both (P) and (n), and then as a shorthand function of (P) for an equivalent dataset size. The threshold choices also need more justification: Section 4.2 uses 99% thresholds for memorization/generalization times, while Section 4.3 defines generalization delay using 99% training accuracy but 98% validation accuracy. Since the main conclusion depends on threshold-defined crossing and onset points, the robustness of these choices should be made clearer. Finally, Figures 1–3 contain important evidence but are too small, especially the axis labels and legends.

On significance, the proposed framework is a useful way to organize observations about grokking and model size, but the empirical scope is still narrow: small transformers, synthetic modular division, and a limited set of swept hyperparameters. It is not yet clear how far the conclusions extend beyond this setting, especially to other algorithmic tasks, architectures, or naturalistic data. The paper positions itself as refining prior competition-based accounts of grokking, which seems accurate, but the added significance over prior work should be stated more carefully.

On originality, the paper’s main conceptual point- that grokking begins when memorization and generalization become similarly fast- is intuitive and perhaps not entirely surprising given existing accounts based on competing solutions or pattern-learning speeds. The more original contribution is the operationalization of this idea through separately measured memorization and generalization timescales, together with the empirical capacity-fraction scaling for T_{mem}. I would therefore frame the contribution less as a new mechanistic theory of grokking and more as a quantitative diagnostic framework that refines and tests an existing intuition.

Overall, I think the paper presents a clean and interesting empirical story, with well-chosen measurements and some useful scaling observations. The main weaknesses are the limited experimental scope, the potential circularity of the speed-crossover prediction, and some clarity issues around notation, thresholds, and figures. Addressing these would make the contribution easier to evaluate and would better establish whether the framework is predictive rather than primarily descriptive.

Questions
  • Please clarify exactly what data are used to compute generlization/memorization speed and generalization delay and whether P_{cross} can be estimated without already observing the grokking transition.

  • The paper uses 99% accuracy for measuring speed, but defines delay with 99% training and 98% validation thresholds. Since the onset point is threshold-sensitive, it would help to report whether the speed-crossover/onset relationship persists under alternative thresholds, e.g. 95%, 98%, 99%, or matched train/validation thresholds.

  • I would suggest calling T_{mem} and T_{gen} “timescales” or similar instead of speeds.

  • The paper convincingly refines prior ideas about competition between memorizing and generalizing solutions, but the conceptual novelty could be sharper. Please make explicit what predictions your framework makes that prior circuit-competition, lazy-to-rich, or pattern-speed accounts would not already imply.

Limitations

Addressed in section 6.

Final justification

The authors have added additional experiments assessing threshold sensitivity, as well as new theory and new OOD prediction experiments. These have addressed my critical concerns and I am now in favor of acceptance.

Formatting concerns

No major issues.

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your careful reading and for the concrete list of concerns. We address the circularity question first, then thresholds, and novelty and clarity. Robustness across training protocols is treated in depth in our response to Reviewer 84eo.

Circularity

Please clarify exactly what data are used to compute generlization/memorization speed and generalization delay and whether PcrossP_{cross} can be estimated without already observing the grokking transition.

The data separation is as follows (the revised paper now states it explicitly). Tmem(P)T_{\text{mem}}(P) is measured on random-label datasets in independent runs: no modular-arithmetic data is used here. Tgen(P)T_{\text{gen}}(P) and the generalisation delay ΔE(P)\Delta E(P) are measured on the validation and training curves of modular arithmetic tasks.

...whether the crossover is intended as an explanatory post-hoc diagnostic or as a predictive quantity that could be computed before observing the grokking transition.

We concede that for now, without further theoretical tools, the crossover cannot be computed before observing the transition. However, we believe this does not remove the value of identifying the crossover as an explanatory predictor of grokking onset, and indeed provides a good direction for future theory research to formalise closed-form expressions for Tgen(P)T_{\text{gen}}(P) and Tmem(P)T_{\text{mem}}(P).

Thresholds

Since the onset point is threshold-sensitive, it would help to report whether the speed-crossover/onset relationship persists under alternative thresholds, e.g. 95%, 98%, 99%, or matched train/validation thresholds.

We recomputed every pipeline quantity from the raw per-epoch traces across threshold settings (τtrain; τgen; τΔE-val)(\tau_{\text{train}};\, \tau_{\text{gen}};\, \tau_{\Delta E\text{-val}}). The published convention is (99;99;98)(99; 99; 98):

Thresholds median log⁡10(Ponset/P^cross)\log_{10}(P_{\text{onset}}/\widehat{P}_{\text{cross}})
(99;99;98)(99;99;98) — published −0.171-0.171
(95;95;95)(95;95;95) — matched −0.172-0.172
(98;98;98)(98;98;98) — matched −0.217-0.217
(99;99;99)(99;99;99) — matched −0.249-0.249
(99;99;95)(99;99;95) +0.082+0.082

All 11 primes yield finite crossings and onsets in every row; the rank relationship between P^cross\widehat{P}_{\text{cross}} and PonsetP_{\text{onset}} is threshold-independent. The full table will appear in the appendix.

Relatedly, since ΔE\Delta E enters onset detection through a per-seed minimum, we also checked the aggregation choice: replacing seed-min with seed-median or seed-mean moves the offset from −0.171-0.171 to −0.265-0.265 and −0.367-0.367 dex respectively. The published estimator is the conservative choice. Correcting the asymmetry widens rather than erases the effect.

Novelty

Please make explicit what predictions your framework makes that prior circuit-competition, lazy-to-rich, or pattern-speed accounts would not already imply.

We concede that our main contribution is a quantitative framework that formalises, for the first time, our existing intuition of grokking as an artefact of competing learning timescales. It is not a new mechanistic theory (we have removed "mechanistic" throughout, for the reasons Reviewer 84eo also raised). Within that frame, two results are concrete:

  1. Prior competition-based accounts identify which solution is favoured; none yields the parameter scale at which delayed generalisation begins. The measured intersection does: log–log slope 0.9850.985 against observed onsets across primes, with a single −0.16-0.16 dex calibration constant.
  2. Random-label fitting time depends on (P,K)(P, K) only through the capacity fraction f=K/(CmodelP)f = K/(C_{\text{model}}P), collapsing all primes onto one curve. This is what makes the memorisation timescale measurable independently of the task, and hence what makes the diagnostic non-trivial rather than definitional.

Clarity

The quantities TmemT_{mem} and TgenT_{gen} are called "speeds," but they are actually first-passage times...

Agreed and adopted, including in the title: "…through Competing Memorisation and Generalisation Timescales."

Equation 6 is also somewhat confusing because TmemT_{mem} is multiply defined...

We will split the symbol in the revision: Tmem(P,n)T_{\text{mem}}(P, n) for the general quantity and T~mem(P):=Tmem(P,nequiv)\tilde{T}_{\text{mem}}(P) := T_{\text{mem}}(P, n_{\text{equiv}}) for the shorthand.

Figures 1–3 contain important evidence but are too small...

All figures are being regenerated at enlarged font sizes for the revision.

On empirical scope, we refer you to our response to Reviewer 84eo: matched sweeps over weight decay, learning rate, initialisation scale, training fraction, and two further tasks have now been run, with our theory holding up within each hyperparameter setting.

Reviewer BuR8 · CommentOpenReview ↗

Thank you for your rebuttal.

My concern on circularity has been addressed. I also appreciate the additional experiments provided by the authors, which address the parameter sensitivity issues. Finally, I appreciate the authors' promises to improve the paper's clarity.

My primary concern at this point is that proposed framework is not predictive of grokking, but rather explains it after the fact. This doesn't mean it is not valuable, but it would be much more significant if the framework were predictive.

Some alternative ways to improve the paper's significance are to further expand the experiments (e.g. to more/larger architectures), or providing a theoretical argument for the findings (even if stylized). If the significance can be improved, I'm not opposed to increasing my rating.

Authors · CommentOpenReview ↗

Thank you for your comments.

  1. We have been working on a theory but didn't think it was central to originality: now available below and in paper appendix.
  2. We show with quick maths that our empirical framework can generalise OOD to 'predict' surprising grokking behaviour at larger primes and widths. We have now given this greater weight in the paper.

1. Stylised Derivation

Empirical laws fit from our data:

Tmem=beγf;Tgen=ApaP−β.T_{\mathrm{mem}} = be^{\gamma f}; T_{\mathrm{gen}} = A p^{a}P^{-\beta}.

here P,K,Cmodel,fP, K, C_{\mathrm{model}}, f follow notation from paper; bb, γ\gamma, AA, aa, β\beta are constants.

Memorisation Law

Memorised and new examples share parameters, so progress can undo each other. The minimal model is a linear classifier over VV output classes (for us, vocab size p+2p+2) memorising nn random examples. Then:

  1. A memorised example ii is held in place along the V−1V{-}1 directions changing its logit gaps (correct-minus-incorrect logit differences). An update uu from another example is random relative to these, so the average fraction of its power disturbing example ii is $E∥Πiu∥2∥u∥2=V−1P,\mathbb{E}\frac{\|\Pi_i u\|^2}{\|u\|^2} = \frac{V-1}{P},$ where Πi\Pi_i projects onto those directions.
  2. Fitting a new example without disturbing memorised ones projects out each such subspace; after one pass over the data the surviving update power is $ρ=(1−V−1P)n≈e−ν,ν=n(V−1)P.\rho = \Big(1-\frac{V-1}{P}\Big)^{n} \approx e^{-\nu}, \qquad \nu = \frac{n(V-1)}{P}.$
  3. If progress rate is proportional to this surviving fraction, Tmem∝ρ−1=eνT_{\mathrm{mem}} \propto \rho^{-1} = e^{\nu}. Substituting K=nlog⁡2VK = n\log_2 V and f=K/(CmodelP)f = K/(C_{\mathrm{model}}P) gives $Tmem∝eγf,γ=(V−1)Cmodellog⁡2V.T_{\mathrm{mem}} \propto e^{\gamma f},\qquad\gamma = \frac{(V-1)C_{\mathrm{model}}}{\log_2 V}.$

Predicted γ\gamma value is verified empirically; in Appendix.

Generalisation Law

Grokked models compute modular arithmetic through a small set of Fourier-modes [1]; in our division setting these are multiplicative characters of (Z/pZ)×(\mathbb{Z}/p\mathbb{Z})^\times. A derivation of TgenT_{\mathrm{gen}} must answer which characters dominate and what sets the escape time.

First question: selection comes from random initialisation governed by extreme-value statistics. The initial character spectrum then resembles an i.i.d. Gaussian matrix's, and eventually dominant characters start with a small advantage. Confirmed empirically (appendix).

Second question: weight decay is the control. Write uu and vv for a character's amplitude in the embedding and unembedding, ss for the task-gradient drive, and λ\lambda for the weight decay. Linearising their coupled growth gives $u˙=sv−λu,v˙=su−λv⇒μ=s−λ⇒T∝λ−1,\dot u = s v - \lambda u,\quad \dot v = s u - \lambda v \Rightarrow \mu = s - \lambda \Rightarrow T \propto \lambda^{-1},$ too steep against the measured Tgen∝λ−0.42T_{\mathrm{gen}} \propto \lambda^{-0.42}; normalisation explains this. RMS-normalised weights are scale-invariant; for these the learning rate η\eta and decoupled weight decay λ\lambda are known to settle into steady rotation of angle 2ηλ\sqrt{2\eta\lambda} per step [2,3]. A fixed escape angle then takes $Tgen∝(ηλ)−1/2.T_{\mathrm{gen}} \propto (\eta\lambda)^{-1/2}.$ This fixes the form: a character with initial amplitude a0a_0 and net rate μ\mu escapes in T=ln⁡(1/a0)/μT = \ln(1/a_0)/\mu; by the selection result a0a_0 is an extreme-value fluctuation, so ln⁡(1/a0)\ln(1/a_0) is only logarithmic in p,Pp, P and the power laws live in μ\mu = clock ×\times per-character drive S(p,P)S(p,P). A power-law ansatz for SS gives Tgen=ApaP−βT_{\mathrm{gen}} = A p^{a}P^{-\beta}, with a,βa, \beta measured.

2. OOD Consequences of our Framework

Setting the two laws equal and substituting x=γK/(CmodelP)x = \gamma K/(C_{\mathrm{model}}P) gives $x−βln⁡x=R(p),x - \beta\ln x = R(p),$ where RR collects the constants and is strictly decreasing in pp. The left side is convex with minimum β(1−ln⁡β)\beta(1-\ln\beta), so a crossing exists only while R(p)≥β(1−ln⁡β)R(p) \ge \beta(1-\ln\beta), and solutions come in pairs. Two consequences:

  1. A finite terminal prime, p∗=167.5p^{*} = 167.5 with 95% interval [148,192][148, 192]: beyond it memorisation is slower than generalisation at every width; no grokking at all.
  2. A second crossing: at fixed pp the generalisation delay must return to zero as PP grows, so sufficiently large models do not grok.

Every constant was fit on p∈[97,139]p \in [97, 139] and P≤4.4×105P \le 4.4\times10^{5}; the predictions lie outside that range.

  1. At p=197>p∗p = 197 > p^{*}: no grokking at any width predicted. Across 18 widths and 10 seeds spanning P=1.1×105P = 1.1\times10^{5} to 10710^{7}, the minimum generalisation delay is exactly zero in every cell.
  2. At p=139p = 139, no grokking is predicted for models beyond P=3.9×106P = 3.9\times10^{6} (width d≈350d \approx 350). Measured: the delay first reaches zero at d=410d = 410 and is zero for every tested width from d=870d = 870 out to P=3.2×107P = 3.2\times10^{7}.

To our knowledge these phenomena are novel.

References.

[1] Nanda, Chan, Lieberum, Smith, Steinhardt, ICLR (2023).

[2] van Laarhoven, arXiv:1706.05350 (2017).

[3] Wan, Zhu, Zhang, Sun, NeurIPS (2021).

Reviewer FRNYOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper improves the existing accounts of grokking by properly quantifying model capacity and generalization in information theoretic terms. In particular, grokking is quantified in a particular way depending on "generalization delay" and a 99% accuracy and 98% validation accuracy is explained as "grokking". There is not much to be said from my perspective, this is an interesting, self-contained study that proposes an original (empirical) model to explain the phenomenon and studies a non-trivial case to illustrate the point, without getting lost in the intricate details of information theory literature as an information theory paper would likely do. I favor the study especially regarding its pedagogic value, some of the material could go into a textbook as it is. However, there are some concerns as to the significance and applicability of the result, which has influenced my current scoring.

Strengths and weaknesses

I haven't much to say here, because the paper is so self-evident, the strength is making previously heuristic arguments into concrete mathematical statements based on a previous study of model capacity in LLMs which seems to work quite well here, therefore the main strength of the paper is proper application of a solid theoretical framework to a problem of general and practical interest in neural network applications, which seems to fit the conference's scope perfectly well. That seems to be the greatest strength of the paper.

I could talk about the weaknesses at length nitpicking at various gaps in the paper like an LLM but that would be somewhat unfair as many reviews tend to be, so I shall keep it as positive as possible. I don't think you can fit much else in the space constraints of the conference, they would have to add many additional analyses in the appendix, which would defeat the purpose, but very generally speaking, I would say that the example(s) studied/discussed are probably not enough in the empirical sense, so perhaps this study should have been classified as theory, that would be my #1 nitpicking, and the #2 nitpicking is, how general is this theory really, does it apply to more than LLMs?

Questions

Well, why did you pick this particular example and how would you pick 2 more examples and show that they work similarly?

What would an actual benchmark look like?

Why is the paper type general?

Limitations

They have specified the limitations but only briefly, I understand they wouldn't want to give away too much from their planned future publications, and this paper is probably planned as a "to be continued" style of theoretical publications which conference guidelines seem to encourage, but that is not really a great thing as it causes chopped up and piece-wise papers, but in this case, I think it has worked out pretty well, so I am not saying the paper has huge limitations, but the limitations are probably more than hinted at, and that is why I'm a little confused at this point myself as to the significance of the work.

Final justification

The quality is quite good, and the additional theoretical development is interesting but not enough to increase the score as the paper stands in almost strict relation to the modular arithmetic problem and as such, the relations may be accidental. The limitations therefore are currently too strong for a higher score. I apologize to the authors profusely.

Formatting concerns

There isn't any concern here and I wrote a minimal review on purpose, I don't want to muddy the issue or confuse the authors, I do not see any such violation of the guidelines.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your reading of the paper. We address your three main questions below.

Well, why did you pick this particular example and how would you pick 2 more examples and show that they work similarly?

Modular division is the canonical setting of the original grokking literature, which is why we picked it out in particular. In addition, we have now replicated the full pipeline (capacity-matched random-label memorisation runs, grokking runs, intersection, onset statistics) on modular addition (10 cells, within-setting σlog⁡=0.037\sigma_{\log} = 0.037) and modular multiplication (10 cells, within-setting σlog⁡=0.056\sigma_{\log} = 0.056). In each case within a task family, the behaviour matches that of modular division, with a per-task calibration constant. Interestingly, the calibrated onset capacity fraction is stable across all three tasks (0.123–0.129), even though it is not stable across primes or training fractions (see our response to Reviewer BuR8 for that measurement).

What would an actual benchmark look like?

We read this as 'what would it take for someone else to test this framework on their setting'? The recipe is specifiedin the paper: (1) fix a task family with computable dataset complexity KK and a model family with a width dial; (2) measure Tmem(P)T_{\text{mem}}(P) by training on random labels of matched complexity, in independent runs; (3) measure Tgen(P)T_{\text{gen}}(P) on the task; (4) report where the curves cross versus where delay becomes positive, with the rank and calibration statistics we use in Table 1. Our additional hyperparameter sweeps (six axes and two additional tasks; the table is in our response to Reviewer 84eo) execute such a benchmark against modular arithmetic; a non-algorithmic instantiation (e.g. a sparse-parity or small-data image setting) is the natural next step.

Why is the paper type general?

We believe our contribution has been a quantitative reframe of grokking with sound theoretical grounding rather than theoretical proofs: both timescales are measured (there is no derivation of TgenT_{\text{gen}} in this version of the paper), and the claims are validated by statistical tests over experiment families rather than by proofs.

Reviewer FRNY · CommentOpenReview ↗

We want to thank the authors for their thoughtful and comprehensive rebuttal. We deeply appreciate the extra effort taken to replicate the pipeline on modular addition and modular multiplication, which certainly solidifies the empirical foundation of the claims within the algorithmic domain. The step-by-step benchmark recipe you have outlined is also a wonderful addition that clarifies exactly how other researchers might apply this quantitative framework to their own domains. However, after reflecting on the explanation regarding the scalability of the complexity metric, we feel we must push for a bit more. While the expansion to other modular arithmetic tasks is reassuring, these algorithmic examples remain inherently contrived and somewhat limited in their ability to demonstrate the broader applicability of the findings. As you rightly note in the discussion, instantiating this framework on a non-algorithmic dataset is the natural next step. We believe that taking this step now would significantly improve the paper. The current framework works beautifully because the baseline dataset complexity of modular arithmetic is mathematically clear, but demonstrating its viability on a more naturalistic task where this complexity must be estimated or handled differently would drastically elevate the significance of the work.

We do intend to revise our score, we have missed the deadline for that but your answers already improve the score for us, this extension would make it even stronger.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…