Lune

NeurIPS2025Top-tier venue

A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm Minimisation

Etienne Boursier, Scott Pesme, Radu-Alexandru Dragomir

Abstract

We study the dynamics of gradient flow with small weight decay on general training losses F:Rd→RF: \mathbb{R}^d \to \mathbb{R}. Under mild regularity assumptions and assuming convergence of the unregularised gradient flow, we show that the trajectory with weight decay λ\lambda exhibits a two-phase behaviour as λ→0\lambda \to 0. During the initial fast phase, the trajectory follows the unregularised gradient flow and converges to a manifold of critical points of FF. Then, at time of order 1/λ1/\lambda, the trajectory enters a slow drift phase and follows a Riemannian gradient flow minimising the ℓ2\ell_2-norm of the parameters. This purely optimisation-based phenomenon offers a natural explanation for the grokking effect observed in deep learning, where the training loss rapidly reaches zero while the test loss plateaus for an extended period before suddenly improving. We argue that this generalisation jump can be attributed to the slow norm reduction induced by weight decay, as explained by our analysis. We validate this mechanism empirically on several synthetic regression tasks.

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.

2 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

  • What Happens after SGD Reaches Zero Loss? --A Mathematical Framework cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • To Grok Grokking: Provable Grokking in Ridge Regression cites Towards Understanding Grokking: An Effective Theory of Representation Learning
  • To Grok Grokking: Provable Grokking in Ridge Regression cites Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Controlling the Flow: Stability and Convergence for Stochastic Gradient Descent with Decaying RegularizationSebastian Kassing, Simon Weissmann, Leif DöringNeurIPS 2025 · 7 citations
  2. To Grok Grokking: Provable Grokking in Ridge RegressionMingyue Xu, Gal Vardi, Itay SafranICML 2026

Builds on12

  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. 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. Towards Understanding Sharpness-Aware MinimizationMaksym Andriushchenko, Nicolas FlammarionICML 2022 · 190 citations
  5. What Happens after SGD Reaches Zero Loss? --A Mathematical FrameworkZhiyuan Li, Tianhao Wang, Sanjeev AroraICLR 2022 · 121 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. Omnigrok: Grokking Beyond Algorithmic DataZiming Liu, Eric J. Michaud, Max TegmarkICLR 2023 · 8 citations
  4. Grokking at the Edge of Linear SeparabilityAlon Beck, Noam Itzhak Levi, Yohai Bar-SinaiICML 2025
  5. Egalitarian Gradient Descent: A Simple Approach to Accelerated GrokkingAli Saheb Pasand, Elvis DohmatobICLR 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines