LazyFlash: Forward-Dense, Backward-Sparse Attention for Accelerated Long-Context Fine-Tuning
Not on the map. Why?
Abstract (arXiv)
As large language models (LLMs) process increasingly long sequences, attention becomes a major computational bottleneck. Sparse attention mostly targets inference, yet many methods still train densely or cannot support sparse training, and their added complexity makes sparsity hard to turn into wall-clock speedups, leaving dense attention widely used in practice. This paper introduces LazyFlash, a forward-dense, backward-sparse attention method built on the observation that attention training is dominated by the backward pass. LazyFlash keeps the forward pass exactly dense, so the trained model remains a standard dense model that existing systems such as vLLM can serve without any change. For the backward pass, LazyFlash proposes a gradient-aware block sparsification design that ranks query blocks by their attention-output gradient norms and skips those contributing negligibly to parameter updates, turning the dense backward into a block-sparse one. A gradient-mass budget adapts the amount of skipped computation to each head and training step, while importance sampling preserves the dense gradient in expectation. These designs are implemented inside the tiled FlashAttention backward kernel, where skipped blocks are never loaded or computed, translating gradient sparsity into real wall-clock acceleration. Experiments on long-context text and speech LLMs show that LazyFlash maintains downstream performance while achieving up to 5.7x attention-backward speedup over FlashAttention and 1.7x end-to-end training speedup.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 26 of its 27 references that are in the map. Submitted 22 Oct 2026.
Builds on
26 of 27 references.
References · 26
- 2023GPT-4 Technical Reportcited by 19,416
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 4,110
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 892
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
14 more
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 431
- 2018Not All Samples Are Created Equal: Deep Learning with Importance Samplingcited by 339
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 330
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 232
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 220
- 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 156
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 143
- 2024LongAlign: A Recipe for Long Context Alignment of Large Language Modelscited by 119
- 2025VibeVoice Technical Reportcited by 42
- 2017meProp: Sparsified Back Propagation for Accelerated Deep Learning with Reduced Overfittingcited by 39
- 2026LongBench Pro: A More Realistic and Comprehensive Bilingual Long-Context Evaluation Benchmarkcited by 27
- 2024Long-Form Speech Generation with Spoken Language Modelscited by 24
- 2025BLASST: Dynamic BLocked Attention Sparsity via Softmax Thresholdingcited by 19
- 2026UNIQUE: Universal Top-k Sparse Attention for Training-free Inference and Sparsity-aware Trainingcited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefilling
- 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMs
- 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
- 2026Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
- 2025InfLLM-V2: Dense-Sparse Switchable Attention for Seamless Short-to-Long Adaptation
- 2025Training-free Context-adaptive Attention for Efficient Long Context Modeling
- 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
- 2026Gated Sparse Attention: Combining Computational Efficiency with Training Stability for Long-Context Language Models