Partition the Support, Reconstruct the Residual: Training-Free Sparse Attention for Video Generation and World Models
Organizations: Texas A&M University
Abstract
Block-sparse attention accelerates video transformers by grouping queries and keys and computing attention only between selected groups. However, it faces two challenges: (1) queries sharing a block route may attend to different keys; and (2) retaining most attention mass does not necessarily preserve the attention output. We find that partition choice affects both the overlap among grouped queries' preferred supports and how well an affine function of the sparse output can represent the difference between dense and sparse outputs. We introduce SparsePR, a training-free method combining Response-Coupled Partitioning with Probe-Fitted Residual Reconstruction. We first group paired key/value tokens by how their keys respond to sampled queries. We then group queries by their responses to the resulting key-group centroids for shared sparse routing. We compute exact attention on a small set of query rows and fit an affine correction to the differences between their dense and sparse outputs using weighted ridge regression. The fitted map predicts a residual for each unprobed query, which we add to its sparse output. We measure attention-output error as the relative L2 error with respect to each query's dense output. Across four video generation and world models, SparsePR reduces this error, averaged over unprobed queries, by 61.6--90.5% compared with semantic block-sparse attention without residual correction, at 22% executed-pair density including exact probes. SparsePR achieves 1.48x--2.61x end-to-end speedups over dense attention, with dense-reference PSNR of 24.42--31.84 dB at 21.9--26.0% realized executed-pair density. Project page: https://pardistaghavi.github.io/SparsePR-website/
Figures & tables
| Dense-Reference Fidelity | VBench / VBench++ | PBench | Efficiency | |||||||
| Model | Method | PSNR | SSIM | LPIPS | ImgQual | SubCons | Quality | Density | PFLOPs | E2E Speedup |
| Content-generation video models | ||||||||||
| HunyuanVideo 13B, 720p Text-to-Video | Dense | – | – | – | 0.850 | 0.976 | – | 100.0% | 612.38 | 1.00 |
| SpargeAttn Zhang et al. (2025a) | 25.31 | 0.832 | 0.217 | 0.763 | 0.928 | – | 40.19% | 389.76 | 1.38 | |
| SVG2 Yang et al. (2026) | 29.87 | 0.907 | 0.121 | 0.850 | 0.927 | – | 25.45% | 299.02 | 2.30 | |
| SVOO Luo et al. (2026) | 24.87 | 0.843 | 0.224 | 0.679 | 0.976 | – | 33.26% | 345.81 | 2.17 | |
| Configuration | HunyuanVideo | Wan2.2 | Cosmos- Predict2.5 | Cosmos3-Nano |
| Partition construction, repair disabled | ||||
| Semantic partition | 0.089 / 0.714 | 0.164 / 1.734 | 0.791 / 7.532 | 0.359 / 3.356 |
| Key-response K/V partition | 0.085 / 0.812 | 0.156 / 1.659 | 0.769 / 7.270 | 0.341 / 3.174 |
| Response-coupled partition | 0.073 / 0.696 | 0.108 / 0.647 | 0.761 / 7.227 | 0.331 / 3.150 |
| Partition–repair interaction | ||||
| Semantic partition + probe repair | 0.053 / 0.356 | 0.105 / 0.819 | 0.262 / 0.826 | 0.124 / 0.668 |
| Configuration | HunyuanVideo | Wan2.2 | Cosmos- Predict2.5 | Cosmos3-Nano |
| Probe selection: full weighted ridge fixed | ||||
| Random probes | 0.039 / 0.235 | 0.080 / 0.356 | 0.075 / 0.503 | 0.083 / 0.467 |
| Uniform spatiotemporal probes | 0.037 / 0.246 | 0.089 / 0.394 | 0.090 / 0.543 | 0.096 / 0.549 |
| Query group stratified probes | 0.030 / 0.207 | 0.063 / 0.323 | 0.075 / 0.489 | 0.076 / 0.447 |
| Correction family: query group stratified probes fixed | ||||
| Mean-only | 0.043 / 0.362 | 0.089 / 0.455 | 0.350 / 3.538 | 0.191 / 1.376 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
| Requested query clusters | |
| Requested K/V clusters | |
| Metric query sampling budget per query head | |
| Initial / subsequent means iteration limits | |
| means convergence tolerance | |
| Key response rank |
| Model | ||
| HunyuanVideo | ||
| Wan2.2 | ||
| Cosmos-Predict2.5 | ||
| Cosmos3-Nano |
| Model | Per query RMS | Global RMS | Per query RMS + log magnitude |
| HunyuanVideo | 0.073 | 0.074 | 0.083 |
| Wan2.2 | 0.108 | 0.109 | 0.166 |
| Cosmos-Predict2.5 | 0.761 | 0.762 | 0.777 |
| Cosmos3-Nano | 0.331 | 0.332 | 0.337 |
| (a) Probe count with fixed and no output truncation | ||||
| Model | ||||
| HunyuanVideo | 0.037 | 0.034 | 0.030 | 0.027 |
| Wan2.2 | 0.080 | 0.071 | 0.063 | 0.057 |
| Cosmos-Predict2.5 | 0.118 | 0.092 | 0.075 | 0.065 |
| Cosmos3-Nano | 0.097 | 0.082 | 0.076 | 0.074 |
Sparse Attention
Sparse attention reduces the token interactions computed by Transformers to lower the cost of long-context modeling and inference.
See all 244 papers