Grokking as the transition from lazy to rich training dynamics
Tanishq Kumar, Blake Bordelon, Samuel J. Gershman, Cengiz Pehlevan
摘要
We propose that the grokking phenomenon, where the train loss of a neural network decreases much earlier than its test loss, can arise due to a neural network transitioning from lazy training dynamics to a rich, feature learning regime. To illustrate this mechanism, we study the simple setting of vanilla gradient descent on a polynomial regression problem with a two layer neural network which exhibits grokking without regularization in a way that cannot be explained by existing theories. We identify sufficient statistics for the test loss of such a network, and tracking these over training reveals that grokking arises in this setting when the network first attempts to fit a kernel regression solution with its initial features, followed by late-time feature learning where a generalizing solution is identified after train loss is already low. We find that the key determinants of grokking are the rate of feature learning -- which can be controlled precisely by parameters that scale the network output -- and the alignment of the initial features with the target function . We argue this delayed generalization arises when (1) the top eigenvectors of the initial neural tangent kernel and the task labels are misaligned, but (2) the dataset size is large enough so that it is possible for the network to generalize eventually, but not so large that train loss perfectly tracks test loss at all epochs, and (3) the network begins training in the lazy regime so does not learn features immediately. We conclude with evidence that this transition from lazy (linear model) to rich training (feature learning) can control grokking in more general settings, like on MNIST, one-layer Transformers, and student-teacher networks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 37 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking 引用了 Towards Understanding Grokking: An Effective Theory of Representation Learning
- Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking 引用了 Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
- Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit 引用了 High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation
- The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking
- The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 Are Emergent Abilities of Large Language Models a Mirage?
- The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
- The Evolution of Statistical Induction Heads: In-Context Learning Markov Chains 引用了 High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation
- Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning 引用了 Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking
- Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning 引用了 High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation
- Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Space 引用了 Towards Understanding Grokking: An Effective Theory of Representation Learning
- Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Space 引用了 Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
引用它的顶会 Paper37
- The Evolution of Statistical Induction Heads: In-Context Learning Markov ChainsEzra Edelman, Nikolaos Tsilivis, Benjamin L. Edelman, Eran Malach 等NeurIPS 2024 · 140 次引用
- Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce GrokkingKaifeng Lyu, Jikai Jin, Zhiyuan Li, Simon Shaolei Du 等ICLR 2024 · 71 次引用
- Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learningDaniel Kunin, Allan Raventós, Clémentine C. J. Dominé, Feng Chen 等NeurIPS 2024 · 48 次引用
- Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept SpaceCore Francisco Park, Maya Okawa, Andrew Lee, Ekdeep Singh Lubana 等NeurIPS 2024 · 39 次引用
- Measuring and Controlling Solution Degeneracy across Task-Trained Recurrent Neural NetworksAnn Huang, Satpreet Harcharan Singh, Flavio Martinelli, Kanaka RajanNeurIPS 2025 · 22 次引用
它引用的 Paper15
- Are Emergent Abilities of Large Language Models a Mirage?Rylan Schaeffer, Brando Miranda, Sanmi KoyejoNeurIPS 2023 · 796 次引用
- Towards Understanding Grokking: An Effective Theory of Representation LearningZiming Liu, Ouail Kitouni, Niklas Nolte, Eric J. Michaud 等NeurIPS 2022 · 299 次引用
- Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural NetworksBlake Bordelon, Abdulkadir Canatar, Cengiz PehlevanICML 2020 · 245 次引用
- Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational LimitBoaz Barak, Benjamin L. Edelman, Surbhi Goel, Sham M. Kakade 等NeurIPS 2022 · 220 次引用
- High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the RepresentationJimmy Ba, Murat A. Erdogdu, Taiji Suzuki, Zhichao Wang 等NeurIPS 2022 · 173 次引用
相关 Paper
- Grokking as a First Order Phase Transition in Two Layer NetworksNoa Rubin, Inbar Seroussi, Zohar RingelICLR 2024 · 43 次引用
- On the Convergence Behavior of Preconditioned Gradient Descent Toward the Rich Learning RegimeShuai Jiang, Eric C. Cyr, Ben S. Southworth, Alexey VoroninICLR 2026 · 1 次引用
- Omnigrok: Grokking Beyond Algorithmic DataZiming Liu, Eric J. Michaud, Max TegmarkICLR 2023 · 8 次引用
- Grokking in Linear Estimators - A Solvable Model that Groks without UnderstandingNoam Itzhak Levi, Alon Beck, Yohai Bar-SinaiICLR 2024 · 24 次引用
- Neural Networks as Kernel Learners: The Silent Alignment EffectAlexander B. Atanasov, Blake Bordelon, Cengiz PehlevanICLR 2022 · 110 次引用
