---
title: "Mamba"
description: "1 posts about Mamba, summarised, each linking to the original."
---

# Mamba
> 1 posts about Mamba, summarised, each linking to the original.

## Articles

### [Attention to Mamba: A Recipe for Cross-Architecture Distillation](https://yomu.fyi/post/attention-to-mamba-a-recipe-for-cross-architecture-distillation.md)
- Company: [Apple](https://yomu.fyi/company/apple.md)
- Published: Nov 3, 2026
- Type: Problem & solution

State Space Models like Mamba offer lower memory and higher throughput than Transformers, but naive cross-architecture distillation from Transformers to Mamba fails to preserve teacher performance. The authors propose a principled two-stage distillation recipe: first distill a Transformer into a linearized Attention model via a kernel trick, then distill that into a Mamba model without any Attention blocks. The distilled Mamba model reaches a perplexity of 14.01, close to the teacher Pythia-1B Transformer’s 13.86. This performance largely carries over to downstream tasks, though gaps appear on tasks relying on in-context recall. The recipe is validated through ablations at 1B scale with 10B tokens, scaling analysis on model sizes and total distillation tokens, and sensitivity analysis on token allocation between stages.
