A Systematic Empirical Study of Grokking: Depth, Architecture, Activation, and Regularization
Not on the map. Why?
Abstract (arXiv)
Grokking the delayed transition from memorization to generalization in neural networks remains poorly understood, in part because prior empirical studies confound the roles of architecture, optimization, and regularization. We present a controlled study that systematically disentangles these factors on modular addition (mod 97), with matched and carefully tuned training regimes across models. Our central finding is that grokking dynamics are not primarily determined by architecture, but by interactions between optimization stability and regularization. Specifically, we show: (1) depth has a non-monotonic effect, with depth-4 MLPs consistently failing to grok while depth-8 residual networks recover generalization, demonstrating that depth requires architectural stabilization; (2) the apparent gap between Transformers and MLPs largely disappears (1.11× delay) under matched hyperparameters, indicating that previously reported differences are largely due to optimizer and regularization confounds; (3) activation function effects are regime-dependent, with GELU up to 4.3× faster than ReLU only when regularization permits memorization; and (4) weight decay is the dominant control parameter, exhibiting a narrow ``Goldilocks'' regime in which grokking occurs, while too little or too much prevents generalization. Across 3--5 seeds per configuration, these results provide a unified empirical account of grokking as an interaction-driven phenomenon. Our findings challenge architecture-centric interpretations and clarify how optimization and regularization jointly govern delayed generalization.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 11 of its 16 references that are in the map. First posted on arXiv 26 Mar 2026.
Builds on
11 of 16 references.
References · 11
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
- 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 102
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 90
- 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 78
- 2023Unifying Grokking and Double Descentcited by 49
- 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 38
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Model Capacity Determines Grokking through Competing Memorisation and Generalisation Speedscited by 4
- 2026The Weight Norm Sets the Grokking Timescale: A Causal Delay Lawcited by 4
- 2026Neural Collapse Dynamics: Depth, Activation, Regularisation, and Feature Norm Thresholdcited by 2
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnosticscited by 2
- 2026At-Grok Is Not Converged:A Measurement-Validity Audit for Grokking Representation Metricscited by 1
- 2026At-Grok Is Not Converged:A Measurement-Validity Audit for Grokking Representation Metrics7 Jul 2026
- 2026The Weight Norm Sets the Grokking Timescale: A Causal Delay Law11 Jun 2026
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics19 May 2026
- 2026Model Capacity Determines Grokking through Competing Memorisation and Generalisation Speeds10 May 2026
- 2026Neural Collapse Dynamics: Depth, Activation, Regularisation, and Feature Norm Threshold31 Mar 2026