- Rating
- 5
- Clarity
- 4
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 4
Read review
Summary
- The paper proposes Simple Attention Sparsification (SAS), a post-training method for making pretrained long-context language models use sparse attention more effectively. The key idea is to train a lightweight block selector directly from the language modeling loss, rather than through dense-attention distillation. SAS does this by converting selector scores into continuous gates and injecting them as log-space biases inside the attention softmax during training, allowing gradients to flow end-to-end while all context blocks remain active. At inference time, the learned block ranking is converted into hard Top-K sparse attention. The paper’s main contributions are its context-ranking formulation, its analysis of design choices needed for reliable selector learning, a fused Triton kernel for memory-efficient gated-attention training, and empirical gains over the distillation-based SeerAttention-R baseline under tighter attention budgets, with more mixed but generally competitive results at larger budgets.
Strengths and weaknesses
- The paper appears technically sound and presents a coherent methodological contribution. A main strength is that the proposed training objective is closely aligned with the intended inference-time use case: rather than supervising the selector to imitate dense attention patterns, the method optimizes block rankings through the language modeling loss. The formulation is simple and well motivated, since injecting gates inside the softmax allows the selector to directly affect how attention mass is allocated. The accompanying gradient analysis is useful and provides support for the design choices, particularly the preference for inner-softmax gating and full-scope training over outer gating or sparse-scope training.
- The ablation studies are also well targeted: they examine gate position, selection scope, ranking preservation, activation function, and stochastic perturbation, and the reported results are broadly consistent with the paper’s central claims. Empirically, the comparison to SeerAttention-R is relatively convincing because the setting controls for the selector architecture and frozen backbone, helping isolate the training objective as a major source of difference. The reported gains under tight budgets are notable. The fused Triton kernel is also an important practical component, as it makes full-scope gated training more practical for long contexts without materializing the full attention matrix.
- The main weakness is that the efficiency evaluation is not yet fully convincing. SAS uses sparse attention at inference time, but training still relies on full-scope gated attention. The custom kernel demonstrates substantial improvements over a naive implementation, but this mostly establishes the feasibility of the training procedure rather than the full practical efficiency of the deployed sparse model. The paper would benefit from more complete end-to-end inference measurements, including tokens/sec, prefill latency, decoding latency, selector overhead, and comparisons with both full attention and optimized SeerAttention-R inference. This is important because the paper’s motivation is long-context inference efficiency, and the current results do not fully quantify the realized deployment-time speedups.
- A second limitation is the diversity of the empirical evaluation. Although the paper evaluates on four benchmarks, they are all reasoning-heavy tasks, with three of them being math-focused. These are appropriate stress tests for long-form reasoning, but they do not establish whether the learned sparse selectors generalize to other long-context regimes, such as long-document QA, retrieval-heavy tasks, summarization, code completion, or long dialogue, where the distribution of useful context may differ substantially. This does not undermine the reported results, but it limits how broadly one can interpret the method’s effectiveness.
- The attention-ratio analysis is useful but limited. The result that SeerAttention-R covers more dense-attention mass while obtaining lower downstream accuracy supports the paper’s argument that dense-attention imitation may be suboptimal. However, this analysis appears to use only a small number of long training samples. Since this point is central to the motivation, a broader analysis across more samples, layers, heads, and evaluation settings would make the claim stronger.
- The paper is clear and well organized. The progression from standard attention to block sparse attention, context ranking, and SAS training/inference is easy to follow. The appendix provides useful implementation and gradient details. One point that could be made more explicit is the distinction between training-time full-scope gated attention and inference-time hard Top-K sparse attention, since this distinction is important for interpreting the method’s efficiency claims.
- Overall, the paper addresses an important problem: adapting pretrained dense LLMs to sparse-attention inference without retraining the full backbone. Its main contribution is the shift from dense-attention imitation to optimizing sparse-selection rankings through the language modeling loss. This is a useful idea, and the results suggest that the training objective matters especially under tight attention budgets. The originality is moderate: individual components such as continuous gates, logit biases, Top-K relaxation, and FlashAttention-style kernels are not entirely new, but the paper combines them coherently for post-training attention sparsification. The context-ranking formulation and the analysis of full-scope inner-softmax gating are the most useful aspects of the work. Overall, this is a strong and coherent submission with a clear methodological contribution, targeted ablations, and promising results, though its empirical scope and practical efficiency claims could be strengthened.
Questions
- Inference efficiency. Since the paper is motivated by long-context inference efficiency, could the authors clarify the end-to-end inference speedup of SAS after accounting for selector overhead? I believe comparing wall-clock decoding or prefill latency against full attention and SeerAttention-R would help determine how much practical efficiency is achieved by the proposed sparsification.
- Task diversity and generalization. The experiments focus on reasoning-heavy benchmarks, several of which are math-focused. Could the authors comment on whether SAS is expected to generalize to broader long-context tasks where useful context may be distributed differently, such as long-document QA, retrieval-heavy evaluation, summarization, code, or long dialogue? If feasible, even one additional non-math long-context result would help clarify the scope of the method’s applicability.
- Attention-ratio analysis. The attention-ratio analysis is useful for supporting the claim that dense-attention imitation is not necessarily aligned with downstream sparse performance. However, it appears to be computed on only a small number of long training samples. Could the authors clarify how representative these examples are, or expand the analysis across more samples, layers, or heads? This would make the ranking-misalignment claim more convincing, especially if the lower-attention-ratio/higher-accuracy pattern holds more broadly.
- Practicality of the training-to-inference pipeline. Since SAS trains with continuous full-scope gated attention but deploys hard Top-K sparse attention, could the authors provide more detail on both the training cost relative to SeerAttention-R and the robustness of the learned rankings across inference budgets? Reporting comparable training time/GPU memory and showing whether rankings remain stable when varying Top-K would clarify whether SAS is not only more accurate, but also practical and robust as a post-training sparsification method.
Limitations
- The authors include broader impact and limitations discussions, and they appropriately note that SAS requires an SFT phase and is more computationally demanding than training-free heuristic methods. However, the limitations section could be more explicit about three points: first, SAS uses full-scope gated attention during training, so its main efficiency benefit is realized at inference time; second, the evaluation is concentrated on reasoning-heavy benchmarks, leaving generalization to broader long-context tasks less clear; and third, the paper lacks detailed end-to-end inference measurements, including selector overhead. Discussing these points would better clarify the practical scope and implications of the method.
Paper formatting concerns
N/A
W1(Q1): End-to-end inference efficiency is underreported; prefill/decoding latency, tokens-per-second, memory, selector overhead, and comparisons with full attention and SeerAttention-R are needed.
The submission underreported deployment efficiency. We have since integrated sparse decoding into SGLang and measured latency, throughput, memory, and selector overhead. SAS and SeerAttention-R share the same inference architecture and cost, so the sparse results represent both; SAS's accuracy gains incur no additional inference overhead. Prefill remains dense, so we focus on decoding.
Batch-1 latency/throughput (budget 2,048; throughput in tok/s). Speedup grows with context to 5.55× at 512K.
At batch 8 and 64K, speedups are 10.97×–13.15× across budgets 1,024–4,096. Memory: on H20 (
mem-fraction-static=0.9), selector/block summaries reduce KV-cache capacity from 557,432 to 554,246 tokens, only 0.57%; SAS retains the full KV cache (additional per-budget and memory details are available in our response to Reviewer fA7C, W3(Q2)).Selector overhead. Within the profiled routing-and-attention path, selector scoring is only 0.187–0.413 ms and 4.2% of path latency at 512K; Top-K routing is the bottleneck (90.5%).
W2(Q2): Evaluation is concentrated on reasoning and math tasks, leaving generalization to long-document QA, retrieval, summarization, code, and dialogue unclear.
The original evaluation was concentrated on reasoning; we have now added long-context and agentic tasks. Crucially, selectors are trained only on the original math data and evaluated without task-specific adaptation.
LongBench. Across single- and multi-document QA, summarization, few-shot learning, retrieval, and code, SAS improves the overall average in all six model–budget configurations, with the clearest gains on code.
BFCL multi-turn (long-dialogue tool use). This benchmark evaluates multi-turn function calling; SAS outperforms SeerAttention-R across all sizes and budgets.
VitaBench (realistic service-agent workflows; Qwen3-14B). This benchmark covers delivery, in-store, and online travel agency (OTA) scenarios. At a budget of 4,096, SAS beats SeerAttention-R on seven of nine metrics and ties on one (additional per-metric details are available in our response to Reviewer Gyf6, W2(Q2)). Together, these results show that math-only selector training transfers to long-document QA, retrieval, summarization, code, long-dialogue tool use, and realistic agentic workloads without adaptation.
W3(Q3): The attention-ratio analysis uses too few samples; broader analysis across samples, layers, heads, and evaluation settings is needed.
We expand the analysis by uniformly sampling multiple active query positions per sequence, aggregating across all heads and layers, and reporting results by layer group, Top-K budget, and context length.
(1) Per-layer coverage. On Qwen3-4B sequences longer than 8K, we measure Cov(S)=∑i∈Swi/∑jwj, where wi=exp(qKi):
NTP covers less full-attention mass in every layer group and budget while achieving higher downstream accuracy, confirming that the pattern is systematic. This is expected: coverage is the distillation target, but not the NTP objective.
(2) Cross-layer recall. Because blocks missed in one layer may be selected in another, we compare the union I=⋃jIj with the analogous full-attention oracle I⋆ (GQA head selections are aggregated by majority vote), using ∣I∩I⋆∣/∣I⋆∣:
NTP has higher recall at every budget and context-length bin, with larger gaps at longer contexts (e.g., K=16, 12K+: 0.857 vs. 0.806). Thus, although NTP retains less mass per layer, its selections are more complementary across layers. These results show that matching local full-attention patterns is not necessary for effective sparse selection; we will replace Figure 4 with this expanded analysis.
W4(Q4): The practicality of the training-to-inference pipeline is insufficiently analyzed; training cost relative to SeerAttention-R and ranking robustness across different Top-K budgets should be reported.
Training cost vs. SeerAttention-R. Under identical settings, SAS has lower throughput because task-loss gradients must back-propagate through the entire Transformer to reach selectors at all layers, even though the backbone weights are frozen; distillation confines backward computation to the selectors. SAS nevertheless uses less peak memory because it avoids materializing dense per-layer attention-map targets. This is a one-time training cost; inference cost remains identical to SeerAttention-R, with higher accuracy.
Robustness across budgets. A single selector is trained once and evaluated at all Top-K budgets without retraining or tuning. SAS exceeds SeerAttention-R throughout and approaches full attention as the budget grows.
Limitation: (1) SAS uses full-scope gated attention during training, so its main efficiency benefit is realized only at inference; (2) the evaluation is concentrated on reasoning-heavy benchmarks, leaving generalization to broader long-context tasks less clear; (3) the paper lacks detailed end-to-end inference measurements, including selector overhead.
(1) The submitted full-scope variant primarily saves inference compute. Our 4B ablation adds a lower-cost training option: sparse scope converges more slowly but reaches comparable one-epoch accuracy (54.8 vs. 54.4). We will present full scope for faster optimization and sparse scope for lower training cost, while limiting this conclusion to the tested setting (the full ablation is available in our response to Reviewer 7G5g, W5(Q4)).
(2) We now evaluate math-only selectors without adaptation on LongBench, BFCL multi-turn, and VitaBench (W2/Q2).
(3) Our SGLang integration now provides end-to-end latency, throughput, memory, and selector-overhead measurements (W1/Q1); we will incorporate them into the revision.