Towards Understanding Grokking: An Effective Theory of Representation Learning
Not on the map. Why?
Abstract (arXiv)
We aim to understand grokking, a phenomenon where models generalize long after overfitting their training set. We present both a microscopic analysis anchored by an effective theory and a macroscopic analysis of phase diagrams describing learning performance across hyperparameters. We find that generalization originates from structured representations whose training dynamics and dependence on training set size can be predicted by our effective theory in a toy setting. We observe empirically the presence of four learning phases: comprehension, grokking, memorization, and confusion. We find representation learning to occur only in a "Goldilocks zone" (including comprehension and grokking) between memorization and confusion. We find on transformers the grokking phase stays closer to the memorization phase (compared to the comprehension phase), leading to delayed generalization. The Goldilocks phase is reminiscent of "intelligence from starvation" in Darwinian evolution, where resource limitations drive discovery of more efficient solutions. This study not only provides intuitive explanations of the origin of grokking, but also highlights the usefulness of physics-inspired tools, e.g., effective theories and phase diagrams, for understanding deep learning.
Key facts. Cited by 229 papers in the map (data through 7 Oct 2026). Builds on 23 of its 35 references that are in the map. First posted on arXiv 20 May 2022.
Builds on
23 of 35 references.
References · 23
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2017Deep Setscited by 1,394
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2020Kernel and Rich Regimes in Overparametrized Modelscited by 302
- 2022Predictability and Surprise in Large Generative Modelscited by 209
- 2018Training behavior of deep neural network in frequency domaincited by 174
- 2021The Principles of Deep Learning Theorycited by 169
- 2020Generalisation error in learning with random features and the hidden manifold modelcited by 126
11 more
- 2020An Overview of Deep Semi-Supervised Learningcited by 121
- 2020The Gaussian equivalence of generative models for learning with shallow neural networkscited by 113
- 2020Optimal Regularization Can Mitigate Double Descentcited by 107
- 2020Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamicscited by 93
- 2020Neural Networks and Quantum Field Theorycited by 58
- 2020Learning to Unknotcited by 40
- 2019A type of generalization error induced by initialization in deep neural networkscited by 33
- 2021Machine-Learning Mathematical Structurescited by 25
- 2021Multi-scale Feature Learning Dynamics: Insights for Double Descentcited by 24
- 2020A Free-Energy Principle for Representation Learningcited by 7
- 2015Visual Learning of Arithmetic Operationscited by 3
Built on by
Citing papers per year: 2022: 4; 2023: 34; 2024: 63; 2025: 60; 2026: 68.
229 papers.
Sort:
By area:
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 288
- 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 258
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 201
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
- 2024CycleResearcher: Improving Automated Research via Automated Reviewcited by 142
- 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 141
38 more
- 2023Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMscited by 121
- 2024On Memorization of Large Language Models in Logical Reasoningcited by 114
- 2023Explaining grokking through circuit efficiencycited by 105
- 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 102
- 2023A Theory of Emergent In-Context Learning as Implicit Structure Inductioncited by 86
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
- 2023Grokking modular arithmeticcited by 77
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 76
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2023Unifying Grokking and Double Descentcited by 49
- 2024ICLR: In-Context Learning of Representationscited by 49
- 2023Grokking as a First Order Phase Transition in Two Layer Networkscited by 48
- 2025The Origins of Representation Manifolds in Large Language Modelscited by 46
- 2023Seeing is Believing: Brain-Inspired Modular Training for Mechanistic Interpretabilitycited by 38
- 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 38
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 34
- 2023Pretraining on the Test Set Is All You Needcited by 33
- 2023Feature emergence via margin maximization: case studies in algebraic taskscited by 33
- 2024Selecting Large Language Model to Fine-tune via Rectified Scaling Lawcited by 33
- 2024Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Spacecited by 33
- 2023Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Datacited by 32
- 2023Predicting Grokking Long Before it Happens: A look into the loss landscape of models which grokcited by 31
- 2024Approaching Deep Learning through the Spectral Dynamics of Weightscited by 29
- 2025Mechanistic understanding and validation of large AI models with SemanticLenscited by 29
- 2022Grokking phase transitions in learning local rules with gradient descentcited by 28
- 2023Dynamical versus Bayesian Phase Transitions in a Toy Model of Superpositioncited by 28
- 2022Why Random Pruning Is All We Need to Start Sparsecited by 26
- 2024Emergence in non-neural models: grokking modular arithmetic via average gradient outer productcited by 26
- 2023Grokking in Linear Estimators -- A Solvable Model that Groks without Understandingcited by 25
- 2024Zero-shot forecasting of chaotic systemscited by 25
- 2023To grok or not to grok: Disentangling generalization and memorization on corrupted algorithmic datasetscited by 24
- 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 24
- 2024Learning Syntax Without Planting Trees: Understanding Hierarchical Generalization in Transformerscited by 24
- 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
- 2024Critical Data Size of Language Models from a Grokking Perspectivecited by 22
- 2024Towards Uncovering How Large Language Model Works: An Explainability Perspectivecited by 22
- 2024The Complexity Dynamics of Grokkingcited by 21
- 2025Early Stopping Against Label Noise Without Validation Datacited by 21
50 most cited of 229 All 229 (JSON)
- 2026Generalization in Neural Networks Through the Lens of Magnitude Potential1 Oct 2026
- 2026Misalignment of Low-Loss Regions Causes Grokking30 Sep 2026
- 2026A Spectral Theory of Compositional Learning27 Sep 2026
- 2026A Spectral Theory of Grokking: Weight Decay induces Feature Learning22 Sep 2026
- 2026Beyond Embedding Transfer: Component Roles in Grokking Transfer and Stability16 Sep 2026
- 2026Structured Features Overfit Where Random Features Grok14 Sep 2026
- 2026A Function-Space Approach to the Statistical Mechanics of Learning Dynamics9 Sep 2026
- 2026Percolation Dynamics in Optimization: Variance Cascades and Nested Symmetry2 Sep 2026
- 2026Mapping the Emergence of Regularization-Driven Dynamics in Grokking26 Aug 2026
- 2026From Symmetry to Invariance: Learning Galois Equivalent Representations in Finite Fields23 Aug 2026
- 2026When does fusing hand-crafted knowledge with learned representations pay? A cost-normalized benchmark of stacking, substitution, and interference21 Aug 2026
- 2026Algorithmic Information Dynamics of Learning: A Certified, Differentiable Complexity Controller for Grokking14 Aug 2026
38 more
- 2026Memorization Diagnostics for Code LLMs Should be Scale-Aware13 Aug 2026
- 2026Small Enough to Know Everything: The Fully-Enumerable Transformer as an Instrument for the Science of Delayed Generalization3 Aug 2026
- 2026Tunneling the Loss Landscape: Bypassing Memorization with Monte Carlo Parameter Swapping3 Aug 2026
- 2026The Grokked Illusion: True Equilibrium Mitigates Catastrophic Forgetting31 Jul 2026
- 2026Grokking on the Weight-Decay Clock: A Rate Hierarchy from Softly Broken Symmetries27 Jul 2026
- 2026Algebraic Representability as the Limiting Regime of Grokking: An Exactly Solvable Model with Holomorphic Activations15 Jul 2026
- 2026How to Tame Grokking: Representation Geometry as a Control Signal13 Jul 2026
- 2026Emergent Generalization by Representation Learning in Artificial Neural Networks11 Jul 2026
- 2026Beyond Backpropagation: Monte Carlo Method Can Train Deep Neural Networks9 Jul 2026
- 2026Towards Mechanistically Understanding Why Memorized Knowledge Fails to Generalize in Large Language Model Finetuning9 Jul 2026
- 2026Cross-Trajectory Chimera Interventions Reveal Dissociable Roles of Weight Magnitude and Direction in Grokking7 Jul 2026
- 2026Rating the Pitch, Not the Product: User Evaluations of LLMs Reflect Expectations More Than Performance6 Jul 2026
- 2026Structure-Specific Representational Priors Causally Control the Grokking Delay5 Jul 2026
- 2026Radial Suppression Accelerates Algorithmic Generalization: A Geometric Analysis of Delayed Generalization30 Jun 2026
- 2026Towards Physical Intuitions for Alignment Dynamics: A Case Study With Randomness Crystallization29 Jun 2026
- 2026Natural Ungrokking: Asymmetric Control of Which Rules Survive Pretraining24 Jun 2026
- 2026Statistical Properties of Training & Generalization18 Jun 2026
- 2026Circuit Synchronization Precedes Generalization: A Causal Precursor to Grokking11 Jun 2026
- 2026Beyond Neural Collapse: Task-Intrinsic Geometry Governs Neural Representations in Modular Arithmetic8 Jun 2026
- 2026Deciphering Two Training Clocks in Grokking via Deep Linear Network Theory with Conditional ReLU Reduction4 Jun 2026
- 2026Fast Generalization after Interpolation via Critically Damped Momentum Optimization1 Jun 2026
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noise18 May 2026
- 2026Slower Generalization, Faster Memorization: A Sweet Spot in Algorithmic Learning14 May 2026
- 2026Detecting overfitting in Neural Networks during long-horizon grokking using Random Matrix Theory12 May 2026
- 2026Model Capacity Determines Grokking through Competing Memorisation and Generalisation Speeds10 May 2026
- 2026Learning Large-Scale Modular Addition with an Auxiliary Modulus8 May 2026
- 2026Distributional Spectral Diagnostics for Localizing Grokking Transitions7 May 2026
- 2026The Weight Gram Matrix Captures Sequential Feature Linearization in Deep Networks7 May 2026
- 2026Spectral Lens: Activation and Gradient Spectra as Diagnostics of LLM Optimization7 May 2026
- 2026Phase Transitions in Driven Informational Systems: A Two-Field Perspective on Learning Theory and Non-Equilibrium Chemistry5 May 2026
- 2026Universal Quantum Transformer29 Apr 2026
- 2026A Bayesian Perspective on the Role of Epistemic Uncertainty for Delayed Generalization in In-Context Learning14 Apr 2026
- 2026Spectral Entropy Collapse as a Phase Transition in Delayed Generalisation: An Interventional and Predictive Framework for Grokkin13 Apr 2026
- 2026Scalable Neural Decoders for Practical Fault-Tolerant Quantum Computation9 Apr 2026
- 2026The Lifecycle of the Spectral Edge: From Gradient Learning to Weight-Decay Compression8 Apr 2026
- 2026Memory Dial: A Training Framework for Controllable Memorization in Language Models6 Apr 2026
- 2026Breaking Data Symmetry is Needed For Generalization in Feature Learning Kernels31 Mar 2026
- 2026Grokking From Abstraction to Intelligence31 Mar 2026
50 newest of 229 All 229 (JSON)
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 288
- 2024On Memorization of Large Language Models in Logical Reasoningcited by 114
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
- 2024Towards Uncovering How Large Language Model Works: An Explainability Perspectivecited by 22
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?cited by 20
- 2025Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformerscited by 4
- 2022Logical Tasks for Measuring Extrapolation and Rule Comprehensioncited by 3
- 2026Geometry of Reason: Spectral Signatures of Valid Mathematical Reasoningcited by 3
- 2024Discovering Abstract Symbolic Relations by Learning Unitary Group Representationscited by 0
- 2026Geometry of Reason: Spectral Signatures of Valid Mathematical Reasoning2 Jan 2026
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers10 Jun 2025
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Example29 Apr 2025
- 2025How Do LLMs Perform Two-Hop Reasoning in Context?19 Feb 2025
- 2024On Memorization of Large Language Models in Logical Reasoning30 Oct 2024
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization23 May 2024
- 2024Discovering Abstract Symbolic Relations by Learning Unitary Group Representations26 Feb 2024
- 2024Towards Uncovering How Large Language Model Works: An Explainability Perspective16 Feb 2024
- 2022Logical Tasks for Measuring Extrapolation and Rule Comprehension14 Nov 2022
- 2026Retrieval-Augmented LLM Agents: Learning to Learn from Experiencecited by 6
- 2024Language Models "Grok" to Copycited by 5
- 2026Retrieval-Augmented LLM Agents: Learning to Learn from Experience18 Mar 2026
- 2024Language Models "Grok" to Copy14 Sep 2024
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 258
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 201
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
- 2024CycleResearcher: Improving Automated Research via Automated Reviewcited by 142
- 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 141
- 2023Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMscited by 121
12 most cited of 213 All 213 (JSON)
- 2026Generalization in Neural Networks Through the Lens of Magnitude Potential1 Oct 2026
- 2026Misalignment of Low-Loss Regions Causes Grokking30 Sep 2026
- 2026A Spectral Theory of Compositional Learning27 Sep 2026
- 2026A Spectral Theory of Grokking: Weight Decay induces Feature Learning22 Sep 2026
- 2026Beyond Embedding Transfer: Component Roles in Grokking Transfer and Stability16 Sep 2026
- 2026Structured Features Overfit Where Random Features Grok14 Sep 2026
- 2026A Function-Space Approach to the Statistical Mechanics of Learning Dynamics9 Sep 2026
- 2026Percolation Dynamics in Optimization: Variance Cascades and Nested Symmetry2 Sep 2026
- 2026Mapping the Emergence of Regularization-Driven Dynamics in Grokking26 Aug 2026
- 2026From Symmetry to Invariance: Learning Galois Equivalent Representations in Finite Fields23 Aug 2026
- 2026When does fusing hand-crafted knowledge with learned representations pay? A cost-normalized benchmark of stacking, substitution, and interference21 Aug 2026
- 2026Algorithmic Information Dynamics of Learning: A Certified, Differentiable Complexity Controller for Grokking14 Aug 2026
12 newest of 213 All 213 (JSON)