Organizations: Shanghai Jiao Tong University · Huawei Technologies Co.,Ltd · Institute of Computing Technology, Chinese Academy of Science · Shanghai Qizhi Institute
Video diffusion transformers (vDiTs) have become the main backbone for video generation. The quadratic cost of self-attention limits their efficiency at high resolutions and long durations. Existing sparse attention methods often rely on preserving high attention weights. However, these criteria do not fully capture the fidelity of the final value-weighted output, whose error depends jointly on changes to the attention numerator and the softmax denominator. We propose NOVA, a coarse-to-fine sparse attention framework that first approximates the full normalized output using size-weighted key/value centroids. Building on this estimate, we construct a residual proxy that accounts for coupled numerator-denominator errors by centering value contributions around the estimated output. This proxy guides the selection of query-key blocks for refinement under a predefined block budget for each query cluster. Selected blocks are evaluated through exact token-level computation, while the remaining blocks contribute through their centroids under a shared softmax normalization. On five vDiTs, NOVA achieves the best PSNR, SSIM, and LPIPS among sparse attention methods, improving PSNR by up to 1.55,dB over the strongest baseline, while delivering up to 1.82× end-to-end speedup on an H100 GPU.
Figures & tables
Fig. 1 : Attention computation and two components relevant to sparse-output error. The blue box highlights value aggregation, while the orange box highlights the softmax normalizer.
Fig. 2 : Overview of Nova ( d=2 , 4 queries, 10 keys). \scriptsize1⃝ QK co-clustering partitions queries and keys into clusters Qi and Kj , summarized by centroids qˉi , kˉj , vˉj (Eq. ( 2 )). \scriptsize2⃝ Size-weighted centroid attention pij gives the coarse output O^i of each query cluster (Eq. ( 4 )). \scriptsize3⃝ Each block is scored by its estimated contribution to the normalized output error sij (Eq. ( 7 )). In this illustrative example, top- p determines the number of blocks selected for each query cluster; the full method uses a token-pair budget. \scriptsize4⃝ Selected blocks are computed exactly at token level, while each unselected block is approximated by a single centroid term. Both parts are summed in the same softmax numerator and denominator (Eq. ( 8 )).
Fig. 3 : Feature-space vs . attention-profile clustering. (a) Clustering queries and keys separately by feature similarity [ 34 ] produces blocks Bij with mixed attention scores, so skipping a block also removes important entries. (b) Co-clustering [ 19 ] by attention profiles (Eq. ( 3 )) groups tokens with similar attention patterns, so each block is either uniformly important or uniformly negligible.
Fig. 4 : Block selection by attention weight vs . output error on the example of Fig. 2 . Blocks with high attention weight are not necessarily the ones whose centroid approximation causes large error. Top- k selects by weight and SVG-EAR [ 44 ] ignores softmax renormalization, so both keep the wrong blocks. Nova selects by normalized output error and lowers the output MSE by about 560× .
Fig. 5 : Attention output error on real models. Error of Top- k , SVG-EAR, and Nova against full attention on five video models, with all methods keeping the same share of attention. Oracle greedily selects blocks using residual scores computed from exact token-level contributions and dense-attention outputs under the same target token-pair budget as Nova .
Model
Methods
Quality Metrics
Performance Metrics
PSNR ↑ (dB)
SSIM ↑
LPIPS ↓
VBench ↑ (%)
Attn. Speedup ↑
Latency ↓ (s)
Speedup ↑
FLOPs ↓ ( 1015 )
Memory ↓ (GB)
HunyuanVideo [ 15 ]
Original
-
-
-
82.70
-
1695.50
-
603.4
51.0
SVG [ 31 ]
25.79
0.823
0.188
82.48
1.90
1129.97
1.50
373.2
53.9
SVG2 [ 34 ]
29.08
0.875
0.112
82.76
2.46
981.30
1.73
258.5
56.3
SVOO [ 19 ]
30.20
0.897
0.090
82.68
2.49
976.76
1.74
255.9
56.4
SVG-EAR [ 44 ]
27.60
0.843
0.176
81.87
2.51
972.50
1.74
242.9
55.7
Table 1: Quantitative evaluation of our method, Nova , against state-of-the-art sparse attention methods [ 31 , 34 , 19 , 44 ] on five widely adopted vDiTs: HunyuanVideo [ 15 ] , Wan2.1-T2V-14B [ 28 ] , Wan2.2-T2V-A14B [ 29 ] , LingBot-Video-Dense-1.3B [ 20 ] , and LongCat-Video [ 21 ] . We annotate the best and second-best results among the sparse methods.
Fig. 6 : Qualitative comparison on HunyuanVideo [ 15 ] . The second row of each example zooms into the yellow box. Nova stays closest to dense attention and preserves fine details such as the hand and the cat’s face, while other sparse attention methods blur or distort them.
Reference Density
SVG
SVG2
SVOO
SVG-EAR
Nova
PSNR ↑
SSIM ↑
LPIPS ↓
Spd. ↑
PSNR ↑
SSIM ↑
LPIPS ↓
Spd. ↑
PSNR ↑
SSIM ↑
LPIPS ↓
Spd. ↑
PSNR ↑
SSIM ↑
LPIPS ↓
Spd. ↑
PSNR ↑
SSIM ↑
LPIPS ↓
Spd. ↑
∼ 20%
21.89
0.733
0.345
1.60 ×
26.18
0.846
0.151
1.85 ×
27.56
0.862
0.124
1.84 ×
26.02
0.804
0.311
1.88 ×
29.02
0.891
0.087
1.89 ×
∼ 22%
22.56
0.744
0.303
1.51 ×
26.23
0.849
0.144
1.79 ×
28.06
0.872
0.113
1.78 ×
26.19
0.809
0.295
1.80 ×
29.05
0.891
0.088
1.84 ×
∼ 25% †
25.79
0.823
0.188
1.50 ×
29.08
0.875
0.112
1.73 ×
30.20
0.897
0.090
1.74 ×
27.60
0.843
0.176
1.74 ×
31.46
0.909
0.082
1.82 ×
Table 2: Quality–speed trade-off on HunyuanVideo at three attention densities (720p, 129 frames, 50 steps; quality vs. Dense, end-to-end speedup). Density is approximate and measured over the sparse denoising steps. † Tbl. 1 setting.
Variant
Clustering
Block score
PSNR ↑
SSIM ↑
LPIPS ↓
SVG-EAR
k-means
Unnormalized error
21.05
0.718
0.169
SVG2 + our score
k-means
Normalized error
26.20
0.840
0.080
SVOO-EAR
Co-clustering
Unnormalized error
24.16
0.809
0.102
Nova
Co-clustering
Normalized error
26.34
0.844
0.078
Table 3: Ablation on Wan2.1-T2V-14B (720p, 81 frames, 50 steps; quality vs. Dense). All variants use centroid compensation and retain the same 25% of attention.
Fig. 7 : Quality and speedup of all methods on LingBot at three resolutions. Bars show PSNR and markers show end-to-end and attention speedup over the original model.
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
Fig. 8 : Accuracy of the first-order output-change approximation. Distribution of the relative ℓ2 error between the first-order approximation in Eq. ( 5 ) and the exact single-block output change across five video diffusion transformers. Markers and intervals indicate the median, 90th, and 99th percentiles.
Fig. 9 : Breakdown of attention time across models at 720p-class resolutions. Each bar is one sparse denoising step, normalized to its total attention time (%).
Fig. 10 : Breakdown of attention time across resolutions for LingBot-Video-Dense-1.3B.
Generation
Sparsity setting
Model
Res.
Frames
Steps
SVG
Others
Nova
HunyuanVideo
720p
129
50
0.30
0.9
0.8
Wan2.1
720p
81
50
0.45
0.9
0.8
Wan2.2
720p
81
40
0.45
0.9
0.8
LongCat
720p
93
50
0.30
0.9
0.8
LingBot
736p
121
40
0.30
0.9
0.8
Appendix
Table 4: Hyperparameters of the main evaluation (Tbl. 1 ). All methods keep full attention for the first 10 denoising steps and the first 3% of layers dense. All clustering-based methods use QC=256 query and KC=1024 key centroids with two clustering iterations per step, warm-started from the previous step. SVG is set by density; Others (SVG2, SVOO, SVG-EAR) and Nova are set by top- p . LingBot uses 736×1280 .
Density
SVG
SVG2
SVOO
SVG-EAR
Nova
∼ 20%
0.20
0.80
0.80
0.80
0.60
∼ 22%
0.25
0.85
0.85
0.85
0.75
∼ 25%
0.30
0.90
0.90
0.90
0.80
Appendix
Table 5: Settings of the density sweep on HunyuanVideo (Tbl. 2 ). SVG uses a fixed density; all other methods use top- p .
Model
Method
Subj. cons.
Bg. cons.
Temp. flick.
Motion smooth.
Dyn. deg.
Aesth.
Imag.
Overall cons.
Obj. class
Mult. obj.
Human act.
Color
Spatial
Scene
Temp. style
App. style
Quality
Semantic
Total
HunyuanVideo
Dense
95.70
96.89
99.75
99.44
65.66
61.42
64.77
24.26
90.63
71.64
94.40
91.43
69.40
52.27
23.54
21.08
84.31
76.24
82.70
SVG
95.45
96.74
99.86
99.32
62.36
62.52
63.87
24.61
85.85
71.32
95.61
90.58
67.92
58.93
23.08
21.11
84.00
76.43
82.48
SVG2
95.01
96.35
99.95
99.31
66.04
62.63
64.96
25.98
92.60
68.79
93.69
91.00
72.51
49.53
22.71
21.58
84.33
76.46
82.76
SVOO
97.04
96.91
99.77
99.44
63.17
61.24
65.17
23.17
92.60
73.91
95.80
87.80
67.93
52.45
22.93
20.93
84.41
75.75
82.68
SVG-EAR
93.93
96.92
99.73
99.57
67.61
60.14
60.91
26.49
90.19
73.29
90.81
83.24
73.59
44.60
24.20
21.81
83.42
75.66
81.87
Nova
96.36
96.87
99.81
99.14
67.44
60.64
64.84
22.65
89.96
72.90
96.89
92.62
74.76
52.33
23.48
20.73
84.32
76.67
82.79
Appendix
Table 6: Full VBench results (%) for all models and methods in Tbl. 1 . Dimensions are listed in the order of the VBench quality and semantic groups; Quality , Semantic , and Total are the aggregate scores. Total =(4⋅ Quality + Semantic )/5 . Bold: best among sparse methods within each model.
Video diffusion transformers generate high-quality videos, but the quadratic cost of 3D full attention dominates their inference. Dynamic block-sparse attention reduces this cost by computing exact attention only on key/value blocks selected from current activations. However, its fidelity degrades under aggressive sparsity: blocks are scored from coarse summaries or formed by costly global clustering, pruned blocks vanish from the softmax, and whole tiles are kept or dropped even when only a few of their keys matter. To address these limitations, we propose Accurate Block Attention (AB-Attention), a training-free method that accurately approximates dense attention at high sparsity. Its Intra-Block Clustering Selector (IBCS) estimates block importance faithfully yet cheaply by clustering queries only within each query block, without permuting tokens. Sampling with Inclusion-Probability Weighting (SIP) then samples blocks in proportion to these estimates and reweights them by inverse inclusion probability, so that one pass estimates dense attention rather than truncating it. Finally, its kernel gathers key/value blocks much smaller than a tile into full tensor-core tiles, refining selection at no extra tensor-core cost. On Wan2.1 and HunyuanVideo, AB-Attention skips 89--92% of attention, whereas the baselines compute 1.8--3.6× as much, yet it still improves PSNR by up to 4.4~dB over the strongest baseline and achieves up to 2.23× end-to-end speedup. Our code is available at https://github.com/InfRec-Cardinal/AB-Attention.
Bin Xu, Mo Zhang, Zhengfeiyang Zhang +6
InfRec · The Chinese University of Hong Kong, Shenzhen · Shandong University +5
Scaling Diffusion Transformers to generate high-resolution, long videos is constrained by the quadratic cost of self-attention, and existing sparse attention methods degrade under high sparsity. We show empirically that generation quality is determined not by the sparsity ratio itself, but by how well the sparse mask aligns with the tile-wise geometry of full attention. Based on this insight, we propose Veda, a distilled sparse attention framework that formulates tile selection as an explicit reconstruction problem from full attention. Veda integrates statistics-aware tile scoring with head-aware tiling to reduce estimation error and structural mismatch, enabling aggressive sparsity. A hardware-efficient tile-skipping kernel converts theoretical sparsity into practical wall-clock speedups. Experiments on large video diffusion models, including Waver and Wan2.1, demonstrate substantial acceleration with no noticeable degradation in generation quality. To generate 720P 10-second videos on Waver-T2V-12B, Veda achieves a 5.1× end-to-end speedup and a 10.5× self-attention speedup, reducing attention overhead from 92% to 50%. Notably, the gains increase with sequence length, indicating that Veda scales favorably with spatiotemporal resolution across models.
Shihao Han, Hao Yang, Xinting Hu +3
ByteDance Inc. · University of Science and Technology of China · The University of Hong Kong
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.