Researchers detail two-stage method to distill Transformers into pure Mamba models
A research team describes a two-stage distillation recipe that converts an Attention-based Transformer into a Mamba state-space model without retaining any attention blocks. The method first distills a Transformer into a linearized-attention variant using a kernel-trick adaptation, then distills that into an adapted Mamba architecture. Applied to a Pythia-1B teacher, the resulting Mamba model reached a perplexity of 14.01 versus the teacher's 13.86, with mostly preserved downstream performance except on tasks requiring in-context recall.
GoKawiil's interpretation of the reporting above, not reported fact.
If this recipe generalizes, it could let organizations convert existing pretrained Transformers into Mamba-style models to gain lower memory use and faster generation without retraining from scratch. The researchers' ablations on scale and token allocation suggest the approach is being positioned as a practical, principled alternative to prior cross-architecture distillation attempts that required hybrid Attention-SSM designs. The remaining gap on in-context recall tasks indicates a limitation that could matter for applications depending heavily on retrieval-like reasoning.
- Two-stage distillation converts Transformers to pure Mamba via an intermediate linear-attention model
- Distilled 1B Mamba model nearly matches teacher Pythia-1B perplexity (14.01 vs 13.86)
- Performance gaps remain on tasks requiring strong in-context recall
Source: machinelearning.apple.com, 2026-11-11
Published there as: “Attention to Mamba: A Recipe for Cross-Architecture Distillation”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.