Softmax Transformers are Turing-Complete
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Hard attention Chain-of-Thought (CoT) transformers are known to be Turing-complete. However, it is an open problem whether softmax attention Chain-of-Thought (CoT) transformers are Turing-complete. In this paper, we prove a stronger result that length-generalizable softmax CoT transformers are Turing-complete. More precisely, our Turing-completeness proof goes via the CoT extension of the Counting RASP (C-RASP), which correspond to softmax CoT transformers that admit length generalization. We prove Turing-completeness for CoT C-RASP with causal masking over a unary alphabet (more generally, for letter-bounded languages). While we show this is not Turing-complete for arbitrary languages, we prove that its extension with relative positional encoding is Turing-complete for arbitrary languages. We empirically validate our theory by training transformers for languages requiring complex (non-linear) arithmetic reasoning.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 24 of its 30 references that are in the map. First posted on arXiv 25 Nov 2025.
Builds on
24 of 30 references.
Closest ancestors · 1
Same direction, newest first
Other references · 23
- 2017Attention Is All You Needcited by 60,361
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2021Thinking Like Transformerscited by 184
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
11 more
- 2021Position Information in Transformers: An Overviewcited by 103
- 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 85
- 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 45
- 2024Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformerscited by 39
- 2023Logical Languages Accepted by Transformer Encoders with Hard Attentioncited by 38
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
- 2024Universal Length Generalization with Turing Programscited by 25
- 2025Constant Bit-size Transformers Are Turing Completecited by 19
- 2024Simulating Hard Attention Using Soft Attentioncited by 15
- 2025Quantitative Bounds for Length Generalization in Transformerscited by 8
- 2025Non-Asymptotic Length Generalizationcited by 7
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026On the Spatiotemporal Dynamics of Generalization in Neural Networkscited by 3
- 2026On the Ability of Transformers to Verify Planscited by 2
- 2026Indexing: the Beginning and the Endcited by 2
- 2026A model of errors in transformerscited by 1
- 2026Synthesis and Verification of Transformer Programs (Technical Report)cited by 0
- 2026On the Mirage of Long-Range Dependency, with an Application to Integer Multiplicationcited by 0
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Managementcited by 0
- 2026Planning with Transformers: Chain of Computation and Structured Context Windowscited by 0
- 2026On the Expressive Power of Transformerscited by 0
- 2026On the Expressive Power of Transformers13 Aug 2026
- 2026Indexing: the Beginning and the End24 Jul 2026
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows20 Jul 2026
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Management19 May 2026
- 2026On the Mirage of Long-Range Dependency, with an Application to Integer Multiplication30 Mar 2026
- 2026On the Ability of Transformers to Verify Plans20 Mar 2026
- 2026Synthesis and Verification of Transformer Programs (Technical Report)18 Feb 2026
- 2026On the Spatiotemporal Dynamics of Generalization in Neural Networks2 Feb 2026
- 2026A model of errors in transformers20 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Barriers to Universal Reasoning With Transformers (And How to Overcome Them)
- 2026The Expressive Power of Low Precision Softmax Transformers with (Summarized) Chain-of-Thought
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problems
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers
- 2025Transformers are Inherently Succinct
- 2025A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformers
- 2026Efficiently Representing Algorithms With Chain-of-Thought Transformers
- 2025To CoT or To Loop? A Formal Comparison Between Chain-of-Thought and Looped Transformers