mlsanityData to 14 Oct 2026

Provable Scaling Laws of Feature Emergence from Learning Dynamics of Grokking

arXiv 2509.21519 ↗First posted 25 Sep 2025cs.LG cs.AIcited by 15

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

  1. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  2. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  3. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  4. 2018On Lazy Training in Differentiable Programmingcited by 675
  5. 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 672
  6. 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
  7. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  8. 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
  9. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  10. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
  11. 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
  12. 2022Neural Networks can Learn Representations with Gradient Descentcited by 161
30 more
  1. 2022High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representationcited by 150
  2. 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 146
  3. 2023Explaining grokking through circuit efficiencycited by 111
  4. 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 108
  5. 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 94
  6. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
  7. 2023Grokking modular arithmeticcited by 83
  8. 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 83
  9. 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 79
  10. 2020Understanding Self-supervised Learning with Dual Deep Networkscited by 62
  11. 2024From Lazy to Rich: Exact Learning Dynamics in Deep Linear Networkscited by 49
  12. 2023Grokking as a First Order Phase Transition in Two Layer Networkscited by 48
  13. 2025Grokking at the Edge of Numerical Stabilitycited by 46
  14. 2020On the training dynamics of deep networks with L2 regularizationcited by 39
  15. 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 36
  16. 2023Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Datacited by 33
  17. 2023Feature emergence via margin maximization: case studies in algebraic taskscited by 33
  18. 2025Dynamical Decoupling of Generalization and Overfitting in Large Two-Layer Networkscited by 25
  19. 2023To grok or not to grok: Disentangling generalization and memorization on corrupted algorithmic datasetscited by 24
  20. 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
  21. 2024Differential learning kinetics govern the transition from memorization to generalization during in-context learningcited by 21
  22. 2022Understanding the Role of Nonlinearity in Training Dynamics of Contrastive Learningcited by 19
  23. 2024Grokking Modular Polynomialscited by 18
  24. 2024Information-Theoretic Progress Measures reveal Grokking is an Emergent Phase Transitioncited by 17
  25. 2025Muon Optimizer Accelerates Grokkingcited by 12
  26. 2025Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformerscited by 12
  27. 2025From Kernels to Features: A Multi-Scale Adaptive Theory of Feature Learningcited by 10
  28. 2024Composing Global Solutions to Reasoning Tasks via Algebraic Objects in Neural Netscited by 6
  29. 2025Learning words in groups: fusion algebras, tensor ranks and grokkingcited by 4
  30. 2025GrokAlign: Geometric Characterisation and Acceleration of Grokkingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 13.

15 papers.

Sort:

By area: