mlsanityData to 14 Oct 2026

The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMs

arXiv 2504.17768 ↗First posted 24 Apr 2025cs.CL cs.LGcited by 29

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  6. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  7. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  8. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  9. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  10. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  11. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  12. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
34 more
  1. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
  2. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  3. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  4. 2024Justice or Prejudice? Quantifying Biases in LLM-as-a-Judgecited by 368
  5. 2021Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Controlcited by 271
  6. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inferencecited by 235
  7. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 208
  8. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
  9. 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inferencecited by 147
  10. 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 130
  11. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
  12. 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
  13. 2025A Comprehensive Survey on Long Context Language Modelingcited by 117
  14. 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 116
  15. 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
  16. 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 101
  17. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
  18. 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compressioncited by 86
  19. 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
  20. 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matterscited by 73
  21. 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methodscited by 60
  22. 2025Parameters vs FLOPs: Scaling Laws for Optimal Sparsity for Mixture-of-Experts Language Modelscited by 50
  23. 2025Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruningcited by 49
  24. 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 44
  25. 2023Scaling Laws for Sparsely-Connected Foundation Modelscited by 43
  26. 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approachescited by 42
  27. 2024SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attentioncited by 39
  28. 2024Is It Really Long Context if All You Need Is Retrieval? Towards Genuinely Difficult Long Context NLPcited by 27
  29. 2024Long Context vs. RAG for LLMs: An Evaluation and Revisitscited by 26
  30. 2025(Mis)Fitting: A Survey of Scaling Lawscited by 26
  31. 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMscited by 24
  32. 2016Towards Machine Comprehension of Spoken Content: Initial TOEFL Listening Comprehension Test by Machinecited by 23
  33. 2024Sparsing Law: Towards Large Language Models with Greater Activation Sparsitycited by 22
  34. 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 9; 2026: 20.

29 papers.

Sort:

By area:

  1. 2025Inference-Time Hyper-Scaling with KV Cache Compressioncited by 27
  2. 2025Taming the Fragility of KV Cache Eviction in LLM Inferencecited by 14
  3. 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 12
  4. 2025Kinetics: Rethinking Test-Time Scaling Lawscited by 12
  5. 2025Draft-based Approximate Inference for LLMscited by 5
  6. 2026SpotAttention: Plug-In Block-Sparse Routing for Pretrained Long-Context Transformerscited by 5
  7. 2026Switch Attention: Towards Dynamic and Fine-grained Hybrid Transformerscited by 4
  8. 2026DashAttention: Differentiable and Adaptive Sparse Hierarchical Attentioncited by 4
  9. 2025Controllably Efficient Language Modelscited by 3
  10. 2026AdaSplash-2: Faster Differentiable Sparse Attentioncited by 3
  11. 2025Rethinking LLM Advancement: Compute-Dependent and Independent Paths to Progresscited by 2
  12. 2026Detecting Contextual Hallucinations in LLMs with Frequency-Aware Attentioncited by 2
17 more
  1. 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computationcited by 2
  2. 2026LiteTopK: Exploiting the Curse of Dimensionality for a Fused Indexer-TopK Kernel in Long-Context Sparse Attentioncited by 2
  3. 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategiescited by 1
  4. 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 1
  5. 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decodingcited by 1
  6. 2025SCOUT: Toward Sub-Quadratic Attention via Segment Compression for Optimized Utility in Transformerscited by 0
  7. 2026Learning What Matters: Supervising Global Context Pruning with Causal Evidence Setscited by 0
  8. 2026Beyond Sparse Weights: When Is Attention Compressible?cited by 0
  9. 2026CRISP: Cliff-awaRe Input-adaptive Sparse Prefilling with Structural-Mass-Motivated Routingcited by 0
  10. 2026Playing log(N)-Questions over Wikipedia Abstracts: How Per-Round Errors Compound Under Information Asymmetrycited by 0
  11. 2026Block-Sparse Attention with Semantic-Geometric Decoupled Routingcited by 0
  12. 2026Pre-registered tests of solid-state-physics-inspired LLM compression: a cluster-level negative result at small-language-model scalecited by 0
  13. 2026PulseInfer: I/O-Centric Sparse KV Cache Offloading for Efficient Long-Context LLM Decodingcited by 0
  14. 2026SparseEngine: Sparse-First Inference Enginecited by 0
  15. 2026CommunityKV: Efficient Long-Context Decoding via Graph Partitioningcited by 0
  16. 2026MOIRA: Mass-Oriented Indexing with Ragged Attention for Long-Context Decodingcited by 0
  17. 2026On the Trade-off Between Information Loss and Generalization in Sparse Attentioncited by 0