Barriers to Universal Reasoning With Transformers (And How to Overcome Them)
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Chain-of-Thought (CoT) has been shown to empirically improve Transformers' performance, and theoretically increase their expressivity to Turing completeness. However, whether Transformers can learn to generalize to CoT traces longer than those seen during training is understudied. We use recent theoretical frameworks for Transformer length generalization and find that -- under standard positional encodings and a finite alphabet -- Transformers with CoT cannot solve problems beyond TC0, i.e. the expressivity benefits do not hold under the stricter requirement of length-generalizable learnability. However, if we allow the vocabulary to grow with problem size, we attain a length-generalizable simulation of Turing machines where the CoT trace length is linear in the simulated runtime up to a constant. Our construction overcomes two core obstacles to reliable length generalization: repeated copying and last-occurrence retrieval. We assign each tape position a unique signpost token, and log only value changes to enable recovery of the current tape symbol through counts circumventing both barriers. Further, we empirically show that the use of such signpost tokens and value change encodings provide actionable guidance to improve length generalization on hard problems.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 50 of its 57 references that are in the map. First posted on arXiv 28 Apr 2026.
Builds on
50 of 57 references.
Closest ancestors · 8
Same direction, newest first
- 2025Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalization10 Nov
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers4 Feb
- 2024Transformers Provably Solve Parity Efficiently with Chain of Thought11 Oct
- 2024Chain of Thoughtlessness? An Analysis of CoT in Planning8 May
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problems20 Feb
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective24 May
- 2022Large Language Models are Zero-Shot Reasoners24 May
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan
Other references · 42
- 2017Attention Is All You Needcited by 59,932
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 334
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 254
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
30 more
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 136
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
- 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 113
- 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
- 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 92
- 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 85
- 2023Testing the General Deductive Reasoning Capacity of Large Language Models Using OOD Examplescited by 84
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
- 2023Exposing Attention Glitches with Flip-Flop Language Modelingcited by 74
- 2024Why are Sensitive Functions Hard for Transformers?cited by 74
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
- 2023Length Generalization in Arithmetic Transformerscited by 64
- 2023Positional Description Matters for Transformers Arithmeticcited by 56
- 2023Entity Tracking in Language Modelscited by 44
- 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 44
- 2024Counting Like Transformers: Compiling Temporal Counting Logic Into Softmax Transformerscited by 39
- 2024How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpadcited by 35
- 2025(How) Do Language Models Track State?cited by 31
- 2024Universal Length Generalization with Turing Programscited by 25
- 2024Transformers Struggle to Learn to Searchcited by 19
- 2025Knee-Deep in C-RASP: A Transformer Depth Hierarchycited by 12
- 2024Large Vocabulary Size Improves Large Language Modelscited by 11
- 2024Your Context Is Not an Array: Unveiling Random Access Limitations in Transformerscited by 11
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
- 2025Non-Asymptotic Length Generalizationcited by 7
- 2026Why Are Linear RNNs More Parallelizable?cited by 7
- 2025Born a Transformer -- Always a Transformer? On the Effect of Pretraining on Architectural Abilitiescited by 6
- 2025A Knapsack by Any Other Name: Presentation impacts LLM performance on NP-hard problemscited by 5
- 2025Can LLMs Reason Structurally? Benchmarking via the Lens of Data Structurescited by 5
- 2026On the Ability of Transformers to Verify Planscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026On the Computational Complexity of Structural Generalization21 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2025The Kinetics of Reasoning: How Chain-of-Thought Shapes Learning in Transformers?
- 2025To CoT or To Loop? A Formal Comparison Between Chain-of-Thought and Looped Transformers
- 2025The Imitation Game: Turing Machine Imitator is Length Generalizable Reasoner
- 2025Softmax Transformers are Turing-Complete
- 2023The Expressive Power of Transformers with Chain of Thought
- 2026Beyond the Training Horizon: Mechanisms and Limits of Length Generalization in Looped Transformers
- 2026Efficiently Representing Algorithms With Chain-of-Thought Transformers
- 2025Analyzing the Power of Chain of Thought through Memorization Capabilities