Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
Yanke Zhou, Yiduo Li, Hanlin Tang, Maohua Li, Kan Liu, Tao Lan, Lin Qu, Yuan Yao, Xiaoxing Ma
NeurIPS 2026
TL;DR. We propose RTPurbo, which sparsifies full-attention LLMs in ~600 steps. Using retrieval-head isolation, a 16-dim indexer, and dynamic Top-p, it yields 9.36x prefill & 2.01x decode speedups at 1M context with near-lossless accuracy.
Abstract. Long-context inference in large language models is bottlenecked by the quadratic cost of full attention. Existing efficient alternatives often rely either on native sparse training or on heuristic token eviction, creating an undesirable trade-off among efficiency, training cost, and accuracy. In this work, we show that full-attention LLMs are already intrinsically sparse and can be transformed into highly sparse models with only minimal adaptation. Our approach is built on three observations: (1) only a small subset of attention heads truly requires full long-context processing; (2) long-range retrieval is governed primarily by a low-dimensional subspace, allowing relevant tokens to be retrieved efficiently with a 16-dimensional indexer; and (3) the useful token budget is strongly query-dependent, making dynamic top- selection more suitable than fixed top- sparsification. Based on these insights, we propose RTPurbo, which retains the full KV cache only for retrieval heads and introduces a lightweight token indexer for sparse attention. By exploiting the model's intrinsic sparsity, RTPurbo achieves sparsification with only a few hundred training steps. Experiments on long-context benchmarks and reasoning tasks show that RTPurbo preserves near-lossless accuracy while delivering substantial efficiency gains, including up to a 9.36$\times$ prefill speedup at 1M context and about a 2.01$\times$ decode speedup. These results suggest that strong sparse inference can be obtained from standard full-attention training without expensive native sparse pretraining.
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) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) This paper introduces RTPurbo, a framework that transforms standard pretrained full-attention LLMs into highly efficient sparse inference models within a few hundred fine-tuning steps. Exploiting the intrinsic head specialization of pretrained models, RTPurbo identifies a small subset of global "retrieval heads" while converting remaining heads to local/streaming attention. For retrieval heads, it learns low-dimensional query/key projections for fast dynamic top- selection. Supported by custom fused CUDA GPU kernels for sort-free top- thresholding, RTPurbo achieves up to 9.36x prefill speedup and 2.01x decode speedup at 1M context length while maintaining near-lossless accuracy across long-context (LongBench, RULER) and complex reasoning (AIME, MMLU-PRO) benchmarks.
(b) Strengths
- Strong System Engineering & Custom GPU Kernals: Unlike papers that merely simulate sparsity, RTPurbo implements custom sort-free top- CUDA kernels that deliver concrete hardware speedups ( prefill, decode at 1M context). [Reviewers SaEp, FhTM, 4TTm]
- Principled Exploitation of Head Specialization: Sound empirical and conceptual grounding demonstrating that only a minor fraction of heads require global long-range context. [Reviewers FhTM, SaEp, PRt4, 4TTm]
- Robust Empirical Preservation: Preserves accuracy across challenging multi-hop reasoning (AIME, MMLU-PRO) and ultra-long context tasks where post-hoc pruning baselines (SnapKV, Quest, MInference) degrade. [reviewers FhTM, SaEp, PRt4, 4TTm]
(c) Main Weaknesses & Missing Elements
- Dense Prefill Memory Footprint for Retrieval Heads: The prefill stage still mandates full dense attention across designated retrieval heads to construct the initial KV cache, leaving the activation memory footprint during ultra-long prefill uncompressed [Reviewer SaEp].
- Model Diversity & Generalization Scope: Main evaluations are heavily anchored within the Qwen3 ecosystem; empirical validation on alternative foundational families (LLaMA-3 or Mistral) remains unverified [Reviewers SaEp, PRt4, 4TTm].
- Calibration Sequence Stability: The claim that a single calibration sequence is sufficient to identify retrieval heads lacks multi-sequence stability testing across different domains [Reviewers PRt4, 4TTm].
Prioritized Rebuttal Questions for Authors
- Calibration Stability: Provide a rank-correlation or overlap measurement of selected retrieval heads across different calibration sequences/domains to confirm stability [Reviewers PRt4, 4TTm].
- Cross-Architecture Verification: Provide head-specialization statistics or lightweight validation on an alternative model family (e.g. LLaMA-3-8B) to demonstrate broad applicability [Reviewers SaEp, PRt4, 4TTm].
- Prefill Activation Ceiling: Discuss potential memory mitigation strategies during Ultra-Long prefill ( tokens) where retrieval heads compute dense attention [Reviewer SaEp].
Explicitly De-prioritized Requests
- The authors do NOT need to execute any extensive experiment given the short duration of rebuttal phase.
(d) Rebuttal Pivot & Decision Adjustment Conditions To solidify the recommendation as a Strong Accept (Poster / Spotlight), the authors should:
- Demonstrate that retrieval-head identities are stable across calibration documents.
- Provide head-specialization statistics on LLaMA-3 to confirm cross-architecture universality.
Final justification
The paper is well written and received good scores, 5(4), 5(3), 4(4), 4(3), with good confidence (the numbers in parenthesis). The authors actively participated in the rebuttal stage and the reviewers were convinced. With its solid quality, I recommended accepting the submission for a spotlight presentation.
Read meta-review
Meta-review
(a) This paper introduces RTPurbo, a framework that transforms standard pretrained full-attention LLMs into highly efficient sparse inference models within a few hundred fine-tuning steps. Exploiting the intrinsic head specialization of pretrained models, RTPurbo identifies a small subset of global "retrieval heads" while converting remaining heads to local/streaming attention. For retrieval heads, it learns low-dimensional query/key projections for fast dynamic top- selection. Supported by custom fused CUDA GPU kernels for sort-free top- thresholding, RTPurbo achieves up to 9.36x prefill speedup and 2.01x decode speedup at 1M context length while maintaining near-lossless accuracy across long-context (LongBench, RULER) and complex reasoning (AIME, MMLU-PRO) benchmarks.
(b) Strengths
- Strong System Engineering & Custom GPU Kernals: Unlike papers that merely simulate sparsity, RTPurbo implements custom sort-free top- CUDA kernels that deliver concrete hardware speedups ( prefill, decode at 1M context). [Reviewers SaEp, FhTM, 4TTm]
- Principled Exploitation of Head Specialization: Sound empirical and conceptual grounding demonstrating that only a minor fraction of heads require global long-range context. [Reviewers FhTM, SaEp, PRt4, 4TTm]
- Robust Empirical Preservation: Preserves accuracy across challenging multi-hop reasoning (AIME, MMLU-PRO) and ultra-long context tasks where post-hoc pruning baselines (SnapKV, Quest, MInference) degrade. [reviewers FhTM, SaEp, PRt4, 4TTm]
(c) Main Weaknesses & Missing Elements
- Dense Prefill Memory Footprint for Retrieval Heads: The prefill stage still mandates full dense attention across designated retrieval heads to construct the initial KV cache, leaving the activation memory footprint during ultra-long prefill uncompressed [Reviewer SaEp].
- Model Diversity & Generalization Scope: Main evaluations are heavily anchored within the Qwen3 ecosystem; empirical validation on alternative foundational families (LLaMA-3 or Mistral) remains unverified [Reviewers SaEp, PRt4, 4TTm].
- Calibration Sequence Stability: The claim that a single calibration sequence is sufficient to identify retrieval heads lacks multi-sequence stability testing across different domains [Reviewers PRt4, 4TTm].
Prioritized Rebuttal Questions for Authors
- Calibration Stability: Provide a rank-correlation or overlap measurement of selected retrieval heads across different calibration sequences/domains to confirm stability [Reviewers PRt4, 4TTm].
- Cross-Architecture Verification: Provide head-specialization statistics or lightweight validation on an alternative model family (e.g. LLaMA-3-8B) to demonstrate broad applicability [Reviewers SaEp, PRt4, 4TTm].
- Prefill Activation Ceiling: Discuss potential memory mitigation strategies during Ultra-Long prefill ( tokens) where retrieval heads compute dense attention [Reviewer SaEp].
Explicitly De-prioritized Requests
- The authors do NOT need to execute any extensive experiment given the short duration of rebuttal phase.
(d) Rebuttal Pivot & Decision Adjustment Conditions To solidify the recommendation as a Strong Accept (Poster / Spotlight), the authors should:
- Demonstrate that retrieval-head identities are stable across calibration documents.
- Provide head-specialization statistics on LLaMA-3 to confirm cross-architecture universality.
Final justification
The paper is well written and received good scores, 5(4), 5(3), 4(4), 4(3), with good confidence (the numbers in parenthesis). The authors actively participated in the rebuttal stage and the reviewers were convinced. With its solid quality, I recommended accepting the submission for a spotlight presentation.
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/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
RTPURBO is a sparse-attention framework that exploits the observation that pretrained full-attention LLMs already exhibit strong head specialization. The method first performs an offline calibration procedure to identify a small subset of retrieval heads responsible for long-range information access, while treating the remaining heads as local/streaming heads. For retrieval heads, RTPURBO learns lightweight low-dimensional query/key projections that act as a retrieval index, allowing relevant KV entries to be identified efficiently before computing exact attention. Rather than using a fixed top-k sparsification budget, RTPURBO employs a query-dependent dynamic top-p selection rule, motivated by the observation that different retrieval queries require vastly different numbers of tokens. The method is trained via a lightweight two-stage adaptation procedure involving projection fitting and self-distillation, requiring only a few hundred training steps. Finally, the authors implement custom sparse-attention kernels to realize practical inference speedups.
Strengths and weaknesses
Strengths:
1.) Strong empirical results and practical efficiency gains. The manuscript presents a comprehensive evaluation across long-context and reasoning benchmarks, demonstrating that RTPURBO preserves near-full-attention accuracy while achieving substantial inference speedups. The inclusion of runtime analyses, sparsity measurements, and kernel-level optimizations strengthens the practical relevance of the work.
2.) Compelling exploitation of head specialization. The observation that only a small subset of attention heads are responsible for long-range retrieval is both intuitive and well supported by the empirical analysis in Appendix B. This insight provides a solid foundation for the proposed head-wise sparsification strategy.
3.) Well-motivated adaptive sparsification mechanism. The paper convincingly demonstrates that a fixed top-k budget is poorly matched to the query-dependent nature of retrieval. The qualitative examples and quantitative analyses provide strong evidence that dynamic top-p selection better adapts to varying retrieval requirements while maintaining accuracy.
Weaknesses:
1.) Limited model diversity in evaluation. The experimental study is restricted primarily to Qwen3-Coder-30B-A3B and Qwen3-30B-A3B-Think. While the results are promising, it remains unclear whether the observed retrieval-head specialization and corresponding gains generalize to other model families such as Llama, Gemma, Mistral, DeepSeek, or MoE architectures.
2.) Limited theoretical justification. While the RoPE-based motivation for low-dimensional retrieval indexing is intuitive and empirically validated, the paper does not provide formal guarantees regarding retrieval accuracy, approximation error, or attention-mass preservation. A stronger theoretical treatment would increase confidence in the broader applicability of the approach.
3.) The paper should discuss its relationship to recent work such as Verified Sparse Attention (vAttention [1]), which directly questions the effectiveness of top-k/top-p based sparsification. In particular, it would be valuable to understand whether RTPURBO's gains arise primarily from retrieval-head specialization or from the dynamic top-p selector itself, and whether the proposed framework could benefit from stronger retrieval mechanisms such as those proposed in [1].
[1] Aditya Desai, Kumar Krishna Agrawal, Shuo Yang, et al. vAttention: Verified Sparse Attention via Sampling. ICLR 2026.
Questions
1.) Have you tested whether retrieval-head identities transfer across model scales?
2.) How sensitive are results to the choice of calibration sequence?
3.) Would dynamic top-p still outperform top-k after equalizing actual token budgets? For instance, can you add top-8k results in Table 1?
4.) What does RTPURBO stand for?
Limitations
Yes
Final justification
My concerns were adequately addressed. I recommend acceptance.
My score is 5 (Accept).
Formatting concerns
None
3 comments
Rebuttal
We sincerely thank the reviewer for the thorough review and the positive assessment of our empirical results and efficiency gains, the head-specialization insight, and the motivation of our adaptive sparsification design. We address the questions and weaknesses below.
Q1 — Have you tested whether retrieval-head identities transfer across model scales?
During the rebuttal we ran the calibration on two additional models (Mistral-Small-3.2-24B and Llama-3.1-8B-Instruct). Retrieval-head identities are model-specific, so we recommend running the offline calibration once for every model before applying RTPurbo; it takes a single forward pass and is essentially free.
The resulting statistics, however, are remarkably consistent across scales and architectures: the vast majority of heads are local (the median head recalls almost none of its attention mass from distant content), strong retrieval capability concentrates in a similarly small fraction of heads on every model. The full per-model results are provided in our response to Reviewer PRt4.
Q2 — How sensitive are results to the choice of calibration sequence?
We quantified this during the rebuttal on all three architectures, using six calibration documents spanning encyclopedia, code, math essays, and Spanish/Russian/Chinese text: the selected top-15% head sets overlap by 87–93% across documents (Spearman ρ = 0.90–0.98 over the full head ranking), and the single strongest head is identical in every run for each model. Calibrating on an arbitrary text thus perturbs only ~1.5% of all head assignments (≤2% in the worst case). Please see our response to Reviewer PRt4 for the complete tables.
Q3 — Would dynamic top-p still outperform top-k after equalizing actual token budgets? For instance, can you add top-8k results in Table 1?
We appreciate the suggestion and have run the top-8k measurement — together with a companion experiment that we believe answers the underlying question more completely.
First, a subtlety: for dynamic top-p there is no single "equalized budget" to compare against — the realized budget varies drastically across heads and queries (Appendix B.2: 21 to 24,621 tokens under the same p = 0.9 on one 64K input), and this heterogeneity is precisely the phenomenon our design targets. To make the consequence concrete, we report the full budget ladder on the two documents of Figure 3:
Table 1: Diffuse query (Fig. 3a document; paper Table 1 + new top-8k row).
| Method | Tokens | Attn Mass |
|---|---|---|
| top-2k | 2048 | 64.2% |
| top-4k | 4096 | 77.6% |
| top-8k | 8192 | 89.4% |
| top-16k | 16384 | 93.8% |
| top-p 0.9 | 8504 | 90.0% |
Table 2: Concentrated query (Fig. 3b document; new).
| Method | Tokens | Attn Mass |
|---|---|---|
| top-2k | 2048 | 98.2% |
| top-4k | 4096 | 98.9% |
| top-8k | 8192 | 99.4% |
| top-16k | 16384 | 99.6% |
| top-p 0.9 | 2 | 96.9% |
On the diffuse document, top-8k (89.4%) is indeed comparable to top-p (90.0%) — unsurprisingly, since top-p's realized budget there happens to be ~8.5k. But on the concentrated document, the same top-8k spends 8,192 tokens where top-p retains just 2 (96.9% of the mass): a >4,000× compute overhead for +2.5% attention mass. A budget that is "matched" on one query is thus severely wasteful on another — a budget-matched comparison is ill-posed across queries, while the same p = 0.9 adapts to both automatically. This adaptivity is also reflected in end-to-end accuracy: "RTPURBO w/ top-k" vs. "w/ top-p" in Tables 3–4 of the paper share the entire pipeline and differ only in the selector, and top-p is more accurate. We will add the top-8k row and the concentrated-case table to the revision.
Q4 — What does RTPURBO stand for?
RTPurbo is a contraction of RTP-Turbo. RTP stands for Real-Time Prediction — a deliberately ML-era-flavored name which, in today's terms, means processing the next token fast; the -Turbo suffix reflects that our method turbo-charges a pretrained full-attention model through a lightweight fine-tuning stage. We contracted "RTP-Turbo" to "RTPurbo" simply because it reads more smoothly~. :)
W1 — Limited model diversity in evaluation: restricted primarily to Qwen3 models; unclear whether the observed retrieval-head specialization and gains generalize to other model families.
Please see Q1/Q2 above and, in full detail, our response to Reviewer PRt4: during the rebuttal we verified the head-specialization statistics, their cross-document stability, and training-free NIAH retrieval on Mistral-Small-3.2-24B and Llama-3.1-8B-Instruct, with results consistent with Qwen3.
W2 — Limited theoretical justification: no formal guarantees regarding retrieval accuracy, approximation error, or attention-mass preservation.
We would first note that Sec. 2.2 is derivation-level rather than purely intuitive: by RoPE's analytic form (Eq. 2), high-frequency terms oscillate rapidly with distance and cannot convey a distance-stable signal, so the long-range-consistent attention of retrieval heads can only be carried by the low-frequency components — which is why a low-dimensional index suffices . We agree, however, that we have not derived formal bounds on retrieval accuracy or attention-mass preservation, and will discuss this as future work in the revision.
We also note that a concurrent work[1] independently reaches a closely related conclusion — RoPE induces frequency-level functional sparsity , stable across architectures and calibration data — likewise supported analytically and empirically rather than by formal guarantees. We take this as encouraging independent evidence that the phenomenon is real and general.
W3 — The paper should discuss its relationship to vAttention, which questions the effectiveness of top-k/top-p sparsification; do the gains arise from retrieval-head specialization or from the dynamic top-p selector; could the framework benefit from stronger retrieval mechanisms?
We thank the reviewer for the pointer. We have read vAttention (Desai et al., ICLR 2026) carefully and will consider discussing it in the related-work section.
Relationship. Notably, vAttention's motivating observation — no fixed selection rule is consistent across heads and queries — is exactly the observation behind our dynamic top-p (Sec. 2.3), so on the diagnosis the two works agree. Its critique of top-k/top-p targets their use as training-free approximators of full attention; RTPurbo uses top-p in a different role, in an adaptation-based pipeline: the truncated attention tail is not estimated but absorbed by Stage-2 self-distillation, and heads are partitioned first, so local heads run sink+SWA by design and only retrieval heads perform dynamic selection.
Where the gains come from. Both components contribute, each isolated by an ablation: (i) head specialization alone — in the training-free NIAH experiment (response to Reviewer PRt4, Table 2), calibrated top-15% heads score 96.8/97.4 at 64K vs. 52.4/44.6 for random heads, with no top-p involved; (ii) selector alone — "w/ top-k" vs. "w/ top-p" in Tables 3–4 of the paper differ only in the selector, and top-p adds e.g. +5.7 average points on RULER.
Could RTPURBO benefit from it? Yes — the two are orthogonal and composable: our 16-dim indexer could supply the heavy-hitter candidates for its verified estimation on retrieval heads, bringing (ε, δ)-style guarantees into our framework. We view this as a promising direction.
Reference
[1] Wang et al., "FASA: Frequency-Aware Sparse Attention," ICLR 2026.
We hope these clarifications and new results address your questions, and we would be happy to discuss further during the discussion period.
#1 Response to the Rebuttal
Thank you for the thorough and thoughtful responses. I encourage the authors to discuss a few very recent works on block-level sparse attention [1, 2]. In particular, work [1] reports improvements over the baselines considered in this paper (e.g., MInference and FlexPrefill), so a discussion of how RTPurbo relates to or differs from these approaches would help position the contribution within the rapidly evolving literature. If feasible, an empirical comparison on a subset of tasks would also be valuable.
Most of my concerns have been adequately addressed, and I intend to maintain a positive score for now.
[1] Duy Le, H. et al. Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inference. ICML 2026.
[2] Wang, X. et al. Sparser Block-Sparse Attention via Token Permutation. ICML 2026.
Response to Reviewer 4TTm
Thank you for the encouraging feedback and for pointing us to these two very recent works — we have read both carefully.
They represent two complementary advances in block-level sparse attention: Sketch&Walk [1] selects attention blocks via lightweight sketching plus a cross-layer walk that captures multi-hop dependencies missed by one-hop scores, uniformly for prefill and decode; PBS-Attn [2] permutes tokens so that the keys relevant to a query block are clustered into fewer blocks, directly increasing block-level sparsity in prefilling.
We see them as orthogonal to RTPurbo along two axes: (i) both operate at the block level uniformly across heads, whereas RTPurbo specializes at the head level with per-head dynamic token selection; (ii) both are training-free approximations, whereas RTPurbo adapts the model to its sparse pattern via lightweight distillation. Notably, they also complement RTPurbo in a concrete way: block-level sparsification is exactly the kind of prefill-acceleration module that can be plugged into RTPurbo's dense-prefill path for retrieval heads without touching the Stage-1 projections (cf. our discussion with Reviewer SaEp), and the reported improvements of [1] over MInference/FlexPrefill make it an even more attractive candidate for such composition.
We will discuss both works in the related-work section of the revision. We agree an empirical comparison would be valuable. Given the limited discussion window, we may not be able to fully reproduce these methods and complete a fair comparison in time; however, we do intend to study both works closely and conduct a solid evaluation going forward.
- Rating
- 4/6
- Confidence
- 3/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
The paper proposes RTPURBO, a method for turning a full-attention long-context LLM into a sparse inference model with little extra training. The method first identifies retrieval heads through offline calibration, keeps local heads on sink tokens plus a sliding window, and uses low-dimensional projections with dynamic top-p token selection for retrieval heads during decoding. A short two-stage training process trains the low-dimensional router and then distills the sparse model from the dense model. Experiments on LongBench, RULER, AIME, and MMLU-PRO show that RTPURBO can keep accuracy close to full attention while improving prefill and decode speed.
Strengths and weaknesses
Strengths:
- The method is clear and practical. Splitting heads into retrieval/local heads, using low-dimensional routing, and using dynamic top-p all match real issues in sparse long-context inference.
- The experiments cover both long-input tasks and long-decode reasoning tasks. The comparisons with RazorAttn, MInference, FlexPrefill, Quest, and SnapKV are useful.
- The ablations are helpful. The paper studies retrieval-head ratio, projection dimension, top-k vs. top-p, sparsity, and kernel speed, so the main design choices are not left completely unexplained.
Weaknesses:
- The method is mainly tested on two Qwen3 models. Since the approach depends on stable retrieval/local head behavior, it is still unclear how well it works on other model families, sizes, or attention layouts.
- The claim that one calibration sequence is enough is important but not fully convincing. More evidence is needed to show that the selected retrieval heads stay stable across different calibration texts and domains.
Questions
Questions for the Authors
- Can you provide results or at least head-score analysis on non-Qwen3 models? This would help show whether the method is broadly useful or mainly tuned to Qwen3-style models.
- How stable is the offline head calibration? Please report overlap or rank correlation of selected retrieval heads across multiple calibration documents.
Limitations
yes
Formatting concerns
None
1 comment
Rebuttal
We thank the reviewer for the careful reading, and for the positive assessment of the method's clarity and practicality, the baseline comparisons, and the ablations. Both questions are addressed below with new experiments added during the rebuttal.
Q1 — Can you provide results or at least head-score analysis on non-Qwen3 models? This would help show whether the method is broadly useful or mainly tuned to Qwen3-style models.
We provide both during the rebuttal, on two non-Qwen families: Mistral-Small-3.2-24B and Llama-3.1-8B-Instruct.
Head-score analysis. We ran our offline calibration (Sec. 3.1) on all three models, over six documents spanning different domains and languages (details in Q2 below). The resulting per-head recall scores exhibit the same functional specialization as on Qwen3: a small subset of heads dominates long-range retrieval, while the majority of heads recall almost nothing.
Table 1: Calibration results on six documents per model. O@k = overlap (%) of the top-k% retrieval-head sets vs. the reference calibration document; ρ = Spearman rank correlation over all head scores; Top-1 = highest-scoring head (recall score, %).
Qwen3-Coder-30B (48L×32H; ref. Top-1: L42H18):
| Doc | O@10 | O@15 | O@30 | ρ | Top-1 |
|---|---|---|---|---|---|
| code | 89.0 | 89.2 | 91.1 | 0.94 | L42H18 (98.6) |
| math | 89.0 | 89.4 | 90.9 | 0.93 | L42H18 (98.9) |
| es | 90.0 | 90.1 | 91.3 | 0.94 | L42H18 (98.4) |
| ru | 90.0 | 91.6 | 92.2 | 0.94 | L42H18 (99.3) |
| zh | 89.0 | 90.7 | 91.9 | 0.93 | L42H18 (99.2) |
Mistral-Small-3.2-24B (40L×32H; ref. Top-1: L28H20):
| Doc | O@10 | O@15 | O@30 | ρ | Top-1 |
|---|---|---|---|---|---|
| code | 86.7 | 89.6 | 90.9 | 0.92 | L28H20 (98.1) |
| math | 80.5 | 87.2 | 90.3 | 0.90 | L28H20 (95.5) |
| es | 86.7 | 90.1 | 93.2 | 0.96 | L28H20 (96.7) |
| ru | 92.2 | 92.7 | 95.6 | 0.98 | L28H20 (98.0) |
| zh | 86.7 | 89.6 | 91.9 | 0.93 | L28H20 (97.6) |
Llama-3.1-8B-Instruct (32L×32H; ref. Top-1: L15H30):
| Doc | O@10 | O@15 | O@30 | ρ | Top-1 |
|---|---|---|---|---|---|
| code | 86.3 | 90.9 | 94.1 | 0.96 | L15H30 (96.8) |
| math | 85.3 | 88.3 | 93.8 | 0.96 | L15H30 (95.8) |
| es | 86.3 | 89.6 | 93.8 | 0.97 | L15H30 (96.0) |
| ru | 85.3 | 89.0 | 93.2 | 0.97 | L15H30 (95.9) |
| zh | 87.3 | 90.9 | 94.1 | 0.97 | L15H30 (96.9) |
Training-free retrieval results. To verify that the calibrated heads truly carry long-range retrieval on these architectures, we keep dense attention only for the calibrated top-15% heads and convert the remaining 85% to local attention (4 sink tokens + 8192-token window) without any Stage-1/2 training, and evaluate NIAH (RULER niah_single suite via lm-eval, averaged) at 32K/64K. As a control, we replace the calibrated heads with a random 15% subset (Table 2).
Table 2: Training-free NIAH accuracy (%) at 32K / 64K.
| Model | Full Attn | 15% Retrieval Heads | 15% Random Heads |
|---|---|---|---|
| Mistral-Small-3.2-24B | 100 / 99.8 | 99.4 / 96.8 | 88.1 / 52.4 |
| Llama-3.1-8B-Instruct | 100 / 99.6 | 100 / 97.4 | 86.0 / 44.6 |
With the calibrated heads, the training-free sparse model stays close to full attention even at 64K, whereas random heads collapse as context grows — once the needle falls outside the 8K window, only heads that genuinely perform long-range retrieval can recall it. Since both settings share the same sparsity budget, the gap is attributable purely to which heads are kept. Head specialization is thus a general property of pretrained LLMs rather than a Qwen3-specific artifact.
Q2 — How stable is the offline head calibration? Please report overlap or rank correlation of selected retrieval heads across multiple calibration documents.
Table 1 above reports exactly these measurements. The five comparison documents cover code, math essays, and Spanish / Russian / Chinese text (20k–56k tokens each); each run inserts one fixed random needle (~150 tokens) at 10% and 90% depth, and is compared against the original encyclopedia calibration document.
Across all 15 model–document pairs, the top-15% head set overlaps the reference by 87–93%, the full ranking correlates at ρ = 0.90–0.98, and — most strikingly — the single strongest retrieval head is identical in every run for each model. Hence, calibrating on an arbitrary text perturbs only ≈ 0.15 × 0.1 = 1.5% of all head assignments on average (≤2% in the worst case), and the strongly monotone rank correlation indicates that these few divergent heads are ranking-adjacent around the top-15% cutoff — i.e., of essentially equivalent recall ability. A single calibration sequence therefore suffices in practice, across domains, languages, and architectures. We will add the protocol and Table 1 to Appendix B.1.
We hope these new results directly address both concerns, and we would be happy to discuss further during the discussion period.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces RTPURBO, a novel post-hoc attention sparsification framework designed to bridge the gap between heavy full-attention large language models (LLMs) and highly efficient sparse inference. The authors demonstrate that dense full-attention models possess an intrinsic functional sparsity that can be leveraged with minimal architectural modification and training cost.
RTPURBO implements an offline head calibration step followed by a lightweight two-stage training pipeline (low-dimensional projection alignment via KL-divergence, followed by end-to-end self-distillation using fewer than 1,000 steps). Supported by a custom hardware-aware fused top-p decoding GPU kernel, RTPURBO achieves up to a prefill speedup and a decode speedup at 1M context lengths while maintaining near-lossless accuracy across demanding long-context (LongBench, RULER) and reasoning (AIME, MMLU-PRO) benchmarks.
Strengths and weaknesses
Strengths
- The engineering and experimental quality are high. The authors do not merely simulate sparsity; they implement custom hardware-aware CUDA kernels that handle sort-free top-p thresholding via a fixed-allocation histogram, directly resolving the memory and computational bottlenecks traditionally associated with dynamic routing. The evaluation covers challenging open-source reasoning models (Qwen3 family) up to 512K and 1M tokens, demonstrating robustness where competing methods (e.g., Quest, Minference, SnapKV) suffer performance degradation.
Weaknesses
- Asymmetrical Sparsification: While decoding benefits immensely from query-aware dynamic selection, the prefill stage still mandates full dense attention across the chosen retrieval heads to construct the initial KV cache. Consequently, the memory footprint during ultra-long prefill remains uncompressed for those layers.
- Architecture Generalization: Evaluation is heavily anchored within the Qwen3 ecosystem. Although the authors argue that head specialization is a general property of LLMs, validating the framework on alternative foundational families (e.g., Llama-3 or Mistral) would solidify the universality of their claims.
Questions
-
Prefill Bottlenecks in Ultra-Long Contexts: Because retrieval heads must process full dense attention during the prefill phase to seed the exact KV cache, does this create an activation memory ceiling at extreme sequence lengths (e.g., 1M+)? Could a hierarchical or block-coarse filtering pass be introduced during prefill without destroying the stage-1 projection alignments?
-
Sensitivity of the Retrieval Ratio Threshold: The ablation study sets the retrieval-head ratio at a fixed 15%. How sensitive is this threshold across distinct model sizes? If the author group scales down to a 7B model or scales up to a 70B+ model, does the proportion of emergent retrieval heads shift noticeably, and does this change require recalibrating the dynamic top-p value?
-
Cross-Architecture Validation: To what extent does the low-frequency signal subspace dependency rely on the exact RoPE base configuration (e.g., adjusted base frequencies for long-context models)? Providing a zero-shot projection transfer metric or verifying performance on an alternative model family like Llama-3 would significantly elevate confidence in the framework's broad applicability.
Limitations
yes
Final justification
I decide to raise my rating given the rebuttal and other reviews
Formatting concerns
none
1 comment
Rebuttal
We thank the reviewer for the careful reading and for recognizing the engineering and experimental quality of our work, including the custom hardware-aware kernels and the robustness of our evaluation up to 512K/1M tokens. We address the three questions below, together with new cross-architecture results added during the rebuttal.
Q1 — Prefill Bottlenecks in Ultra-Long Contexts: Because retrieval heads must process full dense attention during the prefill phase to seed the exact KV cache, does this create an activation memory ceiling at extreme sequence lengths (e.g., 1M+)? Could a hierarchical or block-coarse filtering pass be introduced during prefill without destroying the stage-1 projection alignments?
Thank you for pointing out this limitation. During prefill, RTPurbo performs dense attention only for the 15% retrieval heads, while the remaining 85% of heads attend to just 4 sink tokens plus an 8192-token local window. At a 1M-token context, the total KV-cache footprint is therefore only ~16% of full attention (0.15 + 0.85 × 8196/10⁶ ≈ 0.157), which leaves ample device memory headroom for prefill activations.
Moreover, a block-coarse (or hierarchical) filtering pass can be integrated with RTPurbo as an independent prefill-acceleration module: it does not touch the Stage-1 projections, which are used only at decode time. To preserve long-range recall accuracy under such an extension, we would still recommend keeping the full per-token KV cache for retrieval heads. We leave this direction to future work.
Q2 — Sensitivity of the Retrieval Ratio Threshold: The ablation study sets the retrieval-head ratio at a fixed 15%. How sensitive is this threshold across distinct model sizes? If the author group scales down to a 7B model or scales up to a 70B+ model, does the proportion of emergent retrieval heads shift noticeably, and does this change require recalibrating the dynamic top-p value?
Thank you for the question. The 15% ratio is an empirical operating point determined through extensive ablations: on Qwen3-30B, reducing it to 10% clearly degrades MMLU-PRO and RULER, while increasing it to 30% brings almost no additional gain. During the rebuttal we further validated this setting on Llama-3.1-8B and Mistral-Small-3.2-24B: the calibrated top-15% retrieval heads keep the training-free sparse models close to full attention on 64K NIAH (Table 1). This suggests that 15% is an effective default across the tested 8B–30B models — though we do not claim it is optimal for every model. For a new model, we recommend re-determining the ratio via the inexpensive offline calibration.
Table 1: Training-free NIAH accuracy (%) at 32K / 64K, keeping dense attention only for the calibrated top-15% heads.
| Model | Full Attn | 15% Retrieval Heads |
|---|---|---|
| Mistral-Small-3.2-24B | 100 / 99.8 | 99.4 / 96.8 |
| Llama-3.1-8B-Instruct | 100 / 99.6 | 100 / 97.4 |
The retrieval-head ratio and dynamic top-p are independent: the former decides which heads retain global access, whereas the latter decides how much attention mass each retrieval head preserves for the current query. Re-calibrating the head ratio therefore does not necessarily require re-tuning ; we keep as the default.
Q3 — Cross-Architecture Validation: To what extent does the low-frequency signal subspace dependency rely on the exact RoPE base configuration (e.g., adjusted base frequencies for long-context models)? Providing a zero-shot projection transfer metric or verifying performance on an alternative model family like Llama-3 would significantly elevate confidence in the framework's broad applicability.
The dependence is on RoPE's relative spectral structure, not on the exact base value. As analyzed in Sec. 2.2 (Eq. 2), the score contribution of each rotary pair varies with distance at rate : regardless of how the base is configured, high-frequency components oscillate rapidly at long range and cannot carry a distance-stable signal. The conclusion that "long-range retrieval signals must concentrate in a subset of low-frequency components" holds for any base.
Regarding a zero-shot projection-transfer metric: cross-model transfer is not applicable in our design, because the Stage-1 projections are trained (lightweightly, a few hundred steps) against a given model's Q/K representations.
Finally, we note that FASA [1], a concurrent work, independently reports a consistent conclusion at the frequency level: RoPE induces frequency-wise functional sparsity, observed stably across architectures and calibration data. We take this as further independent evidence that the conclusion is not specific to Qwen. For the requested validation on alternative model families, please also see Table 1 above and our response to the reviewer PRt4 (calibration statistics and training-free NIAH on Llama-3.1 and Mistral-3.2).
Reference
[1] Wang et al., "FASA: Frequency-Aware Sparse Attention," ICLR 2026.
We hope these clarifications and the new cross-architecture results address your concerns, and we would be happy to discuss further during the discussion period.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors are motivated by the notion that LLMs are naturally quite sparse, and that only some heads actually require full attention across the input. They observe that most attention heads focus on local information, while some (“retrieval heads”) retrieve information relevant to the generation from across the context. This head specialization creates an opportunity to benefit from the existing implicit sparsity.
For “local”, local attention is enforced. For “retrieval” heads, a low rank approximation is used during decoding, selecting the top tokens which represent some threshold of total attention weight, to compute exact attention – a kind of implicit retrieval.
Strengths and weaknesses
One significant and compelling result is w.r.t. queries where long-distance attention cannot be simplified by focusing on recent queries, such as multihop QA. RTPurbo succeeds where many other approaches fail.
The authors analyze RTPurbo with both long-context and long-response queries, two distinct cases where efficiency matters and where RTPurbo treats the input differently.
The authors improve the quality of their result by analyzing not only the sparsity, but the runtime with a custom kernel.
Questions
- Do all heads tend to follow either the local or retrieval paradigm? Is this true across all architectures, or only some small sample of tested systems?
- How could the principles of RTPurbo be applied partially, or to other behaviors of LLM heads?
Limitations
Authors discuss the societal benefits of efficiency; I agree that they are primarily indirect
Formatting concerns
n/a
1 comment
Rebuttal
We sincerely thank the reviewer for the positive assessment, and for recognizing our results on multi-hop QA where prior approaches fail, the analysis covering both long-context and long-response settings, and the runtime evaluation with custom kernels. We address the two questions below.
Q1: Do all heads tend to follow either the local or retrieval paradigm? Is this true across all architectures, or only some small sample of tested systems?
We observe a similar functional specialization of attention heads across Qwen3-30B, Mistral-24B, and Llama-3.1-8B: only a small subset of heads assigns substantial attention mass to distant needle tokens (Table 1), and we identify these heads as retrieval heads. Furthermore, when dense attention is retained only for the calibrated top-15% retrieval heads and the remaining 85% are replaced with sink + window sparse attention, the models maintain performance close to full attention on 64K NIAH — in a fully training-free setting (Table 2).
Table 1: Recall-score thresholds at different percentiles of the per-head ranking.
| Model (L×H = #heads) | top-5% | top-15% | top-30% | top-50% | max |
|---|---|---|---|---|---|
| Qwen3-30B (48×32 = 1536) | 0.574 | 0.106 | 0.039 | 0.004 | 0.969 |
| Mistral-24B (40×32 = 1280) | 0.506 | 0.170 | 0.065 | 0.025 | 0.964 |
| Llama3.1-8B (32×32 = 1024) | 0.454 | 0.154 | 0.028 | 0.002 | 0.930 |
The distribution in Table 1 is heavily skewed in the same way on all three families. At the top of the ranking, the strongest heads devote almost their entire attention mass to the distant needle , and heads at the top-5% threshold still recall around half of it (0.45–0.57). The scores then collapse quickly, and the median head recalls essentially nothing (0.002–0.025, i.e., ≤2.5% of its attention mass). In other words, half of the heads barely interact with distant content at all, while long-range recall capability concentrates sharply in the top few percent — the same shape that motivates our top-15% operating point.
Table 2: Training-free NIAH accuracy (%) at 32K / 64K with head-wise sparsification.
| Model | Full Attn | 15% Retrieval Heads |
|---|---|---|
| Mistral-Small-3.2-24B | 100 / 99.8 | 99.4 / 96.8 |
| Llama-3.1-8B-Instruct | 100 / 99.6 | 100 / 97.4 |
These results indicate that long-range information retrieval is primarily concentrated in a small subset of attention heads, while the remaining heads do not require full global access for the tested retrieval tasks and can be effectively approximated with local attention. This functional specialization is consistently observed across all three tested model families and is not specific to Qwen. Under RTPurbo's perspective, partitioning heads into these two classes provides an effective lens for understanding the information-retrieval mechanism of LLMs; meanwhile, we do not preclude other perspectives under which attention heads may admit different functional characterizations.
Q2: How could the principles of RTPurbo be applied partially, or to other behaviors of LLM heads?
This is a very interesting question. Prior work on LLM interpretability has found that different attention heads exhibit distinct functional patterns, including heads associated with syntactic and coreference relations, heads that perform induction and pattern completion, heads responsible for long-range information retrieval [1], and streaming heads that primarily attend to recent tokens and attention sinks [2].
The core principle behind RTPurbo is that most attention heads primarily attend to a limited number of tokens, thereby preventing attention weights from becoming overly diffuse. This suggests that future studies of attention-head mechanisms should take such differences into account. For example, for local heads, attention weights assigned to distant tokens can be regarded as interference signals; removing these signals may lead to a clearer signal-to-noise analysis. Induction heads or copy heads may only need to retain tokens containing relevant repeated patterns, whereas streaming-compatible heads may only need to retain attention sinks and recent context. We believe that this behavior-aware perspective on analyzing and optimizing attention heads can provide valuable guidance for future research on attention mechanisms.
We hope these clarifications address your questions, and we would be happy to discuss further during the discussion period.
References
[1] Wu et al., Retrieval Head Mechanistically Explains Long-Context Factuality, 2024.
[2] Xiao et al., DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads, 2024.
Comments on the paper
1 comment
Hi, I believe the discussion period is ending today. Please don't forget to submit your thoughts and comments.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Meta-Review: Summary of the Three Prioritized Questions
We sincerely thank you for the constructive meta-review and the clear prioritization of the key questions. We have posted detailed responses to all reviewers; below we summarize where each prioritized question is addressed, together with the main conclusions.
Beyond the three prioritized questions, we have also responded to each reviewer's remaining questions and comments individually in the corresponding threads. All promised revisions (new tables and protocol in Appendix B.1, expanded related-work discussion) will be incorporated.
Thank you again for the constructive guidance.