Welcome Falcon Mamba: The first strong attention-free 7B model
Read the original on Hugging Face Blog →The Flow has not summarised this story yet — read it at Hugging Face Blog.
The Flow has not summarised this story yet — read it at Hugging Face Blog.
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.
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.