The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topology
Not on the map. Why?
Abstract (arXiv)
Mechanistic interpretability typically relies on post-hoc analysis of trained networks. We instead adopt an interventional approach: testing hypotheses a priori by modifying architectural topology to observe training dynamics. We study grokking - delayed generalization in Transformers trained on cyclic modular addition (Zp) - investigating if specific architectural degrees of freedom prolong the memorization phase. We identify two independent structural factors in standard Transformers: unbounded representational magnitude and data-dependent attention routing. First, we introduce a fully bounded spherical topology enforcing L2 normalization throughout the residual stream and an unembedding matrix with a fixed temperature scale. This removes magnitude-based degrees of freedom, reducing grokking onset time by over 20x without weight decay. Second, a Uniform Attention Ablation overrides data-dependent query-key routing with a uniform distribution, reducing the attention layer to a Continuous Bag-of-Words (CBOW) aggregator. Despite removing adaptive routing, these models achieve 100% generalization across all seeds and bypass the grokking delay entirely. To evaluate whether this acceleration is a task-specific geometric alignment rather than a generic optimization stabilizer, we use non-commutative S5 permutation composition as a negative control. Enforcing spherical constraints on S5 does not accelerate generalization. This suggests eliminating the memorization phase depends strongly on aligning architectural priors with the task's intrinsic symmetries. Together, these findings provide interventional evidence that architectural degrees of freedom substantially influence grokking, suggesting a predictive structural perspective on training dynamics.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 17 of its 24 references that are in the map. First posted on arXiv 5 Mar 2026.
Builds on
17 of 24 references.
References · 17
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 90
- 2024nGPT: Normalized Transformer with Representation Learning on the Hyperspherecited by 68
- 2025Grokking at the Edge of Numerical Stabilitycited by 41
- 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 38
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
- 2023Feature emergence via margin maximization: case studies in algebraic taskscited by 33
- 2025Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformerscited by 12
- 2024Fourier Head: Helping Large Language Models Learn Complex Probability Distributionscited by 10
- 2025The Geometry of Grokking: Norm Minimization on the Zero-Loss Manifoldcited by 8
5 more
- 2025Sinusoidal Initialization, Time for a New Startcited by 5
- 2026Emergent Analogical Reasoning in Transformerscited by 5
- 2025PENGUIN: Enhancing Transformer with Periodic-Nested Group Attention for Long-term Time Series Forecastingcited by 2
- 2026Explaining Grokking in Transformers through the Lens of Inductive Biascited by 2
- 2025Provable Benefits of Sinusoidal Activation for Modular Additioncited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026The Weight Norm Sets the Grokking Timescale: A Causal Delay Lawcited by 4
- 2026Topological Signatures of Grokkingcited by 2
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnosticscited by 2
- 2026Radial Suppression Accelerates Algorithmic Generalization: A Geometric Analysis of Delayed Generalizationcited by 1
- 2026Radial Suppression Accelerates Algorithmic Generalization: A Geometric Analysis of Delayed Generalization30 Jun 2026
- 2026The Weight Norm Sets the Grokking Timescale: A Causal Delay Law11 Jun 2026
- 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics19 May 2026
- 2026Topological Signatures of Grokking7 May 2026