Misalignment of Low-Loss Regions Causes Grokking
cs.LG, cs.AI
Submitted: 2026-09-30
Updated: 2026-09-30
Comments: 23 pages, 23 figures
License: http://creativecommons.org/licenses/by/4.0/
The gist: Grokking refers to the delayed emergence of validation-set generalization after a model has already overfit the training set.
Abstract
Grokking refers to the delayed emergence of validation-set generalization after a model has already overfit the training set. Although first observed in small algorithmic tasks trained with transformers, its underlying mechanism remains unsettled. In this work, we develop an analysis framework based on mode connectivity and the geometry of low-loss regions. The framework predicts that the standard modular-arithmetic setting does not always produce grokking: under a symmetry-preserving train/validation split, we observe a stable anti-grokking case in which validation performance does not recover. This counterexample challenges several existing correlational explanations of grokking. More broadly, our analysis framework and results further suggest that grokking arises when the low-loss regions induced by the training and validation partitions are misaligned. Once these regions become well aligned, training hyperparameters alone cannot produce grokking and the observed dynamics collapse to either trainable or non-trainable behavior.
Sources
- Grokking Explained: A Statistical Phenomenon
- Why Do We Need Weight Decay in Modern Deep Learning?
- Densely Connected Convolutional Networks
- On the training dynamics of deep networks with $L_2$ regularization
- How Good is a Single Basin?
- Towards Understanding Grokking: An Effective Theory of Representation Learning
- Grokking at the Edge of Numerical Stability
- Overfitting Mechanism and Avoidance in Deep Neural Networks
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- Connecting Independently Trained Modes via Layer-Wise Connectivity
- Explaining grokking through circuit efficiency
- Emergent Abilities of Large Language Models
- To Grok Grokking: Provable Grokking in Ridge Regression
- Understanding deep learning requires rethinking generalization
- Critical Data Size of Language Models from a Grokking Perspective
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks