mlsanityData to 7 Oct 2026

Transformers converge to invariant algorithmic cores

arXiv 2602.22600 ↗First posted 26 Feb 2026cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Training selects for behavior, not circuitry: many weight configurations can implement the same function. Studying any single trained neural network thus risks describing accidents of one training run rather than the computation itself. This work shifts focus from what transformers happen to do to what they must do by extracting algorithmic cores, compact subspaces that are necessary and sufficient for a task and that recur across independently trained models. Here, Algorithmic Core Extraction (ACE) is introduced to isolate these subspaces, causally validate them, and recover the algorithms they implement across settings ranging from synthetic tasks to large-scale pretrained models. Markov-chain transformers embed three-dimensional cores in nearly orthogonal subspaces yet recover identical transition spectra. Modular-addition transformers form compact cyclic cores at grokking that later inflate under continued regularization, redundantly distributing the same computation across many functionally equivalent modes. This functional redundancy is found to accelerate the transition from memorization to generalization, yielding an inverse scaling law for grokking time. In six language models spanning more than two orders of magnitude in scale (GPT-2 Small/Medium/Large, LLaMA-3.1, Gemma-2, and Qwen2.5), subject-verb agreement is governed by a single, steerable axis that aligns across architectures. Flipping this axis inverts grammatical number throughout open-ended generation. Together these results suggest that beneath the apparent complexity of trained transformers lies a simpler, shared computational structure, and that targeting invariants rather than parameterizations may offer a more tractable path to mechanistic understanding and control. Code: https://github.com/joshseth/cores

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 33 of its 58 references that are in the map. First posted on arXiv 26 Feb 2026.

Builds on

33 of 58 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  3. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  4. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
  5. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  6. 2022Toy Models of Superpositioncited by 928
  7. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
  8. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  9. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
  10. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  11. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
  12. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
21 more
  1. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
  2. 2024The Platonic Representation Hypothesiscited by 362
  3. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
  4. 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
  5. 2018Insights on representational similarity in neural networks with canonical correlationcited by 318
  6. 2023Language Models Represent Space and Timecited by 306
  7. 2021Modern Koopman Theory for Dynamical Systemscited by 269
  8. 2018Targeted Syntactic Evaluation of Language Modelscited by 239
  9. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
  10. 2024Transcoders Find Interpretable LLM Feature Circuitscited by 186
  11. 2025Open Problems in Mechanistic Interpretabilitycited by 173
  12. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
  13. 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
  14. 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 141
  15. 2021Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Modelscited by 127
  16. 2023Explaining grokking through circuit efficiencycited by 105
  17. 2024Universal Neurons in GPT2 Language Modelscited by 100
  18. 2023Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patchingcited by 75
  19. 2025Archetypal SAE: Adaptive and Stable Dictionary Learning for Concept Extraction in Large Vision Modelscited by 67
  20. 2025Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?cited by 32
  21. 2024Using Degeneracy in the Loss Landscape for Mechanistic Interpretabilitycited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.