Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation

About

Diffusion Transformers (DiTs) are essential for video generation but suffer from significant latency due to the quadratic complexity of attention. By computing only critical tokens, sparse attention reduces computational costs and offers a promising acceleration approach. However, we identify that existing methods fail to approach optimal generation quality under the same computation budget for two reasons: (1) Inaccurate critical token identification: current methods cluster tokens based on position rather than semantics, leading to imprecise aggregated representations. (2) Excessive computation waste: critical tokens are scattered among non-critical ones, leading to wasted computation on GPUs, which are optimized for processing contiguous tokens. In this paper, we propose SVG2, a training-free framework that maximizes identification accuracy and minimizes computation waste, achieving a Pareto frontier trade-off between generation quality and efficiency. The core of SVG2 is semantic-aware permutation, which clusters and reorders tokens based on semantic similarity using k-means. This approach ensures both a precise cluster representation, improving identification accuracy, and a densified layout of critical tokens, enabling efficient computation without padding. Additionally, SVG2 integrates top-p dynamic budget control and customized kernel implementations, achieving up to 2.30x and 1.89x speedup while maintaining a PSNR of up to 30 and 26 on HunyuanVideo and Wan 2.1, respectively. Our code is open-sourced at \href{https://github.com/svg-project/Sparse-VideoGen}{https://github.com/svg-project/Sparse-VideoGen}.

Shuo Yang, Haocheng Xi, Yilong Zhao, Muyang Li, Jintao Zhang, Han Cai, Yujun Lin, Xiuyu Li, Chenfeng Xu, Kelly Peng, Jianfei Chen, Song Han, Kurt Keutzer, Ion Stoica• 2025

Related benchmarks

TaskDatasetResultRank
Video GenerationVBench--
102
Rolling-ForcingLongVBench
VBench Score34.66
15
Video GenerationLongVGenBench LongVie2 (test)
LongVGenBench Score25.65
15
Video GenerationVBench v1 (test)
Latency (s)21.38
13
Video GenerationVBench and Vision Reward Mixkit 2000 videos
SC90.75
9
Video GenerationWan2.1-1.3B 4-step distilled
VBench0.823
6
Video GenerationVBench Wan 2.1 training-free 14B
VBench Aesthetic Score0.6614
6
Video GenerationVBench
VBench Score65.78
6
Video GenerationVBench Wan 2.1 training-free 1.3B
VBench Aesthetics Score (Aes.)0.6185
6
Video GenerationWan 1.3B 50-step base 2.1
PSNR14.625
5
Showing 10 of 14 rows

Other info

Follow for update