mlsanityData to 7 Oct 2026

Grokfast: Accelerated Grokking by Amplifying Slow Gradients

arXiv 2405.20233 ↗First posted 30 May 2024cs.LG cs.AIcited by 38

Not on the map. Why?

Abstract (arXiv)

One puzzling artifact in machine learning dubbed grokking is where delayed generalization is achieved tenfolds of iterations after near perfect overfitting to the training data. Focusing on the long delay itself on behalf of machine learning practitioners, our goal is to accelerate generalization of a model under grokking phenomenon. By regarding a series of gradients of a parameter over training iterations as a random signal over time, we can spectrally decompose the parameter trajectories under gradient descent into two components: the fast-varying, overfitting-yielding component and the slow-varying, generalization-inducing component. This analysis allows us to accelerate the grokking phenomenon more than × 50 with only a few lines of code that amplifies the slow-varying components of gradients. The experiments show that our algorithm applies to diverse tasks involving images, languages, and graphs, enabling practical availability of this peculiar artifact of sudden generalization. Our code is available at https://github.com/ironjr/grokfast.

Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 30 May 2024.

Builds on

18 of 28 references.

References · 18

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2016Layer Normalizationcited by 5,579
  4. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  6. 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 919
  7. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  8. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
  9. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  10. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
  11. 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 184
  12. 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
6 more
  1. 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 90
  2. 2023Grokking modular arithmeticcited by 77
  3. 2023Unifying Grokking and Double Descentcited by 49
  4. 2021Multi-scale Feature Learning Dynamics: Insights for Double Descentcited by 24
  5. 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
  6. 2023Training Dynamics of Deep Network Linear Regionscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 12; 2026: 22.

38 papers.

Sort:

By area:

  1. 2024The AdEMAMix Optimizer: Better, Faster, Oldercited by 47
  2. 2024WARP: On the Benefits of Weight Averaged Rewarded Policiescited by 42
  3. 2025RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?cited by 23
  4. 2025Let Me Grok for You: Accelerating Grokking via Embedding Transfer from a Weaker Modelcited by 13
  5. 2025Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformerscited by 12
  6. 2025Position: Solve Layerwise Linear Models First to Understand Neural Dynamical Phenomena (Neural Collapse, Emergence, Lazy/Rich Regime, and Grokking)cited by 8
  7. 2025Mechanistic Insights into Grokking from the Embedding Layercited by 6
  8. 2024Language Models "Grok" to Copycited by 5
  9. 2024An Ensemble Approach for Brain Tumor Segmentation and Synthesiscited by 5
  10. 2026A Systematic Empirical Study of Grokking: Depth, Architecture, Activation, and Regularizationcited by 5
  11. 2026The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topologycited by 4
  12. 2026Model Capacity Determines Grokking through Competing Memorisation and Generalisation Speedscited by 4
26 more
  1. 2026Grokking as a Falsifiable Finite-Size Transitioncited by 3
  2. 2026Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Designcited by 3
  3. 2026Structure-Specific Representational Priors Causally Control the Grokking Delaycited by 3
  4. 2025NeuralGrok: Accelerate Grokking by Neural Gradient Transformationcited by 2
  5. 2025GrokAlign: Geometric Characterisation and Acceleration of Grokkingcited by 2
  6. 2025MT-DAO: Multi-Timescale Distributed Adaptive Optimizers with Local Updatescited by 2
  7. 2025Greedy Alignment Principle for Optimizer Selectioncited by 2
  8. 2026Spectral Entropy Collapse as a Phase Transition in Delayed Generalisation: An Interventional and Predictive Framework for Grokkincited by 2
  9. 2026ILDR: Geometric Early Detection of Grokkingcited by 2
  10. 2026Circuit Synchronization Precedes Generalization: A Causal Precursor to Grokkingcited by 2
  11. 2025Beyond Progress Measures: Theoretical Insights into the Mechanism of Grokkingcited by 1
  12. 2025Egalitarian Gradient Descent: A Simple Approach to Accelerated Grokkingcited by 1
  13. 2025When Data Falls Short: Grokking Below the Critical Thresholdcited by 1
  14. 2026Is Grokking Worthwhile? Functional Analysis and Transferability of Generalization Circuits in Transformerscited by 1
  15. 2026Dynamic Momentum Recalibration in Online Gradient Learningcited by 1
  16. 2026Detecting overfitting in Neural Networks during long-horizon grokking using Random Matrix Theorycited by 1
  17. 2026Radial Suppression Accelerates Algorithmic Generalization: A Geometric Analysis of Delayed Generalizationcited by 1
  18. 2026How to Tame Grokking: Representation Geometry as a Control Signalcited by 1
  19. 2026The Active Ingredient in Muon's Grokkingcited by 1
  20. 2026The Road Taken: The Role of Optimizers at the Edge of Stabilitycited by 1
  21. 2026Mitigating Position-Shift Failures in Text-Based Modular Arithmetic via Position Curriculum and Template Diversitycited by 0
  22. 2026Learning Rate Engineering: From Coarse Single Parameter to Layered Evolutioncited by 0
  23. 2026The Geometric Structure of Models Learning Sparse Datacited by 0
  24. 2026The Kinetics of Training: A Driven-Nucleation Rate Law for Emergence, Plasticity Loss, and Circuit Control in Language Modelscited by 0
  25. 2026Algorithmic Information Dynamics of Learning: A Certified, Differentiable Complexity Controller for Grokkingcited by 0
  26. 2026A Journey to the Edge of Stabilitycited by 0