Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction
Not on the map. Why?
Abstract (arXiv)
The attention mechanism of a transformer has a quadratic complexity, leading to high inference costs and latency for long sequences. However, attention matrices are mostly sparse, which implies that many entries may be omitted from computation for efficient inference. Sparse attention inference methods aim to reduce this computational burden; however, they also come with a troublesome performance degradation. We discover that one reason for this degradation is that the sparse calculation induces a distributional shift in the attention outputs. The distributional shift causes decoding-time queries to fail to align well with the appropriate keys from the prefill stage, leading to a drop in performance. We propose a simple, novel, and effective procedure for correcting this distributional shift, bringing the distribution of sparse attention outputs closer to that of quadratic attention. Our method can be applied on top of any sparse attention method, and results in an average 36%pt performance increase, recovering 88% of quadratic attention accuracy on the 131K RULER benchmark when applied on top of sliding window attention with sink tokens while only adding a small overhead. Our method can maintain approximately 98.5% sparsity over full quadratic attention, making our model 32 times faster than Flash Attention 2 when processing 1M token prefills.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 25 of its 29 references that are in the map. First posted on arXiv 16 May 2025.
Builds on
25 of 29 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Mistral 7Bcited by 3,164
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2022In-context Learning and Induction Headscited by 964
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
13 more
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 232
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2024What is Wrong with Perplexity for Long-context Language Modeling?cited by 69
- 2025Which Attention Heads Matter for In-Context Learning?cited by 61
- 2024RepoQA: Evaluating Long Context Code Understandingcited by 35
- 2025APE: Faster and Longer Context-Augmented Generation via Adaptive Parallel Encodingcited by 29
- 2024Star Attention: Efficient LLM Inference over Long Sequencescited by 25
- 2024A Training-free Sub-quadratic Cost Transformer Model Serving Framework With Hierarchically Pruned Attentioncited by 12
- 2024Mechanism and Emergence of Stacked Attention Heads in Multi-Layer Transformerscited by 7
- 2025InfiniteHiP: Extending Language Model Context Up to 3 Million Tokens on a Single GPUcited by 7
- 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generationcited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2026ProphetKV: User-Query-Driven Selective Recomputation for Efficient KV Cache Reuse in Retrieval-Augmented Generationcited by 13
- 2026Attention Sink in Transformers: A Survey on Utilization, Interpretation, and Mitigationcited by 11
- 2025Block Sparse Flash Attentioncited by 2
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Taskscited by 2
- 2025NABLA: Neighborhood Adaptive Block-Level Attentioncited by 1
- 2026Accelerating Text-to-Video Generation with Calibrated Sparse Attentioncited by 1
- 2026Counterexamples to Local Reconstruction Gain as a Proxy for Final Fidelity in Residual Completioncited by 0
- 2026Counterexamples to Local Reconstruction Gain as a Proxy for Final Fidelity in Residual Completion28 Sep 2026
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026Attention Sink in Transformers: A Survey on Utilization, Interpretation, and Mitigation11 Apr 2026
- 2026Accelerating Text-to-Video Generation with Calibrated Sparse Attention5 Mar 2026
- 2026ProphetKV: User-Query-Driven Selective Recomputation for Efficient KV Cache Reuse in Retrieval-Augmented Generation31 Jan 2026
- 2025Block Sparse Flash Attention7 Dec 2025
- 2025NABLA: Neighborhood Adaptive Block-Level Attention17 Jul 2025