mlsanityData to 24 Nov 2026

Latent Sparse Attention: Towards Subquadratic Ultra-Long Context Attention

arXiv 2610.42147 ↗Submitted 30 Oct 2026cs.AIcited by 0

On the map: LLM agents and tool use → Web, search, and research agents also fits: Agent memory systems

Abstract (arXiv)

Agentic workflows are increasingly shifting towards long-horizon tasks, such as open-ended scientific work, where models benefit from long context windows. However, at ultra-long context (above 1M tokens), full attention is prohibitively expensive. A promising approach is sparse attention, in which a dedicated indexer selects a subset of keys for the attention. Yet current methods of indexing either still have quadratic cost in context size or lose accuracy at ultra-long context scale. We address this with Latent Sparse Attention (LSA), an efficient attention method that maintains accuracy at ultra-long context. In LSA, keys are hierarchically clustered in a learned latent space, and queries score the hierarchy of clusters instead of scoring every key, making prefill, decode and training faster at long context. We propose two variants, Distilled-LSA (D-LSA), which can be applied to pre-trained models via distillation, and Native-LSA (N-LSA), which is trained natively on the next-token loss alone. On GLM-5.3-FLASH (QWEN-3.8-27B) at 10M tokens, D-LSA speeds up one attention layer by 22.7x (72.4x) in prefill and 4.6x (42.5x) in decode over its original sparse attention (full attention), while keeping similar accuracy across a variety of tasks. N-LSA matches the accuracy of full attention with a training speedup of 1.6x per layer at 128k tokens. LSA offers practical and efficient attention for models to benefit from ultra-long context.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 69 of its 87 references that are in the map. Submitted 30 Oct 2026.

Builds on

69 of 87 references.

References · 69

  1. 2017Attention Is All You Needcited by 62,125
  2. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
  5. 2023Let's Verify Step by Stepcited by 4,259
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
  7. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  8. 2020Longformer: The Long-Document Transformercited by 3,606
  9. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,414
  10. 2017Billion-scale similarity search with GPUscited by 2,575
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,729
38 more
  1. 2020Reformer: The Efficient Transformercited by 1,718
  2. 2019Generating Long Sequences with Sparse Transformerscited by 1,641
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  4. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
  5. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,356
  6. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
  7. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
  8. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 892
  9. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 788
  10. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
  11. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
  12. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
  13. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
  14. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 530
  15. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 511
  16. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 491
  17. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
  18. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
  19. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 431
  20. 2024Better & Faster Large Language Models via Multi-token Predictioncited by 422
  21. 2022The Stack: 3 TB of permissively licensed source codecited by 380
  22. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 232
  23. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 232
  24. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 220
  25. 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 220
  26. 2025Measuring AI Ability to Complete Long Software Taskscited by 210
  27. 2026Towards End-to-End Automation of AI Researchcited by 206
  28. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 139
  29. 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 96
  30. 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compressioncited by 78
  31. 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 66
  32. 2023Striped Attention: Faster Ring Attention for Causal Transformerscited by 62
  33. 2026MiniMax Sparse Attentioncited by 61
  34. 2025TileLang: A Composable Tiled Programming Model for AI Systemscited by 50
  35. 2026IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reusecited by 46
  36. 2025SeerAttention-R: Sparse Attention Adaptation for Long Reasoningcited by 41
  37. 2025InfLLM-V2: Dense-Sparse Switchable Attention for Seamless Short-to-Long Adaptationcited by 40
  38. 2025The Common Pile v0.1: An 8TB Dataset of Public Domain and Openly Licensed Textcited by 38

50 most cited of 69 All 69 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategies
  2. 2026Subquadratic Attention with a Hierarchical Tree-Structured Indexer
  3. 2025Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference
  4. 2026You Only Index Once: Cross-Layer Sparse Attention with Shared Routing
  5. 2025Mixture of Sparse Attention: Content-Based Learnable Sparse Attention via Expert-Choice Routing
  6. 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefilling
  7. 2026Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
  8. 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inference