Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theory
Not on the map. Why?
Abstract (arXiv)
Despite their successes, deep learning models struggle with tasks requiring complex reasoning and function composition. We present a theoretical and empirical investigation into the limitations of Structured State Space Models (SSMs) and Transformers in such tasks. We prove that one-layer SSMs cannot efficiently perform function composition over large domains without impractically large state sizes, and even with Chain-of-Thought prompting, they require a number of steps that scale unfavorably with the complexity of the function composition. Also, the language of a finite-precision SSM is within the class of regular languages. Our experiments corroborate these theoretical findings. Evaluating models on tasks including various function composition settings, multi-digit multiplication, dynamic programming, and Einstein's puzzle, we find significant performance degradation even with advanced prompting techniques. Models often resort to shortcuts, leading to compounding errors. These findings highlight fundamental barriers within current deep learning architectures rooted in their computational capacities. We underscore the need for innovative solutions to transcend these constraints and achieve reliable multi-step reasoning and compositional task-solving, which is critical for advancing toward general artificial intelligence.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 40 of its 64 references that are in the map. First posted on arXiv 26 May 2024.
Builds on
40 of 64 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
28 more
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 352
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-4cited by 202
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
- 2022It's Raw! Audio Generation with State-Space Modelscited by 171
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2023RoboCat: A Self-Improving Generalist Agent for Robotic Manipulationcited by 108
- 2024Caduceus: Bi-Directional Equivariant Long-Range DNA Sequence Modelingcited by 108
- 2021Neural Algorithmic Reasoningcited by 92
- 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 85
- 2022Shortcut Learning of Large Language Models in Natural Language Understandingcited by 83
- 2024State Space Models for Event Camerascited by 75
- 2023Mitigating Large Language Model Hallucinations via Autonomous Knowledge Graph-based Retrofittingcited by 70
- 2023Large Language Models Can be Lazy Learners: Analyze Shortcuts in In-Context Learningcited by 69
- 2023Learning Physical Models that Can Respect Conservation Lawscited by 58
- 2023When Brain-inspired AI Meets AGIcited by 54
- 2020Effects of Parameter Norm Growth During Transformer Training: Inductive Bias from Gradient Descentcited by 40
- 2022Transfer Learning with Synthetic Corpora for Spatial Role Labeling and Reasoningcited by 32
- 2016Differentiable Programs with Neural Librariescited by 30
- 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalizationcited by 29
- 2021Probing Language Models for Understanding of Temporal Expressionscited by 16
- 2024Exploring the Compositional Deficiency of Large Language Models in Mathematical Reasoningcited by 15
- 2023Adaptivity and Modularity for Efficient Generalization Over Task Complexitycited by 7
Built on by
Citing papers per year: 2024: 6; 2025: 7; 2026: 6.
19 papers.
Sort:
By area:
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 298
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 45
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexitycited by 21
- 2025Constant Bit-size Transformers Are Turing Completecited by 19
- 2024S7: Selective and Simplified State Space Layers for Sequence Modelingcited by 17
- 2024On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languagescited by 15
- 2024GG-SSMs: Graph-Generating State Space Modelscited by 3
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
- 2025Perturbed State Space Feature Encoders for Optical Flow with Event Camerascited by 2
- 2025Regularity and Stability Properties of Selective SSMs with Discontinuous Gatingcited by 2
- 2025EmoPerso: Enhancing Personality Detection with Self-Supervised Emotion-Aware Modellingcited by 2
7 more
- 2026On the Expressiveness of State Space Models via Temporal Logicscited by 2
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Settingcited by 1
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoningcited by 1
- 2026On the Expressive Power and Limitations of Multi-Layer SSMscited by 1
- 2025Scaling Neuro-symbolic Problem Solving: Solver-Free Learning of Constraints and Objectivescited by 0
- 2026Rethinking the Role of Positional Encoding: Sliding-Window Transformers without PE Remain Turing Completecited by 0
- 2026When Does Tool Use Increase the Expressive Power of Finite-Precision Recurrent Models?cited by 0
- 2026When Does Tool Use Increase the Expressive Power of Finite-Precision Recurrent Models?7 Jul 2026
- 2026Rethinking the Role of Positional Encoding: Sliding-Window Transformers without PE Remain Turing Complete1 Jun 2026
- 2026On the Expressive Power and Limitations of Multi-Layer SSMs16 Apr 2026
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoning2 Feb 2026
- 2026On the Expressiveness of State Space Models via Temporal Logics27 Jan 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025EmoPerso: Enhancing Personality Detection with Self-Supervised Emotion-Aware Modelling2 Sep 2025
- 2025Scaling Neuro-symbolic Problem Solving: Solver-Free Learning of Constraints and Objectives28 Aug 2025
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Setting28 Jul 2025
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity7 Jun 2025
- 2025Constant Bit-size Transformers Are Turing Complete22 May 2025
- 2025Regularity and Stability Properties of Selective SSMs with Discontinuous Gating16 May 2025
7 more
- 2025Perturbed State Space Feature Encoders for Optical Flow with Event Cameras14 Apr 2025
- 2024On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languages26 Dec 2024
- 2024GG-SSMs: Graph-Generating State Space Models17 Dec 2024
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexity9 Dec 2024
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models7 Oct 2024
- 2024S7: Selective and Simplified State Space Layers for Sequence Modeling4 Oct 2024
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspective27 May 2024
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 298
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoningcited by 1
- 2026On the Expressive Power and Limitations of Multi-Layer SSMscited by 1
- 2026On the Expressive Power and Limitations of Multi-Layer SSMs16 Apr 2026
- 2026How Far Ahead Do LLMs Plan? Uncovering the Latent Horizon in Chain-of-Thought Reasoning2 Feb 2026
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity7 Jun 2025
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models7 Oct 2024
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexitycited by 21
- 2024On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languagescited by 15
- 2025Regularity and Stability Properties of Selective SSMs with Discontinuous Gatingcited by 2
- 2025Regularity and Stability Properties of Selective SSMs with Discontinuous Gating16 May 2025
- 2024On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languages26 Dec 2024
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexity9 Dec 2024
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 45
- 2025Constant Bit-size Transformers Are Turing Completecited by 19
- 2024S7: Selective and Simplified State Space Layers for Sequence Modelingcited by 17
- 2024GG-SSMs: Graph-Generating State Space Modelscited by 3
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
- 2025Perturbed State Space Feature Encoders for Optical Flow with Event Camerascited by 2
- 2025EmoPerso: Enhancing Personality Detection with Self-Supervised Emotion-Aware Modellingcited by 2
- 2026On the Expressiveness of State Space Models via Temporal Logicscited by 2
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Settingcited by 1
- 2025Scaling Neuro-symbolic Problem Solving: Solver-Free Learning of Constraints and Objectivescited by 0
- 2026Rethinking the Role of Positional Encoding: Sliding-Window Transformers without PE Remain Turing Completecited by 0
- 2026When Does Tool Use Increase the Expressive Power of Finite-Precision Recurrent Models?cited by 0
- 2026When Does Tool Use Increase the Expressive Power of Finite-Precision Recurrent Models?7 Jul 2026
- 2026Rethinking the Role of Positional Encoding: Sliding-Window Transformers without PE Remain Turing Complete1 Jun 2026
- 2026On the Expressiveness of State Space Models via Temporal Logics27 Jan 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025EmoPerso: Enhancing Personality Detection with Self-Supervised Emotion-Aware Modelling2 Sep 2025
- 2025Scaling Neuro-symbolic Problem Solving: Solver-Free Learning of Constraints and Objectives28 Aug 2025
- 2025CompoST: A Benchmark for Analyzing the Ability of LLMs To Compositionally Interpret Questions in a QALD Setting28 Jul 2025
- 2025Constant Bit-size Transformers Are Turing Complete22 May 2025
- 2025Perturbed State Space Feature Encoders for Optical Flow with Event Cameras14 Apr 2025
- 2024GG-SSMs: Graph-Generating State Space Models17 Dec 2024
- 2024S7: Selective and Simplified State Space Layers for Sequence Modeling4 Oct 2024
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspective27 May 2024
Similar, not cited
Close in wording, no citation either way
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models
- 2024Do Large Language Models Have Compositional Ability? An Investigation into Limitations and Scalability
- 2024State Space Models are Provably Comparable to Transformers in Dynamic Token Selection
- 2024Theoretical Foundations of Deep Selective State-Space Models
- 2025Numerical Investigation of Sequence Modeling Theory using Controllable Memory Functions
- 2024The Illusion of State in State-Space Models
- 2024On Provable Length and Compositional Generalization
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba