Trainable Log-linear Sparse Attention for Efficient Diffusion Transformers
On the map: Diffusion models → Video generation
Abstract (arXiv)
Diffusion Transformers (DiTs) set the state of the art in visual generation, yet their quadratic self-attention cost fundamentally limits scaling to long token sequences. Recent Top-K sparse attention approaches reduce the computation of DiTs by compressing tokens into block-wise representation and selecting a small set of relevant key blocks, but still suffer from (i) quadratic selection cost on compressed tokens and (ii) increasing K required to maintain model quality as sequences grow. We identify that their inefficiency is due to the single-level design, as a single coarse level is insufficient to represent the global structure. In this paper, we introduce Log-linear Sparse Attention (LLSA), a trainable sparse attention mechanism for extremely long token sequences that reduces both selection and attention costs from quadratic to log-linear complexity by utilizing a hierarchical structure. LLSA performs hierarchical Top-K selection, progressively adopting sparse Top-K selection with the indices found at the previous level, and introduces a Hierarchical KV Enrichment mechanism that preserves global context while using fewer tokens of different granularity during attention computation. To support efficient training, we develop a high-performance GPU implementation that uses only sparse indices for both the forward and backward passes, eliminating the need for dense attention masks. We evaluate LLSA on high-resolution pixel-space image generation without using patchification and VAE encoding. LLSA accelerates attention inference by 28.27x and DiT training by 6.09x on 256x256 pixel token sequences, while maintaining generation quality. The results demonstrate that LLSA offers a promising direction for training long-sequence DiTs efficiently. Code is available at: https://github.com/SingleZombie/LLSA
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Video generation, one of 14 directions in Diffusion models. Builds on 36 of its 46 references that are in the map. First posted on arXiv 18 Dec 2025.
Builds on
36 of 46 references.
Closest ancestors · 9
Same direction, newest first
- 2025SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attention28 Sep
- 2025VMoBA: Mixture-of-Block Attention for Video Diffusion Models30 Jun
- 2025Radial Attention: O(nlog n) Sparse Attention with Energy Decay for Long Video Generation24 Jun
- 2025Sparse-vDiT: Unleashing the Power of Sparse Attention to Accelerate Video Diffusion Transformers3 Jun
- 2025Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation24 May
- 2025Training-Free Efficient Video Generation via Dynamic Token Carving22 May
- 2025VSA: Faster Video Diffusion with Trainable Sparse Attention19 May
- 2025Training-free and Adaptive Sparse Attention for Efficient Long Video Generation28 Feb
- 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity3 Feb
Other references · 27
- 2017Attention Is All You Needcited by 59,932
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2022Flow Matching for Generative Modelingcited by 5,426
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
- 2016Improved Techniques for Training GANscited by 2,938
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 2,536
15 more
- 2020Reformer: The Efficient Transformercited by 1,658
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 707
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2023Simple diffusion: End-to-end diffusion for high resolution imagescited by 413
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
- 2023On the Importance of Noise Scheduling for Diffusion Modelscited by 193
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
- 2024Scalable High-Resolution Pixel-Space Image Synthesis with Hourglass Diffusion Transformerscited by 116
- 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 113
- 2025PixelFlow: Pixel-Space Generative Models with Flowcited by 91
- 2025PixNerd: Pixel Neural Field Diffusioncited by 75
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
- 2025Log-Linear Attentioncited by 39
- 2022Multi Resolution Analysis (MRA) for Approximate Self-Attentioncited by 11
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026SLA2: Sparse-Linear Attention with Learnable Routing and QATcited by 21
- 2026SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuningcited by 16
- 2026Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attentioncited by 9
- 2026Power-based Partial Attention: Bridging Linear-Complexity and Full Attentioncited by 0
- 2026UltraTex: Unleashing 2K Multi-View Diffusion for 3D Texturingcited by 0
- 2026Block Sparse Attention with Log-Linear Complexitycited by 0
- 2026Block Sparse Attention with Log-Linear Complexity25 Sep 2026
- 2026UltraTex: Unleashing 2K Multi-View Diffusion for 3D Texturing19 Sep 2026
- 2026SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuning13 Feb 2026
- 2026SLA2: Sparse-Linear Attention with Learnable Routing and QAT13 Feb 2026
- 2026Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attention4 Feb 2026
- 2026Power-based Partial Attention: Bridging Linear-Complexity and Full Attention24 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Training-free sparse attention based on cumulative energy filtering
- 2026SALAD: Achieve High-Sparsity Attention via Efficient Linear Attention Tuning for Video Diffusion Transformer
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformers
- 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attention
- 2025FlashOmni: A Unified Sparse Attention Engine for Diffusion Transformers
- 2026MC-Sparse: Deconstructing and Closing the Dense-Sparse Attention Gap in Diffusion Transformers
- 2026LVSA: Training-Free Sparse Attention for Long Video Diffusion
- 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models