mlsanityData to 26 Nov 2026

Putting Transformer Theories to the Test

arXiv 2610.32104 ↗Submitted 23 Oct 2026cs.LG cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Several formal theories have been developed to characterize the capabilities and limitations of the transformer architecture, each employing different abstractions that capture different features of the architecture. Due to the differences in their underlying assumptions and conceptual frameworks, these theories can disagree in their predictions about what tasks transformers find easy or hard. We map out seven theories of transformer capability (Star-free, mathsfAC0, mathsfTC0, C-RASP, MPC, BAPO, and Sensitivity) and translate their results into a common matrix of predictions across a suite of tasks covering different computational structures. We provide new theoretical results to complete this matrix. We then evaluate theoretical predictions through controlled experiments measuring in-distribution sample complexity, length generalization, and pretrained language model performance. We find that no single theory explains the observed pattern of successes and failures. When a theory does not capture the transformer behaviors relevant to a task, its predictions break down; for instance, we show that the k-hop induction task is predicted hard by C-RASP because it does not model content-dependent attention, but we train small transformers on this task that length-generalize. Similarly, theories assuming hard attention like mathsfAC0 and BAPO predict binary majority to be hard, for which we also find success in practice. Together, our results point to several specific features that a theory of transformers must capture: soft rather than hard attention, dynamic content-dependent retrieval, bounded computation at each position, an account of learnability and inductive biases, and a combination of upper and lower bounds.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 31 of its 86 references that are in the map. Submitted 23 Oct 2026.

Builds on

31 of 86 references.

References · 31

  1. 2017Attention Is All You Needcited by 62,125
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,133
  3. 2022In-context Learning and Induction Headscited by 1,085
  4. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 299
  5. 2022Transformers Learn Shortcuts to Automatacited by 297
  6. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 214
  7. 2021Thinking Like Transformerscited by 201
  8. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 146
  9. 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 145
  10. 2023Representational Strengths and Limitations of Transformerscited by 140
  11. 2023What Formal Languages Can Transformers Express? A Surveycited by 131
  12. 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 95
19 more
  1. 2024Transformers, parallel computation, and logarithmic depthcited by 92
  2. 2024Why are Sensitive Functions Hard for Transformers?cited by 78
  3. 2024On Limitations of the Transformer Architecturecited by 71
  4. 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 71
  5. 2022A Logic for Expressing Log-Precision Transformerscited by 69
  6. 2023Tighter Bounds on the Expressivity of Transformer Encoderscited by 69
  7. 2024Theoretical limitations of multi-layer Transformercited by 57
  8. 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 53
  9. 2023Masked Hard-Attention Transformers Recognize Exactly the Star-Free Languagescited by 52
  10. 2024Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformerscited by 44
  11. 2023Logical Languages Accepted by Transformer Encoders with Hard Attentioncited by 39
  12. 2023Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuitscited by 31
  13. 2024Transformers in Uniform TC0cited by 29
  14. 2020On the Ability and Limitations of Transformers to Recognize Formal Languagescited by 17
  15. 2025Knee-Deep in C-RASP: A Transformer Depth Hierarchycited by 15
  16. 2025Lost in Transmission: When and Why LLMs Fail to Reason Globallycited by 10
  17. 2025Pause Tokens Strictly Increase the Expressivity of Constant-Depth Transformerscited by 9
  18. 2026Revisiting Padded Transformer Expressivity: Which Architectural Choices Matter and Which Don'tcited by 2
  19. 2026From Expressivity to Sample Complexity: Narrow Teachers for Transformers via C-RASPcited by 2

Built on by

Not cited yet.