SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuning
Jintao Zhang, Kai Jiang, Chendong Xiang, Weiqi Feng, Yuezhou Hu, Haocheng Xi, Shuo Yang, Mengfei Xia, Jianfei Chen, Jun Zhu
NeurIPS 2026
TL;DR. SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuning for Diffusion Models
Abstract. Many training-free sparse attention methods are effective for accelerating diffusion models. Recently, several works suggest that making sparse attention trainable can further increase sparsity while preserving generation quality. We study three key questions: (1) when do the two common masking rules, i.e., Top-k and Top-p, fail, and how can we avoid these failures? (2) why can trainable sparse attention reach higher sparsity than training-free methods? (3) what are the limitations of fine-tuning sparse attention using the diffusion loss, and how can we address them? Based on this analysis, we propose SpargeAttention2, a trainable sparse attention method that achieves high sparsity without degrading generation quality. SpargeAttention2 includes (i) a hybrid masking rule that combines Top-k and Top-p for more robust masking at high sparsity, (ii) an efficient trainable sparse attention implementation, and (iii) a distillation-inspired fine-tuning objective to better preserve generation quality during fine-tuning using sparse attention. Experiments on video diffusion models show that SpargeAttention2 reaches 95% attention sparsity and a attention speedup while maintaining generation quality, consistently outperforming prior sparse attention methods.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper received polarised but mostly positive reviews.
This paper basically proposed a new trainable Sparse Attention kernel with a hybrid top-k+top-p masking strategy plus velocity distillation for fine-tuning. The reviewers praised the deep analysis, clear writing, simplicity of method, promising experimental results, and practical contribution in implementing a custom kernel to support the proposed sparse attention mechanism.
The reviewers also raised questions regarding overall novelty (as most of the analysis/techniques are not considered new), presentation and interpretation of figures and tables, completeness of the evaluation metrics, limited representativeness/impact of case study, hyperparameter sensitivity, and how to justify and control the union-based sparsification masks.
i strongly recommend the authors to engage the review feedback and provide clarification to the standing questions.
Final justification
After the rebuttal most of the reviewers questions are resolved and the paper received three positive reviews.
Read meta-review
Meta-review
This paper received polarised but mostly positive reviews.
This paper basically proposed a new trainable Sparse Attention kernel with a hybrid top-k+top-p masking strategy plus velocity distillation for fine-tuning. The reviewers praised the deep analysis, clear writing, simplicity of method, promising experimental results, and practical contribution in implementing a custom kernel to support the proposed sparse attention mechanism.
The reviewers also raised questions regarding overall novelty (as most of the analysis/techniques are not considered new), presentation and interpretation of figures and tables, completeness of the evaluation metrics, limited representativeness/impact of case study, hyperparameter sensitivity, and how to justify and control the union-based sparsification masks.
i strongly recommend the authors to engage the review feedback and provide clarification to the standing questions.
Final justification
After the rebuttal most of the reviewers questions are resolved and the paper received three positive reviews.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents SpargeAttention2, a trainable sparse attention method for accelerating video diffusion models. It tackles the computational bottleneck of full attention by enabling high attention sparsity (up to 95%) while preserving generative quality.
The core contributions:
- Hybrid Top-k + Top-p Masking: Combines the merits of both strategies to mitigate the information loss or attention sink biases that occur at high sparsity levels.
- Velocity Distillation Loss: Addresses the model degradation typical of standard diffusion loss fine-tuning on limited data by using the original frozen full-attention model as a teacher.
- Efficient Sparse Kernel: Implements a custom kernel supporting both forward and backward passes, bridging the gap between theoretical sparsity and actual wall-clock speedup.
Empirical evaluations on Wan2.1 (1.3B and 14B) demonstrate significant end-to-end speedups with negligible quality degradation.
Strengths and weaknesses
Strengths:
-
Insightful Error Analysis: The paper provides a solid theoretical and empirical justification for why trainable sparse attention outperforms training-free methods.
-
Practical Engineering & System Contribution: This work provides a functional CUDA block-sparse kernel with backward pass support, making it genuinely useful for the community.
-
Clever Solution to Data Drift: Identifying that standard diffusion loss fine-tuning fails due to data distribution shift is an excellent catch. The introduction of Velocity Distillation elegantly bypasses the need for high-quality, proprietary pre-training data.
-
Impressive Scaling Results: Testing the method on large-scale open-source models like Wan2.1-14B proves that the method scales gracefully.
Weakness:
-
Hyperparameter Complexity: The Hybrid Masker introduces additional hyperparameters ( and ). The paper could be clearer on how sensitive the system is to the co-tuning of these two thresholds. If it requires meticulous per-layer or per-model grid search, the practical adoption might be hindered.
-
Evaluation Scope: Although Wan2.1 is a strong and current baseline, the paper would be stronger if the authors demonstrated generalizability across other distinct DiT architectures (e.g., CogVideoX or HunyuanVideo) to prove the method isn't overtuned to Wan's specific attention patterns.
Questions
-
Hyperparameter Selection Guide: How did you determine the optimal balance between and to hit the target 95% sparsity? Is there a universal heuristic or scheduling strategy (e.g., starting with lower sparsity and ramping up) that works across different model scales?
-
Generalization to Other Backbones: Can the proposed method generalize to other video diffusion backbones beyond Wan2.1, such as CogVideoX or HunyuanVideo? Additional experiments or discussions on cross-backbone transferability would strengthen the paper’s claim of robustness.
-
Minor Presentation Issue: In lines 147–148, the text refers to the two heatmaps as “(i)” and “(ii)”, while Figure 3 labels them as “(a)” and “(b)”. For consistency, “(i)” and “(ii)” should be changed to “(a)” and “(b)”.
Limitations
As illustrated in the weakness.
Final justification
The clarifications and additional experiments address my main concerns. Although a reviewer have raised concerns about novelty, noting that the individual components are relatively incremental, I believe their integration and the overall empirical performance are meaningful contributions to this area. Therefore, I will maintain my Accept rating.
Formatting concerns
None.
3 comments
Thank you for the detailed response. The clarifications and additional experiments address my main concerns, and I will maintain my original score.
One minor question: How large is the validation set used to calibrate , and how many calibration runs (or candidate values) are typically required?
Thank you for this question. We use 100 validation samples. We test one Top-p candidate per training-free run and typically reach the target model-wide average sparsity within five runs. No per-layer calibration is needed.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 1/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents SpargeAttention2, a trainable sparse attention method for accelerating video diffusion models. The paper first analyzes the failure modes of commonly used Top-k and Top-p attention masking: Top-k can discard useful information when attention is relatively uniform, while Top-p can over-focus on a few dominant tokens or attention sinks when the distribution is highly skewed. Based on this analysis, the authors propose a hybrid Top-k + Top-p masking strategy to obtain more robust sparse attention under high sparsity. The paper further shows that fine-tuning with sparse attention can make attention distributions more concentrated, enabling higher sparsity than training-free sparse attention methods. To preserve the behavior of the original full-attention model during fine-tuning, the authors introduce a velocity distillation objective, where the sparse-attention model is trained to match the predictions of a frozen full-attention teacher rather than directly optimizing the standard diffusion loss. Experiments on Wan2.1 video diffusion models show that SpargeAttention2 achieves high attention sparsity and substantial attention and end-to-end speedups while maintaining generation quality, outperforming prior sparse attention baselines.
Strengths and weaknesses
Strengths. The paper is clearly written and easy to follow. The motivation is well presented: the authors identify several practical challenges in applying sparse attention to video diffusion models, including the failure modes of Top-k and Top-p masking under high sparsity, the gap between training-free and trainable sparse attention, and the degradation caused by standard diffusion-loss fine-tuning under data distribution mismatch. The proposed system is also practically relevant, as it targets a real bottleneck in high-resolution video diffusion models and reports substantial attention and end-to-end speedups on Wan2.1 while maintaining competitive generation quality. The experimental section is reasonably comprehensive in comparing against several sparse attention baselines and includes ablations on masking design, trainability, and the distillation objective.
Weaknesses. My main concern is the limited novelty of the proposed method. The weaknesses of Top-k and Top-p selection are already fairly well understood in the community: Top-k can be suboptimal for flat distributions, while Top-p can over-select a small number of dominant tokens in highly skewed distributions. Thus, the analysis in Section 3 feels closer to a useful restatement of common intuition than a fundamentally new insight. It is also unclear whether the attention maps in Figures 2 and 3 are selected from real video diffusion attention maps or constructed/simulated examples. In particular, Figures 3(a) and 3(b) look visually very similar, making it difficult to directly see the claimed increase in attention sparsity after fine-tuning.
A second concern is that trainable sparse attention itself is not new. Prior work such as [1] has already explored trainable sparse attention for video diffusion models. The CUDA kernel implementation in Section 4.3 is important for practical speed, but by itself may be better viewed as an engineering contribution rather than a source of research novelty.
Finally, the proposed velocity distillation objective is reasonable but also conceptually close to standard teacher-student distillation. The issue of behavior drift caused by a gap between the teacher model and fine-tuning data distribution is also known in related distillation settings [2]. Moreover, the proposed method is not fully data-free: it still requires real video-text data to construct noisy latents (x_t), which are then fed to both the teacher and student. Since this calibration dataset is still different from the original Wan2.1 training set, it does not fully address the dataset gap problem.
[1] Zhang, Peiyuan, et al. "Faster video diffusion with trainable sparse attention." Advances in Neural Information Processing Systems 38 (2026): 152509-152534. [2] Tong, Shangyuan, et al. "Flow map distillation without data." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2026.
Questions
-
Are the attention maps in Figures 2 and 3 taken from real video diffusion model attention maps, or are they constructed/simulated examples? If they are real, please specify the model, layer, head, timestep, and prompt/video used.
-
Figures 3(a) and 3(b) look visually very similar. Could the authors provide a clearer visualization or quantitative evidence for the claimed increase in attention sparsity after fine-tuning, such as attention entropy, retained-block histograms, or sparsity/error curves before and after fine-tuning?
-
Table 3 shows that standard diffusion-loss fine-tuning degrades the full-attention model, but it does not include the proposed velocity distillation loss. Could the authors add the velocity distillation result under the same setting to directly demonstrate that it mitigates the data-distribution gap?
-
Tables 4 and 5 report selected VBench sub-metrics, but not the standard VBench Total Score, Semantic Score, or Quality Score. Could the authors provide the full VBench evaluation to rule out metric selection bias?
Limitations
yes
Final justification
The authors address my concern, I will raise the score to Borderline accept.
Formatting concerns
no formatting concern
4 comments
Rebuttal
Dear Reviewer,
Thank you for your valuable suggestions and questions. Below, we address each point raised.
W1. Section 3 Novelty; Figures 2 and 3 Origin and Clarity
Reply: Thank you for this insightful feedback. We respectfully argue that our contributions go beyond restating known intuition.
While the qualitative failure modes of Top-k and Top-p are broadly understood, Section 3 provides quantitative characterization of these failures with rigorous theoretical analysis. Building on this, we propose the hybrid Top-k ∪ Top-p masking in Sec. 4.1, which is, to our knowledge, the first such combination proposed for trainable sparse attention in video diffusion. We further demonstrate on real attention maps that this design directly addresses the failure cases of single-threshold methods at high sparsity, leading to clear gains in both quality and robustness.
In addition, the analysis in Cases 2 and 3 is also novel. Case 2 explains why trainable sparse attention outperforms training-free methods: fine-tuning sharpens the attention distribution, reducing both error terms in Eq. 6 at matched sparsity. Case 3 identifies why the standard diffusion loss is suboptimal for sparse-attention adaptation, which directly motivates our velocity distillation objective. Both are complementary contributions to the masker design.
For Figures 2 and 3, we took the attention maps directly from Wan2.1-T2V-1.3B inference with the prompt:
"A bustling city street at night, filled with the glow of car headlights and the ambient light of streetlights. The scene is a blur of motion, with cars speeding by and pedestrians navigating the crosswalks. The cityscape is a mix of towering buildings and illuminated signs, creating a vibrant and dynamic atmosphere. The perspective of the video is from a high angle, providing a bird's eye view of the street and its surroundings. The overall style of the video is dynamic and energetic, capturing the essence of urban life at night."
Details per subfigure:
Figure 2(a) (uniform): layer 0, head 8, timestep 585
Figure 2(b) (skewed): layer 19, head 0, timestep 585
Figure 3(a)/(b): layer 0, head 8, timestep 585
To address your concerns regarding Figure 3, we further provide three figures: entropy histogram, retained-block histogram, and a combined CDF/sparsity/error plot at https://anonymous.4open.science/r/Additional-Results-y5r4-3078/README.md together with the quantitative evidence below. We use the same configuration as Figure 3: layer 0, head 8, timestep 585.
As shown in entropy.png and retained_histogram.png, fine-tuning results in lower attention entropy per row, i.e., a more concentrated distribution, and higher sparsity under the same CDF threshold.
Sparsity at a fixed CDF threshold. Because fewer blocks are needed to reach a given cumulative-probability threshold, sparsity rises:
| CDF threshold | Training-Free | Fine-Tuned | Gain |
|---|---|---|---|
| 30% | 0.7922 | 0.8315 | +3.94 pt |
| 50% | 0.6127 | 0.6667 | +5.40 pt |
| 60% | 0.5126 | 0.5698 | +5.72 pt |
| 80% | 0.2873 | 0.3381 | +5.08 pt |
| 95% | 0.0853 | 0.1091 | +2.39 pt |
Error at a fixed sparsity. The extra sparsity is not paid for in accuracy—at matched sparsity, the fine-tuned map is strictly easier to approximate:
| Sparsity | Training-Free | Fine-Tuned | Improvement |
|---|---|---|---|
| 0.10 | 0.1225 | 0.0922 | +24.7% |
| 0.30 | 0.3573 | 0.2925 | +18.1% |
| 0.40 | 0.4901 | 0.4119 | +16.0% |
| 0.60 | 0.8575 | 0.7506 | +12.5% |
| 0.80 | 1.5170 | 1.3649 | +10.0% |
Please also find a collective visualization in cdf_sparsity_error.png.
Together, these results confirm that fine-tuning sharpens the attention distribution across query rows: entropy decreases, the number of blocks needed to reach the same cumulative-probability threshold is reduced, and L1 error improves consistently at every sparsity level.
W2. Novelty of Trainable Sparse Attention and the CUDA Kernel
Reply: Thank you for your point. We agree that trainable sparse attention is not a new idea, and [1] is already included as an important baseline in our paper. However, as shown in Section 5, SpargeAttn2 achieves better generation quality and higher practical speed than [1]. Therefore, our contribution is not the general idea of trainable sparsity, but a more effective method that provides better quality and efficiency.
We also agree that the CUDA kernel may look like an engineering contribution when viewed alone. However, reducing FLOPs does not always lead to real speedup, because sparse attention may introduce extra memory access and scheduling costs. Therefore, it is necessary for the kernel to turn the proposed sparse method into actual wall-clock speedup. Engineering contributions can also be important. For example, the online softmax idea (in 2018) existed before FlashAttention, but FlashAttention became highly impactful because its hardware-aware design made attention much faster in practice.
W3. Velocity Distillation Novelty and Data-Distribution Mismatch
Reply: Thank you for raising this point. We agree that matching the teacher's velocity follows standard teacher-student distillation, and we do not claim that the loss itself is a new general distillation method. However, our use of it is different from the cited work. We use velocity-level distillation specifically to train sparse attention. The teacher and student start from the same model and differ only in the attention operator. Our goal is to reduce the quality drop caused by fine-tuning sparse attention at 95% sparsity under the diffusion training objective. To the best of our knowledge, prior work has not studied velocity distillation in this setting.
We would also like to clarify that our method is not data-free, and we do not describe it as data-free in the paper. The video-text data provide the inputs for the teacher and student. Standard flow-matching fine-tuning uses the data target . This pushes the model toward the fine-tuning data. Our loss instead uses the frozen full-attention model's output as the target. The data provides input, but the teacher provides the training target.
This reduces direct fitting to the fine-tuning data. However, it cannot remove the data gap outside the calibration set. We will revise “address the data-distribution mismatch” to “mitigate the data-distribution mismatch.”
We thank the reviewer for pointing out Ref. [2]. FreeFlow also studies the gap between the teacher and external data. However, it solves a different task. FreeFlow learns a one-step or few-step flow map. We keep the original multi-step model and only replace its attention operator. We will cite FreeFlow and explain this difference in our paper.
Q1.
Reply: Thank you for this question. For Figures 2 and 3, we used real attention maps from Wan2.1-T2V-1.3B inference and provide the exact layer, head, timestep, and prompt in W1.
Q2.
Reply: Thank you for this constructive suggestion. To address your concerns regarding Figure 3, we further provide three figures: entropy histogram, retained-block histogram, and a combined CDF/sparsity/error plot at https://anonymous.4open.science/r/Additional-Results-y5r4-3078/README.md together with the quantitative evidence in W1.
Together, these results confirm that fine-tuning sharpens the attention distribution across query rows: entropy decreases, the number of blocks needed to reach the same cumulative-probability threshold is reduced, and L1 error improves consistently at every sparsity level.
Q3.
Reply: Thank you for this question. In the full-attention setting of Table 3, the student and frozen teacher start from the same model and use the same attention operator. They give the same output for the same input. Thus, the velocity distillation loss and its gradient are both zero. The student parameters do not change in our training setting, so the result is the same as the original model. Adding this row to Table 3 would only repeat the “Original” row. Velocity distillation is useful only after we replace the student's attention operator and create a gap between the student and teacher.
Table 6 already gives the useful sparse-attention comparison. In “–VD,” we replace velocity distillation with the diffusion loss and keep the other settings unchanged. Velocity distillation gives better results at both model scales. We will make the link between Tables 3 and 6 clear in the revision. No extra full-attention experiment is needed because its result is already fixed.
Q4.
Reply: Thank you for this suggestion. We first reported Imaging Quality, Aesthetic Quality, Overall Consistency, VisionReward, and VQA-a/VQA-t. These metrics cover visual quality and text-video alignment. We agree that the full VBench scores give a more complete result.
We therefore run the full VBench evaluation. We report the Quality Score, Semantic Score, and Total Score below:
Wan2.1-1.3B:
| Method | Quality Score ↑ | Semantic Score ↑ | Total Score ↑ | Sparsity ↑ |
|---|---|---|---|---|
| Full Attention | 83.95 | 82.38 | 83.63 | 0% |
| SpargeAttn | 63.10 | 35.84 | 57.65 | 89% |
| VSA | 77.21 | 64.32 | 74.63 | 90% |
| VMoBA | 80.03 | 78.92 | 79.81 | 90% |
| SLA | 81.24 | 78.79 | 80.75 | 95% |
| SpargeAttn2 | 83.86 | 79.25 | 82.94 | 95% |
Wan2.1-14B:
| Method | Quality Score ↑ | Semantic Score ↑ | Total Score ↑ | Sparsity ↑ |
|---|---|---|---|---|
| Full Attention | 83.27 | 80.20 | 82.66 | 0% |
| SpargeAttn | 71.93 | 35.34 | 64.61 | 86% |
| VSA | 80.63 | 76.54 | 79.81 | 90% |
| VMoBA | 81.27 | 79.57 | 80.93 | 90% |
| SLA | 79.97 | 76.33 | 79.24 | 95% |
| SpargeAttn2 | 83.09 | 79.71 | 82.42 | 95% |
On the complete VBench evaluation, SpargeAttention2 achieves the best results among all sparse-attention methods on both Wan2.1-1.3B and Wan2.1-14B.
We thank the reviewer for these helpful comments. We will explain how velocity distillation uses data, why its loss is zero in the full-attention setting, and how Table 6 supports it. We will add the full VBench results above.
Thank you to the authors for the detailed rebuttal and additional experiments. The response has addressed most of my concerns, particularly regarding the origin of the attention maps, the quantitative evidence that fine-tuning leads to more concentrated attention distributions, the role and limitations of velocity distillation, and the completeness of the VBench evaluation.
I also carefully read the other reviewers’ comments and the authors’ responses to them. While I still believe that the individual components are relatively incremental, I appreciate the practical value of the overall method, the strong empirical results, and the additional evidence provided during the rebuttal.
Taking these points into account, I will raise my score to Weak Accept.
Thank you so much for your thoughtful follow-up review and for taking the time to carefully read our rebuttal and the discussion with the other reviewers. We sincerely appreciate your decision to raise the evaluation to Weak Accept.
We noticed that the numerical score in the review system still appears to be the previous one. We just wanted to send a gentle reminder in case it has not yet been updated.
Thank you again for your time and consideration.
Best,
The Authors
Kindly Reminder on the Score Raising
Thank you again for raising the score to 4. We noticed that the numerical score in the review system still appears to be the previous one. We would greatly appreciate it if you could update it when you have a chance.
Best,
The Authors
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies three key questions in training-free sparse attention methods. When to apply top-k and top-p to avoid failures; why trainable methods reach higher sparsity than training-free ones; How to address the limitations of fine-tuning sparse attention using diffusion loss. The author proposes SpargeAttention2, including three components: i) combines top-k and top-p for more robust masking at high sparsity; ii) detailed sparse attention implementation; iii) a distillation-aware method to better preserve generation quality. The overall experimental results are pretty good.
Strengths and weaknesses
pos:
-
Deep analysis of three key questions in sparse attention for diffusion models.
-
The method, an efficient trainable sparse-attention, SpargeAttention2, which contains two carefully-designed modules.
-
The proposed methods reduce 95% attention redundancy, 16.2X speedup, and 4.7X speedup without performance drops.
Neg:
-
Case 1 analysis rests on too few, idealized samples. The core masker design (Table 1) is justified using only two hand-picked P matrices at a fixed 60% threshold. This reads as an illustrative example rather than a statistical claim; error distributions over many real attention rows would be far more convincing.
-
Combining Top-k and Top-p via union (Eq. 9) is conceptually straightforward, and Related Work notes prior hybrids (vAttention's Top-k+random, Twilight's hierarchical Top-p). The paper doesn't argue why the union is the best combination rather than just a working one.
-
Sparsity becomes hard to control. Since the mask is a union of Top-k and Top-p, the effective number of kept blocks varies per row/layer/timestep. The paper calibrates k% and p% to approximate 95%, but never reports how much actual sparsity fluctuates—important for a method whose selling point is stability at high sparsity.
Questions
-
fig 2 and 3 can be improved by introducing zoom-in, so the readers can understand the attention pattern better.
-
At the 95% target, how much does actual sparsity vary across prompts, layers, and timesteps? Do some layers end up much denser and erode the speedup?
Limitations
See above
Final justification
See my comments in the rebuttal.
Formatting concerns
NA
3 comments
Rebuttal
Dear Reviewer,
Thank you for your valuable suggestions and questions. Below, we address each point raised.
W1.
Reply: Thank you for this constructive comment. We agree that the two matrices used in Table 1 serve as illustrative examples. To provide broader statistical evidence, we extend the analysis to 100 random (layer, head, timestep) attention matrices at three sparsity levels, sampled from the Wan2.1-T2V-1.3B model across all 30 layers, 12 heads, and multiple timesteps. Thresholds are set by binary search so that all three maskers operate under an equal sparsity budget. L1 error results are shown below :
| Sparsity | Top-k | Top-p | Top-k + Top-p | vs Top-k | vs Top-p | Win% |
|---|---|---|---|---|---|---|
| 80% | 0.0132 ± 0.0265 | 0.0129 ± 0.0277 | 0.0124 ± 0.0269 | +6.1% | +3.9% | 86% |
| 90% | 0.0309 ± 0.0511 | 0.0318 ± 0.0551 | 0.0300 ± 0.0525 | +3.0% | +5.6% | 82% |
| 95% | 0.0597 ± 0.0841 | 0.0665 ± 0.0929 | 0.0597 ± 0.0874 | +0.1% | +10.3% | 74% |
Win%: fraction of matrices where Top-k + Top-p achieves strictly lower L1 than both Top-k and Top-p.
Top-k + Top-p consistently attains the lowest mean L1 error at every sparsity level. At high sparsity , it achieves the lowest L1 error on 74%–86% of the sampled matrices, outperforming both single-threshold baselines. These results indicate that the advantage of the hybrid masker generalizes well beyond specific examples and holds across the full model.
W2.
Reply: Thank you for this comment. We agree that the union operation is simple. We use this simple rule to address the failure cases we observed for Top-k and Top-p. Top-k keeps a minimum number of blocks when a row is highly skewed. Top-p keeps enough probability mass when a row is more uniform. Their union is the smallest set that meets both goals.
We agree that other combinations may also be useful. Our goal is to provide a simple and effective rule for the two observed failure cases, rather than to claim that the union is always the best choice. Table 6 shows that this rule performs better overall than Top-k-only and Top-p-only at both model scales. vAttention's Top-k+random and Twilight's hierarchical Top-p were designed with different goals and focus on different aspects of sparse attention. We will explain this point more clearly after Eq. 9.
W3.
Reply: Thank you for pointing this out. We report both the average sparsity and its range. Following the reviewer's suggestion, we measure sparsity across prompts, layers, heads, and denoising timesteps. The results are shown below.
| Model | Mean Sparsity | Prompt-Mean Range | Row-Mean Range | Layer-Mean Range | Timestep-Mean Range |
|---|---|---|---|---|---|
| Wan2.1-1.3B | 95.57% | 95.30%–95.74% | 95.16%–96.12% | 92.14%–96.56% | 94.26%–96.17% |
| Wan2.1-14B | 95.20% | 94.97%–95.62% | 94.77%–96.05% | 91.04%–96.06% | 94.85%–95.55% |
The average sparsity is close to 95% for both models. The prompt-level change is below 0.7 percentage points. A few layers are denser. For the 1.3B model, the densest layer uses 1.57× the target 5% workload. For the 14B model, this value is 1.79×. The lowest sparsity for the 14B model is 90.23%, at Layer 33 in the final timestep. These changes are already included in the measured attention time. Both models still achieve a 16.2× attention speedup.
Q1.
Reply: Thank you for the suggestion. We will add zoomed-in views and visual guides, such as boxes and dashed lines, to Figures 2 and 3 in the revision. These changes will make the attention patterns easier to understand.
Q2.
Reply: As shown in W3, the table reports the sparsity ranges across prompts, rows, layers, and timesteps at average sparsities of 95.57% for Wan2.1-1.3B and 95.20% for Wan2.1-14B. Some layers are denser, but their cost is already included in the measured attention time. Both models still achieve a 16.2× attention speedup.
After reading the rebuttal and other reviewers' comments, i maintain my score 5 AND support accepting this work. Performance is much more important than novelty.
Thank you very much for your review and your continued support. We sincerely appreciate your time, careful consideration, and positive assessment of our work.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Dear Reviewer,
Thank you for your valuable suggestions and questions. Below, we address each point raised.
Reply: Thank you for this comment. We do not jointly tune Top-k and Top-p. For the 95% sparsity target, we set Top-k = 0.03 so that each row keeps a small fixed fraction of its highest-scoring blocks, while Top-p can retain more blocks when needed. We then use the validation set in the training-free setting to select the Top-p value that makes the entire model achieve approximately 95% average sparsity. This gives Top-p = 0.20 for Wan2.1-1.3B at 480p, Top-p = 0.16 for Wan2.1-14B at 720p, and Top-p = 0.15 for the private 720p MM-DiT model. All attention layers in each model use the same (k,p) pair, so no per-layer tuning is needed. We will add this selection procedure to the revision.
We also test the joint sensitivity of Top-k and Top-p on Wan2.1-1.3B. We compare three pairs near the default setting, all targeting about 95% sparsity.
All three settings maintain 95% sparsity and give similar VBench scores. The default setting achieves the best Quality Score and Total Score. We will add this sensitivity experiment to the revision.
Reply: Thank you for this comment. Wan2.1 uses a standard DiT architecture with separate text cross-attention. To evaluate a different architecture, we additionally test SpargeAttention2 on a private MM-DiT model with joint multimodal attention for 720p video generation.
We use the original full-attention MM-DiT as the frozen teacher and fine-tune SpargeAttention2 using the same training setting as Wan2.1-14B. We evaluate only 95% sparsity.
We compare SpargeAttention2 with full attention and the strongest sparse-attention baseline, SLA.
As shown above, SpargeAttention2 outperforms the strongest baseline SLA on VBench scores and remains comparable to full attention. This result shows that SpargeAttention2 also works on MM-DiT. We will add this experiment to the revision.
Reply: We use the simple procedure described in W1. We first fix Top-k = 0.03. Before fine-tuning, we choose Top-p on the validation set so that the entire model reaches about 95% average sparsity. We keep both values fixed during fine-tuning and inference, so no sparsity schedule is used. The Top-p values are 0.20, 0.16, and 0.15 for Wan2.1-1.3B at 480p, Wan2.1-14B at 720p, and the private 720p MM-DiT model. All three models keep about 95% sparsity after training.
Reply: Yes. As shown in W2, we additionally evaluate SpargeAttention2 on a private 720p MM-DiT model with joint multimodal attention. At 95% sparsity, SpargeAttention2 outperforms the strongest sparse-attention baseline, SLA, on VBench scores and remains comparable to full attention.
Reply: Thank you for catching this inconsistency. We will correct it in the revision by changing “(i)” and “(ii)” in the text to “(a)” and “(b)” so that the references are consistent with Figure 3.