Lune

ICLR2023Top-tier venue

Omnigrok: Grokking Beyond Algorithmic Data

Ziming Liu, Eric J. Michaud, Max Tegmark

Abstract

Grokking, the unusual phenomenon for algorithmic datasets where generalization happens long after overfitting the training data, has remained elusive. We aim to understand grokking by analyzing the loss landscapes of neural networks, identifying the mismatch between training and test loss landscapes as the cause for grokking. We refer to this as the "LU mechanism" because training and test losses (against model weight norm) typically resemble "L" and "U", respectively. This simple mechanism can nicely explain many aspects of grokking: data size dependence, weight decay dependence, the emergence of representations, etc. Guided by the intuitive picture, we are able to induce grokking on tasks involving images, language and molecules. In the reverse direction, we are able to eliminate grokking for algorithmic datasets. We attribute the dramatic nature of grokking for algorithmic datasets to representation learning.

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.

30 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

  • Towards Understanding Grokking: An Effective Theory of Representation Learning cites Deep Double Descent: Where Bigger Models and More Data Hurt
  • Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data cites Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
  • 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 Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data
  • Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking cites Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
  • Multiple Descent: Design Your Own Generalization Curve cites Deep Double Descent: Where Bigger Models and More Data Hurt
  • The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks cites Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
  • Grokking of Implicit Reasoning in Transformers: A Mechanistic Journey to the Edge of Generalization cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Space cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Space cites Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
  • Triple descent and the two kinds of overfitting: where & why do they appear? cites Multiple Descent: Design Your Own Generalization Curve
  • Triple descent and the two kinds of overfitting: where & why do they appear? cites Deep Double Descent: Where Bigger Models and More Data Hurt
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers30

  1. The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural NetworksZiqian Zhong, Ziming Liu, Max Tegmark, Jacob AndreasNeurIPS 2023 · 181 citations
  2. 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
  3. Grokking of Implicit Reasoning in Transformers: A Mechanistic Journey to the Edge of GeneralizationBoshi Wang, Xiang Yue, Yu Su, Huan SunNeurIPS 2024 · 48 citations
  4. Benign Overfitting and Grokking in ReLU Networks for XOR Cluster DataZhiwei Xu, Yutong Wang, Spencer Frei, Gal Vardi et al.ICLR 2024 · 39 citations
  5. Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept SpaceCore Francisco Park, Maya Okawa, Andrew Lee, Ekdeep Singh Lubana et al.NeurIPS 2024 · 39 citations

Builds on7

  1. Deep Double Descent: Where Bigger Models and More Data HurtPreetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang et al.ICLR 2020 · 1,108 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. Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational LimitBoaz Barak, Benjamin L. Edelman, Surbhi Goel, Sham M. Kakade et al.NeurIPS 2022 · 220 citations
  4. Triple descent and the two kinds of overfitting: where & why do they appear?Stéphane d'Ascoli, Levent Sagun, Giulio BiroliNeurIPS 2020 · 94 citations
  5. Multiple Descent: Design Your Own Generalization CurveLin Chen, Yifei Min, Mikhail Belkin, Amin KarbasiNeurIPS 2021 · 64 citations

Related papers

  1. Grokking Beyond the Euclidean Norm of Model ParametersPascal Tikeng Notsawo Jr., Guillaume Dumas, Guillaume RabusseauICML 2025
  2. Grokking as the transition from lazy to rich training dynamicsTanishq Kumar, Blake Bordelon, Samuel J. Gershman, Cengiz PehlevanICLR 2024 · 86 citations
  3. The Geometric Origin of Grokking: Accelerating Generalization via Active Structural ReorganizationKefei Tao, Zhang Zhang, Mingze Qi, Xiaojun DuanICML 2026
  4. Deep Networks Always Grok and Here is WhyAhmed Imtiaz Humayun, Randall Balestriero, Richard G. BaraniukICML 2024 · 53 citations
  5. A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm MinimisationEtienne Boursier, Scott Pesme, Radu-Alexandru DragomirNeurIPS 2025 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines