mlsanityData to 14 Oct 2026

FlashPrefill: Instantaneous Pattern Discovery and Thresholding for Ultra-Fast Long-Context Prefilling

arXiv 2603.06199 ↗First posted 6 Mar 2026cs.CL cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Long-context modeling is a pivotal capability for Large Language Models, yet the quadratic complexity of attention remains a critical bottleneck, particularly during the compute-intensive prefilling phase. While various sparse attention mechanisms have been explored, they typically suffer from either significant search latency or insufficient sparsity. In this paper, we propose FlashPrefill, a framework enabling ultra-fast prefilling via instantaneous pattern discovery and thresholding. FlashPrefill leverages a fast block-searching technique to simultaneously locate dynamic vertical, slash, and block-sparse attention patterns. Crucially, it introduces a dynamic thresholding mechanism that bypasses the prohibitive overhead of sorting or accumulating attention scores while effectively eliminating the long-tail distribution to enhance sparsity. Extensive evaluations demonstrate that FlashPrefill achieves a substantial leap in efficiency, delivering an unprecedented 27.78x speedup on 256K sequences. Notably, unlike existing methods that incur efficiency degradation on shorter contexts, FlashPrefill maintains a 1.71x speedup even at a 4K context length, demonstrating its robustness and practical utility across varying sequence scales.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 39 of its 40 references that are in the map. First posted on arXiv 6 Mar 2026.

Builds on

39 of 40 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2025Qwen3 Technical Reportcited by 8,820
  6. 2023Visual Instruction Tuningcited by 7,869
  7. 2025Qwen2.5-VL Technical Reportcited by 5,587
  8. 2024Qwen2.5 Technical Reportcited by 4,942
  9. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  10. 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
  11. 2020Longformer: The Long-Document Transformercited by 3,413
  12. 2023Qwen Technical Reportcited by 3,344
27 more
  1. 2025Qwen3-VL Technical Reportcited by 2,793
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  3. 2024Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysiscited by 1,413
  4. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  5. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  6. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
  7. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  8. 2024Yi: Open Foundation Models by 01.AIcited by 719
  9. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  10. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  11. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  12. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  13. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  14. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  15. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  16. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
  17. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
  18. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
  19. 2025Qwen2.5-1M Technical Reportcited by 164
  20. 2025XAttention: Block Sparse Attention with Antidiagonal Scoringcited by 137
  21. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
  22. 2025InfLLM-V2: Dense-Sparse Switchable Attention for Seamless Short-to-Long Adaptationcited by 32
  23. 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
  24. 2025Rectifying Magnitude Neglect in Linear Attentioncited by 16
  25. 2025ProxyAttn: Guided Sparse Attention via Representative Headscited by 9
  26. 2025Optimizing Mixture of Block Attentioncited by 9
  27. 2024Semantic Equitable Clustering: A Simple and Effective Strategy for Clustering Vision Tokenscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 9.

9 papers.