mlsanityData to 7 Oct 2026

Trainable Log-linear Sparse Attention for Efficient Diffusion Transformers

arXiv 2512.16615 ↗First posted 18 Dec 2025cs.CVcited by 6

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

  1. 2025SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attention28 Sep
  2. 2025VMoBA: Mixture-of-Block Attention for Video Diffusion Models30 Jun
  3. 2025Radial Attention: O(nlog n) Sparse Attention with Energy Decay for Long Video Generation24 Jun
  4. 2025Sparse-vDiT: Unleashing the Power of Sparse Attention to Accelerate Video Diffusion Transformers3 Jun
  5. 2025Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation24 May
  6. 2025Training-Free Efficient Video Generation via Dynamic Token Carving22 May
  7. 2025VSA: Faster Video Diffusion with Trainable Sparse Attention19 May
  8. 2025Training-free and Adaptive Sparse Attention for Efficient Long Video Generation28 Feb
  9. 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity3 Feb

Other references · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  4. 2022Scalable Diffusion Models with Transformerscited by 5,931
  5. 2022Flow Matching for Generative Modelingcited by 5,426
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  7. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
  10. 2016Improved Techniques for Training GANscited by 2,938
  11. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  12. 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 2,536
15 more
  1. 2020Reformer: The Efficient Transformercited by 1,658
  2. 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 707
  3. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
  4. 2023Simple diffusion: End-to-end diffusion for high resolution imagescited by 413
  5. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
  6. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
  7. 2023On the Importance of Noise Scheduling for Diffusion Modelscited by 193
  8. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
  9. 2024Scalable High-Resolution Pixel-Space Image Synthesis with Hourglass Diffusion Transformerscited by 116
  10. 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 113
  11. 2025PixelFlow: Pixel-Space Generative Models with Flowcited by 91
  12. 2025PixNerd: Pixel Neural Field Diffusioncited by 75
  13. 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
  14. 2025Log-Linear Attentioncited by 39
  15. 2022Multi Resolution Analysis (MRA) for Approximate Self-Attentioncited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Training-free sparse attention based on cumulative energy filtering
  2. 2026SALAD: Achieve High-Sparsity Attention via Efficient Linear Attention Tuning for Video Diffusion Transformer
  3. 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformers
  4. 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attention
  5. 2025FlashOmni: A Unified Sparse Attention Engine for Diffusion Transformers
  6. 2026MC-Sparse: Deconstructing and Closing the Dense-Sparse Attention Gap in Diffusion Transformers
  7. 2026LVSA: Training-Free Sparse Attention for Long Video Diffusion
  8. 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models