The Attention Within: Consensus Dynamics in Selective State Space Models
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Selective state space models (SSMs) have recently emerged as a compelling alternative to transformers, combining competitive performance with substantially improved inference efficiency. At each SSM layer, a sequence of hidden states are propagated by a recurrence, mixing information of different tokens. Despite using a different mechanism, this mixing plays a role analogous to attention in transformers. In fact, recent works have shown that the two architectures may be closer than they first appear, as this recurrence admits a formulation akin to linear attention. In transformers, attention is known to drive the tokens to cluster, i.e., to reach consensus, collapsing in the limit to a single direction. Thus, we ask: does the recurrence at the core of SSMs drive the tokens to consensus, as attention does in transformers? To answer this question, we take a dynamical systems perspective on SSMs, modeling the evolution of tokens across layers as an ordinary differential equation. By exploiting input-to-state stability arguments, we establish local exponential stability of the consensus equilibria and characterize their domain of attraction for time-varying weight matrices, a setting not addressed by previous results. We thereby show that the resemblance between SSMs and transformers does run deeper: the recurrence at the core of SSMs aggregates tokens just as attention does. Numerical experiments on a pretrained Mamba-2 model point to the output gate as the component that regulates the extent of this consensus, preventing the tokens from reaching it in full.
Key facts. No citing papers in the map yet (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 21 of its 31 references that are in the map. First posted on arXiv 16 Sep 2026.
Builds on
21 of 31 references.
Closest ancestors · 5
Same direction, newest first
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing31 Dec
- 2024An Empirical Study of Mamba-based Language Models12 Jun
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2024The Hidden Attention of Mamba Models3 Mar
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
Other references · 16
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2023A Survey of Large Language Modelscited by 2,576
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2024The Illusion of State in State-Space Modelscited by 187
- 2023A mathematical perspective on Transformerscited by 164
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
- 2023The emergence of clusters in self-attention dynamicscited by 140
4 more
- 2024The Asymptotic Behavior of Attention in Transformerscited by 16
- 2024Clustering in pure-attention hardmax transformers and its role in sentiment analysiscited by 15
- 2024Lambda-Skip Connections: the architectural component that prevents Rank Collapsecited by 4
- 2025Contextual Representation Flow Across Depth in State-Space and Transformer Architecturescited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Theoretical Foundations of Deep Selective State-Space Models
- 2024Demystifying the Token Dynamics of Deep Selective State Space Models
- 2025How Many Heads Make an SSM? A Unified Framework for Attention and State Space Models
- 2022Uncovering the Origins of Instability in Dynamical Systems: How Attention Mechanism Can Help?
- 2026Sessa: Selective State Space Attention
- 2025Rethinking Selectivity in State Space Models: A Minimal Predictive Sufficiency Approach
- 2026When Is Collective Intelligence a Lottery? Multi-Agent Scaling Laws for Memetic Drift in LLMs
- 2025The Curious Case of In-Training Compression of State Space Models