mlsanityData to 7 Oct 2026

A Systematic Empirical Study of Grokking: Depth, Architecture, Activation, and Regularization

arXiv 2603.25009 ↗First posted 26 Mar 2026cs.LGcited by 5

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  4. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  5. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  6. 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
  7. 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 102
  8. 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 90
  9. 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 78
  10. 2023Unifying Grokking and Double Descentcited by 49
  11. 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 38

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.