mlsanityData to 14 Oct 2026

Inference Time Context Sparsity: Illusion or Opportunity?

arXiv 2605.24168 ↗First posted 22 May 2026cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Sparsity has long been a central theme in LLM efficiency, but its role in context processing remains unresolved. As LLM workloads shift toward longer contexts and agentic interactions, the compute and memory bottlenecks of attention become increasingly critical, raising the question of whether these constraints are fundamental. Our position is that these constraints are artificial and unnecessary, and that the future of LLM inference lies in extreme but principled sparsity along the context dimension. This position is supported by several strands of empirical and theoretical evidence. First, we find the insistence on dense attention unreasonable, since in a long context a query effectively projects O(N) attention information into a hidden space of dimension d << N, making the process inherently lossy. Second, we perform an extensive study of sparsity in LLMs spanning 20 models across five model families, varying context lengths, and different sparsity levels. We empirically demonstrate a strong trend: current LLMs, despite not being trained for context sparsity, are remarkably robust to inference-time decode sparsity across tasks of varying complexity, including retrieval, multi-hop QA, mathematical reasoning, and agentic coding. Importantly, we also show that current hardware is already sufficient to realize substantial gains from this sparsity. For example, our sparse decode kernels accelerate large-context processing by up to 10x over FlashInfer at 50x sparsity levels on hardware such as the H100. Overall, these results position extreme context sparsity not as a heuristic, but as a principled foundation for LLM inference, training, and architecture design: one that is both feasible and beneficial, and a compelling direction for future systems.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 48 of its 55 references that are in the map. First posted on arXiv 22 May 2026.

Builds on

48 of 55 references.

References · 48

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2025Qwen3 Technical Reportcited by 8,820
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  6. 2024Qwen2.5 Technical Reportcited by 4,942
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  8. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  10. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  12. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
36 more
  1. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  3. 2025Gemma 3 Technical Reportcited by 1,824
  4. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  5. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
  6. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  7. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  8. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
  9. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
  10. 2025OpenAI GPT-5 System Cardcited by 989
  11. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
  12. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
  13. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
  14. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
  15. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
  16. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
  17. 2021Random Feature Attentioncited by 354
  18. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
  19. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
  20. 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 120
  21. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 116
  22. 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
  23. 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 95
  24. 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 89
  25. 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 57
  26. 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 56
  27. 2019SLIDE : In Defense of Smart Algorithms over Hardware Acceleration for Large-Scale Deep Learning Systemscited by 46
  28. 2024Post-Training Sparse Attention with Double Sparsitycited by 45
  29. 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargementcited by 42
  30. 2024Separations in the Representational Capabilities of Transformers and Recurrent Architecturescited by 29
  31. 2021Survey: Transformer based Video-Language Pre-trainingcited by 27
  32. 2024HashAttention: Semantic Sparsity for Faster Inferencecited by 24
  33. 2025Block-Biased Mamba for Long-Range Sequence Processingcited by 8
  34. 2025RACE Attention: A Strictly Linear-Time Attention Layer for Training on Outrageously Large Contextscited by 5
  35. 2026SOCKET: SOft Collision Kernel EsTimator for Sparse Attentioncited by 3
  36. 2025An Efficient Training Algorithm for Models with Block-wise Sparsitycited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs
  2. 2025Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference
  3. 2026Decocted Experience Improves Test-Time Inference in LLM Agents
  4. 2025Polar Sparsity: High Throughput Batched LLM Inferencing with Scalable Contextual Sparsity
  5. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters
  6. 2025Hidden in the Haystack: Smaller Needles are More Difficult for LLMs to Find
  7. 2026Mechanistic Insights into Functional Sparsity in Multimodal LLMs via CoRe Heads
  8. 2026CSAttention: Centroid-Scoring Attention for Accelerating LLM Inference