FantasticML

Tasks

ML systems & efficiency

Video Sparse Attention

Much faster video generation with no retraining, staying close to the full-attention result.

5 of 7 agents stand above the best published method, Sol-Attn

Collage for Video Sparse Attention

The question

With a pretrained video diffusion transformer, its sampler and every layer except self-attention fixed, design a training-free self-attention algorithm (which query-key blocks to compute, at what precision and with which kernel, and where in the steps and blocks to stay exact) that makes the whole denoising loop faster while the videos stay at least as close to the dense-attention videos as with today's best training-free methods.

Built on
Wan-Video/Wan2.1
Reference methods
11 implementations of published methods
Scored settings
3
Verifying one submission
8×H100, 3.1 h, 25 H100-h

The published methods

The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.

Sol-Attnskips key blocks during the attention computation itself, on Morton-ordered tokensbest published method

Li et al., 2026. Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsification. arXiv preprint.

The implementation comes with the benchmark's release.

PISApiecewise sparse attention kernel at one-eighth block density

Li et al., 2026. PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformers. arXiv preprint.

The implementation comes with the benchmark's release.

DFSAttnHilbert-ordered tile scores pick top key blocks, refreshed every few steps

Hu et al., 2026. DFSAttn: Dynamic Fine-grained Sparse Attention for Efficient Video Generation. Proceedings of the 43rd International Conference on Machine Learning.

The implementation comes with the benchmark's release.

Radial Attentionstatic mask whose spatial window shrinks as frame distance grows

Li et al., 2025. Radial Attention: O(n log n) Sparse Attention with Energy Decay for Long Video Generation. Advances in Neural Information Processing Systems 38: Annual Conference on Neural Information Processing Systems 2025, NeurIPS 2025, San Diego, CA, USA, December 2-7, 2025 / Mexico City, Mexico, November 30 - December 5, 2025.

The implementation comes with the benchmark's release.

SPADEper-head 3D block shapes, with block pairs scored by max-min bounds

Liu et al., 2026. SPADE: An Input-Adaptive Sparse Attention Engine for Fast Video Diffusion Models Inference. Proceedings of the 63rd ACM/IEEE Design Automation Conference.

The implementation comes with the benchmark's release.

SVOOoffline per-layer sparsity profiles with online co-clustering of queries and keys

Luo et al., 2026. Attention Sparsity is Input-Stable: Training-Free Sparse Attention for Video Generation via Offline Sparsity Profiling and Online QK Co-Clustering. Proceedings of the 43rd International Conference on Machine Learning.

The implementation comes with the benchmark's release.

SageAttention2dense attention with quantised matmul operands after outlier smoothing

Zhang et al., 2025. SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantization. Proceedings of the 42nd International Conference on Machine Learning.

The implementation comes with the benchmark's release.

Sparse VideoGenper-head choice between a spatial and a temporal band pattern

Xi et al., 2025. Sparse Video-Gen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity. Proceedings of the 42nd International Conference on Machine Learning.

The implementation comes with the benchmark's release.

Sparse VideoGen2clusters queries and keys by k-means, computing only high-attention cluster pairs

Yang et al., 2025. Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation. Advances in Neural Information Processing Systems.

The implementation comes with the benchmark's release.

SVG-EARclustered sparse attention with centroid compensation and error-aware routing

Zhou et al., 2026. SVG-EAR: Parameter-Free Linear Compensation for Sparse Video Generation via Error-aware Routing. Computer Vision – ECCV 2026.

The implementation comes with the benchmark's release.

SpargeAttentionblock selection from mean-pooled queries and keys, on a quantised kernel

Zhang et al., 2025. SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inference. Proceedings of the 42nd International Conference on Machine Learning.

The implementation comes with the benchmark's release.

The starter and the controls

Dense attentionexact attention between all tokens, nothing skipped or approximatedstarter

Shah et al., 2024. FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision. Advances in Neural Information Processing Systems.

The implementation comes with the benchmark's release.

Random block sparsitykey blocks kept at random, showing sparsity without any selection rulecontrol

The implementation comes with the benchmark's release.

The environment

A method writes the self-attention call of every transformer block of Wan2.1: which query-key blocks it computes, at what precision, with which kernel, and in which steps and blocks it stays exact. The weights, cross-attention, sampler, guidance, resolution, video length and number of steps are held fixed, and no attention outputs, hidden states, keys or values may be carried from one step to the next.

This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.

Workspace

The task prompt

The task prompt

The task prompt and the task's code come with the benchmark's release.

Results

The scored settings

  1. ① Wan2.1-T2V-14B, 1280×720 · 81 frames, 50 steps
  2. ② Wan2.1-T2V-14B, 1280×720 · 81 frames, 25 steps
  3. ③ Wan2.1-T2V-1.3B, 832×480 · 81 frames, 50 steps

Each scored by the speed-up of the whole denoising loop over exact dense attention, with the generated videos required to stay close to the dense-attention videos (PSNR, LPIPS, VBench quality).

The order

Every method of the task, best first, with its task score out of 100.

  1. Gemini 4 Carbon28.5
  2. Claude Fable 5.226.6
  3. Qwen4-Max22.6
  4. Claude Opus 5.522.1
  5. GPT-6.2 Astra21.7
  6. Sol-Attn best published method20.5
  7. Muse Wonder Full18.3
  8. Kimi K3.1 Pro18.0
  9. PISA17.0
  10. DFSAttn11.0
  11. Radial Attention10.4
  12. SPADE9.7
  13. SVOO5.0
  14. SageAttention24.3
  15. Sparse VideoGen3.1
  16. Sparse VideoGen23.0
  17. SVG-EAR1.5
  18. Dense attention starter0.0
  19. Random block sparsity control0.0
  20. SpargeAttention0.0

The measurements

Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.

Claude Fable 5.2Claude Opus 5.5GPT-6.2 AstraGemini 4 CarbonMuse Wonder FullKimi K3.1 ProQwen4-Maxpublished methodsthe best published method of the task

Denoising speed-up ↑ higher is better

Wall-clock speed-up of the whole denoising loop over exact dense attention on FlashAttention-3.

① Wan2.1-T2V-14B, 1280×720 · 81 frames, 50 stepshigher is better ↑
Gemini 4 Carbon1.516
Claude Fable 5.21.473
PISA1.414
Qwen4-Max1.414
GPT-6.2 Astra1.410
Sol-Attn1.363
Muse Wonder Full1.362
SpargeAttention1.350
Kimi K3.1 Pro1.335
DFSAttn1.309
SPADE1.256
Radial Attention1.237
SVOO1.153
Sparse VideoGen21.099
01.516

4 more reference methods are in the numbers below.

② Wan2.1-T2V-14B, 1280×720 · 81 frames, 25 stepshigher is better ↑
Gemini 4 Carbon1.514
Claude Fable 5.21.467
PISA1.417
Qwen4-Max1.417
Sol-Attn1.361
SpargeAttention1.350
GPT-6.2 Astra1.339
Kimi K3.1 Pro1.320
DFSAttn1.305
SPADE1.269
Muse Wonder Full1.253
Radial Attention1.238
SVOO1.128
Sparse VideoGen1.091
01.514

4 more reference methods are in the numbers below.

③ Wan2.1-T2V-1.3B, 832×480 · 81 frames, 50 stepshigher is better ↑
Gemini 4 Carbon1.287
Claude Fable 5.21.284
GPT-6.2 Astra1.246
Qwen4-Max1.230
Sol-Attn1.226
Muse Wonder Full1.218
PISA1.207
Kimi K3.1 Pro1.189
DFSAttn1.188
SpargeAttention1.173
Radial Attention1.075
SPADE1.056
SageAttention21.045
Dense attention1.000
01.287

4 more reference methods are in the numbers below.

The numbers
Method①②③
Gemini 4 Carbon1.5161.5141.287
Claude Fable 5.21.4731.4671.284
Qwen4-Max1.4141.4171.230
GPT-6.2 Astra1.4101.3391.246
Sol-Attn1.3631.3611.226
Muse Wonder Full1.3621.2531.218
Kimi K3.1 Pro1.3351.3201.189
PISA1.4141.4171.207
DFSAttn1.3091.3051.188
Radial Attention1.2371.2381.075
SPADE1.2561.2691.056
SVOO1.1531.1280.967
SageAttention21.0781.0771.045
Sparse VideoGen1.0901.0910.991
Sparse VideoGen21.0991.0670.879
SVG-EAR1.0571.0270.793
Dense attention1.0001.0011.000
Random block sparsity1.8341.8361.425
SpargeAttention1.3501.3501.173

PSNR to dense videos ↑ higher is better

Peak signal-to-noise ratio in dB between the generated videos and the dense-attention videos from the same noise.

① Wan2.1-T2V-14B, 1280×720 · 81 frames, 50 stepshigher is better ↑
GPT-6.2 Astra32.79
Claude Fable 5.229.16
SVG-EAR26.63
Kimi K3.1 Pro26.29
SVOO24.94
Gemini 4 Carbon24.80
Muse Wonder Full24.72
Sparse VideoGen224.31
SPADE24.27
DFSAttn24.17
Sol-Attn23.96
Radial Attention23.49
SageAttention223.47
Qwen4-Max22.48
032.79

3 more reference methods are in the numbers below.

Dense attention is what this measurement compares each method with, so it is not drawn.

② Wan2.1-T2V-14B, 1280×720 · 81 frames, 25 stepshigher is better ↑
GPT-6.2 Astra32.82
Claude Fable 5.229.30
Kimi K3.1 Pro27.86
SVG-EAR26.43
SPADE26.40
Muse Wonder Full25.99
SVOO25.54
DFSAttn25.16
Gemini 4 Carbon24.84
Sparse VideoGen224.81
Sol-Attn24.47
Radial Attention24.25
SageAttention223.20
Qwen4-Max22.93
032.82

3 more reference methods are in the numbers below.

Dense attention is what this measurement compares each method with, so it is not drawn.

③ Wan2.1-T2V-1.3B, 832×480 · 81 frames, 50 stepshigher is better ↑
GPT-6.2 Astra28.45
Claude Fable 5.225.52
SVG-EAR24.00
Kimi K3.1 Pro23.90
SageAttention222.57
SVOO21.35
Gemini 4 Carbon21.07
Muse Wonder Full20.83
Qwen4-Max20.80
Sol-Attn20.54
PISA20.33
SPADE20.20
Radial Attention20.07
Sparse VideoGen219.99
028.45

3 more reference methods are in the numbers below.

Dense attention is what this measurement compares each method with, so it is not drawn.

The numbers
Method①②③
Gemini 4 Carbon24.8024.8421.07
Claude Fable 5.229.1629.3025.52
Qwen4-Max22.4822.9320.80
GPT-6.2 Astra32.7932.8228.45
Sol-Attn23.9624.4720.54
Muse Wonder Full24.7225.9920.83
Kimi K3.1 Pro26.2927.8623.90
PISA22.3223.0720.33
DFSAttn24.1725.1618.35
Radial Attention23.4924.2520.07
SPADE24.2726.4020.20
SVOO24.9425.5421.35
SageAttention223.4723.2022.57
Sparse VideoGen22.0922.4117.23
Sparse VideoGen224.3124.8119.99
SVG-EAR26.6326.4324.00
Dense attention100.0100.0100.0
Random block sparsity9.9549.9997.265
SpargeAttention14.2315.6115.15

LPIPS to dense videos ↓ lower is better

Learned perceptual distance between the generated videos and the dense-attention videos from the same noise.

① Wan2.1-T2V-14B, 1280×720 · 81 frames, 50 stepslower is better ↓
GPT-6.2 Astra0.021
Claude Fable 5.20.049
SVG-EAR0.065
Kimi K3.1 Pro0.073
Gemini 4 Carbon0.095
SVOO0.097
Muse Wonder Full0.098
Sparse VideoGen20.106
Sol-Attn0.113
DFSAttn0.118
SageAttention20.126
SPADE0.135
Radial Attention0.150
Qwen4-Max0.155
00.155

3 more reference methods are in the numbers below.

Dense attention is what this measurement compares each method with, so it is not drawn.

② Wan2.1-T2V-14B, 1280×720 · 81 frames, 25 stepslower is better ↓
GPT-6.2 Astra0.033
Claude Fable 5.20.066
Kimi K3.1 Pro0.082
SVG-EAR0.094
Muse Wonder Full0.111
SPADE0.115
SVOO0.116
Sparse VideoGen20.130
Gemini 4 Carbon0.132
DFSAttn0.133
Sol-Attn0.143
Radial Attention0.154
SageAttention20.178
Qwen4-Max0.193
00.193

3 more reference methods are in the numbers below.

Dense attention is what this measurement compares each method with, so it is not drawn.

③ Wan2.1-T2V-1.3B, 832×480 · 81 frames, 50 stepslower is better ↓
GPT-6.2 Astra0.046
Claude Fable 5.20.081
Kimi K3.1 Pro0.105
SVG-EAR0.111
SageAttention20.140
SVOO0.160
Gemini 4 Carbon0.168
Muse Wonder Full0.175
Sol-Attn0.180
Qwen4-Max0.181
Radial Attention0.197
PISA0.204
SPADE0.208
Sparse VideoGen20.212
00.212

3 more reference methods are in the numbers below.

Dense attention is what this measurement compares each method with, so it is not drawn.

The numbers
Method①②③
Gemini 4 Carbon0.0950.1320.168
Claude Fable 5.20.0490.0660.081
Qwen4-Max0.1550.1930.181
GPT-6.2 Astra0.0210.0330.046
Sol-Attn0.1130.1430.180
Muse Wonder Full0.0980.1110.175
Kimi K3.1 Pro0.0730.0820.105
PISA0.1500.1860.204
DFSAttn0.1180.1330.306
Radial Attention0.1500.1540.197
SPADE0.1350.1150.208
SVOO0.0970.1160.160
SageAttention20.1260.1780.140
Sparse VideoGen0.1670.2120.324
Sparse VideoGen20.1060.1300.212
SVG-EAR0.0650.0940.111
Dense attention000
Random block sparsity0.8160.8440.875
SpargeAttention0.4330.4520.383

VBench quality ↑ higher is better

VBench quality score of the generated videos.

① Wan2.1-T2V-14B, 1280×720 · 81 frames, 50 stepshigher is better ↑
Sol-Attn83.49
Kimi K3.1 Pro83.41
SageAttention283.39
Gemini 4 Carbon83.37
Dense attention83.34
GPT-6.2 Astra83.30
Muse Wonder Full83.26
Claude Fable 5.283.18
Sparse VideoGen283.14
SVG-EAR83.08
DFSAttn83.03
SPADE82.99
Radial Attention82.98
Qwen4-Max82.93
82.6583.49

The bars start at 82.65, not at zero.

4 more reference methods are in the numbers below.

② Wan2.1-T2V-14B, 1280×720 · 81 frames, 25 stepshigher is better ↑
Muse Wonder Full82.64
Sparse VideoGen82.41
GPT-6.2 Astra82.29
PISA82.21
Qwen4-Max82.16
Kimi K3.1 Pro82.10
Sol-Attn82.08
Claude Fable 5.281.99
Dense attention81.94
SageAttention281.80
Radial Attention81.72
Gemini 4 Carbon81.41
DFSAttn81.38
SPADE81.35
80.7082.64

The bars start at 80.70, not at zero.

4 more reference methods are in the numbers below.

③ Wan2.1-T2V-1.3B, 832×480 · 81 frames, 50 stepshigher is better ↑
Dense attention83.68
Qwen4-Max83.58
Claude Fable 5.283.52
SageAttention283.51
GPT-6.2 Astra83.48
SpargeAttention83.41
Muse Wonder Full83.40
Kimi K3.1 Pro83.38
Gemini 4 Carbon83.33
PISA83.07
Sol-Attn83.04
Radial Attention83.02
SVOO82.93
SPADE82.67
82.1783.68

The bars start at 82.17, not at zero.

4 more reference methods are in the numbers below.

The numbers
Method①②③
Gemini 4 Carbon83.3781.4183.33
Claude Fable 5.283.1881.9983.52
Qwen4-Max82.9382.1683.58
GPT-6.2 Astra83.3082.2983.48
Sol-Attn83.4982.0883.04
Muse Wonder Full83.2682.6483.40
Kimi K3.1 Pro83.4182.1083.38
PISA82.8782.2183.07
DFSAttn83.0381.3880.63
Radial Attention82.9881.7283.02
SPADE82.9981.3582.67
SVOO82.7481.2682.93
SageAttention283.3981.8083.51
Sparse VideoGen82.9482.4182.56
Sparse VideoGen283.1480.9680.92
SVG-EAR83.0881.2782.43
Dense attention83.3481.9483.68
Random block sparsity69.0468.1963.15
SpargeAttention82.2380.1683.41

What the agents built

One run per model.

Claude Fable 5.2in Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Claude Opus 5.5in Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

GPT-6.2 Astrain Codex CLI
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Gemini 4 Carbonin Antigravity
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Muse Wonder Fullin Muse Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Kimi K3.1 Proin Kimi Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Qwen4-Maxin Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.