Lune

NeurIPS2024Top-tier venue

The Expressive Capacity of State Space Models: A Formal Language Perspective

Yash Raj Sarrof, Yana Veitsman, Michael Hahn

Abstract

Recently, recurrent models based on linear state space models (SSMs) have shown promising performance in language modeling (LM), competititve with transformers. However, there is little understanding of the in-principle abilities of such models, which could provide useful guidance to the search for better LM architectures. We present a comprehensive theoretical study of the capacity of such SSMs as it compares to that of transformers and traditional RNNs. We find that SSMs and transformers have overlapping but distinct strengths. In star-free state tracking, SSMs implement straightforward and exact solutions to problems that transformers struggle to represent exactly. They can also model bounded hierarchical structure with optimal memory even without simulating a stack. On the other hand, we identify a design choice in current SSMs that limits their expressive power. We discuss implications for SSM and LM research, and verify results empirically on a recent SSM, Mamba.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products cites Efficiently Modeling Long Sequences with Structured State Spaces
  • DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products cites Resurrecting Recurrent Neural Networks for Long Sequences
  • DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products cites Gated Linear Attention Transformers with Hardware-Efficient Training
  • Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformers cites DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products
  • Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformers cites Gated Linear Attention Transformers with Hardware-Efficient Training
  • Efficiently Modeling Long Sequences with Structured State Spaces cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Structured Sparse Transition Matrices to Enable State Tracking in State-Space Models cites DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Products
  • Structured Sparse Transition Matrices to Enable State Tracking in State-Space Models cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Structured Sparse Transition Matrices to Enable State Tracking in State-Space Models cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Structured Sparse Transition Matrices to Enable State Tracking in State-Space Models cites Resurrecting Recurrent Neural Networks for Long Sequences
  • MesaNet: Sequence Modeling by Locally Optimal Test-Time Training cites Efficiently Modeling Long Sequences with Structured State Spaces
  • MesaNet: Sequence Modeling by Locally Optimal Test-Time Training cites Gated Linear Attention Transformers with Hardware-Efficient Training
  • Resurrecting Recurrent Neural Networks for Long Sequences cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Resurrecting Recurrent Neural Networks for Long Sequences cites HiPPO: Recurrent Memory with Optimal Polynomial Projections
  • Repeat After Me: Transformers are Better than State Space Models at Copying cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Gated Linear Attention Transformers with Hardware-Efficient Training cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Mamba-3: Improved Sequence Modeling using State Space Principles cites Efficiently Modeling Long Sequences with Structured State Spaces
  • Mamba-3: Improved Sequence Modeling using State Space Principles cites Resurrecting Recurrent Neural Networks for Long Sequences
  • Mamba-3: Improved Sequence Modeling using State Space Principles cites Gated Linear Attention Transformers with Hardware-Efficient Training
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. Mamba-3: Improved Sequence Modeling using State Space PrinciplesAakash Sunil Lahoti, Kevin Y. Li, Berlin Chen, Caitlin Wang et al.ICLR 2026 · 96 citations
  2. DeltaProduct: Improving State-Tracking in Linear RNNs via Householder ProductsJulien Siems, Timur Carstensen, Arber Zela, Frank Hutter et al.NeurIPS 2025 · 75 citations
  3. MesaNet: Sequence Modeling by Locally Optimal Test-Time TrainingJohannes von Oswald, Nino Scherrer, Seijin Kobayashi, Luca Versari et al.ICLR 2026 · 45 citations
  4. Structured Sparse Transition Matrices to Enable State Tracking in State-Space ModelsAleksandar Terzic, Nicolas Menet, Michael Hersche, Thomas Hofmann et al.NeurIPS 2025 · 18 citations
  5. Blending Complementary Memory Systems in Hybrid Quadratic-Linear TransformersKazuki Irie, Morris Yau, Samuel J. GershmanNeurIPS 2025 · 13 citations

Builds on28

  1. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
  2. HiPPO: Recurrent Memory with Optimal Polynomial ProjectionsAlbert Gu, Tri Dao, Stefano Ermon, Atri Rudra et al.NeurIPS 2020 · 1,100 citations
  3. Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando et al.ICML 2023 · 474 citations
  4. Gated Linear Attention Transformers with Hardware-Efficient TrainingSonglin Yang, Bailin Wang, Yikang Shen, Rameswar Panda et al.ICML 2024 · 390 citations
  5. Repeat After Me: Transformers are Better than State Space Models at CopyingSamy Jelassi, David Brandfonbrener, Sham M. Kakade, Eran MalachICML 2024 · 176 citations

Related papers

  1. The Illusion of State in State-Space ModelsWilliam Merrill, Jackson Petty, Ashish SabharwalICML 2024 · 157 citations
  2. Longhorn: State Space Models are Amortized Online LearnersBo Liu, Rui Wang, Lemeng Wu, Yihao Feng et al.ICLR 2025
  3. Metric Automata Theory: A Unifying Theory of RNNsAdam Dankowiakowski, Alessandro RoncaNeurIPS 2025
  4. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 citations
  5. Sequential Parallel Duality in Prefix Scannable ModelsMorris Yau, Sharut Gupta, Valerie Engelmayer, Kazuki Irie et al.ICLR 2026 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines