mlsanityData to 7 Oct 2026

FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scaling

arXiv 2603.05451 ↗First posted 5 Mar 2026cs.CLcited by 58

Not on the map. Why?

Abstract (arXiv)

Attention, as a core layer of the ubiquitous Transformer architecture, is the bottleneck for large language models and long-context applications. While FlashAttention-3 optimized attention for Hopper GPUs through asynchronous execution and warp specialization, it primarily targets the H100 architecture. The AI industry has rapidly transitioned to deploying Blackwell-based systems such as the B200 and GB200, which exhibit fundamentally different performance characteristics due to asymmetric hardware scaling: tensor core throughput doubles while other functional units (shared memory bandwidth, exponential units) scale more slowly or remain unchanged. We develop several techniques to address these shifting bottlenecks on Blackwell GPUs: (1) redesigned pipelines that exploit fully asynchronous MMA operations and larger tile sizes, (2) software-emulated exponential and conditional softmax rescaling that reduces non-matmul operations, and (3) leveraging tensor memory and the 2-CTA MMA mode to reduce shared memory traffic and atomic adds in the backward pass. We demonstrate that our method, FlashAttention-4, achieves up to 1.3× speedup over cuDNN 9.13 and 2.7× over Triton on B200 GPUs with BF16, reaching up to 1613 TFLOPs/s (71% utilization). Beyond algorithmic innovations, we implement FlashAttention-4 entirely in CuTe-DSL embedded in Python, achieving 20-30× faster compile times compared to traditional C++ template-based approaches while maintaining full expressivity.

Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Builds on 14 of its 25 references that are in the map. First posted on arXiv 5 Mar 2026.

Builds on

14 of 25 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2022Video Diffusion Modelscited by 2,280
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  8. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  9. 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 357
  10. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  11. 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
  12. 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Accelerationcited by 158
2 more
  1. 2024SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantizationcited by 113
  2. 2025Dissecting the NVIDIA Hopper Architecture through Microbenchmarking and Multiple Level Analysiscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 58.

58 papers.

Sort:

By area:

  1. 2026AVO: Agentic Variation Operators for Autonomous Evolutionary Searchcited by 19
  2. 2026LPM 1.0: Video-based Character Performance Modelcited by 11
  3. 2026Bernini: Latent Semantic Planning for Video Diffusioncited by 11
  4. 2026M2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modelingcited by 7
  5. 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantizationcited by 7
  6. 2026Full-Stack FP4: Stable LLM Pretraining with Quantized Projections, Optimizers, and Attentioncited by 7
  7. 2026PRTS: A Primitive Reasoning and Tasking System via Contrastive Representationscited by 6
  8. 2026Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsificationcited by 6
  9. 2026Orthrus: Memory-Efficient Parallel Token Generation via Dual-View Diffusioncited by 3
  10. 2026TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Taskscited by 3
  11. 2026ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attentioncited by 3
  12. 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computationcited by 2
38 more
  1. 2026FORGE: Fused On-Register Gradient Elimination for Memory-Efficient LLM Trainingcited by 2
  2. 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolutioncited by 2
  3. 2026FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM Servingcited by 2
  4. 2026Rank-Factorized Implicit Neural Bias: Scaling Super-Resolution Transformer with FlashAttentioncited by 1
  5. 2026Ragged Paged Attention: A High-Performance and Flexible LLM Inference Kernel for TPUcited by 1
  6. 2026CUDAHercules: Benchmarking Hardware-Aware Expert-level CUDA Optimization for LLMscited by 1
  7. 2026Remember to Forget: Gated Adaptive Positional Encodingcited by 1
  8. 2026Vortex: Efficient and Programmable Sparse Attention Serving for AI Agentscited by 1
  9. 2026HiFA4: Training-Free 4-bit FlashAttention on Ascend HIF4 NPUs for LLM Inferencecited by 1
  10. 2026CoSA: Accelerating Long-Context Inference via Proxy-Kernel Co-Designed Sparse Attentioncited by 1
  11. 2026VC-Attention: Value Smoothing and Softmax Casting for Low-bit Attentioncited by 1
  12. 2026Weaves, Wires, and Morphisms: Formalizing and Implementing the Algebra of Deep Learningcited by 0
  13. 2026Integrated electro-optic attention nonlinearities for transformerscited by 0
  14. 2026Nautilus: An Auto-Scheduling Tensor Compiler for Efficient Tiled GPU Kernelscited by 0
  15. 2026Faster LLM Inference via Sequential Monte Carlocited by 0
  16. 2026A Few GPUs, A Whole Lotta Scale: Faithful LLM Training Emulation with PrismLLMcited by 0
  17. 2026The Hitchhiker's Guide to Agentic AI: From Foundations to Systemscited by 0
  18. 2026Jet-Long: Efficient Long-Context Extension with Dynamic Bifocal RoPEcited by 0
  19. 2026Native Multi-Dimensional Subquadratic Operators via Input Dependent Long Convolutionscited by 0
  20. 2026X-Stage: Modeling Post-Issue Backpressure in GPU Communication--Computation Fusioncited by 0
  21. 2026ROCS: Request-Oriented Compute Sharing for Efficient Large-Scale Recommendationcited by 0
  22. 2026WIDE: Boosting Adaptive LLM Inference via Token-level Dynamic Width Pruningcited by 0
  23. 2026Energy-Efficient LLM Serving via Disaggregated Attention--FFN and Flexible Frequency Scalingcited by 0
  24. 2026ATFlash: Per-RoPE-Wavelength Attention Windows for Compute/Memory-Efficient LLM Inferencecited by 0
  25. 2026Compute-Optimal Is Not Cluster-Optimal: Systems-Aware Scaling for Sparse Mixture-of-Expertscited by 0
  26. 2026DFM Mimir v1: An Open HRM Delivering Frontier Performance at 1B Parameters Using Only Permissible Post-Training Datacited by 0
  27. 2026Subzero matrix completion for sparse data analysis: large-scale learning of latent low-rank structurecited by 0
  28. 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Accelerationcited by 0
  29. 2026Redwood: A Frontier AI Accelerator Designed, Verified, and Deployed from Scratch in 2 Weeks by AIcited by 0
  30. 2026ClusterAttention: A training-free speedup of bidirectional attentioncited by 0
  31. 2026Almost Free State Prediction Separationcited by 0
  32. 2026Attention Quantization for Tabular Foundation Modelscited by 0
  33. 2026Block Parallelism For Efficient Distributed Long-Context Diffusion Language Model Trainingcited by 0
  34. 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attentioncited by 0
  35. 2026Flash-dLLM: IO-Aware KV Caching and Parallel Decoding for Fast, Memory-Efficient Diffusion LLMscited by 0
  36. 2026Benchmarking Attention for Tabular Foundation Modelscited by 0
  37. 2026FoldAttention: Declared-Reference Softmax for Fast Decode and Deterministic Backwardcited by 0
  38. 2026Approximating Softmax in Pretrained LLMs: Model Sensitivity and Kernel Accelerationcited by 0

50 most cited of 58 All 58 (JSON)