mlsanityData to 24 Nov 2026

Stratified Sparse Attention: Reducing the Sparse-to-Dense Gap at Extreme Sparsity

arXiv 2610.28441 ↗Submitted 20 Oct 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Model inference over long contexts is increasingly bottlenecked by the cost of attending to a growing Key-Value (KV) cache. Sparse attention reduces this cost by accessing only a fraction of the cache, but existing methods face a trade-off between deterministic retrieval, which captures high-scoring tokens but discards residual attention mass, and sampling, which improves coverage at the cost of higher variance. Hybrid methods combine top-k retrieval with uniform sampling, yet still exhibit a substantial gap from dense attention at aggressive sparsity. We introduce Stratified Sparse Attention (SSA), a unified framework combining deterministic retrieval with score-guided sampling. SSA deterministically attends to high-scoring tokens while sampling the residual using proxy attention scores and correcting for their inclusion probabilities, thereby recovering attention mass beyond the retrieval set. SSA encompasses top-k, top-p, and hybrid top-k+sampling as special cases. Across RULER, LongBench, LOFT, and AIME, and five models ranging from 3B to 27B parameters, SSA consistently improves over the baselines at matched sparsity. On RULER-HARD with Ministral-3-8B, SSA improves accuracy over the strongest practical baseline from 81.8% to 84.2% at 32K and from 63.8% to 69.3% at 128K under 50× attention sparsity, recovering 94% and 85% of dense-attention performance, respectively. With optimized CUDA kernels, SSA achieves up to 2.96× decode speedup over FlashInfer at 1M context, demonstrating that its accuracy gains translate into practical long-context inference acceleration. We open-source our code at https://github.com/skylight-org/SSA-Paper-Code.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 37 of its 48 references that are in the map. Submitted 20 Oct 2026.

Builds on

37 of 48 references.

References · 37

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
  2. 2024The Llama 3 Herd of Modelscited by 16,113
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  4. 2022Scalable Diffusion Models with Transformerscited by 6,524
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  6. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
  7. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
  8. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
  9. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
  10. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 780
  11. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
  12. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
25 more
  1. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 502
  2. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 423
  3. 2023Large Language Models in Finance: A Surveycited by 239
  4. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 139
  5. 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 133
  6. 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 116
  7. 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 106
  8. 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 102
  9. 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 67
  10. 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 66
  11. 2025KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environmentscited by 59
  12. 2024Post-Training Sparse Attention with Double Sparsitycited by 54
  13. 2024DynamicKV: Task-Aware Adaptive KV Cache Compression for Long Context LLMscited by 45
  14. 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMscited by 34
  15. 2024HashAttention: Semantic Sparsity for Faster Inferencecited by 32
  16. 2021Survey: Transformer based Video-Language Pre-trainingcited by 29
  17. 2026Coding Agents are Effective Long-Context Processorscited by 15
  18. 2024Deep Learning-based Software Engineering: Progress, Challenges, and Opportunitiescited by 11
  19. 2025Value-Guided KV Compression for LLMs via Approximated CUR Decompositioncited by 9
  20. 2026Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inferencecited by 7
  21. 2026Rethinking KV Cache Eviction via a Unified Information-Theoretic Objectivecited by 7
  22. 2026SOCKET: SOft Collision Kernel EsTimator for Sparse Attentioncited by 6
  23. 2025Adamas: Hadamard Sparse Attention for Efficient Long-Context Inferencecited by 5
  24. 2026The Horizon Gap: Planning, Memory, Execution, Training, and Evaluation for Long-Horizon LLM Agentscited by 5
  25. 2024S2-Attention: Hardware-Aware Context Sharding Among Attention Headscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
  2. 2026Simplified Sparse Attention via Gist Tokens
  3. 2026Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMs
  4. 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
  5. 2025Rectified Sparse Attention
  6. 2026Scaling Attention via Feature Sparsity
  7. 2026UNIQUE: Universal Top-k Sparse Attention for Training-free Inference and Sparsity-aware Training
  8. 2026Augmenting Attention with Exponentially Decaying Memory Improves Query-Aware KV Sparsity