Lune

ICML2025Top-tier venue

Grokking at the Edge of Linear Separability

Alon Beck, Noam Itzhak Levi, Yohai Bar-Sinai

Abstract

We investigate the phenomenon of grokking -delayed generalization accompanied by nonmonotonic 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Grokking Beyond the Euclidean Norm of Model Parameters cites Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking
  • Grokking Beyond the Euclidean Norm of Model Parameters cites Grokking at the Edge of Numerical Stability
  • Grokking Beyond the Euclidean Norm of Model Parameters cites A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations
  • Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking cites A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations
  • Grokking at the Edge of Numerical Stability cites Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking
  • Grokking at the Edge of Numerical Stability cites A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations
  • Explaining Grokking and Information Bottleneck through Neural Collapse Emergence cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • Explaining Grokking and Information Bottleneck through Neural Collapse Emergence cites Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking
  • A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations cites Language Models are Few-Shot Learners
  • GLM-130B: An Open Bilingual Pre-trained Model cites Language Models are Few-Shot Learners
  • Egalitarian Gradient Descent: A Simple Approach to Accelerated Grokking cites Grokking Beyond the Euclidean Norm of Model Parameters
  • Egalitarian Gradient Descent: A Simple Approach to Accelerated Grokking cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • Egalitarian Gradient Descent: A Simple Approach to Accelerated Grokking cites Grokking at the Edge of Numerical Stability
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Explaining Grokking and Information Bottleneck through Neural Collapse EmergenceKeitaro Sakamoto, Issei SatoICLR 2026 · 5 citations
  2. Hard labels sampled from sparse targets mislead rotation invariant algorithmsAvrajit Ghosh, Bin Yu, Manfred Warmuth, Peter BartlettICML 2026 · 1 citation
  3. Egalitarian Gradient Descent: A Simple Approach to Accelerated GrokkingAli Saheb Pasand, Elvis DohmatobICLR 2026 · 1 citation
  4. Grokking Beyond the Euclidean Norm of Model ParametersPascal Tikeng Notsawo Jr., Guillaume Dumas, Guillaume RabusseauICML 2025
  5. Grokking at the Edge of Numerical StabilityLucas Prieto, Melih Barsbey, Pedro A. M. Mediano, Tolga BirdalICLR 2025

Builds on13

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Towards Understanding Grokking: An Effective Theory of Representation LearningZiming Liu, Ouail Kitouni, Niklas Nolte, Eric J. Michaud et al.NeurIPS 2022 · 299 citations
  3. GLM-130B: An Open Bilingual Pre-trained ModelAohan Zeng, Xiao Liu, Zhengxiao Du, Zihan Wang et al.ICLR 2023 · 295 citations
  4. A Toy Model of Universality: Reverse Engineering how Networks Learn Group OperationsBilal Chughtai, Lawrence Chan, Neel NandaICML 2023 · 144 citations
  5. Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce GrokkingKaifeng Lyu, Jikai Jin, Zhiyuan Li, Simon Shaolei Du et al.ICLR 2024 · 71 citations

Related papers

  1. Benign Overfitting and Grokking in ReLU Networks for XOR Cluster DataZhiwei Xu, Yutong Wang, Spencer Frei, Gal Vardi et al.ICLR 2024 · 39 citations
  2. Grokking as the transition from lazy to rich training dynamicsTanishq Kumar, Blake Bordelon, Samuel J. Gershman, Cengiz PehlevanICLR 2024 · 86 citations
  3. To Grok Grokking: Provable Grokking in Ridge RegressionMingyue Xu, Gal Vardi, Itay SafranICML 2026
  4. A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm MinimisationEtienne Boursier, Scott Pesme, Radu-Alexandru DragomirNeurIPS 2025 · 12 citations
  5. Omnigrok: Grokking Beyond Algorithmic DataZiming Liu, Eric J. Michaud, Max TegmarkICLR 2023 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines