- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
DashAttention targets long-context sparse attention by replacing fixed top- chunk routing with -entmax routing, then applying token-level softmax only inside routed chunks with a weak routing-derived prior. The evidence is continual pretraining on MiniCPM-4 1B/3B/8B models, evaluation on RULER and HELMET at 16K context, general-task checks, a non-dispersion theorem for head aggregation, and isolated Triton kernel benchmarks. The claimed contribution is an adaptive, differentiable, GPU-aware hierarchical sparse attention method that is faster than full attention and stronger than NSA/InfLLMv2 under similar sparsity.
Strengths and weaknesses
The paper has a clear and useful idea: replace fixed top-k block routing in hierarchical sparse attention with alpha-entmax routing, so the number of selected chunks can vary by query, head, and layer. This is a meaningful improvement over fixed-budget sparse attention, especially for long-context retrieval where the amount of relevant evidence is not fixed. The method is also practical: it keeps the expensive token-level softmax only inside selected chunks and gives a GPU-oriented implementation with bit-packed masks and Triton kernels.
The empirical results are reasonably strong. On RULER-16K, DashAttention consistently improves over NSA and InfLLMv2 at comparable sparsity for 1B, 3B, and 8B models. The gains are especially clear on multi-key retrieval tasks, where adaptive routing is expected to matter. On HELMET, the overall gains are smaller, but the Recall improvements are consistent and substantial. The paper also checks general short-context performance and shows that DashAttention does not noticeably hurt standard capabilities. The speed results are also useful: the reported kernel benchmarks show consistent speedups over FlashAttention and InfLLMv2 across context lengths and sparsity levels.
The main weakness is that some claims are stronger than the evidence. The paper repeatedly describes the method as fully differentiable, but Stage 2 still uses the support induced by entmax as a hard sparse mask. Entmax is differentiable within fixed-support regions and piecewise differentiable at support changes, so this is better than top-k, but not as clean as the wording suggests. The authors should state this more carefully.
The theoretical result is relevant but limited. The non-dispersion theorem supports the use of sparse entmax aggregation, but it relies on a sublinear-support assumption. The paper does not prove that the trained DashAttention models satisfy this assumption. Therefore, the theorem should be presented as motivation for the design rather than a full explanation of the empirical gains.
Some ablations are not strong enough. The local chunk summarization mechanism gives only a small gain over mean pooling in the reported ablation, so it is not clear that this component is essential. Also, the prior-bias mechanism is used with very large sigma values, which makes the prior weak and makes the method operationally close to entmax-based block selection followed by ordinary block-sparse softmax. This is still a good method, but the paper should isolate the contribution of the prior more clearly.
The evaluation would be stronger with repeated runs, confidence intervals, or bootstrap estimates. This matters because some HELMET overall gains over InfLLMv2 are small, especially at 3B and 8B. The current results are promising but not enough to claim uniform improvement across all long-context tasks. The speed evaluation is also a kernel benchmark rather than end-to-end serving throughput, so the claimed inference speedup should be interpreted carefully.
Overall, I find the submission technically sound and useful. The idea is simple but well targeted, the implementation is practical, and the RULER plus Recall results support the core claim that adaptive routing helps retrieval-heavy long-context sparse attention. The paper should weaken some theory and differentiability claims, add statistical reliability, and better isolate the prior mechanism, but the contribution is likely useful to the community.
Questions
-
Can the authors clarify the exact gradient path through the entmax-induced support mask? In particular, do chunks outside the active support receive any useful gradient signal, or is the differentiability only within the current active support?
-
The non-dispersion theorem assumes sublinear entmax support. Can the authors report empirical support-size scaling with context length, or otherwise weaken the claim that the theorem explains the behavior of DashAttention?
-
How much of the gain comes from entmax adaptive support versus the prior-induced bias in Stage 2? Please add an ablation comparing entmax mask only, entmax mask plus prior, and a simple dynamic top-k or top-p router.
-
Are the HELMET gains statistically reliable? Please report confidence intervals, bootstrap estimates over examples, or repeated training/evaluation runs, especially for the 3B and 8B overall scores.
-
Can the authors provide end-to-end prefill and decoding throughput in a real serving setup, including KV-cache management and router-produced masks? The current kernel benchmark is useful but does not fully support production-level speed claims.
-
How were gamma, sigma, chunk size, and the sparsity targets selected? Were any of these tuned using RULER or HELMET scores?
Limitations
Yes, the paper mentions lack of integration into vLLM/SGLang.
Paper formatting concerns
No formatting concerns.
Final justification
The rebuttal addresses my main concerns with new experiments, and the gains remain consistent. While not all concerns are fully resolved, I find the additional evidence sufficient to increase my rating from Borderline accept to Accept.
We sincerely thank you for your time and effort on reviewing our paper.
W1: Some claims are stronger than the evidence regarding the entmax transformation.
Thanks for pointing this out. To clarify, entmax is differentiable almost everywhere, as per the original paper. In DashAttention, the chunks that receive 0 priors do not participate in the backpropagation, which is aligned to the original entmax design.
W2 & Q2: The theoretical result is relevant but limited
Our assumption of sublinear amount of activation is based on observation, and also follows the assumption of ASEntmax [1] paper’s Prop 1. To validate this assumption, we conduct a simple numerical experiment. By assuming attention logits are Normal, we sample z1,z2,⋯,zN∼N(0,σ2), and compute p=1.5-entmax(z). We report the density (%) w.r.t. various N,σ. The following results show that when increasing the sequence length N, the density decreases, showing that the density grows in a sub-linear trend.
W3 & Q3: Some ablations are not strong enough
The prior is kept weak (large σ) because the chunk summaries are only a coarse approximation of each block: a strong prior pushes the token-level attention toward this approximation error, as the ablation shows (σ = 10 drops RULER to 82.0, Table 10). The prior still plays two roles: it defines the Stage-2 support, and it is the path through which gradients reach Stages 0-1, keeping the router and the summary head trainable. The reviewer is right that in the forward pass increasing σ approximates the limit case of entmax block selection followed by block-sparse softmax.
On the requested ablation: "entmax mask only" cannot be trained, because a hard mask passes no gradient to Stages 0-1; the router would stay untrained and the summaries frozen at mean pooling, which is close to the InfLLMv2 design we already compare against. The σ sweep in Table 10 is the controlled study of prior strength: from a strong prior (σ = 10, 82.0) to a nearly hard mask (σ = 1e12, where the bias and its gradient are scaled by 1e-12), with 83.1 / 83.6 / 83.1 for 1e4 / 1e8 / 1e12.
On a dynamic top-k or top-p router: there is no principled rule for choosing a per-query k, which is the problem entmax solves. Top-p over softmaxed chunk scores does give an adaptive support, but it is equally non-differentiable, so it also cannot train Stages 0-1; it aggregates dense softmax probabilities across GQA heads before selection, which is dispersive by Thm. 1; and it requires a per-query sort, while the entmax threshold is computed sort-free (see AdaSplash [3]).
On local attention: we agree the average gain over mean pooling is modest (83.6 vs. 83.3) and will temper the wording. We keep the component because it costs nothing: it initializes exactly at mean pooling, and the Stage-0 kernel is identical, so there is no inference overhead.
W4 & Q4: The evaluation would be stronger with repeated runs, confidence intervals, or bootstrap estimates.
The gains that support our main claim are large and consistent: on RULER 8B, 83.6 vs. 78.9 (InfLLMv2) and 55.0 (NSA); on HELMET Recall 8B, 88.3 vs. 81.4; on multi-key retrieval MK3, 86.0 vs. 52.0. These margins are far above plausible evaluation noise. We agree that the 3B overall HELMET gap (34.3 vs. 34.2) can be within noise, and we will reword Sec. 5.1 to claim clear gains on retrieval-heavy tasks and parity on the remaining HELMET categories. Regarding protocol, the official HELMET benchmark [4] reports task-averaged scores, and recent sparse-attention papers [5], [6], [7] follow the same practice, which we adopted.
W5 & Q5: The speed evaluation is also a kernel benchmark rather than end-to-end serving throughput
We acknowledge the importance of vLLM/SGLang integration for real-world utility. However, full integration is a HUGE engineering project, as it requires (a) paged management of the chunk-summary cache together with the paged KV cache, (b) attention kernels that walk the bit-packed mask over paged memory, (c) a scheduler aware of per-request variable sparsity, and (d) efficient implementations for all of that. To our knowledge, the sparse paths of prior works (e.g., NSA, InfLLMv2, FSA) have not been adopted in mainline vLLM/SGLang yet, so kernel-level benchmarking is currently the standard way to compare these attention operators without serving-stack confounders such as request-level scheduling and CPU costs. Because attention dominates the per-token cost at long context (see Figure 2(a) in [8]), kernel gains are indicative of, though not identical to, serving gains; we will state this caveat explicitly in Sec. 5.2.
On router-produced masks: Stage-2 cost depends only on how many chunks each query visits, not on which chunks they are, so a mask at matched sparsity reproduces the compute and memory traffic of a real mask; mask content can matter only through second-order cache effects, which average out across queries and batches.
Q1: Can the authors clarify the exact gradient path through the entmax-induced support mask?
We would like to respectfully clarify the smoothness of entmax, since it is stronger than the reviewer suggests. For 1<α<2 (we use α = 1.5), α-entmax is continuously differentiable everywhere, including at support changes. Its Jacobian has the closed form dp/dz=(diag(s)−ss⊤)/(1⊤s), with sj=pj2−α on the support and 0 elsewhere [6]. When a coordinate leaves the support, pj→0 and its Jacobian entries vanish continuously, so there is no kink. The "piecewise differentiable" picture is correct for sparsemax (α=2), where sj jumps between 1 and 0, but not for 1.5-entmax.
Stage 2 does not apply a separate hard mask over a dense computation. Its support is the set of chunks with nonzero prior, equivalently those with finite bias di,j=(logwi,c(j)−μi)/σ (Prop. 1). As routing mass w→0, the bias tends to minus infinity and the chunk’s contribution vanishes continuously. This contrasts with top-k, where dropping a block causes a discontinuous output change and the selection step has no gradient. Thus, the end-to-end map is continuous and differentiable except when a chunk score lies exactly at the entmax threshold, a measure-zero set, as in ReLU networks—the standard meaning of “fully differentiable.” We will state this more precisely in Sec. 3 and App. A, replacing the weaker “piecewise” description.
On the gradient path: loss -> Stage-2 softmax with bias d -> routing probabilities w -> entmax Jacobian -> chunk logits -> query q_i and chunk summaries -> the Stage-0 summary head and the key projections. Chunks with exactly zero routing mass receive zero gradient for that query. This is intentional: it keeps the backward pass sparse (Sec. 3.5) and mirrors ReLU's zero region. These chunks still train for two reasons. (1) Support is query-, head-, and position-dependent, so a chunk excluded for one query is often active for others in the same batch, receiving gradients through its keys and summary. (2) The Jacobian vanishes continuously at the boundary, allowing chunks to enter and leave the support smoothly. The α schedule (1.25 -> 1.5) also keeps support denser early, so most chunks receive direct signal before sparsity increases.
Q6: How were gamma, sigma, chunk size, and the sparsity targets selected? Were any of these tuned using RULER or HELMET scores?
Very little tuning is needed, the same settings transfer across all three model scales, and none of them were selected by searching over RULER or HELMET accuracy.
Chunk size B = 64 was fixed to match the block size of NSA and InfLLMv2, and it is an inference-time knob: a model trained with B = 64 runs at B in {16, 32, 64, 128} with no retraining (Table 7).
α = 1.5 is the standard, historically performant and well-behaved choice in the entmax literature [1], [9], [3], and admits faster solvers; gamma only sets the average sparsity at inference, so that we can match the baselines' sparsity budgets and sweep the Pareto frontier (Fig. 2); it is a matching constraint, not an accuracy knob. The 75% target itself is inherited from the baselines' training configuration.
σ is robust: accuracy is stable for all sufficiently large values (sigma in {1e4, 1e8, 1e12} gives 83.1 to 83.6 RULER avg.); only an overly strong prior hurts (82.0). We chose a large sigma to keep the prior weak, and Table 10 verifies that this choice is not delicate.
[1] Peters, Ben, Vlad Niculae, and André FT Martins. "Sparse sequence-to-sequence models."
[2] Vasylenko, Pavlo, et al. "Long-context generalization with sparse attention."
[3] Gonçalves, Nuno, et al. "Adasplash-2: Faster differentiable sparse attention."
[4] Yen, Howard, et al. "Helmet: How to evaluate long-context language models effectively and thoroughly."
[5] Lai, Xunhao, et al. "MiniMax Sparse Attention."
[6] Fu, Yaosheng, et al. "SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference."
[7] Liu, Siran, et al. "RRAttention: Dynamic Block Sparse Attention via Per-Head Round-Robin Shifts for Long-Context Inference."
[8] Jiang, Huiqiang, et al. "Minference 1.0: Accelerating pre-filling for long-context llms via dynamic sparse attention."
[9] Correia, Gonçalo M., Vlad Niculae, and André FT Martins. "Adaptively sparse transformers."