mlsanityData to 7 Oct 2026

On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languages

arXiv 2412.19350 ↗First posted 26 Dec 2024cs.LG cs.AI cs.CLcited by 15

On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language

Abstract (arXiv)

Selective state-space models (SSMs) are an emerging alternative to the Transformer, offering the unique advantage of parallel training and sequential inference. Although these models have shown promising performance on a variety of tasks, their formal expressiveness and length generalization properties remain underexplored. In this work, we provide insight into the workings of selective SSMs by analyzing their expressiveness and length generalization performance on regular language tasks, i.e., finite-state automaton (FSA) emulation. We address certain limitations of modern SSM-based architectures by introducing the Selective Dense State-Space Model (SD-SSM), the first selective SSM that exhibits perfect length generalization on a set of various regular language tasks using a single layer. It utilizes a dictionary of dense transition matrices, a softmax selection mechanism that creates a convex combination of dictionary matrices at each time step, and a readout consisting of layer normalization followed by a linear map. We then proceed to evaluate variants of diagonal selective SSMs by considering their empirical performance on commutative and non-commutative automata. We explain the experimental results with theoretical considerations. Our code is available at https://github.com/IBM/selective-dense-state-space-model.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 19 of its 40 references that are in the map. First posted on arXiv 26 Dec 2024.

Builds on

19 of 40 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvalues19 Nov
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  3. 2022Simplified State Space Layers for Sequence Modeling9 Aug
  4. 2022Diagonal State Spaces are as Effective as Structured State Spaces27 Mar
  5. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  3. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  4. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
  5. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
  6. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
  7. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
  8. 2022Neural Networks and the Chomsky Hierarchycited by 214
  9. 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 126
  10. 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
  11. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
  12. 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 45
2 more
  1. 2019Memory-Augmented Recurrent Neural Networks Can Learn Generalized Dyck Languagescited by 31
  2. 2024Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theorycited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 8.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Bridging Expressivity and Scalability with Adaptive Unitary SSMs
  2. 2024Theoretical Foundations of Deep Selective State-Space Models
  3. 2026On the Expressiveness of State Space Models via Temporal Logics
  4. 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models
  5. 2024Repeat After Me: Transformers are Better than State Space Models at Copying
  6. 2024An Empirical Study of Mamba-based Language Models
  7. 2024The Illusion of State in State-Space Models
  8. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Models