The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMs
Not on the map. Why?
Abstract (arXiv)
Sparse attention offers a promising strategy to extend long-context capabilities in Transformer LLMs, yet its efficiency-accuracy trade-offs remain unclear due to the lack of comprehensive evaluation. We address this gap with the largest-scale empirical analysis to date of training-free sparse attention, evaluating six methods across multiple model families and sizes, sequences up to 128K tokens, and sparsity levels up to 0.95 (i.e., 1/20 attention budget) on nine diverse tasks. We first organise the rapidly evolving landscape of sparse attention methods into a taxonomy along four design axes. Our analysis then yields actionable insights: 1) sparse attention is effective: larger sparse models outperform smaller dense ones at equivalent cost, improving the Pareto frontier; 2) for the training-free methods we study, fine-grained per-query importance estimation during prefilling remains impractical-due to both the cost of estimation and the lack of sparse kernels that translate fine-grained sparsity into wall-clock gains-forcing a task-dependent choice between global-to-token and block-to-block selection. Instead, during decoding, token-to-page selection becomes feasible, enabling better generalisation and higher sparsity tolerance; 3) longer sequences tolerate higher sparsity, suggesting that fixed-budget methods in production are suboptimal. Together, these findings provide practical guidance for deploying sparse attention and methodological recommendations for future evaluations. Our code is available at https://github.com/PiotrNawrot/sparse-frontier.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Builds on 46 of its 58 references that are in the map. First posted on arXiv 24 Apr 2025.
Builds on
46 of 58 references.
References · 46
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
34 more
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2024Justice or Prejudice? Quantifying Biases in LLM-as-a-Judgecited by 368
- 2021Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Controlcited by 271
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inferencecited by 235
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 208
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
- 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inferencecited by 147
- 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 130
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
- 2025A Comprehensive Survey on Long Context Language Modelingcited by 117
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 116
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
- 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 101
- 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compressioncited by 86
- 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
- 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matterscited by 73
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methodscited by 60
- 2025Parameters vs FLOPs: Scaling Laws for Optimal Sparsity for Mixture-of-Experts Language Modelscited by 50
- 2025Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruningcited by 49
- 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 44
- 2023Scaling Laws for Sparsely-Connected Foundation Modelscited by 43
- 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approachescited by 42
- 2024SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attentioncited by 39
- 2024Is It Really Long Context if All You Need Is Retrieval? Towards Genuinely Difficult Long Context NLPcited by 27
- 2024Long Context vs. RAG for LLMs: An Evaluation and Revisitscited by 26
- 2025(Mis)Fitting: A Survey of Scaling Lawscited by 26
- 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMscited by 24
- 2016Towards Machine Comprehension of Spoken Content: Initial TOEFL Listening Comprehension Test by Machinecited by 23
- 2024Sparsing Law: Towards Large Language Models with Greater Activation Sparsitycited by 22
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
Built on by
Citing papers per year: 2025: 9; 2026: 20.
29 papers.
Sort:
By area:
- 2025Inference-Time Hyper-Scaling with KV Cache Compressioncited by 27
- 2025Taming the Fragility of KV Cache Eviction in LLM Inferencecited by 14
- 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 12
- 2025Kinetics: Rethinking Test-Time Scaling Lawscited by 12
- 2025Draft-based Approximate Inference for LLMscited by 5
- 2026SpotAttention: Plug-In Block-Sparse Routing for Pretrained Long-Context Transformerscited by 5
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformerscited by 4
- 2026DashAttention: Differentiable and Adaptive Sparse Hierarchical Attentioncited by 4
- 2025Controllably Efficient Language Modelscited by 3
- 2026AdaSplash-2: Faster Differentiable Sparse Attentioncited by 3
- 2025Rethinking LLM Advancement: Compute-Dependent and Independent Paths to Progresscited by 2
- 2026Detecting Contextual Hallucinations in LLMs with Frequency-Aware Attentioncited by 2
17 more
- 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computationcited by 2
- 2026LiteTopK: Exploiting the Curse of Dimensionality for a Fused Indexer-TopK Kernel in Long-Context Sparse Attentioncited by 2
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategiescited by 1
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 1
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decodingcited by 1
- 2025SCOUT: Toward Sub-Quadratic Attention via Segment Compression for Optimized Utility in Transformerscited by 0
- 2026Learning What Matters: Supervising Global Context Pruning with Causal Evidence Setscited by 0
- 2026Beyond Sparse Weights: When Is Attention Compressible?cited by 0
- 2026CRISP: Cliff-awaRe Input-adaptive Sparse Prefilling with Structural-Mass-Motivated Routingcited by 0
- 2026Playing log(N)-Questions over Wikipedia Abstracts: How Per-Round Errors Compound Under Information Asymmetrycited by 0
- 2026Block-Sparse Attention with Semantic-Geometric Decoupled Routingcited by 0
- 2026Pre-registered tests of solid-state-physics-inspired LLM compression: a cluster-level negative result at small-language-model scalecited by 0
- 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decodingcited by 0
- 2026SparseEngine: Sparse-First Inference Enginecited by 0
- 2026CommunityKV: Efficient Long-Context Decoding via Graph Partitioningcited by 0
- 2026MOIRA: Mass-Oriented Indexing with Ragged Attention for Long-Context Decodingcited by 0
- 2026On the Trade-off Between Information Loss and Generalization in Sparse Attentioncited by 0
- 2026On the Trade-off Between Information Loss and Generalization in Sparse Attention3 Oct 2026
- 2026MOIRA: Mass-Oriented Indexing with Ragged Attention for Long-Context Decoding3 Oct 2026
- 2026CommunityKV: Efficient Long-Context Decoding via Graph Partitioning30 Sep 2026
- 2026SparseEngine: Sparse-First Inference Engine30 Sep 2026
- 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decoding28 Sep 2026
- 2026Pre-registered tests of solid-state-physics-inspired LLM compression: a cluster-level negative result at small-language-model scale28 Sep 2026
- 2026Block-Sparse Attention with Semantic-Geometric Decoupled Routing19 Sep 2026
- 2026Playing log(N)-Questions over Wikipedia Abstracts: How Per-Round Errors Compound Under Information Asymmetry16 Sep 2026
- 2026CRISP: Cliff-awaRe Input-adaptive Sparse Prefilling with Structural-Mass-Motivated Routing1 Sep 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decoding27 Jul 2026
- 2026Learning What Matters: Supervising Global Context Pruning with Causal Evidence Sets23 Jul 2026
17 more
- 2026LiteTopK: Exploiting the Curse of Dimensionality for a Fused Indexer-TopK Kernel in Long-Context Sparse Attention13 Jul 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026SpotAttention: Plug-In Block-Sparse Routing for Pretrained Long-Context Transformers22 Jun 2026
- 2026DashAttention: Differentiable and Adaptive Sparse Hierarchical Attention18 May 2026
- 2026AdaSplash-2: Faster Differentiable Sparse Attention16 Apr 2026
- 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computation14 Apr 2026
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers27 Mar 2026
- 2026Detecting Contextual Hallucinations in LLMs with Frequency-Aware Attention20 Feb 2026
- 2025Controllably Efficient Language Models7 Nov 2025
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategies2 Nov 2025
- 2025Taming the Fragility of KV Cache Eviction in LLM Inference15 Oct 2025
- 2025SCOUT: Toward Sub-Quadratic Attention via Segment Compression for Optimized Utility in Transformers31 Aug 2025
- 2025Draft-based Approximate Inference for LLMs10 Jun 2025
- 2025Inference-Time Hyper-Scaling with KV Cache Compression5 Jun 2025
- 2025Kinetics: Rethinking Test-Time Scaling Laws5 Jun 2025
- 2025LoLA: Low-Rank Linear Attention With Sparse Caching29 May 2025
- 2025Rethinking LLM Advancement: Compute-Dependent and Independent Paths to Progress7 May 2025
- 2025Taming the Fragility of KV Cache Eviction in LLM Inferencecited by 14
- 2025Draft-based Approximate Inference for LLMscited by 5
- 2026SpotAttention: Plug-In Block-Sparse Routing for Pretrained Long-Context Transformerscited by 5
- 2026Beyond Sparse Weights: When Is Attention Compressible?cited by 0
- 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decodingcited by 0
- 2026CommunityKV: Efficient Long-Context Decoding via Graph Partitioningcited by 0
- 2026MOIRA: Mass-Oriented Indexing with Ragged Attention for Long-Context Decodingcited by 0
- 2026MOIRA: Mass-Oriented Indexing with Ragged Attention for Long-Context Decoding3 Oct 2026
- 2026CommunityKV: Efficient Long-Context Decoding via Graph Partitioning30 Sep 2026
- 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decoding28 Sep 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026SpotAttention: Plug-In Block-Sparse Routing for Pretrained Long-Context Transformers22 Jun 2026
- 2025Taming the Fragility of KV Cache Eviction in LLM Inference15 Oct 2025
- 2025Draft-based Approximate Inference for LLMs10 Jun 2025
- 2025Inference-Time Hyper-Scaling with KV Cache Compressioncited by 27
- 2025Kinetics: Rethinking Test-Time Scaling Lawscited by 12
- 2025Rethinking LLM Advancement: Compute-Dependent and Independent Paths to Progresscited by 2
- 2026SparseEngine: Sparse-First Inference Enginecited by 0
- 2026SparseEngine: Sparse-First Inference Engine30 Sep 2026
- 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 12
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformerscited by 4
- 2026DashAttention: Differentiable and Adaptive Sparse Hierarchical Attentioncited by 4
- 2025Controllably Efficient Language Modelscited by 3
- 2026AdaSplash-2: Faster Differentiable Sparse Attentioncited by 3
- 2026Detecting Contextual Hallucinations in LLMs with Frequency-Aware Attentioncited by 2
- 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computationcited by 2
- 2026LiteTopK: Exploiting the Curse of Dimensionality for a Fused Indexer-TopK Kernel in Long-Context Sparse Attentioncited by 2
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategiescited by 1
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 1
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decodingcited by 1
- 2026CRISP: Cliff-awaRe Input-adaptive Sparse Prefilling with Structural-Mass-Motivated Routingcited by 0
12 most cited of 16 All 16 (JSON)
- 2026On the Trade-off Between Information Loss and Generalization in Sparse Attention3 Oct 2026
- 2026Pre-registered tests of solid-state-physics-inspired LLM compression: a cluster-level negative result at small-language-model scale28 Sep 2026
- 2026Block-Sparse Attention with Semantic-Geometric Decoupled Routing19 Sep 2026
- 2026Playing log(N)-Questions over Wikipedia Abstracts: How Per-Round Errors Compound Under Information Asymmetry16 Sep 2026
- 2026CRISP: Cliff-awaRe Input-adaptive Sparse Prefilling with Structural-Mass-Motivated Routing1 Sep 2026
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decoding27 Jul 2026
- 2026LiteTopK: Exploiting the Curse of Dimensionality for a Fused Indexer-TopK Kernel in Long-Context Sparse Attention13 Jul 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026DashAttention: Differentiable and Adaptive Sparse Hierarchical Attention18 May 2026
- 2026AdaSplash-2: Faster Differentiable Sparse Attention16 Apr 2026
- 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computation14 Apr 2026
- 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformers27 Mar 2026
12 newest of 16 All 16 (JSON)