mlsanityData to 14 Oct 2026

Understanding Input Selectivity in Mamba: Impact on Approximation Power, Memorization, and Associative Recall Capacity

arXiv 2506.11891 ↗First posted 13 Jun 2025cs.LGcited by 7

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

Abstract (arXiv)

State-Space Models (SSMs), and particularly Mamba, have recently emerged as a promising alternative to Transformers. Mamba introduces input selectivity to its SSM layer (S6) and incorporates convolution and gating into its block definition. While these modifications do improve Mamba's performance over its SSM predecessors, it remains largely unclear how Mamba leverages the additional functionalities provided by input selectivity, and how these interact with the other operations in the Mamba architecture. In this work, we demystify the role of input selectivity in Mamba, investigating its impact on function approximation power, long-term memorization, and associative recall capabilities. In particular: (i) we prove that the S6 layer of Mamba can represent projections onto Haar wavelets, providing an edge over its Diagonal SSM (S4D) predecessor in approximating discontinuous functions commonly arising in practice; (ii) we show how the S6 layer can dynamically counteract memory decay; (iii) we provide analytical solutions to the MQAR associative recall task using the Mamba architecture with different mixers -- Mamba, Mamba-2, and S4D. We demonstrate the tightness of our theoretical constructions with empirical results on concrete tasks. Our findings offer a mechanistic understanding of Mamba and reveal opportunities for improvement.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 20 of its 33 references that are in the map. First posted on arXiv 13 Jun 2025.

Builds on

20 of 33 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvalues19 Nov
  2. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  3. 2024Theoretical Foundations of Deep Selective State-Space Models29 Feb
  4. 2024Simple linear attention language models balance the recall-throughput tradeoff28 Feb
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  6. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 14

  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  2. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
  3. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
  4. 2024The Illusion of State in State-Space Modelscited by 187
  5. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  6. 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
  7. 2024Transformers, parallel computation, and logarithmic depthcited by 79
  8. 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 46
  9. 2024Theoretical limitations of multi-layer Transformercited by 45
  10. 2023Universality of Linear Recurrences Followed by Non-linear Projections: Finite-Width Guarantees and Benefits of Complex Eigenvaluescited by 36
  11. 2024One-layer transformers fail to solve the induction heads taskcited by 32
  12. 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalizationcited by 29
2 more
  1. 2023Inverse Approximation Theory for Nonlinear Recurrent Neural Networkscited by 11
  2. 2024On the Power of Convolution Augmented Transformercited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 6.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
  2. 2024Mimetic Initialization Helps State Space Models Learn to Recall
  3. 2024The Hidden Attention of Mamba Models
  4. 2025Emergence of Primacy and Recency Effect in Mamba: A Mechanistic Point of View
  5. 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data
  6. 2024An Empirical Study of Mamba-based Language Models
  7. 2025Block-Biased Mamba for Long-Range Sequence Processing
  8. 2025MemMamba: Rethinking Memory Patterns in State Space Model