mlsanityData to 7 Oct 2026

Retrieval-Aware Distillation for Transformer-SSM Hybrids

arXiv 2602.11374 ↗First posted 11 Feb 2026cs.LG cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

State-space models (SSMs) offer efficient sequence modeling but lag behind Transformers on benchmarks that require in-context retrieval. Prior work links this gap to a small set of attention heads, termed Gather-and-Aggregate (G&A), which SSMs struggle to reproduce. We propose *retrieval-aware distillation*, which converts a pretrained Transformer into a hybrid student by preserving only these retrieval-critical heads and distilling the rest into recurrent heads. We identify the essential heads via ablation on a synthetic retrieval task, producing a hybrid with sparse, non-uniform attention placement. We show that preserving **just 2% of attention heads recovers over 95% of teacher performance on retrieval-heavy tasks** (10 heads in a 1B model), requiring far fewer heads than hybrids that retain at least 25%. We further find that large recurrent states often compensate for missing retrieval: once retrieval is handled by these heads, the SSM backbone can be simplified with limited loss, even with an 8× reduction in state dimension. By reducing both the attention cache and the SSM state, the resulting hybrid is 5--6× more memory-efficient than comparable hybrids, closing the Transformer--SSM gap at a fraction of the memory cost.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 25 of its 27 references that are in the map. First posted on arXiv 11 Feb 2026.

Builds on

25 of 27 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  7. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  8. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  9. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  10. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  11. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
  12. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
13 more
  1. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
  2. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
  3. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
  4. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
  5. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
  6. 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
  7. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 104
  8. 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
  9. 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 62
  10. 2025Llamba: Scaling Distilled Recurrent Models for Efficient Language Processingcited by 35
  11. 2025Thinking Slow, Fast: Scaling Inference Compute with Distilled Reasonerscited by 22
  12. 2025M1: Towards Scalable Test-Time Compute with Mamba Reasoning Modelscited by 21
  13. 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanismcited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Some Attention is All You Need for Retrieval
  2. 2025Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
  3. 2026Retrievit: In-context Retrieval Capabilities of Transformers, State Space Models, and Hybrid Architectures
  4. 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models
  5. 2025Mechanistic evaluation of Transformers and state space models
  6. 2026Forget Attention: Importance-Aware Attention Is All You Need
  7. 2024Expansion Span: Combining Fading Memory and Retrieval in Hybrid State Space Models
  8. 2026Long-Context Modeling via GSS-Transformer Hybrid Architecture with Learnable Mixing