arXiv AI
Nov 6

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.

By Trinh T. Nguyen, Minh-Khoi Nguyen-Nhat, Duy-Tung Pham, Hoang-Son Do, Tan Minh Nguyen, Thieu N. Vo
arXiv Machine Learning
Nov 5

Attention to Mamba: A Recipe for Cross-Architecture Distillation

The paper proposes a two‑stage method to distill a Transformer into a Mamba‑style State Space Model. First, knowledge is transferred to a linearized Attention network via a kernel trick, then this intermediate model is distilled into a Mamba architecture that contains no Attention blocks. The resulting Mamba retains most of the original Transformer’s performance, achieving a perplexity of 14.01 versus the teacher’s 13.86, and the approach is validated through extensive ablations and scaling studies.

By Abhinav Moudgil, Ningyuan Huang, Eeshan Gunesh Dhekane, Pau Rodr\'iguez, Luca Zappella, Federico Danieli