Early-Warning Signals of Grokking via Loss-Landscape Geometry
Not on the map. Why?
Abstract (arXiv)
Grokking -- the abrupt transition from memorization to generalization after prolonged training -- has been linked to confinement on low-dimensional execution manifolds in modular arithmetic. Whether this mechanism extends beyond arithmetic remains open. We study two sequence-learning benchmarks: SCAN compositional generalization and Dyck-1 depth prediction. Across both tasks and a wide range of learning rates, the commutator defect -- a curvature measure derived from non-commuting gradient updates -- rises well before generalization, with lead times following a superlinear power law (alpha approximately 1.18 for SCAN, approximately 1.13 for Dyck), consistent with prior results on modular arithmetic. Weight-space PCA reveals that spectral concentration is not a universal precursor; the commutator defect is. Causal interventions demonstrate a mechanistic role: amplifying non-commutativity accelerates grokking (roughly 32% on SCAN, roughly 50% on Dyck), while suppressing orthogonal gradient flow delays or prevents it. The three task families form a spectrum of causal sensitivity -- modular arithmetic is rigid, Dyck is responsive, SCAN is intermediate -- yet suppression delays or prevents grokking in all cases, establishing necessity as a universal finding. These results identify the commutator defect as a robust, architecture-agnostic, causally implicated early-warning signal for delayed generalization in transformers.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 9 of its 24 references that are in the map. First posted on arXiv 19 Feb 2026.
Builds on
9 of 24 references.
References · 9
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
- 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 184
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 76
- 2023Grokking of Hierarchical Structure in Vanilla Transformerscited by 53
- 2026Low-Dimensional and Transversely Curved Optimization Dynamics in Grokkingcited by 10
- 2026Low-Dimensional Execution Manifolds in Transformer Learning Dynamics: Evidence from Modular Arithmetic Taskscited by 7
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Spectral Edge Dynamics of Training Trajectories: Signal--Noise Geometry Across Scalescited by 5
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnosticscited by 2
- 2026The Lifecycle of the Spectral Edge: From Gradient Learning to Weight-Decay Compressioncited by 1
- 2026At-Grok Is Not Converged:A Measurement-Validity Audit for Grokking Representation Metricscited by 1
- 2026Global Low-Rank, Local Full-Rank: The Holographic Encoding of Learned Algorithmscited by 0
- 2026An Exploratory Replica-Overlap Probe of the Grokking Transitioncited by 0
- 2026An Exploratory Replica-Overlap Probe of the Grokking Transition22 Sep 2026
- 2026At-Grok Is Not Converged:A Measurement-Validity Audit for Grokking Representation Metrics7 Jul 2026
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics19 May 2026
- 2026The Lifecycle of the Spectral Edge: From Gradient Learning to Weight-Decay Compression8 Apr 2026
- 2026Spectral Edge Dynamics of Training Trajectories: Signal--Noise Geometry Across Scales14 Mar 2026
- 2026Global Low-Rank, Local Full-Rank: The Holographic Encoding of Learned Algorithms20 Feb 2026