Subspace Crystallization in Grokking: Rank Compression Tracks the Phase Transition
Not on the map. Why?
Abstract (arXiv)
Grokking describes understanding something deeply and intuitively. In neural networks, it is the phenomenon where a network generalizes long after memorizing its training data. This delay has been linked to a fall in the effective rank of the network's weight matrices, but whether this rank compression drives grokking or follows it is still unresolved. We study a mean-field MLP and a one-layer transformer trained on modular arithmetic and observe that: (i) Compression follows the onset, not memorization. Every transformer memorizes its training data within 250 steps, while the grokking onset (the first step at which test accuracy reaches 95%) varies from 6,500 to 21,000 steps. The steepest fall in effective rank comes about 900 steps after the onset, however late the onset occurs, and networks that memorize without grokking compress far less. (ii) Subspace crystallization. We call the span of the fewest top singular directions of a weight matrix that preserve 99% of test accuracy its sufficient subspace. Its size can shrink as the margin between the correct and the best wrong output grows, so we also count the directions needed to keep the outputs within 10%. In the transformer, this count falls during the transition from a quarter or more of the available directions to about a tenth, which we call subspace crystallization. (iii) Imposing low rank does not speed up grokking. Against a factorized full-rank control, capping the rank of the transformer's MLP input weights delays the onset, and capping the rank of its embedding stops 15 of 20 runs from grokking. Compression is therefore a signature of grokking rather than its cause.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 27 of its 36 references that are in the map. Submitted 26 Oct 2026.
Builds on
27 of 36 references.
References · 27
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,607
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 919
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 710
- 2019Implicit Regularization in Deep Matrix Factorizationcited by 418
- 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 396
- 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 296
- 2018Gradient Descent Happens in a Tiny Subspacecited by 246
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 172
- 2021The Low-Rank Simplicity Bias in Deep Networkscited by 167
- 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 159
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 158
- 2023Explaining grokking through circuit efficiencycited by 124
15 more
- 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 122
- 2023Grokking modular arithmeticcited by 100
- 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 93
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 88
- 2025Grokking at the Edge of Numerical Stabilitycited by 61
- 2024Deep Networks Always Grok and Here is Whycited by 58
- 2023Unifying Grokking and Double Descentcited by 53
- 2023Feature emergence via margin maximization: case studies in algebraic taskscited by 40
- 2024Emergence in non-neural models: grokking modular arithmetic via average gradient outer productcited by 38
- 2023To grok or not to grok: Disentangling generalization and memorization on corrupted algorithmic datasetscited by 28
- 2024The Complexity Dynamics of Grokkingcited by 25
- 2025Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformerscited by 15
- 2025The Geometry of Grokking: Norm Minimization on the Zero-Loss Manifoldcited by 11
- 2025GrokAlign: Geometric Characterisation and Acceleration of Grokkingcited by 6
- 2026Transformers converge to invariant algorithmic corescited by 2
Built on by
Not cited yet.