On Limitations of the Transformer Architecture
Not on the map. Why?
Abstract (arXiv)
What are the root causes of hallucinations in large language models (LLMs)? We use Communication Complexity to prove that the Transformer layer is incapable of composing functions (e.g., identify a grandparent of a person in a genealogy) if the domains of the functions are large enough; we show through examples that this inability is already empirically present when the domains are quite small. We also point out that several mathematical tasks that are at the core of the so-called compositional tasks thought to be hard for LLMs are unlikely to be solvable by Transformers, for large enough instances and assuming that certain well accepted conjectures in the field of Computational Complexity are true.
Key facts. Cited by 63 papers in the map (data through 7 Oct 2026). Builds on 14 of its 21 references that are in the map. First posted on arXiv 13 Feb 2024.
Builds on
14 of 21 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 175
- 2023Representational Strengths and Limitations of Transformerscited by 132
- 2023Calibrated Language Models Must Hallucinatecited by 114
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2023Mitigating Large Language Model Hallucinations via Autonomous Knowledge Graph-based Retrofittingcited by 70
2 more
- 2020How Can Self-Attention Networks Recognize Dyck-n Languages?cited by 51
- 2022Memory Bounds for Continual Learningcited by 18
Built on by
Citing papers per year: 2024: 14; 2025: 30; 2026: 19.
63 papers.
Sort:
By area:
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 49
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 45
- 2024Theoretical limitations of multi-layer Transformercited by 43
- 2024Large Language Models for UAVs: Current State and Pathways to the Futurecited by 33
- 2024One-layer transformers fail to solve the induction heads taskcited by 30
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformerscited by 28
- 2024When Can Transformers Count to n?cited by 22
- 2025Density Measures for Language Generationcited by 20
- 2025Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMscited by 14
- 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizationscited by 13
38 more
- 2024The Asymptotic Behavior of Attention in Transformerscited by 12
- 2025Strassen Attention, Split VC Dimension and Compositionality in Transformerscited by 12
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?cited by 9
- 2025Procedural Memory Is Not All You Need: Bridging Cognitive Gaps in LLM-Based Agentscited by 9
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globallycited by 9
- 2025The Role of Sparsity for Length Generalization in Transformerscited by 8
- 2025Pause Tokens Strictly Increase the Expressivity of Constant-Depth Transformerscited by 8
- 2024How language models extrapolate outside the training data: A case study in Textualized Gridworldcited by 7
- 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoningcited by 7
- 2025Ehrenfeucht-Haussler Rank and Chain of Thoughtcited by 6
- 2025Transformers Meet In-Context Learning: A Universal Approximation Theorycited by 4
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Trainingcited by 4
- 2024Compositional Hardness of Code in Large Language Models -- A Probabilistic Perspectivecited by 3
- 2024Lower bounds on transformers with infinite precisioncited by 3
- 2025A completely uniform transformer for paritycited by 3
- 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?cited by 3
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architecturescited by 3
- 2025The Narrative Continuity Test: A Conceptual Framework for Evaluating Identity Persistence in AI Systemscited by 3
- 2025SMAGDi: Socratic Multi Agent Interaction Graph Distillation for Efficient High Accuracy Reasoningcited by 3
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
- 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Modelscited by 3
- 2026How Much Cache Does Reasoning Need? Depth-Cache Tradeoffs in KV-Compressed Transformerscited by 3
- 2025Benchmarking graph construction by large language models for coherence-driven inferencecited by 2
- 2025Concise One-Layer Transformers Can Do Function Evaluation (Sometimes)cited by 2
- 2025Fast attention mechanisms: a tale of parallelismcited by 2
- 2025On the Notion that Language Models Reasoncited by 2
- 2024Evaluating and explaining training strategies for zero-shot cross-lingual news sentiment analysiscited by 1
- 2025Provably Overwhelming Transformer Models with Designed Inputscited by 1
- 2025Three tiers of computation in transformers and in brain architecturescited by 1
- 2025DecompSR: A dataset for decomposed analyses of compositional multihop spatial reasoningcited by 1
- 2026A model of errors in transformerscited by 1
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attentioncited by 1
- 2026Positional versus Symbolic Attention Heads: Learning Dynamics, RoPE Geometry, and Length Generalizationcited by 1
- 2026The Deterministic Horizon: When Extended Reasoning Fails and Tool Delegation Becomes Necessarycited by 1
- 2026When Does In-Context Search Help? A Sampling-Complexity Theory of Reflection-Driven Reasoningcited by 1
- 2026Indexing: the Beginning and the Endcited by 1
- 2026Attention-based representations for multi-task computationcited by 1
- 2024Can adversarial attacks by large language models be attributed?cited by 0
50 most cited of 63 All 63 (JSON)
- 2026Quantum Coordination Advantages in AI State-Tracking Tasks: Semantic Compilation and Latent Memory11 Aug 2026
- 2026Attention-based representations for multi-task computation4 Aug 2026
- 2026Indexing: the Beginning and the End24 Jul 2026
- 2026When Does In-Context Search Help? A Sampling-Complexity Theory of Reflection-Driven Reasoning7 Jul 2026
- 2026LLMs for Academic Workflows: An Evaluation of Literature Reviews Generated with Short and Long Context Windows of LLMs28 Jun 2026
- 2026Compositional Reasoning Depth Predicts Clinical AI Failure: Empirical Evidence Consistent with Transformer Compositionality Limits in Electronic Health Record Question Answering15 Jun 2026
- 2026The Deterministic Horizon: When Extended Reasoning Fails and Tool Delegation Becomes Necessary29 May 2026
- 2026Positional versus Symbolic Attention Heads: Learning Dynamics, RoPE Geometry, and Length Generalization29 May 2026
- 2026The Power of Power Law: Asymmetry Enables Compositional Reasoning24 Apr 2026
- 2026How Much Cache Does Reasoning Need? Depth-Cache Tradeoffs in KV-Compressed Transformers20 Apr 2026
- 2026On the Computational Hardness of Transformers11 Mar 2026
- 2026Beyond Pairwise Attention: Higher-Order Modular Attention for Efficient Sequence Learning11 Mar 2026
38 more
- 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models9 Mar 2026
- 2026Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planning2 Mar 2026
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers2 Feb 2026
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attention2 Feb 2026
- 2026Understanding QA generation: Extracting Parametric and Contextual Knowledge with CQA for Low Resource Bangla Language1 Feb 2026
- 2026A model of errors in transformers20 Jan 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025CausalMamba: Interpretable State Space Modeling for Temporal Rumor Causality20 Nov 2025
- 2025On the Notion that Language Models Reason14 Nov 2025
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Training10 Nov 2025
- 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizations7 Nov 2025
- 2025DecompSR: A dataset for decomposed analyses of compositional multihop spatial reasoning4 Nov 2025
- 2025Automatic Minds: Cognitive Parallels Between Hypnotic States and Large Language Model Processing3 Nov 2025
- 2025SMAGDi: Socratic Multi Agent Interaction Graph Distillation for Efficient High Accuracy Reasoning29 Oct 2025
- 2025The Narrative Continuity Test: A Conceptual Framework for Evaluating Identity Persistence in AI Systems28 Oct 2025
- 2025Evaluating LLM Reasoning Beyond Correctness and CoT20 Oct 2025
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures6 Oct 2025
- 2025Coherence-driven inference for cybersecurity23 Sep 2025
- 2025Fast attention mechanisms: a tale of parallelism10 Sep 2025
- 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoning14 Jul 2025
- 2025Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMs10 Jul 2025
- 2025Transformers Meet In-Context Learning: A Universal Approximation Theory5 Jun 2025
- 2025Pause Tokens Strictly Increase the Expressivity of Constant-Depth Transformers27 May 2025
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globally13 May 2025
- 2025Procedural Memory Is Not All You Need: Bridging Cognitive Gaps in LLM-Based Agents6 May 2025
- 2025Density Measures for Language Generation19 Apr 2025
- 2025Concise One-Layer Transformers Can Do Function Evaluation (Sometimes)28 Mar 2025
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?23 Mar 2025
- 2025Three tiers of computation in transformers and in brain architectures5 Mar 2025
- 2025The Role of Sparsity for Length Generalization in Transformers24 Feb 2025
- 2025Benchmarking graph construction by large language models for coherence-driven inference19 Feb 2025
- 2025Provably Overwhelming Transformer Models with Designed Inputs9 Feb 2025
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers4 Feb 2025
- 2025Strassen Attention, Split VC Dimension and Compositionality in Transformers31 Jan 2025
- 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?27 Jan 2025
- 2025Ehrenfeucht-Haussler Rank and Chain of Thought22 Jan 2025
- 2025A completely uniform transformer for parity5 Jan 2025
- 2024Lower bounds on transformers with infinite precision28 Dec 2024
50 newest of 63 All 63 (JSON)
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformerscited by 28
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?cited by 9
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globallycited by 9
- 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoningcited by 7
- 2025Ehrenfeucht-Haussler Rank and Chain of Thoughtcited by 6
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Trainingcited by 4
- 2025SMAGDi: Socratic Multi Agent Interaction Graph Distillation for Efficient High Accuracy Reasoningcited by 3
- 2025On the Notion that Language Models Reasoncited by 2
- 2025DecompSR: A dataset for decomposed analyses of compositional multihop spatial reasoningcited by 1
- 2026The Deterministic Horizon: When Extended Reasoning Fails and Tool Delegation Becomes Necessarycited by 1
- 2026When Does In-Context Search Help? A Sampling-Complexity Theory of Reflection-Driven Reasoningcited by 1
12 most cited of 14 All 14 (JSON)
- 2026When Does In-Context Search Help? A Sampling-Complexity Theory of Reflection-Driven Reasoning7 Jul 2026
- 2026Compositional Reasoning Depth Predicts Clinical AI Failure: Empirical Evidence Consistent with Transformer Compositionality Limits in Electronic Health Record Question Answering15 Jun 2026
- 2026The Deterministic Horizon: When Extended Reasoning Fails and Tool Delegation Becomes Necessary29 May 2026
- 2025On the Notion that Language Models Reason14 Nov 2025
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Training10 Nov 2025
- 2025DecompSR: A dataset for decomposed analyses of compositional multihop spatial reasoning4 Nov 2025
- 2025SMAGDi: Socratic Multi Agent Interaction Graph Distillation for Efficient High Accuracy Reasoning29 Oct 2025
- 2025Evaluating LLM Reasoning Beyond Correctness and CoT20 Oct 2025
- 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoning14 Jul 2025
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globally13 May 2025
- 2025Lost in Cultural Translation: Do LLMs Struggle with Math Across Cultural Contexts?23 Mar 2025
- 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers4 Feb 2025
12 newest of 14 All 14 (JSON)
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 49
- 2025Procedural Memory Is Not All You Need: Bridging Cognitive Gaps in LLM-Based Agentscited by 9
- 2026Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planningcited by 0
- 2026Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planning2 Mar 2026
- 2025Procedural Memory Is Not All You Need: Bridging Cognitive Gaps in LLM-Based Agents6 May 2025
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing16 Oct 2024
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 45
- 2024Theoretical limitations of multi-layer Transformercited by 43
- 2024Large Language Models for UAVs: Current State and Pathways to the Futurecited by 33
- 2024One-layer transformers fail to solve the induction heads taskcited by 30
- 2024When Can Transformers Count to n?cited by 22
- 2025Density Measures for Language Generationcited by 20
- 2025Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMscited by 14
- 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizationscited by 13
- 2024The Asymptotic Behavior of Attention in Transformerscited by 12
- 2025Strassen Attention, Split VC Dimension and Compositionality in Transformerscited by 12
- 2025The Role of Sparsity for Length Generalization in Transformerscited by 8
- 2025Pause Tokens Strictly Increase the Expressivity of Constant-Depth Transformerscited by 8
12 most cited of 45 All 45 (JSON)
- 2026Quantum Coordination Advantages in AI State-Tracking Tasks: Semantic Compilation and Latent Memory11 Aug 2026
- 2026Attention-based representations for multi-task computation4 Aug 2026
- 2026Indexing: the Beginning and the End24 Jul 2026
- 2026LLMs for Academic Workflows: An Evaluation of Literature Reviews Generated with Short and Long Context Windows of LLMs28 Jun 2026
- 2026Positional versus Symbolic Attention Heads: Learning Dynamics, RoPE Geometry, and Length Generalization29 May 2026
- 2026The Power of Power Law: Asymmetry Enables Compositional Reasoning24 Apr 2026
- 2026How Much Cache Does Reasoning Need? Depth-Cache Tradeoffs in KV-Compressed Transformers20 Apr 2026
- 2026On the Computational Hardness of Transformers11 Mar 2026
- 2026Beyond Pairwise Attention: Higher-Order Modular Attention for Efficient Sequence Learning11 Mar 2026
- 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models9 Mar 2026
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers2 Feb 2026
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attention2 Feb 2026
12 newest of 45 All 45 (JSON)