Tech News
← Home  ·  All topics

Transformer Distillation

1 GoKawiil brief on this topic · RSS for transformer distillation

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.