Sparse Video-Gen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity
Haocheng Xi, Shuo Yang, Yilong Zhao, Chenfeng Xu, Muyang Li, Xiuyu Li, Yujun Lin, Han Cai, Jintao Zhang, Dacheng Li, Jianfei Chen, Ion Stoica
摘要
Diffusion Transformers (DiTs) dominate video generation but their high computational cost severely limits real-world applicability, usually requiring tens of minutes to generate a few seconds of video even on high-performance GPUs. This inefficiency primarily arises from the quadratic computational complexity of 3D full attention with respect to the context length. In this paper, we propose a training-free framework termed Sparse VideoGen (SVG) that leverages the inherent sparsity in 3D full attention to boost inference efficiency. We reveal that the attention heads can be dynamically classified into two groups depending on distinct sparse patterns: (1) Spatial Head, where only spatially-related tokens within each frame dominate the attention output, and (2) Temporal Head, where only temporally-related tokens across different frames dominate. Based on this insight, SVG proposes an online profiling strategy to capture the dynamic sparse patterns and predicts the type of attention head. Combined with a novel hardware-efficient tensor layout transformation and customized kernel implementations, SVG achieves up to 2.28× end-to-end speedup on CogVideoX-v1.5, 2.33× on Hunyuan-Video, while preserving generation quality. Our code is open-sourced at https://github.com/svgproject/Sparse-VideoGen .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 91 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Training 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Training 引用了 Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation
- Scalable Diffusion Models with Transformers 引用了 Denoising Diffusion Probabilistic Models
- Scalable Diffusion Models with Transformers 引用了 Denoising Diffusion Implicit Models
- Frame Context Packing and Drift Prevention in Next-Frame-Prediction Video Diffusion Models 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Mixture of Contexts for Long Video Generation 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Mixture of Contexts for Long Video Generation 引用了 Scalable Diffusion Models with Transformers
- SANA-Video: Efficient Video Generation with Block Linear Diffusion Transformer 引用了 Scalable Diffusion Models with Transformers
- SANA-Video: Efficient Video Generation with Block Linear Diffusion Transformer 引用了 Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation 引用了 SANA-Video: Efficient Video Generation with Block Linear Diffusion Transformer
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation 引用了 Mixture of Contexts for Long Video Generation
- Denoising Diffusion Implicit Models 引用了 Denoising Diffusion Probabilistic Models
引用它的顶会 Paper91
- Frame Context Packing and Drift Prevention in Next-Frame-Prediction Video Diffusion ModelsLvmin Zhang, Shengqu Cai, Muyang Li, Gordon Wetzstein 等NeurIPS 2025 · 132 次引用
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware PermutationShuo Yang, Haocheng Xi, Yilong Zhao, Muyang Li 等NeurIPS 2025 · 114 次引用
- SANA-Video: Efficient Video Generation with Block Linear Diffusion TransformerJunsong Chen, Yuyang Zhao, Jincheng Yu, Ruihang Chu 等ICLR 2026 · 96 次引用
- Mixture of Contexts for Long Video GenerationShengqu Cai, Ceyuan Yang, Lvmin Zhang, Yuwei Guo 等ICLR 2026 · 92 次引用
- SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit TrainingJintao Zhang, Jia Wei, Haoxu Wang, Pengle Zhang 等NeurIPS 2025 · 81 次引用
它引用的 Paper38
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 次引用
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- ViViT: A Video Vision TransformerAnurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun 等ICCV 2021 · 2,947 次引用
相关 Paper
- Attention Sparsity is Input-Stable: Training-Free Sparse Attention for Video Generation via Offline Sparsity Profiling and Online QK Co-ClusteringJiayi Luo, Jiayu Chen, Jiankun Wang, Cong Wang 等ICML 2026 · 5 次引用
- Sparse-vDiT: Unleashing the Power of Sparse Attention to Accelerate Video Diffusion TransformersPengtao Chen, Xianfang Zeng, Maosen Zhao, Mingzhu Shen 等AAAI 2026
- DFSAttn: Dynamic Fine-grained Sparse Attention for Efficient Video GenerationJie Hu, Zixiang Gao, Yutong He, Kun YuanICML 2026
- Dynamic Sparsity in Large-Scale Video DiT TrainingXin Tan, Yuetao Chen, Yimin Jiang, Xing Chen 等ASPLOS 2026 · 1 次引用
- Faster Video Diffusion with Trainable Sparse AttentionPeiyuan Zhang, Yongqi Chen, Haofeng Huang, Will Lin 等NeurIPS 2025 · 6 次引用
