Two-stage distillation brings Mamba close to Pythia-1B

Researchers behind Attention to Mamba: A Recipe for Cross-Architecture Distillation have proposed a two-stage method for transferring knowledge between architectures. Their distilled Mamba model achieved a perplexity of 14.01, close to the original Pythia-1B Transformer’s 13.86. The authors report that it retains most of the teacher model’s performance.
The method introduces an intermediate architecture. First, knowledge from a conventional Transformer is distilled into a linearized version of Attention using an adaptation of the kernel trick. That intermediate model is then distilled into an adapted Mamba model containing no Attention blocks. The authors identify principled initialization of Mamba as the key to their approach.
Earlier cross-architecture distillation research found that a straightforward transfer from Transformers to Mamba failed to preserve teacher performance. Hybrid models combining Attention and state-space blocks were often used to address that limitation. The new recipe produces a Mamba model without that combination.
Much of the performance also carries over to downstream tasks, although gaps remain on tasks that depend more heavily on in-context recall. The study includes ablations at the 1B-parameter scale with 10B tokens, analysis of model size and total distillation tokens, and tests of how allocating tokens between the two stages affects results.
Original source: machinelearning.apple.com ↗
Comments on source platforms
Rank is the maximum of the latest discussion counts. These are source metrics.
Hacker News
- Discussion ↗: 5
Measured: 14 Nov 2026, 13:28 UTC