Grokking phase transitions in learning local rules with gradient descent
Auteurs : Bojan Žunkovič, Enej Ilievski
Résumé scientifique
We discuss two solvable grokking (generalisation beyond overfitting) models in a rule learning scenario. We show that grokking is a phase transition and find exact analytic expressions for the critical exponents, grokking probability, and grokking time distribution. Further, we introduce a tensor-network map that connects the proposed grokking setup with the standard (perceptron) statistical learning theory and show that grokking is a consequence of the locality of the teacher model. As an example, we analyse the cellular automata learning task, numerically determine the critical exponent and the grokking time distributions and compare them with the prediction of the proposed grokking model. Finally, we numerically analyse the connection between structure formation and grokking.
Les articles autour de lui, par date et par proximité
Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article
Les articles autour de celui-ci
Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.
Les articles les plus proches
-
Towards Understanding Grokking: An Effective Theory of Representation LearningZi-Ming Liu, Ouail Kitouni, Niklas Nolte et al. · 2022 · Neural Information Processing Systems · cité 311 fois · Pas encore résumé
Towards Understanding Grokking développe une théorie effective des représentations et des phases d’apprentissage, tandis que cet article modélise analytiquement le grokking de règles locales.
Résumé scientifique
We aim to understand grokking, a phenomenon where models generalize long after overfitting their training set. We present both a microscopic analysis anchored by an effective theory and a macroscopic analysis of phase diagrams describing learning performance across hyperparameters. We find that generalization originates from structured representations whose training dynamics and dependence on training set size can be predicted by our effective theory in a toy setting. We observe empirically the presence of four learning phases: comprehension, grokking, memorization, and confusion. We find representation learning to occur only in a"Goldilocks zone"(including comprehension and grokking) betwee…
-
Statistical Vignettes on the Grokking PhenomenonBaye Malick Gning, Elvis Dohmatob · 2026 · Pas encore résumé
Statistical Vignettes étudie les conditions et les durées du grokking dans un modèle analytique, comme cet article qui en dérive des seuils et des distributions temporelles.
Résumé scientifique
In this work, we study grokking in a simple, analytically tractable setting whose rich phenomenology allows us to disentangle the effects of initialization, signal strength, weight decay, sample size, and input dimension. These factors can produce superficially similar learning curves through distinct mechanisms, complicating their interpretation. Our analysis distinguishes early fitting through nuisance features, core feature learning, and delayed generalization. We identify sharp conditions under which grokking provably occurs and derive analytic asymptotic expressions for the lengths of the generalization plateaus. Our results also characterize regimes of early generalization and failure …
-
Grokking Explained: A Statistical PhenomenonBreno W. Carvalho, A. S. d'Avila Garcez, L. Lamb et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 2 fois · Pas encore résumé
Grokking Explained étudie le grokking comme phénomène statistique lié au décalage de distribution, tandis que cet article l’analyse comme transition de phase due à la localité des règles.
Résumé scientifique
Grokking, or delayed generalization, is an intriguing learning phenomenon where test set loss decreases sharply only after a model's training set loss has converged. This challenges conventional understanding of the training dynamics in deep learning networks. In this paper, we formalize and investigate grokking, highlighting that a key factor in its emergence is a distribution shift between training and test data. We introduce two synthetic datasets specifically designed to analyze grokking. One dataset examines the impact of limited sampling, and the other investigates transfer learning's role in grokking. By inducing distribution shifts through controlled imbalanced sampling of sub-catego…
-
Scaling and Renormalization in Neural Networks: An Effective Renormalization-Group Description of GrokkingMin Chen, Jun-Qin Wang, Ze-Guan Wu et al. · 2026 · Pas encore résumé
Scaling and Renormalization décrit les transitions de généralisation par le groupe de renormalisation, tandis que cet article établit des transitions de phase dans des modèles de règles locales.
Résumé scientifique
Grokking is a delayed transition from memorization to generalization in deep neural networks (NNs). We examine whether scaling and renormalization group (RG) theories can describe this dynamics, establishing a quantitative physical framework for neural generalization transitions. For modular addition on a two-layer NN, an ensemble of trained models defines an order parameter (the squared weight norm) and fluctuation proxies for the heat capacity and the susceptibility, with training epoch and weight decay serving as thermal and field control coordinates. To bridge neural architectures to real-space RG, we construct an exact coupling matrix via a second-order expansion of the loss with respec…
-
To Grok Grokking: Provable Grokking in Ridge RegressionMingyue Xu, Gal Vardi, Itay Safran · 2026 · arXiv.org · preprint, non relu par les pairs · cité 7 fois · Pas encore résumé
To Grok Grokking démontre le grokking en régression ridge avec descente de gradient et décroissance des poids, tandis que cet article l’étudie dans l’apprentissage de règles locales.
Résumé scientifique
We study grokking, the onset of generalization long after overfitting, in a classical ridge regression setting. We prove end-to-end grokking results for learning over-parameterized linear regression models using gradient descent with weight decay. Specifically, we prove that the following stages occur: (i) the model overfits the training data early during training; (ii) poor generalization persists long after overfitting has manifested; and (iii) the generalization error eventually becomes arbitrarily small. Moreover, we show, both theoretically and empirically, that grokking can be amplified or eliminated in a principled manner through proper hyperparameter tuning. To the best of our knowle…
-
Grokking as a First Order Phase Transition in Two Layer NetworksNoa Rubin, Inbar Seroussi, Z. Ringel · 2023 · International Conference on Learning Representations · cité 58 fois · Pas encore résumé
Grokking as a First Order Phase Transition analyse le grokking dans des réseaux à deux couches par noyaux adaptatifs, tandis que cet article utilise des modèles résolubles et des réseaux de tenseurs.
Résumé scientifique
A key property of deep neural networks (DNNs) is their ability to learn new features during training. This intriguing aspect of deep learning stands out most clearly in recently reported Grokking phenomena. While mainly reflected as a sudden increase in test accuracy, Grokking is also believed to be a beyond lazy-learning/Gaussian Process (GP) phenomenon involving feature learning. Here we apply a recent development in the theory of feature learning, the adaptive kernel approach, to two teacher-student models with cubic-polynomial and modular addition teachers. We provide analytical predictions on feature learning and Grokking properties of these models and demonstrate a mapping between Grok…
-
Grokking at the Edge of Linear SeparabilityA. Beck, N. Levi, Yohai Bar-Sinai · 2024 · International Conference on Machine Learning · cité 16 fois · Pas encore résumé
Grokking at the Edge of Linear Separability étudie le grokking près de la séparabilité linéaire en classification logistique, plutôt que dans l’apprentissage de règles locales.
Résumé scientifique
We investigate the phenomenon of grokking -- delayed generalization accompanied by non-monotonic test loss behavior -- in a simple binary logistic classification task, for which"memorizing"and"generalizing"solutions can be strictly defined. Surprisingly, we find that grokking arises naturally even in this minimal model when the parameters of the problem are close to a critical point, and provide both empirical and analytical insights into its mechanism. Concretely, by appealing to the implicit bias of gradient descent, we show that logistic regression can exhibit grokking when the training dataset is nearly linearly separable from the origin and there is strong noise in the perpendicular dir…
-
Grokking as a Phase Transition between Competing Basins: a Singular Learning Theory ApproachB. Cullen, Sergio Estan-Ruiz, Riya Danait et al. · 2026 · arXiv.org · preprint, non relu par les pairs · cité 2 fois · Pas encore résumé
Grokking as a Phase Transition between Competing Basins applique la théorie de l’apprentissage singulier au grokking, tandis que cet article en déduit les exposants critiques dans des modèles résolubles.
Les travaux antérieurs sur lesquels il s’appuie
-
The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking PhenomenonVimal Thilak, Etai Littwin, Shuangfei Zhai et al. · 2022 · arXiv.org · preprint, non relu par les pairs · cité 113 fois · Pas encore résumé
The Slingshot Mechanism étudie les transitions cycliques d’optimisation avec des optimiseurs adaptatifs, un mécanisme d’entraînement voisin du grokking analysé ici.
Résumé scientifique
The grokking phenomenon as reported by Power et al. ( arXiv:2201.02177 ) refers to a regime where a long period of overfitting is followed by a seemingly sudden transition to perfect generalization. In this paper, we attempt to reveal the underpinnings of Grokking via a series of empirical studies. Specifically, we uncover an optimization anomaly plaguing adaptive optimizers at extremely late stages of training, referred to as the Slingshot Mechanism. A prominent artifact of the Slingshot Mechanism can be measured by the cyclic phase transitions between stable and unstable training regimes, and can be easily monitored by the cyclic behavior of the norm of the last layers weights. We empirica…
-
Statistical Mechanics of LearningA. Engel, C. Van den Broeck · 2001 · cité 645 fois · Pas encore résumé
Statistical Mechanics of Learning fournit le cadre général de mécanique statistique auquel se rattache l’analyse du grokking comme transition de phase.
-
Grokking: Generalization Beyond Overfitting on Small Algorithmic DatasetsAlethea Power, Yuri Burda, Harri Edwards et al. · 2022 · Machine Learning · preprint, non relu par les pairs · cité 811 fois · Résumé IA disponible
Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets décrit le grokking sur de petits jeux de données algorithmiques, contexte repris ici pour l’apprentissage de règles locales.
Résumé scientifique
In this paper we propose to study generalization of neural networks on small algorithmically generated datasets. In this setting, questions about data efficiency, memorization, generalization, and speed of learning can be studied in great detail. In some situations we show that neural networks learn through a process of "grokking" a pattern in the data, improving generalization performance from random chance level to perfect generalization, and that this improvement in generalization can happen well past the point of overfitting. We also study generalization as a function of dataset size and find that smaller datasets require increasing amounts of optimization for generalization. We argue th…
-
Multi-scale Feature Learning Dynamics: Insights for Double DescentM. Pezeshki, Amartya Mitra, Yoshua Bengio et al. · 2021 · International Conference on Machine Learning · cité 39 fois · Pas encore résumé
Multi-scale Feature Learning Dynamics étudie la double descente selon les époques et la dynamique d’apprentissage des caractéristiques, plutôt que le grokking des règles locales.
Résumé scientifique
A key challenge in building theoretical foundations for deep learning is the complex optimization dynamics of neural networks, resulting from the high-dimensional interactions between the large number of network parameters. Such non-trivial dynamics lead to intriguing behaviors such as the phenomenon of"double descent"of the generalization error. The more commonly studied aspect of this phenomenon corresponds to model-wise double descent where the test error exhibits a second descent with increasing model complexity, beyond the classical U-shaped error curve. In this work, we investigate the origins of the less studied epoch-wise double descent in which the test error undergoes two non-monot…
-
Prevalence of neural collapse during the terminal phase of deep learning trainingVardan Papyan, Xue-Mei Han, D. Donoho · 2020 · Proceedings of the National Academy of Sciences of the United States of America · cité 1 099 fois · Pas encore résumé
Prevalence of neural collapse examine la géométrie des caractéristiques après une longue phase d’entraînement, un phénomène de fin d’apprentissage distinct du grokking étudié ici.
Résumé scientifique
Significance Modern deep neural networks for image classification have achieved superhuman performance. Yet, the complex details of trained networks have forced most practitioners and researchers to regard them as black boxes with little that could be understood. This paper considers in detail a now-standard training methodology: driving the cross-entropy loss to zero, continuing long after the classification error is already zero. Applying this methodology to an authoritative collection of standard deepnets and datasets, we observe the emergence of a simple and highly symmetric geometry of the deepnet features and of the deepnet classifier, and we document important benefits that the geomet…
Les articles qui le citent
-
To grok or not to grok: Disentangling generalization and memorization on corrupted algorithmic datasetsDarshil Doshi, Aritra Das, Tian-Yu He et al. · 2023 · International Conference on Learning Representations · cité 35 fois · Pas encore résumé
To grok or not to grok distingue représentations généralisantes et mémorisantes sur des tâches arithmétiques corrompues, comme cet article examine la généralisation tardive de règles apprises.
Résumé scientifique
Robust generalization is a major challenge in deep learning, particularly when the number of trainable parameters is very large. In general, it is very difficult to know if the network has memorized a particular set of examples or understood the underlying rule (or both). Motivated by this challenge, we study an interpretable model where generalizing representations are understood analytically, and are easily distinguishable from the memorizing ones. Namely, we consider multi-layer perceptron (MLP) and Transformer architectures trained on modular arithmetic tasks, where ($\xi \cdot 100\%$) of labels are corrupted (\emph{i.e.} some results of the modular operations in the training set are inc…
-
Grokking Beyond Neural Networks: An Empirical Exploration with Model ComplexityJack William Miller, Charles O'Neill, Thang Bui · 2023 · Trans. Mach. Learn. Res. · cité 21 fois · Pas encore résumé
Grokking Beyond Neural Networks teste le grokking dans plusieurs modèles et sur des jeux algorithmiques, tandis que cet article en étudie les mécanismes analytiques pour des règles locales.
Résumé scientifique
In some settings neural networks exhibit a phenomenon known as \textit{grokking}, where they achieve perfect or near-perfect accuracy on the validation set long after the same performance has been achieved on the training set. In this paper, we discover that grokking is not limited to neural networks but occurs in other settings such as Gaussian process (GP) classification, GP regression, linear regression and Bayesian neural networks. We also uncover a mechanism by which to induce grokking on algorithmic datasets via the addition of dimensions containing spurious information. The presence of the phenomenon in non-neural architectures shows that grokking is not restricted to settings conside…
-
Predicting Grokking Long Before it Happens: A look into the loss landscape of models which grokPascal Junior Tikeng Notsawo, Hattie Zhou, Mohammad Pezeshki et al. · 2023 · arXiv.org · preprint, non relu par les pairs · cité 42 fois · Pas encore résumé
Predicting Grokking Long Before it Happens cherche à prévoir le grokking à partir des premières courbes d’apprentissage, tandis que cet article prédit analytiquement ses probabilités et ses temps.
Résumé scientifique
This paper focuses on predicting the occurrence of grokking in neural networks, a phenomenon in which perfect generalization emerges long after signs of overfitting or memorization are observed. It has been reported that grokking can only be observed with certain hyper-parameters. This makes it critical to identify the parameters that lead to grokking. However, since grokking occurs after a large number of epochs, searching for the hyper-parameters that lead to it is time-consuming. In this paper, we propose a low-cost method to predict grokking without training for a large number of epochs. In essence, by studying the learning curve of the first few epochs, we show that one can predict whet…
-
Deciphering Two Training Clocks in Grokking via Deep Linear Network Theory with Conditional ReLU ReductionHuihui Tan, Kuo Gai, Shi-Hua Zhang · 2026 · arXiv.org · preprint, non relu par les pairs · cité 2 fois · Pas encore résumé
Deciphering Two Training Clocks formalise les échelles de temps distinctes de l’ajustement et de la généralisation, un aspect que cet article caractérise par les temps de grokking.
Résumé scientifique
Grokking suggests that fitting the training data and learning a simple underlying rule may occur on different time scales. We formalize this phenomenon by separating the fast decay of the classification loss from the slower simplification of the learned representation, and we call the resulting pair of stopping times two training clocks. For deep linear networks, we show that a post-margin gap-growth or one-step tail-contraction condition reduces the cross-entropy loss to level epsilon on a logarithmic time scale. In contrast, when layerwise weight decay is present, the induced regularization on the end-to-end map can be expressed as a Schatten-type penalty; under a sharp late-time Kurdyka-L…
-
Let Me Grok for You: Accelerating Grokking via Embedding Transfer from a Weaker ModelZhiwei Xu, Zhiyu Ni, Yixin Wang et al. · 2025 · International Conference on Learning Representations · cité 15 fois · Pas encore résumé
Let Me Grok for You accélère le grokking par transfert d’embeddings, tandis que cet article caractérise les conditions et les temps d’apparition de la généralisation tardive.
Résumé scientifique
''Grokking'' is a phenomenon where a neural network first memorizes training data and generalizes poorly, but then suddenly transitions to near-perfect generalization after prolonged training. While intriguing, this delayed generalization phenomenon compromises predictability and efficiency. Ideally, models should generalize directly without delay. To this end, this paper proposes GrokTransfer, a simple and principled method for accelerating grokking in training neural networks, based on the key observation that data embedding plays a crucial role in determining whether generalization is delayed. GrokTransfer first trains a smaller, weaker model to reach a nontrivial (but far from optimal) t…
Aller plus loin
Comment ces articles sont-ils trouvés ?
Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.
Mis à jour le 1 novembre 2026.