Video Diffusion Transformers have revolutionized high-fidelity video generation but suffer from the massive computational burden of self-attention. While sparse attention provides a promising acceleration solution, existing methods frequently provoke severe visual flickering caused by static sparsity patterns and deterministic block routing. To resolve these limitations, we propose Precision-Allocated Sparse Attention (PASA), a training-free framework designed for highly efficient and temporally smooth video generation. First, we implement a curvature-aware dynamic budgeting mechanism. By profiling the generation trajectory acceleration across timesteps, we elastically allocate the exact-computation budget to secure high-precision processing strictly during critical semantic transitions. Second, we replace global homogenizing estimations with hardware-aligned grouped approximations, successfully capturing fine-grained local variations while maintaining peak compute throughput. Finally, we incorporate a stochastic selection bias into the attention routing mechanism. This probabilistic approach softens rigid selection boundaries and eliminates selection oscillation, effectively eradicating the localized computational starvation that drives temporal flickering. Extensive evaluations on leading video diffusion models demonstrate that PASA achieves substantial inference acceleration while consistently producing remarkably fluid and structurally stable video sequences.
Figures & tables
Figure 1. Visual and quantitative comparison on Wan 2.1-T2V-1.3B (quality vs. efficiency). PASA (ours) matches the end-to-end speedup of PISA ( Piecewise Sparse Attention ) while improving PSNR over other sparse attention baselines. Left: PASA preserves continuous strap geometry; other sparse methods show discontinuities. Right: PASA avoids the anatomical distortion present in competing sparse methods.
Figure 2. Overview of PASA: dynamic top- k budgeting along the denoising trajectory, stochastic block scoring, and grouped first-order compensation for blocks in the unselected set. Architecture diagram summarizing the PASA sparse attention pipeline for Video Diffusion Transformers.
Figure 3. Mean L1 distance between predicted velocity fields at consecutive timesteps, averaged over prompts (per model).
Figure 4. Distribution of exact-computation selection counts across all blocks during the complete inference process of the Wan 2.1-T2V-1.3B model. Introducing a stochastic selection bias effectively redistributes the computational budget from the over-selected primary blocks located in the left region to the under-selected intermediate and background blocks located in the middle and right regions.
Model
Method
Sparsity
VBench (%) ↑
Similarity
Efficiency
T.F.
M.S.
A.Q.
SSIM ↑
PSNR ↑
LPIPS ↓
Latency ↓
Speedup ↑
Wan 2.1-1.3B Text-to-Video 480P
Dense
0.00%
97.36
98.27
66.34
–
–
–
121 s
1.00 ×
SVG2
84.5%
96.78
98.04
65.52
0.7765
21.52
0.1598
86 s
1.40 ×
PISA
85%
97.00
98.08
65.17
0.7286
19.66
0.2246
71 s
1.70 ×
PASA (Ours)
85%
97.06
98.12
65.33
0.7510
20.51
0.2028
71 s
1.70 ×
Wan 2.1-14B Text-to-Video 720P
Dense
0.00%
98.47
98.95
65.08
–
–
–
2786 s
1.00 ×
Table 1. Quantitative comparison of our proposed Precision-Allocated Sparse Attention against state-of-the-art sparse methods across diverse video diffusion models. The abbreviated metrics represent Temporal Flickering (T.F.), Motion Smoothness (M.S.), and Aesthetic Quality (A.Q.). Bolded numerical values indicate the best results, while underlined values denote the second-best results.
Figure 5. Quantitative validation of incremental and subtractive ablation studies evaluated on the Wan 2.1-T2V-1.3B model. The performance is assessed across eight distinct dimensions of video generation quality. Notably, Video Consistency explicitly represents the PSNR. To facilitate a clear and unified comparative visualization across disparate measurement scales, all raw metric scores are normalized using min–max scaling. In the legend, “Dynamic” denotes the curvature-aware dynamic budgeting; “Random” signifies the stochastic selection bias; and “Group” represents the grouped first-order approximation.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Figure 6. Visualization results of the generated videos.
Diffusion transformers have achieved remarkable success in high-quality video generation, yet their reliance on spatiotemporal 3D full attention incurs prohibitive computational cost due to the quadratic complexity of attention. Block sparse attention is a common approach to mitigate this by focusing computation on important regions. However, attention maps in DiTs exhibit inherently dynamic and fine-grained sparsity, which causes existing block sparse attention methods to degrade significantly in quality, especially at high sparsity ratios. In this paper, we revisit block sparse attention and derive a theoretical lower bound on attention recall to characterize the key factors governing its effectiveness. Guided by these insights, we propose DFSAttn, a training-free sparse attention framework that enables dynamic, fine-grained sparsification efficiently. DFSAttn incorporates three core designs: Hilbert curve-based token reordering to achieve fine-grained sparsity while preserving efficient GPU execution, hierarchical block scoring for accurate block importance estimation, and sparse mask caching with adaptive ratios to balance accuracy and efficiency. Experimental results demonstrate that DFSAttn consistently outperforms prior methods under high sparsity, achieving up to 2.1× end-to-end speedup while maintaining high generation quality. Our code is open-sourced and available at https://github.com/jessica-hujie/DFSAttn.
Diffusion Transformers (DiTs) dominate video generation but suffer from high inference cost due to the quadratic complexity of self-attention. Sparse attention mitigates this by skipping unnecessary computation in the attention matrix, but existing methods apply a fixed sparsity ratio throughout denoising and struggle to accurately determine which computations to skip. To address these limitations, we analyze attention dynamics through attention entropy and mean attention distance, and find that attention becomes increasingly concentrated across denoising steps. We further observe that blocks selected early continue to capture a large fraction of the total attention weight at later steps. These findings suggest two acceleration opportunities: the sparsity ratio should grow as denoising progresses, and earlier search results can be reused to reduce the search space. Based on these findings, we propose Growing Sparsity and Reduced Search (GSRS), a training-free framework that retains more computation early and progressively reduces it later, while restricting subsequent searches to an early candidate set to reduce search overhead. GSRS adopts Top-p selection for adaptive sparsity control, supported by a precise evaluation scheme that computes exact attention weights within the FlashAttention computation at negligible overhead. Experiments on HunyuanVideo and Wan 2.1 validate that GSRS achieves 1.55×--2.21× speedup while maintaining generation quality comparable to full attention.
While Diffusion Transformers (DiTs) have achieved notable progress in video generation, this long-sequence generation task remains constrained by the quadratic complexity inherent to self-attention mechanisms, creating significant barriers to practical deployment. Although sparse attention methods attempt to address this challenge, existing approaches either rely on oversimplified static patterns or require computationally expensive sampling operations to achieve dynamic sparsity, resulting in inaccurate pattern predictions and degraded generation quality. To overcome these limitations, we propose a Mixture-Of-Distribution DiT (MOD-DiT), a novel sampling-free dynamic attention framework that accurately models evolving attention patterns through a two-stage process. First, MOD-DiT leverages prior information from early denoising steps and adopts a {distributed mixing approach} to model an efficient linear approximation model, which is then used to predict mask patterns for a specific denoising interval. Second, an online block masking strategy dynamically applies these predicted masks while maintaining historical sparsity information, eliminating the need for repetitive sampling operations. Extensive evaluations demonstrate consistent acceleration and quality improvements across multiple benchmarks and model architectures, validating MOD-DiT's effectiveness for efficient, high-quality video generation while overcoming the computational limitations of traditional sparse attention approaches.
Yuxi Liu, Yipeng Hu, Zekun Zhang +2
Peking University · University of Electronic Science and Technology of China · University of Science and Technology of China