Lune

ICLR2024Top-tier venue

Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking

Kaifeng Lyu, Jikai Jin, Zhiyuan Li, Simon Shaolei Du, Jason D. Lee, Wei Hu

Abstract

Recent work by Power et al. (2022) highlighted a surprising "grokking" phenomenon in learning arithmetic tasks: a neural net first "memorizes" the training set, resulting in perfect training accuracy but near-random test accuracy, and after training for sufficiently longer, it suddenly transitions to perfect test accuracy. This paper studies the grokking phenomenon in theoretical setups and shows that it can be induced by a dichotomy of early and late phase implicit biases. Specifically, when training homogeneous neural nets with large initialization and small weight decay on both classification and regression tasks, we prove that the training process gets trapped at a solution corresponding to a kernel predictor for a long time, and then a very sharp transition to min-norm/max-margin predictors occurs, leading to a dramatic change in test accuracy.

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.

25 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

  • Simplicity Bias of Two-Layer Networks beyond Linearly Separable Data cites Directional convergence and alignment in deep learning
  • Simplicity Bias of Two-Layer Networks beyond Linearly Separable Data cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • Directional convergence and alignment in deep learning cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit cites Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networks
  • The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains cites Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
  • Uncovering a Universal Abstract Algorithm for Modular Addition in Neural Networks cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • Uncovering a Universal Abstract Algorithm for Modular Addition in Neural Networks cites The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains
  • A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm Minimisation cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm Minimisation cites Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
  • A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm Minimisation cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. The Evolution of Statistical Induction Heads: In-Context Learning Markov ChainsEzra Edelman, Nikolaos Tsilivis, Benjamin L. Edelman, Eran Malach et al.NeurIPS 2024 · 140 citations
  2. Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learningDaniel Kunin, Allan Raventós, Clémentine C. J. Dominé, Feng Chen et al.NeurIPS 2024 · 48 citations
  3. Uncovering a Universal Abstract Algorithm for Modular Addition in Neural NetworksGavin McCracken, Gabriela Moisescu-Pareja, Vincent Létourneau, Doina Precup et al.NeurIPS 2025 · 14 citations
  4. Simplicity Bias of Two-Layer Networks beyond Linearly Separable DataNikita Tsoy, Nikola KonstantinovICML 2024 · 12 citations
  5. A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm MinimisationEtienne Boursier, Scott Pesme, Radu-Alexandru DragomirNeurIPS 2025 · 12 citations

Builds on27

  1. Gradient Descent Maximizes the Margin of Homogeneous Neural NetworksKaifeng Lyu, Jian LiICLR 2020 · 402 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. Directional convergence and alignment in deep learningZiwei Ji, Matus TelgarskyNeurIPS 2020 · 226 citations
  4. 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
  5. Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networksZiwei Ji, Matus TelgarskyICLR 2020 · 193 citations

Related papers

  1. Grokking as the transition from lazy to rich training dynamicsTanishq Kumar, Blake Bordelon, Samuel J. Gershman, Cengiz PehlevanICLR 2024 · 86 citations
  2. Grokking in Linear Estimators - A Solvable Model that Groks without UnderstandingNoam Itzhak Levi, Alon Beck, Yohai Bar-SinaiICLR 2024 · 24 citations
  3. Let Me Grok for You: Accelerating Grokking via Embedding Transfer from a Weaker ModelZhiwei Xu, Zhiyu Ni, Yixin Wang, Wei HuICLR 2025
  4. Grokking as a First Order Phase Transition in Two Layer NetworksNoa Rubin, Inbar Seroussi, Zohar RingelICLR 2024 · 43 citations
  5. Why Do You Grok? A Theoretical Analysis on Grokking Modular AdditionMohamad Amin Mohamadi, Zhiyuan Li, Lei Wu, Danica J. SutherlandICML 2024
Dusk over the sea between two cliffs drawn in fine vertical lines