Metraipolis › archive › dc_72c3b10b37f3
The Attention Within: Consensus Dynamics in Selective State Space Models — arXiv:2609.17997
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.17997
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T15:04:33.239Z
- SHA-256 of the archived text
3e5792905881ecd2222a7339e033c7f4a0a7d2e6dc4381be417fe8da7c715179- Stable URL of this page
https://metraipolis.com/documento/dc_72c3b10b37f3
How to cite
The Attention Within: Consensus Dynamics in Selective State Space Models — arXiv:2609.17997 — arXiv (en), https://arxiv.org/abs/2609.17997 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_72c3b10b37f3 (Metraipolis archive dc_72c3b10b37f3, sha256 3e5792905881ecd2222a7339e033c7f4a0a7d2e6dc4381be417fe8da7c715179)
BibTeX
@misc{dc72c3b10b37f3,
title = {The Attention Within: Consensus Dynamics in Selective State Space Models — arXiv:2609.17997},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.17997},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_72c3b10b37f3; sha256 3e5792905881ecd2222a7339e033c7f4a0a7d2e6dc4381be417fe8da7c715179},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.17997. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-17 in cs.LG). Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Systems and Control (eess.SY); Dynamical Systems (math.DS); Optimization and Control (math.OC). Pagina del lavoro: https://arxiv.org/abs/2609.17997 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T14:08:19.094Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-17?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).