Grokking at the Edge of Linear Separability
Not on the map. Why?
Abstract (arXiv)
We investigate the phenomenon of grokking -- delayed generalization accompanied by non-monotonic test loss behavior -- in a simple binary logistic classification task, for which "memorizing" and "generalizing" solutions can be strictly defined. Surprisingly, we find that grokking arises naturally even in this minimal model when the parameters of the problem are close to a critical point, and provide both empirical and analytical insights into its mechanism. Concretely, by appealing to the implicit bias of gradient descent, we show that logistic regression can exhibit grokking when the training dataset is nearly linearly separable from the origin and there is strong noise in the perpendicular directions. The underlying reason is that near the critical point, "flat" directions in the loss landscape with nearly zero gradient cause training dynamics to linger for arbitrarily long times near quasi-stable solutions before eventually reaching the global minimum. Finally, we highlight similarities between our findings and the recent literature, strengthening the conjecture that grokking generally occurs in proximity to the interpolation threshold, reminiscent of critical phenomena often observed in physical systems.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 24 of its 37 references that are in the map. First posted on arXiv 6 Oct 2024.
Builds on
24 of 37 references.
References · 24
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2023PaLM 2 Technical Reportcited by 1,154
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
- 2020The large learning rate phase of deep learning: the catapult mechanismcited by 206
- 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 141
12 more
- 2018Convergence of Gradient Descent on Separable Datacited by 108
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 90
- 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 78
- 2023Grokking modular arithmeticcited by 77
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 76
- 2023Unifying Grokking and Double Descentcited by 49
- 2023Grokking as a First Order Phase Transition in Two Layer Networkscited by 48
- 2023OmniVec: Learning robust representations with cross modal sharingcited by 44
- 2023Double Descent Demystified: Identifying, Interpreting & Ablating the Sources of a Deep Learning Puzzlecited by 36
- 2023Predicting Grokking Long Before it Happens: A look into the loss landscape of models which grokcited by 31
- 2022Grokking phase transitions in learning local rules with gradient descentcited by 28
- 2023Grokking in Linear Estimators -- A Solvable Model that Groks without Understandingcited by 25
Built on by
Citing papers per year: 2025: 3; 2026: 8.
11 papers.
- 2025Grokking at the Edge of Numerical Stabilitycited by 41
- 2026To Grok Grokking: Provable Grokking in Ridge Regressioncited by 6
- 2025Explaining Grokking and Information Bottleneck through Neural Collapse Emergencecited by 4
- 2026Statistical Properties of Training & Generalizationcited by 2
- 2026Grokking on the Weight-Decay Clock: A Rate Hierarchy from Softly Broken Symmetriescited by 2
- 2025Egalitarian Gradient Descent: A Simple Approach to Accelerated Grokkingcited by 1
- 2026The Implicit Bias of Logit Regularizationcited by 1
- 2026Grokking From Abstraction to Intelligencecited by 1
- 2026Grokking in Linear Models for Logistic Regressioncited by 0
- 2026Hard labels sampled from sparse targets mislead rotation invariant algorithmscited by 0
- 2026A Spectral Theory of Grokking: Weight Decay induces Feature Learningcited by 0
- 2026A Spectral Theory of Grokking: Weight Decay induces Feature Learning22 Sep 2026
- 2026Grokking on the Weight-Decay Clock: A Rate Hierarchy from Softly Broken Symmetries27 Jul 2026
- 2026Statistical Properties of Training & Generalization18 Jun 2026
- 2026Grokking From Abstraction to Intelligence31 Mar 2026
- 2026Hard labels sampled from sparse targets mislead rotation invariant algorithms21 Mar 2026
- 2026The Implicit Bias of Logit Regularization12 Feb 2026
- 2026Grokking in Linear Models for Logistic Regression9 Feb 2026
- 2026To Grok Grokking: Provable Grokking in Ridge Regression27 Jan 2026
- 2025Egalitarian Gradient Descent: A Simple Approach to Accelerated Grokking6 Oct 2025
- 2025Explaining Grokking and Information Bottleneck through Neural Collapse Emergence25 Sep 2025
- 2025Grokking at the Edge of Numerical Stability8 Jan 2025