cs.AINov 5, 2026

First-Token Attraction in Mamba Dynamics

Authors: Trinh T. Nguyen, Minh-Khoi Nguyen-Nhat, Duy-Tung Pham, Hoang-Son Do, Tan Minh Nguyen, Thieu N. Vo

Organizations: School of Mathematical Sciences, Shanghai Jiao Tong University, China · Department of Mathematics, National University of Singapore · Khoury College of Computer Sciences, Northeastern University, USA · Institute of Mathematics, Vietnam Academy of Science and Technology · 

Abstract

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.

Figures & tables

Explore similar work

CardsList
  1. InfoMamba: An Attention-Free Hybrid Mamba-Transformer Model

    Mar 8, 2026Youjin Wang, Jiaqiao Zhao, Rong Fu +5Hybrid Mamba-Transformer ArchitecturesHybrid Transformer-State Space Model Architectures

  2. Opinion Leader Dynamics: How Sparse Attention Shapes Token Clustering

    Sep 21, 2026Jingkun Liu, Yue SongOpinion DynamicsClustering

  3. The Role of Feed-Forward Layers in Transformer Dynamics

    Sep 28, 2026Thomas Jacob Maranzatto, Semih Akkoc, Sennur UlukusTransformerTransformer FFNs