Lost in a Few Heads: Diagnosing and Repairing Block Selection in Sparse Attention
Not on the map. Why?
Abstract (arXiv)
Sparse attention models read a few blocks of keys for every query at a fixed budget and can lose much of their long-context retrieval accuracy at that budget. We ask where this loss is made. Using exact attention mass selection at the shipped budget as an oracle, we show that the selector under-ranks the needle rather than running out of budget. We find attention heads that miss the needle by running a calibration probe that teacher-forces the answer and reads two quantities in every head. The first is the needle attention that the selector forfeits, and the second is the share of the answer's log-probability that fixing the head's selection restores, integrated along the path from the shipped selector to full attention. Four checkpoints of the InfLLM-V2 family and NOSA-8B lose multi-key retrieval in the same three blind heads, which attend to the needle while a mean-pooled key summary dilutes its single decisive token. Full attention in those heads or a 4-bit scorer that keeps the shipped budget recovers most of the loss without training. On MiniCPM4.1-8B at 64K, either fix lifts multi-key retrieval accuracy from 54.1 to 97.5%, level with full attention in every head. In production serving engines, full attention in those heads keeps 84 to 89% of the time to first token (TTFT) that sparse attention saves at 32K to 128K context length. Beyond the InfLLM-V2 selector lineage, one unified rule flags attention heads above a threshold swept on each checkpoint until they close most of the gap to full attention on calibration prompts. A similar small set of blind attention heads carry the loss for the SeerAttention-R gates, NSA, and DashAttention, whereas many such heads exist in MoBA. On Qwen3-8B with the SeerAttention-R gates, full attention in 18 of 288 key-value heads lifts multi-key retrieval accuracy from 29.8 to 97.7%.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 70 of its 78 references that are in the map. Submitted 16 Nov 2026, announced 18 Nov 2026.
Builds on
70 of 78 references.
References · 70
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2025Qwen3 Technical Reportcited by 9,994
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2017Axiomatic Attribution for Deep Networkscited by 3,508
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,269
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
38 more
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
- 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 491
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 431
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 328
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 272
- 2023Attribution Patching Outperforms Automated Circuit Discoverycited by 239
- 2026Kimi K3: Open Frontier Intelligencecited by 233
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 232
- 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 172
- 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 145
- 2024AtP*: An efficient and scalable method for localizing LLM behaviour to componentscited by 143
- 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 142
- 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Headscited by 114
- 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 106
- 2024Scaling Exponents Across Parameterizations and Optimizerscited by 92
- 2025MiniCPM4: Ultra-Efficient LLMs on End Devicescited by 61
- 2026MiniMax Sparse Attentioncited by 61
- 2025Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruningcited by 60
- 2024Post-Training Sparse Attention with Double Sparsitycited by 54
- 2024RepoQA: Evaluating Long Context Code Understandingcited by 45
- 2025Oolong: Evaluating Long Context Reasoning and Aggregation Capabilitiescited by 45
- 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selectioncited by 44
- 2025SeerAttention-R: Sparse Attention Adaptation for Long Reasoningcited by 41
- 2025InfLLM-V2: Dense-Sparse Switchable Attention for Seamless Short-to-Long Adaptationcited by 40
- 2024u-μP: The Unit-Scaled Maximal Update Parametrizationcited by 38
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 26
- 2025LongFuncEval: Measuring the effectiveness of long context models for function callingcited by 23
- 2026HISA: Efficient Hierarchical Indexing for Fine-Grained Sparse Attentioncited by 23
- 2025Multipole Attention for Efficient Long Context Reasoningcited by 22
- 2025LONGCODEU: Benchmarking Long-Context Language Models on Long Code Understandingcited by 15
- 2025Are formal and functional linguistic mechanisms dissociated in language models?cited by 14
- 2025SpeCache: Speculative Key-Value Caching for Efficient Generation of LLMscited by 12
- 2025Optimizing Mixture of Block Attentioncited by 12
- 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?cited by 11
50 most cited of 70 All 70 (JSON)
Built on by
Not cited yet.