Provable Scaling Laws of Feature Emergence from Learning Dynamics of Grokking
Not on the map. Why?
Abstract (arXiv)
While the phenomenon of grokking, i.e., delayed generalization, has been studied extensively, it remains an open problem whether there is a mathematical framework that characterizes what kind of features will emerge, how and in which conditions it happens, and is closely related to the gradient dynamics of the training, for complex structured inputs. We propose a novel framework, named Li2, that captures three key stages for the grokking behavior of 2-layer nonlinear networks: (I) Lazy learning, (II) independent feature learning and (III) interactive feature learning. At the lazy learning stage, top layer overfits to random hidden representation and the model appears to memorize, and at the same time, the backpropagated gradient GF from the top layer now carries information about the target label, with a specific structure that enables each hidden node to learn their representation independently. Interestingly, the independent dynamics follows exactly the gradient ascent of an energy function E, and its local maxima are precisely the emerging features. We study whether these local-optima induced features are generalizable, their representation power, and how they change on sample size, in group arithmetic tasks. When hidden nodes start to interact in the later stage of learning, we provably show how GF changes to focus on missing features that need to be learned. Our study sheds lights on roles played by key hyperparameters such as weight decay, learning rate and sample sizes in grokking, leads to provable scaling laws of feature emergence, memorization and generalization, and reveals why recent optimizers such as Muon can be effective, from the first principles of gradient dynamics. Our analysis can be extended to multi-layers. The code is available at https://github.com/yuandong-tian/understanding/tree/main/ssl/real-dataset/cogo.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 42 of its 50 references that are in the map. First posted on arXiv 25 Sep 2025.
Builds on
42 of 50 references.
References · 42
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2018On Lazy Training in Differentiable Programmingcited by 675
- 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 672
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
- 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
- 2022Neural Networks can Learn Representations with Gradient Descentcited by 161
30 more
- 2022High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representationcited by 150
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 146
- 2023Explaining grokking through circuit efficiencycited by 111
- 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 108
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 94
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
- 2023Grokking modular arithmeticcited by 83
- 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 83
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 79
- 2020Understanding Self-supervised Learning with Dual Deep Networkscited by 62
- 2024From Lazy to Rich: Exact Learning Dynamics in Deep Linear Networkscited by 49
- 2023Grokking as a First Order Phase Transition in Two Layer Networkscited by 48
- 2025Grokking at the Edge of Numerical Stabilitycited by 46
- 2020On the training dynamics of deep networks with L2 regularizationcited by 39
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 36
- 2023Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Datacited by 33
- 2023Feature emergence via margin maximization: case studies in algebraic taskscited by 33
- 2025Dynamical Decoupling of Generalization and Overfitting in Large Two-Layer Networkscited by 25
- 2023To grok or not to grok: Disentangling generalization and memorization on corrupted algorithmic datasetscited by 24
- 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
- 2024Differential learning kinetics govern the transition from memorization to generalization during in-context learningcited by 21
- 2022Understanding the Role of Nonlinearity in Training Dynamics of Contrastive Learningcited by 19
- 2024Grokking Modular Polynomialscited by 18
- 2024Information-Theoretic Progress Measures reveal Grokking is an Emergent Phase Transitioncited by 17
- 2025Muon Optimizer Accelerates Grokkingcited by 12
- 2025Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformerscited by 12
- 2025From Kernels to Features: A Multi-Scale Adaptive Theory of Feature Learningcited by 10
- 2024Composing Global Solutions to Reasoning Tasks via Algebraic Objects in Neural Netscited by 6
- 2025Learning words in groups: fusion algebras, tensor ranks and grokkingcited by 4
- 2025GrokAlign: Geometric Characterisation and Acceleration of Grokkingcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 13.
15 papers.
Sort:
By area:
- 2025Generalization of Diffusion Models Arises with a Balanced Representation Spacecited by 11
- 2026Noise-Driven Escape from Metastable Phases explains Grokking in Deep Neural Networkscited by 5
- 2026A Basin-Selection Perspective on Grokking via Singular Learning Theorycited by 4
- 2026Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikescited by 4
- 2026Neural Networks Provably Learn Spectral Representations for Group Compositioncited by 3
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnosticscited by 2
- 2026Tuning the Implicit Regularizer of Masked Diffusion Language Models: Enhancing Generalization via Insights from k-Paritycited by 1
- 2026Gradient-Direction Sensitivity Reveals Linear-Centroid Coupling Hidden by Optimizer Trajectoriescited by 1
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Ticketscited by 1
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noisecited by 1
- 2025When Does Learning Renormalize? Sufficient Conditions for Power Law Spectral Dynamicscited by 0
- 2026Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokkingcited by 0
3 more
- 2026A Spectral Theory of Grokking: Weight Decay induces Feature Learning22 Sep 2026
- 2026Symmetry without a manifold: intrinsic dimension on orbits15 Sep 2026
- 2026Noise-Driven Escape from Metastable Phases explains Grokking in Deep Neural Networks15 Jun 2026
- 2026Neural Networks Provably Learn Spectral Representations for Group Composition2 Jun 2026
- 2026Interpreting FCDNNs via RG on Exponential Family29 May 2026
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics19 May 2026
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noise18 May 2026
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Tickets15 May 2026
- 2026Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes7 May 2026
- 2026Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking28 Apr 2026
- 2026Gradient-Direction Sensitivity Reveals Linear-Centroid Coupling Hidden by Optimizer Trajectories28 Apr 2026
- 2026A Basin-Selection Perspective on Grokking via Singular Learning Theory1 Mar 2026
3 more
- 2026Tuning the Implicit Regularizer of Masked Diffusion Language Models: Enhancing Generalization via Insights from k-Parity30 Jan 2026
- 2025Generalization of Diffusion Models Arises with a Balanced Representation Space24 Dec 2025
- 2025When Does Learning Renormalize? Sufficient Conditions for Power Law Spectral Dynamics20 Dec 2025
- 2026Noise-Driven Escape from Metastable Phases explains Grokking in Deep Neural Networkscited by 5
- 2026A Basin-Selection Perspective on Grokking via Singular Learning Theorycited by 4
- 2026Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikescited by 4
- 2026Neural Networks Provably Learn Spectral Representations for Group Compositioncited by 3
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnosticscited by 2
- 2026Gradient-Direction Sensitivity Reveals Linear-Centroid Coupling Hidden by Optimizer Trajectoriescited by 1
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Ticketscited by 1
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noisecited by 1
- 2025When Does Learning Renormalize? Sufficient Conditions for Power Law Spectral Dynamicscited by 0
- 2026Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokkingcited by 0
- 2026Interpreting FCDNNs via RG on Exponential Familycited by 0
- 2026Symmetry without a manifold: intrinsic dimension on orbitscited by 0
12 most cited of 13 All 13 (JSON)
- 2026A Spectral Theory of Grokking: Weight Decay induces Feature Learning22 Sep 2026
- 2026Symmetry without a manifold: intrinsic dimension on orbits15 Sep 2026
- 2026Noise-Driven Escape from Metastable Phases explains Grokking in Deep Neural Networks15 Jun 2026
- 2026Neural Networks Provably Learn Spectral Representations for Group Composition2 Jun 2026
- 2026Interpreting FCDNNs via RG on Exponential Family29 May 2026
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics19 May 2026
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noise18 May 2026
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Tickets15 May 2026
- 2026Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes7 May 2026
- 2026Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking28 Apr 2026
- 2026Gradient-Direction Sensitivity Reveals Linear-Centroid Coupling Hidden by Optimizer Trajectories28 Apr 2026
- 2026A Basin-Selection Perspective on Grokking via Singular Learning Theory1 Mar 2026
12 newest of 13 All 13 (JSON)