Topological Signatures of Grokking
Not on the map. Why?
Abstract (arXiv)
We study the grokking phenomenon through the lens of topology. Using persistent homology on point clouds derived from the embedding matrices of a range of models trained on modular arithmetic with varying primes, we identify a clear and consistent topological signature of grokking: a sharp increase in both the maximum and total persistence of first homology (H1). Persistence diagrams reveal the emergence of a dominant long-lived topological feature together with increasingly structured secondary features, reflecting the underlying cyclic structure of the task. Compared to existing spectral and geometric diagnostics -- specifically, Fourier analysis and local intrinsic dimension -- persistent homology provides a unified geometric and topological characterization of representation learning, capturing both local and global multi-scale structure. Ablations across data regimes and control settings show that these topological transitions are tied to generalization rather than memorization. Our results suggest that persistent homology offers a principled and interpretable framework for analyzing how neural networks internalize latent structure during training.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 19 of its 22 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
19 of 22 references.
References · 19
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 246
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
- 2019Ripser: efficient computation of Vietoris-Rips persistence barcodescited by 115
- 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 78
- 2021Artificial Text Detection via Examining the Topology of Attention Mapscited by 49
- 2024Deep Networks Always Grok and Here is Whycited by 49
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 34
- 2024The Complexity Dynamics of Grokkingcited by 21
- 2024Information-Theoretic Progress Measures reveal Grokking is an Emergent Phase Transitioncited by 16
- 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 14
7 more
- 2021Topological Measurement of Deep Neural Networks Using Persistent Homologycited by 9
- 2022Relating Regularization and Generalization through the Intrinsic Dimension of Activationscited by 9
- 2023Topological Data Analysis for Neural Network Analysis: A Comprehensive Surveycited by 9
- 2024On the Limitations of Fractal Dimension as a Measure of Generalizationcited by 5
- 2026The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topologycited by 4
- 2024Topological Data Analysis Applications in Natural Language Processing: A Surveycited by 2
- 2025Grokking Explained: A Statistical Phenomenoncited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.