Hybrid-Recast converts Qwen3-8B into an attention-Mamba2 hybrid with minimal retraining
A new arXiv paper describes Hybrid-Recast, a method that rewires a pretrained Transformer into a hybrid of attention and state-space layers, then recovers its performance with a small amount of additional training.
In plain words
Large language models usually rely on attention, a mechanism whose memory needs grow as conversations get longer. The Hybrid-Recast authors swapped attention for Mamba2, a state-space layer with a fixed-size memory, in most of one model's layers. The converted model needed only a tiny fraction of the original training data to work almost as well as before.
What was announced
Writing on arXiv, the Hybrid-Recast team reports starting from Qwen3-8B and replacing grouped-query attention with Mamba2 in 17 of the model's 36 decoder layers, keeping attention in the remaining 19. Pretrained weights are carried over, and the resulting Qwen3-Hybrid-Mamba2-8B is trained in four stages using roughly 15 billion tokens, which the authors calculate as about 0.042% of the 36 trillion tokens used to pretrain Qwen3. Under their evaluation protocol, the hybrid scores 93.48 on GSM8K and 90.70 on MMLU-Redux, retaining 97.5% and 97.7% of the corresponding Qwen3-8B results.
The practical motivation is memory. Counting the fixed Mamba2 states, the authors calculate from BF16 tensor sizes that the hybrid needs 35.0% less cache memory per request at 1,024 cached tokens and 45.7% less at 8,192. The paper also reports an efficiency gain in training: by moving teacher hidden states across and applying the teacher's output projection on the student side, the measured time per distillation step fell from 394.8 seconds to 9.3 seconds at the same global batch size and sequence length. The figures come from the authors' own measurements and evaluation protocol, and the abstract does not report independent replication.
What it does not show
- The source is the paper's abstract only, so method details, full results and peer review status are not covered.
- All benchmark scores, memory savings and timing figures are the authors' own measurements under their stated protocol; no independent confirmation is reported.
For security and IT teams
- Scope
- The reported cache savings apply per request at 1,024 and 8,192 cached tokens and are calculated from BF16 tensor sizes rather than measured end-to-end application performance.
Sources
Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.