Some Attention is All You Need for Retrieval
Not on the map. Why?
Abstract (arXiv)
We demonstrate complete functional segregation in hybrid SSM-Transformer architectures: retrieval depends exclusively on self-attention layers. Across RecurrentGemma-2B/9B and Jamba-Mini-1.6, attention ablation causes catastrophic retrieval failure (0% accuracy), while SSM layers show no compensatory mechanisms even with improved prompting. Conversely, sparsifying attention to just 15% of heads maintains near-perfect retrieval while preserving 84% MMLU performance, suggesting self-attention specializes primarily for retrieval tasks. We identify precise mechanistic requirements for retrieval: needle tokens must be exposed during generation and sufficient context must be available during prefill or generation. This strict functional specialization challenges assumptions about redundancy in hybrid architectures and suggests these models operate as specialized modules rather than integrated systems, with immediate implications for architecture optimization and interpretability.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 9 of its 12 references that are in the map. First posted on arXiv 21 Oct 2025.
Builds on
9 of 12 references.
References · 9
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2022In-context Learning and Induction Headscited by 964
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2024An Empirical Study of Mamba-based Language Modelscited by 186
- 2024LongAlign: A Recipe for Long Context Alignment of Large Language Modelscited by 106
- 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 64
- 2024Just read twice: closing the recall gap for recurrent language modelscited by 60
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Retrieval-Aware Distillation for Transformer-SSM Hybrids
- 2026Rethinking the Role of Efficient Attention in Hybrid Architectures
- 2025Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
- 2026Memory Retrieval in Transformers: Insights from The Encoding Specificity Principle
- 2026On-Policy Attention Linearization
- 2026Forget Attention: Importance-Aware Attention Is All You Need
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Design
- 2026HYPIC: Accelerating Hybrid-Attention LLM Serving with Position-Independent Caching