First-Token Attraction in Mamba Dynamics
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language also fits: Video, motion and generative Mamba models
Abstract (arXiv)
We study token dynamics in deep Mamba models, with a particular focus on the attracting role of the first token. Unlike attention mechanisms, where token interactions are governed by positive scalar coefficients, Mamba dynamics involve full matrix-valued interaction coefficients with no positivity or definiteness guarantees. This structural difference makes Mamba dynamics substantially harder to analyze and prevents the direct application of existing techniques for attention-based models. To overcome this challenge, we introduce a new analytical framework based on a high-dimensional invariant box and a sharp exit-time argument, which together recover an effective form of sign-definiteness. Using this framework, we characterize the possible limit points of token trajectories and prove explicit exponential convergence rates. Our analysis reveals that the first token has privileged dynamics: its limiting direction attracts subsequent tokens, inducing token clustering and attention-sink phenomena in deep Mamba models. We further show that this attraction mechanism extends to broader sequence dynamics, including state-space models, causal attention, and classical time-series models. Experiments on Falcon-Mamba-7B validate our predictions, showing that concentration on the first token increases with depth and dominates in later layers.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 74 of its 90 references that are in the map. Submitted 5 Nov 2026.
Builds on
74 of 90 references.
Closest ancestors · 15
Same direction, newest first
- 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modeling29 Jun
- 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
- 2024Demystifying the Token Dynamics of Deep Selective State Space Models4 Oct
- 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
- 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
3 more
Other references · 59
- 2017Attention Is All You Needcited by 62,125
- 2016Layer Normalizationcited by 6,002
- 2018Neural Ordinary Differential Equationscited by 3,935
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2019Root Mean Square Layer Normalizationcited by 1,624
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,116
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 714
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 622
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 618
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 444
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 441
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 441
38 more
- 2017Stable Architectures for Deep Neural Networkscited by 354
- 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 344
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 245
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 236
- 2024The Illusion of State in State-Space Modelscited by 210
- 2023A mathematical perspective on Transformerscited by 186
- 2024PointMamba: A Simple State Space Model for Point Cloud Analysiscited by 180
- 2022It's Raw! Audio Generation with State-Space Modelscited by 176
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 173
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 156
- 2023The emergence of clusters in self-attention dynamicscited by 152
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 140
- 2024Mamba-UNet: UNet-Like Pure Visual Mamba for Medical Image Segmentationcited by 140
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 128
- 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 89
- 2019Deep Learning via Dynamical Systems: An Approximation Perspectivecited by 85
- 2018ResNet with one-neuron hidden layers is a Universal Approximatorcited by 83
- 2021Neural ODE control for classification, approximation and transportcited by 61
- 2019Approximation Capabilities of Neural ODEs and Invertible Residual Networkscited by 59
- 2024Dynamic metastability in the self-attention modelcited by 55
- 2023Demystifying Oversmoothing in Attention-Based Graph Neural Networkscited by 54
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 53
- 2022Rank Diminishing in Deep Neural Networkscited by 52
- 2021Heavy Ball Neural Ordinary Differential Equationscited by 44
- 2023ContraNorm: A Contrastive Learning Perspective on Oversmoothing and Beyondcited by 42
- 2024Residual Connections and Normalization Can Provably Prevent Oversmoothing in GNNscited by 38
- 2022The Principle of Diversity: Training Stronger Vision Transformers Calls for Reducing All Levels of Redundancycited by 37
- 2024Clustering in Causal Attention Maskingcited by 36
- 2023Mitigating Over-smoothing in Transformers via Regularized Nonlocal Functionalscited by 35
- 2021Redesigning the Transformer Architecture with Insights from Multi-particle Dynamical Systemscited by 34
- 2023Diagonal State Space Augmented Transformers for Speech Recognitioncited by 28
- 2024Decision Mamba: Reinforcement Learning via Sequence Modeling with Selective State Spacescited by 27
- 2024Setting the Record Straight on Transformer Oversmoothingcited by 25
- 2024Self-attention Networks Localize When QK-eigenspectrum Concentratescited by 21
- 2024Semi-Mamba-UNet: Pixel-Level Contrastive and Pixel-Level Cross-Supervised Visual Mamba-based UNet for Semi-Supervised Medical Image Segmentationcited by 21
- 2023Interpolation, Approximation and Controllability of Deep Neural Networkscited by 19
- 2024Clustering in pure-attention hardmax transformers and its role in sentiment analysiscited by 18
- 2023From Coupled Oscillators to Graph Neural Networks: Reducing Over-smoothing via a Kuramoto Model-based Approachcited by 17
50 most cited of 59 All 59 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025LaTIM: Measuring Latent Token-to-Token Interactions in Mamba Models
- 2025Mamba Knockout for Unraveling Factual Information Flow
- 2026Motif-Mamba: network motif improved mamba for long-range sequence modeling
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data
- 2026Beyond State Capacity: Why Retrieval Breaks in Mamba
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs
- 2025On the Existence and Behavior of Secondary Attention Sinks
- 2024LaMamba-Diff: Linear-Time High-Fidelity Diffusion Models Based on Local Attention and Mamba