arXiv AI

First-Token Attraction in Mamba Dynamics

The paper investigates token dynamics in deep Mamba models, focusing on how the first token attracts subsequent tokens. Unlike attention mechanisms, Mamba dynamics use full matrix-valued interaction coefficients, making analysis difficult; the authors develop a high-dimensional invariant box framework and exit-time argument to recover sign-definiteness. They characterize limit points, prove exponential convergence, and show that the first token’s direction attracts others, leading to token clustering and attention-sink phenomena, with experiments on Falcon‑Mamba‑7B confirming these predictions.

arXiv Machine Learning
Sep 4

High-Dimensional Learning Dynamics of Attention-Indexed Models

The paper investigates the training dynamics of attention mechanisms in high-dimensional settings, focusing on attention-indexed models that encompass multi-layer and multi-head architectures. It shows that while the loss landscape can be described by a finite set of trace order parameters, the online stochastic gradient descent dynamics involve an infinite hierarchy of matrix moments that can be accurately approximated by a finite truncated system. The study further reveals that the choice of attention parameterization acts as an implicit bias: untied attention can get trapped in uninformative states, whereas tied attention induces symmetry breaking and enables weak recovery with θ(d² log d) samples, and untied attention exhibits a fast-slow dynamic leading to weak recovery when symmetry is broken.

By Yizhou Xu, Margarita Sagitova, Lenka Zdeborov\'a, Florent Krzakala
arXiv AI
Sep 17

The Attention Within: Consensus Dynamics in Selective State Space Models

Selective state space models (SSMs) use a recurrence to mix token information, a process analogous to attention in transformers. By modeling token evolution as an ordinary differential equation and applying input‑to‑state stability, the study proves that SSMs exhibit local exponential stability of consensus equilibria and delineates their domain of attraction for time‑varying weight matrices. Experiments on a pretrained Mamba‑2 model reveal that the output gate controls the degree of consensus, preventing tokens from fully converging.

By Jo\~ao Pedro Silvestre, \'Alvaro Rodr\'iguez Abella, Paulo Tabuada
arXiv Machine Learning
Sep 23

When Recursive Models Finish Computing

arXiv:2609.26487v1 Announce Type: new Abstract: Recursive models can continue updating their latent states beyond their nominal inference budget, so an incorrect output at that budget does not show w...

By Hare Krishna, Shubham Singh, Stephen Ebert, Hao-Yu Sun
arXiv Machine Learning
Oct 12

HART: Hybrid Attention-RWKV Time series Foundation Model

The paper introduces HART, a Hybrid Attention-RWKV Time-series Foundation Model that alternates attention and RWKV blocks to improve long-horizon forecasting. It identifies a problem in RWKV-7 called Placeholder Idling Decay, where repeated state transitions degrade historical information during non-autoregressive multi-step forecasting. Experiments on GIFT-Eval and TIME-Benchmark show that HART outperforms pure RWKV on medium and long horizons while matching short-horizon performance, and achieves comparable long-horizon MASE to a much larger Transformer with only 36 M parameters.

By Qingwen Lin, Boyan Xu, Shifeng Xie, Zhifeng Hao, Keli Zhang, Ruichu Cai
arXiv Computation and Language
Oct 5

Emergent Structure in the Marginal Attention Space of Language Models

The paper investigates how post‑softmax attention weights behave across different language models by marginalizing over query positions to create a joint token‑head space. Across more than 60 diverse LLMs, token‑wise marginal attention reveals a text‑intrinsic signal that is conserved across models, while head‑wise marginal attention yields a model‑private signature that is consistent across documents. This insight enables a practical method for estimating per‑head budgets for key‑value cache eviction, achieving competitive performance on standard benchmarks without per‑document recomputation or training.

By Valentino Maiorca, Walter Nelson, Francesco Locatello
arXiv Machine Learning
Oct 12

Understanding Mamba-3 Through Oscillatory Dynamics

Mamba-3 incorporates input‑dependent rotations into its recurrent state updates, which the authors interpret as underdamped second‑order dynamics. Experiments show that these oscillatory dynamics outperform non‑oscillatory regimes on state‑tracking tasks and improve long‑context prediction and length generalization in language‑model pretraining. Further interventions confirm that the learned phase is crucial, suggesting that rotation controls how retained information combines with new updates, thereby supporting long‑context processing.

By Shutian Liang, Yue Song
arXiv Statistics ML
Oct 23

SympFormer: Inertial Attention Blocks from Damped Hamiltonian Dynamics on Spaces of Probability Measures

The paper introduces SympFormer, a framework that derives accelerated attention blocks from inertial, Nesterov-type damped Hamiltonian dynamics on spaces of probability densities. It develops new geometries—local-mobility for Otto-Wasserstein and softmax-Wasserstein, and a quotient Stein geometry—to rigorously formulate these dynamics, providing gradient-flow and Hamiltonian foundations for softmax and linear attention. The authors analyze existence conditions, link continuous moment blow-up to discrete layer depth, and propose geometric corrections that empirically improve next-token prediction in decoder-only models.

By Viktor Stein, Levin Maier, Wuchen Li, Gabriele Steidl