Demystifying the Token Dynamics of Deep Selective State Space Models
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Selective state space models (SSM), such as Mamba, have gained prominence for their effectiveness in modeling sequential data. Despite their outstanding empirical performance, a comprehensive theoretical understanding of deep selective SSM remains elusive, hindering their further development and adoption for applications that need high fidelity. In this paper, we investigate the dynamical properties of tokens in a pre-trained Mamba model. In particular, we derive the dynamical system governing the continuous-time limit of the Mamba model and characterize the asymptotic behavior of its solutions. In the one-dimensional case, we prove that only one of the following two scenarios happens: either all tokens converge to zero, or all tokens diverge to infinity. We provide criteria based on model parameters to determine when each scenario occurs. For the convergent scenario, we empirically verify that this scenario negatively impacts the model's performance. For the divergent scenario, we prove that different tokens will diverge to infinity at different rates, thereby contributing unequally to the updates during model training. Based on these investigations, we propose two refinements for the model: excluding the convergent scenario and reordering tokens based on their importance scores, both aimed at improving practical performance. Our experimental results validate these refinements, offering insights into enhancing Mamba's effectiveness in real-world applications.
Key facts. Cited by 2 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 54 of its 74 references that are in the map. First posted on arXiv 4 Oct 2024.
Builds on
54 of 74 references.
Closest ancestors · 14
Same direction, newest first
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Models27 Aug
- 2024MambaLRP: Explaining Selective State Space Sequence Models11 Jun
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar
- 2024The Hidden Attention of Mamba Models3 Mar
- 2024Theoretical Foundations of Deep Selective State-Space Models29 Feb
- 2024Mamba-ND: Selective State Space Modeling for Multi-Dimensional Data8 Feb
- 2024MambaTab: A Plug-and-Play Model for Learning Tabular Data16 Jan
- 2024MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts8 Jan
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2022Simplified State Space Layers for Sequence Modeling9 Aug
2 more
Other references · 40
- 2017Attention Is All You Needcited by 60,361
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
28 more
- 2017Stable Architectures for Deep Neural Networkscited by 341
- 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 328
- 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 224
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2024The Illusion of State in State-Space Modelscited by 187
- 2022It's Raw! Audio Generation with State-Space Modelscited by 171
- 2024PointMamba: A Simple State Space Model for Point Cloud Analysiscited by 167
- 2023A mathematical perspective on Transformerscited by 164
- 2023The emergence of clusters in self-attention dynamicscited by 140
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 134
- 2024Mamba-UNet: UNet-Like Pure Visual Mamba for Medical Image Segmentationcited by 133
- 2022Global Context Vision Transformerscited by 98
- 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 87
- 2018ResNet with one-neuron hidden layers is a Universal Approximatorcited by 79
- 2019Deep Learning via Dynamical Systems: An Approximation Perspectivecited by 78
- 2020SoftSort: A Continuous Relaxation for the argsort Operatorcited by 66
- 2021Neural ODE control for classification, approximation and transportcited by 57
- 2019Approximation Capabilities of Neural ODEs and Invertible Residual Networkscited by 56
- 2021Heavy Ball Neural Ordinary Differential Equationscited by 42
- 2023Diagonal State Space Augmented Transformers for Speech Recognitioncited by 25
- 2024Decision Mamba: Reinforcement Learning via Sequence Modeling with Selective State Spacescited by 24
- 2024Semi-Mamba-UNet: Pixel-Level Contrastive and Pixel-Level Cross-Supervised Visual Mamba-based UNet for Semi-Supervised Medical Image Segmentationcited by 20
- 2020MomentumRNN: Integrating Momentum into Recurrent Neural Networkscited by 18
- 2023Interpolation, Approximation and Controllability of Deep Neural Networkscited by 16
- 2024PIDformer: Transformer Meets Control Theorycited by 11
- 2024From Generalization Analysis to Optimization Designs for State Space Modelscited by 11
- 2021How Does Momentum Benefit Deep Neural Networks Architecture Design? A Few Case Studiescited by 10
- 2023Time-Parameterized Convolutional Neural Networks for Irregularly Sampled Time Seriescited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026A Theoretical Analysis of Mamba's Training Dynamics: Filtering Relevant Features for Generalization in State Space Models
- 2024Rethinking Token Reduction for State Space Models
- 2024State Space Models are Provably Comparable to Transformers in Dynamic Token Selection
- 2025SeRpEnt: Selective Resampling for Expressive State Space Models
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selection
- 2025Block-Biased Mamba for Long-Range Sequence Processing
- 2026TIDES: Implicit Time-Awareness in Selective State Space Models
- 2026An Exact Instrument for State Usage in Selective State-Space Models, and the Input-Driven Migration It Reveals