Prism Attention: Proposal-Refined Index Sharing Mechanism for Efficient LLMs Inference
Zhenxu Tian, Kebin Liu, Zhengwu Yang, Yi Su, Qingqing Dang, Kaipeng Deng, Yanlin Sha, Dianhai Yu, Yanjun Ma, Juntao Li, Min Zhang
Abstract. Long-context decoding in large language models (LLMs) is increasingly bottlenecked by the memory and computation required to attend over an ever-growing Key-Value (KV) cache at each autoregressive step. Although token-level sparse attention reduces this burden by restricting computation to a small subset of relevant past tokens, its practical gains are often offset by repeatedly recomputing layer-wise sparse indices as the context grows. A common remedy is to share sparse indices across layers by computing them only at designated anchor layers, but such static reuse ignores the layer-wise evolution of attention patterns, causing the reused indices to progressively deviate from the layer-specific optima and incur substantial attention loss. By revisiting cross-layer sparsity from the perspective of attention dynamics, we find that inter-layer salient token shift is highly localized: although the exact top- indices differ across layers, the core high-attention tokens remain stable, with changes concentrated near the expanded boundary of previously selected regions. Motivated by this, we propose Prism Attention, a proposal-refined sparse attention framework. It replaces rigid cross-layer index reuse with a coarse-to-fine strategy, preserving layer-wise adaptability while retaining the efficiency benefits of cross-layer sharing. Extensive experiments show that Prism Attention achieves state-of-the-art performance among mainstream sparse attention methods on both reasoning and long-context benchmarks, while attaining a end-to-end decoding speedup over FlashAttention at 128K context length.
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:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Overall, the reviewers recognize the importance of the problem studied in this work and find the proposed method interesting. However, the paper could be further strengthened by providing more detailed and convincing evidence for its key motivations and by expanding the empirical evaluation to include more comprehensive comparisons with carefully selected baselines. More specifically,
Major concerns: (1) The paper should provide stronger empirical evidence to support the claim that important tokens are stable across layers.
(2) The experimental setup underlying the analysis in Section 3 should be described in greater detail to improve clarity. It would also be valuable to extend the analysis beyond the Qwen model family to assess whether the observed phenomena generalize across different model architectures and families.
(3) The paper should provide a more comprehensive comparison of efficiency against relevant sparse-attention baselines.
(4) The empirical evaluation would benefit from comparisons with stronger and more directly related token-level sparse-attention baselines.
Minor concerns: (1) The paper would benefit from including pseudocode for the proposed method, together with a detailed computational-complexity analysis and a comparison with the complexity of relevant baselines.
The thorough rebutall has addressed most of the reviewers' concerns as well as my concerns. Therefore, I would like to recommend an acceptance.
Final justification
Please refer to the meta-review after edition.
- Final justification
- Please refer to the meta-review after edition.
Read meta-review
Meta-review
Overall, the reviewers recognize the importance of the problem studied in this work and find the proposed method interesting. However, the paper could be further strengthened by providing more detailed and convincing evidence for its key motivations and by expanding the empirical evaluation to include more comprehensive comparisons with carefully selected baselines. More specifically,
Major concerns: (1) The paper should provide stronger empirical evidence to support the claim that important tokens are stable across layers.
(2) The experimental setup underlying the analysis in Section 3 should be described in greater detail to improve clarity. It would also be valuable to extend the analysis beyond the Qwen model family to assess whether the observed phenomena generalize across different model architectures and families.
(3) The paper should provide a more comprehensive comparison of efficiency against relevant sparse-attention baselines.
(4) The empirical evaluation would benefit from comparisons with stronger and more directly related token-level sparse-attention baselines.
Minor concerns: (1) The paper would benefit from including pseudocode for the proposed method, together with a detailed computational-complexity analysis and a comparison with the complexity of relevant baselines.
The thorough rebutall has addressed most of the reviewers' concerns as well as my concerns. Therefore, I would like to recommend an acceptance.
3 comments
Minor Concern (1). The paper would benefit from including pseudocode for the proposed method, together with a detailed computational-complexity analysis and a comparison with the complexity of relevant baselines.
A5.
一、Algorithm : PrismAttention Decoding at Step
Require: Input representation , layers partitioned into Proposal layers and Refined layers , association function , candidate index set , sparse budget , and expansion factor .
1: for to do
2: if then Proposal layer
3: $\qquad\widetilde{\mathbf{s}}_t^F \leftarrow \mathrm{QuantizedProposal}_F(X_t)$
4: $\qquad\mathcal{C}_t^F \leftarrow \mathrm{TopK}\left( \widetilde{\mathbf{s}}_t^F,\rho\kappa \right)$
5: $\qquad\mathcal{T}_t^F \leftarrow \mathcal{C}_t^F[1:\kappa]$
6: else Refined layer
7: $\qquad\widetilde{\mathbf{s}}_t^S \leftarrow \mathrm{Refine}_S\left( X_t,\mathcal{C}_t^{f(S)} \right)$
8: $\qquad\mathcal{T}_t^S \leftarrow \mathrm{TopK}\left( \widetilde{\mathbf{s}}_t^S,\kappa \right)$
9: end if
10: $\quad X_t\leftarrow \mathrm{SparseAttn}_{\ell} \left(X_t,\mathcal{T}_t^\ell\right)$
11: + normalization and residual connections
12: end for
Here, performs approximate full-context scoring using the INT2 key cache. A Proposal layer produces an expanded top- candidate set , while using only , its own top- tokens, for sparse attention. A Refined layer avoids full-context scoring and applies only within the candidate set inherited from its associated Proposal layer.
二、Computational Complexity Analysis
We analyze the complexity for a single attention head at one autoregressive decoding step. Let be the number of Transformer layers, the context length at decoding step , the final sparse-attention token budget, the expanded proposal budget of PrismAttention, the query/key dimension of one attention head, and the block size of SeerAttention-R. We omit batch size, the number of heads, and operations whose costs do not scale with .
Top- selection requires a linear scan over its input scores, with complexity , , or . Since these costs do not exceed the corresponding scoring costs, we omit them from the leading-order expressions.
1、 FlashAttention
At each layer, the current query attends to all cached key-value pairs. The per-layer complexity is $ O(L_t d). $ FlashAttention reduces memory traffic through tiling and online softmax, but still computes exact full-context attention. Its per-step complexity across all layers is $ C_{FA}(t) = O(NL_t d). $
2、 PrismAttention
Let and denote the numbers of Proposal and Refined layers. Each Proposal layer scores all historical tokens using the INT2 key cache and selects candidates. Its proposal-generation complexity is $ O(L_t d). $ INT2 quantization reduces memory traffic and practical computation cost, but does not change the linear dependence on . Each Refined layer re-scores only the inherited candidates and selects the final tokens. Its refinement complexity is $ O(\rho\kappa d). $ All layers subsequently perform sparse attention over selected tokens, with a per-layer complexity of $ O(\kappa d). $ Incrementally quantizing each newly generated key for the Proposal layers introduces an additional cost, which does not scale with . The complete per-step complexity is $ C_{Prism}(t) = O(N_P L_t d + N_R\rho\kappa d + N\kappa d + N_P d). $ Ignoring the lower-order incremental quantization term gives $ C_{Prism}(t) = O(N_P L_t d + N_R\rho\kappa d + N\kappa d). $ Let the Proposal-layer ratio be $ r = \frac{N_P}{N}. $ The average per-layer complexity is therefore $ O(rL_t d + (1-r)\rho\kappa d + \kappa d). $
Since in long-context decoding, only the Proposal layers perform full-context scoring, while Refined layers perform bounded refinement whose cost is independent of .
3、IndexCache
IndexCache partitions the model into Full and Shared layers. Full layers run their DSA lightning indexers, whereas Shared layers reuse the indices generated by the nearest preceding Full layer.
Let be the number of Full layers. Each Full layer scores all historical tokens, with complexity $ O(L_t d). $ Shared layers introduce negligible index-reuse cost. Since all layers perform sparse attention over tokens, the total per-step complexity is $ C_{IndexCache}(t) = O(N_F L_t d + N\kappa d). $ Let the Full-layer ratio be $ r_I = \frac{N_F}{N}. $ The average per-layer complexity is $ O(r_I L_t d + \kappa d). $
Compared with IndexCache, PrismAttention adds refinement at each Refined layer. This additional cost is independent of and enables layer-wise adaptation instead of rigidly reusing the same Top- indices.
4、SeerAttention-R
SeerAttention-R uses an AttnGate at every layer to select important KV blocks. With block size , the historical tokens are compressed into approximately $ \frac{L_t}{b} $ key blocks. For one attention head, scoring all compressed key blocks has per-layer complexity $ O\left(\frac{L_t}{b}d\right). $ Under a fixed token budget, SeerAttention-R selects approximately blocks and performs block-sparse attention over approximately tokens. The sparse-attention complexity per layer is $ O(\kappa d). $ Therefore, its per-step complexity across all layers is $ C_{SeerR}(t) = O\left(N\frac{L_t}{b}d + N\kappa d\right). $ The average per-layer complexity is $ O\left(\frac{L_t}{b}d + \kappa d\right). $
SeerAttention-R scores compressed historical blocks at every layer, whereas PrismAttention performs full-context scoring only at Proposal layers. The amortized K Compression Cache update does not scale with and is omitted from the leading-order complexity.
5、Complexity Summary
| Method | Index Selection Cost | Main-attention cost | Total per-step complexity |
|---|---|---|---|
| FlashAttention | None | ||
| IndexCache | |||
| SeerAttention-R | |||
| PrismAttention |
Compared with FlashAttention, the three sparse methods introduce lightweight token- or block-selection costs but reduce the main-attention cost from to . IndexCache scores the full context only at Full layers, SeerAttention-R scores all compressed blocks at every layer, and PrismAttention combines full-context INT2 scoring at Proposal layers with bounded candidate refinement at Refined layers.
- 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
This work focuses on long context decoding. To reduce the memory and computation, this work finds that inter-layer salient token shift is highly localized: although the exact top- indices differ across layers, the core high-attention tokens remain stable, with changes concentrated near the expanded boundary of previously selected regions. Therefore, this work proposes Prism Attention, which replaces rigid cross-layer index reuse with a coarse-to-fine strategy.
Strengths and weaknesses
Strength:
- The motivation is clear: this work find that inter-layer salient token shift is highly localized.
- The method is easy to understand: as the inter-layer salient token shift is highly localized, this work proposes to replace rigid cross-layer index reuse with a coarse-to-fine strategy
- This work is validated on different tasks to prove the effectiveness of Prism Attention.\
Weakness:
- Whether the proposed method has a higher cost than previous methods (e.g., IndexCache)
- For short context, the Prism Attention may make the decode speed slower than flash attention.
- The conclusion comes from the analysis of Qwen. It is not sure whether the attention pattern is still the same for other models.
Questions
N/A
Limitations
N/A
Final justification
N/A
Formatting concerns
N/A
4 comments
Rebuttal
We sincerely thank the reviewer for the thoughtful and constructive feedback. We address the raised concerns regarding efficiency, applicability, and generality of Prism, and provide additional analyses and clarifications in the following responses.
W1. Whether the proposed method has a higher cost than previous methods (e.g., IndexCache).
A1. Compared with IndexCache, Prism introduces an additional Index Refinement overhead, but this overhead is lightweight and independent of the full context length. Unlike IndexCache, which directly reuses the top- indices, Prism performs a lightweight local refinement over a fixed candidate set of size using the current-layer query. Consequently, the refinement complexity is only and does not require re-searching the entire context.
As shown in Figure 5(c), Figure 7, and Appendix Table 5, the relative overhead of Index Refinement gradually decreases as the context length and batch size increase. At 128K context with BSZ=16, Index Refinement accounts for only 1.3% (0.0150 ms) of the total Prism kernel latency.
We further provide an end-to-end latency comparison with IndexCache in our response to Reviewer BGAX (W4 & Q6).. As the context length and batch size increase, the end-to-end latency gap between Prism and IndexCache continues to narrow, showing that the lightweight refinement overhead is increasingly amortized while enabling better layer-wise adaptability than direct index reuse.
W2. Prism Attention may be slower than FlashAttention for short contexts.
A2. This is correct for short-context scenarios. Prism is designed for long-context decoding, and for sequence lengths of no more than 8K with small batch sizes, the additional index-construction overhead may outweigh the reduction in KV-cache accesses.
This overhead mainly comes from Quantization, Proposal Construction, and Index Refinement. For short contexts, the reduction in KV-cache accesses is insufficient to amortize these fixed costs. This is also a common limitation of sparse attention methods rather than being specific to Prism. As shown below, we normalize the kernel latency of different sparse methods to FlashAttention (FlashAttention/Method). Under an 8K context, almost all sparse methods are slower than FlashAttention across different batch sizes.
| BSZ | Prism (Proposal) | Prism (Refined) | IndexCache (Proposal) | IndexCache (Shared) | SeerAttention-R | LessIsMore (Selection) | LessIsMore (Shared) |
|---|---|---|---|---|---|---|---|
| 1 | 0.45× | 0.45× | 0.45× | 0.50× | 0.56× | 0.33× | 0.50× |
| 4 | 0.56× | 0.61× | 0.51× | 0.99× | 0.66× | 0.40× | 0.87× |
Moreover, attention accounts for only a small fraction of the end-to-end decoding latency in short-context scenarios, so the impact on overall inference latency is generally limited. As shown in Figure 5(c), Figure 7, and Appendix Table 5, this trade-off gradually reverses as the context length and batch size increase, where the reduction in KV-cache accesses outweighs the additional index-construction overhead, allowing Prism to achieve increasing speedups over FlashAttention.
W3. The conclusion is based only on Qwen. It is unclear whether the observed attention pattern generalizes to other model families.
A3. We agree that results on Qwen alone are insufficient to establish generality. To address this concern, we conducted additional experiments on DeepSeek-R1-Distill-Llama-8B and GLM-4.7-Flash using the same setup as Figure 2, with Qwen3-4B included as a reference. All experiments were conducted on 8K mathematical reasoning sequences.
For each refined layer, we categorize its top-128 sparse indices according to their ranks in the corresponding proposal layer:
- Core (Prop. Top-128): indices shared by the refined-layer top-128 and proposal-layer top-128.
- Extend (Prop. Top-128–512): refined-layer top-128 indices ranked 128–511 in the proposal layer.
- Missed (Outside Prop. Top-512): refined-layer top-128 indices outside the proposal-layer top-512.
The values outside parentheses denote the index overlap ratio, while the values inside parentheses denote the corresponding attention mass in the refined layer.
| Model | Core | Extend | Missed |
|---|---|---|---|
| Qwen3-4B | 33.93% (76.67%) | 20.07% (12.89%) | 47.55% (12.04%) |
| DeepSeek-R1-Distill-Llama-8B | 24.02% (81.21%) | 26.48% (10.46%) | 50.39% (10.32%) |
| GLM-4.7-Flash | 35.70% (82.47%) | 25.14% (11.03%) | 42.53% (8.31%) |
To further quantify the benefit of proposal expansion, we group samples by the attention mass covered by the Core region in the refined layer. Each value below reports the additional attention mass recovered by expanding the proposal region from Top-128 to Top-512.
| Model | Core attention: 50%–60% | Core attention: 60%–70% | Core attention: 70%–80% | Core attention: ≥80% |
|---|---|---|---|---|
| Qwen3-4B | +16.26% | +15.04% | +10.89% | +8.71% |
| DeepSeek-R1-Distill-Llama-8B | +17.03% | +11.90% | +8.03% | +5.40% |
| GLM-4.7-Flash | +18.72% | +10.14% | +11.21% | +6.22% |
The same trend consistently holds across all three model families. When the proposal-layer Top-128 provides relatively low coverage, expanding the proposal region substantially increases the recovered attention mass (an additional 16.26%–18.72% for the 50%–60% group). Even when the Core region already covers more than 80% of the attention mass, proposal expansion still consistently recovers an additional 5.40%–8.71%. These results indicate that a moderately expanded proposal region can reliably capture salient tokens emerging in subsequent layers, while lightweight layer-wise refinement effectively recovers the remaining attention mass.
Overall, these consistent observations across Qwen-, Llama-, and GLM-based models demonstrate that the motivation behind Prism is not specific to the Qwen family, but generalizes across different model architectures. We will include these cross-model analyses and visualizations in the revised manuscript.
W1 (continued). Whether the proposed method has a higher cost than previous methods (e.g., IndexCache).
A1 (continued). Regarding the cross-reference in A1, we would like to clarify a typo: Reviewer BGAX (W4 & Q6) should be Reviewer BGAX (W3 & Q4).
Specifically, the two responses provide complementary experimental evidence:
-
W3 & Q4 and W3 & Q4 (continued)provide kernel-level latency and end-to-end serving latency comparisons among Prism, IndexCache, and other sparse attention methods, directly quantifying the runtime overhead of Index Refinement. The results show that refinement introduces some additional overhead in short-context, small-batch settings. However, as the context length and batch size increase, this overhead is increasingly amortized by the overall attention and serving costs. -
W4 & Q6provides an end-to-end accuracy-efficiency Pareto comparison using SGLang, demonstrating the accuracy gains enabled by this lightweight refinement. Under the same sparse budget and proposal-layer configuration, Prism achieves substantially higher accuracy than IndexCache. These results further show that this lightweight overhead yields significantly better accuracy and layer-wise adaptability under matched sparse budgets.
Thank you for the rebuttal. I keep the positive score.
Thanks for your reply and for supporting our work! We are confident that integrating your valuable insights will help us improve the manuscript!
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Prism Attention determines the division between the "proposal" and "refined" layers via offline calibration; during inference, the proposal layer generates an expanded candidate pool of the top-ρk tokens, from which the refined layer re-selects the top-κ tokens. This design avoids the layer-wise drift associated with rigid cross-layer index reuse while being more efficient than performing a full Top-K recalculation at every layer.
Experimental results show that Prism generally outperforms other sparse baselines and approaches the performance of full attention, on reasoning tasks and the LongBench using Qwen3-4B/8B models. Overall, this work presents a practical, training-free, token-level sparse decoding method, with its primary contribution being a simple yet effective trade-off achieved through the combination of an expanded proposal step and local refinement.
Strengths and weaknesses
Strengths
- The motivation behind this paper is highly intuitive, and the preliminary experimental results align well with expectations, such as the observation of significant top-k overlap between adjacent layers, a phenomenon consistent with hypotheses proposed in prior work (e.g., IndexCache).
- The design is well-conceived; simply selecting the top-k tokens along the dimension would effectively amount to full attention without measures to reduce computational overhead. The authors address this by employing quantization to lower costs (in my view, the sparsity advantage would be negligible without this specific technique).
- The experimental evaluation is comprehensive, demonstrating advantages over multiple baselines, and even full attention, while the ablation studies offer clear, intuitive insights.
Weaknesses
- If I understand correctly, Prism employs token-level sparsity, whereas Quest operates at the page/block level, and Seer-R uses a block-level learned gate. The papers explicitly state that Quest selects top-K pages and Seer-R performs sparse block selection, while IndexCache and Prism are closer to token-level index reuse. In fact, the comparison isn't entirely fair to the first two baselines.
- The sparse setup of the experiment is somewhat confusing. The implementation section initially states long-context κ=8192 and reasoning κ=4096, but later mentions the Prism final sparse budget as κ=2048, and efficiency/ablation as κ=1024. These may correspond to different experiments, but the paper doesn't explain this clearly enough.
- It is still necessary to use 64 OpenR1-MATH-220k calibration samples to search for the proposal/refined layer assignment, and this assignment remains fixed for all downstream evaluations. This raises a question: is this partitioning stable across non-mathematical tasks, non-reasoning tasks, varying model scales, and different sequence length distributions?
Questions
- I noticed you mentioned in the "Limitations" section that vLLM and sglang do not yet support this. I am curious: roughly how long does inference take for tasks like AIME when using solely the kernels you developed alongside the
transformerslibrary? - Did you use a different calibration method when testing on LongBench? As I understand it, there should be a distribution shift between the Math and LongBench datasets.
- As I understand it, without the overhead reduction provided by quantization, each proposal layer would perform a full attention operation, resulting in a computational complexity of , even if divided by 4 (the ratio between proposals and refined outputs). This strikes me as a computationally expensive approach; so, just how much of a reduction in overhead does the quantization step actually achieve?
Limitations
Yes, they included the Limitations.
Final justification
After the rebuttal, I raise my score to 5.
Formatting concerns
No
3 comments
Rebuttal
We sincerely thank the reviewer for the thoughtful and constructive feedback, and we will address the raised questions and clarify the relevant experimental settings in our rebuttal.
W1. The comparison with Quest and SeerAttention-R may not be entirely fair because they use different sparsity granularities.
A1. Our comparison focuses on representative all-layer sparse attention methods, rather than methods with the same sparsity granularity. Although Quest, SeerAttention-R, IndexCache, and Prism adopt different sparsity granularities and index-construction mechanisms, they all perform sparse attention across all layers under a unified decoding framework. Specifically, Quest and SeerAttention-R represent query-aware page-level sparsity and learned block-level sparsity, respectively, while IndexCache is the token-level cross-layer index-sharing baseline most closely related to Prism.
We do not include mainstream token-level methods such as TidalDecode [1] and LessIsMore [2] in the main table because they follow a dense-sparse hybrid paradigm, where only a subset of layers performs sparse attention while the remaining layers retain Full Attention or full-context token selection. In contrast, Prism computes sparse attention using only selected tokens at every layer.
To address the reviewer's concern, we additionally compare Prism with token-level baselines under the same 2k sparse budget on Qwen3-4B.
| Methods | AIME24 | AIME25 | GPQA | MATH500 | Avg. |
|---|---|---|---|---|---|
| Full Attention | 71.25 | 66.41 | 56.19 | 93.93 | 71.95 |
| TidalDecode | 45.31 | 39.48 | 40.62 | 77.20 | 50.65 |
| LessIsMore | 71.48 | 62.87 | 56.23 | 94.12 | 71.17 |
| IndexCache | 70.99 | 61.30 | 54.29 | 94.05 | 70.16 |
| Prism | 72.60 | 64.27 | 54.83 | 94.00 | 71.43 |
Prism achieves the best average performance among sparse methods and remains highly competitive with Full Attention, demonstrating stronger capability retention than existing token-level sparse baselines under the same sparse budget. We will include these additional comparisons in the revised manuscript to provide a more comprehensive evaluation against representative token-level sparse methods.
Finally, Proposal-Refined Index Sharing is orthogonal to the underlying token-level sparse attention mechanism. It can, in principle, be integrated into methods such as TidalDecode and LessIsMore by replacing rigid fixed-index reuse with an expanded proposal region followed by lightweight local refinement, thereby improving layer-wise adaptability with little additional overhead.
[1] Yang L, Zhang Z, Chen Z, et al. TidalDecode: Fast and Accurate LLM Decoding with Position-Persistent Sparse Attention. In International Conference on Learning Representations, 2025.
[2] Yang L, Zhang Z, Jain A, et al. Less Is More: Fast and Accurate Reasoning with Cross-Head Unified Sparse Attention. In Forty-Third International Conference on Machine Learning, 2025.
W2. The sparse-budget configuration (=8192, 4096, 2048, and 1024) is confusing and insufficiently explained.
A2. The confusion is caused by a typo that makes the distinction between the proposal candidate budget and the final attention budget unclear. The configurations for different experiments are explained below.
-
Main experiments.
(1) The final attention budget is consistently set to . The values "" for the long-context benchmarks and "" for the reasoning benchmarks actually refer to the proposal candidate set size . Specifically, we use a proposal expansion factor of for long-context benchmarks, yielding , and for reasoning benchmarks, yielding . This only affects the size of the proposal candidate set used for refinement; all Refined Layers ultimately select the same 2,048 tokens to compute sparse attention. We will correct the corresponding descriptions in the final version.
(2) We use a larger proposal candidate set for long-context tasks because relevant information is distributed across much longer inputs, and cross-layer salient-token shifts may involve a broader candidate range. A larger candidate set therefore provides better coverage of the true top- tokens in subsequent Refined Layers. In contrast, already provides sufficient candidate coverage for the reasoning benchmarks while reducing the overhead of proposal construction and local refinement.
-
Efficiency and ablation experiments.
These experiments use a separate configuration with . Since Prism already achieves strong performance under this budget, we use it to analyze the contributions of individual modules and kernel efficiency in this setting. This configuration is intended for component analysis rather than model comparison. The main experiments consistently use to demonstrate the overall accuracy-efficiency trade-off.
W3. Is the Proposal/Refined layer assignment calibrated on OpenR1-MATH-220k stable across different tasks, model scales, and context-length distributions?
A3. We do not claim that the Proposal/Refined layer assignment calibrated on OpenR1-MATH-220k is universally optimal across different tasks, model scales, and context-length distributions. We chose this calibration set because it is well aligned with the long chain-of-thought reasoning scenarios that are the main focus of our evaluation and is also consistent with the calibration protocol adopted by SeerAttention-R.
Different task distributions and context lengths may indeed change the layer-wise importance of sparse indices and the optimal Proposal/Refined partition. We use a fixed partition primarily to maintain a consistent runtime configuration across all downstream evaluations rather than to maximize performance for each individual task.
A more diverse calibration set combining mathematical reasoning, long-context understanding, and different context-length distributions could potentially yield a more broadly applicable partition. However, this is beyond the scope of the current work. We will clarify this point in the revised manuscript and leave task-agnostic calibration as future work.
Q1. How long does inference take using the custom kernels with the Hugging Face transformers library?
A4. Taking AIME25 as an example, inference with Qwen3-4B using the Hugging Face transformers library takes approximately 80 minutes to complete one full evaluation run (30 problems) on a single NVIDIA H800 GPU.
Q2. Did you use a different calibration method when testing on LongBench given the distribution shift?
A5. No. We use the same Proposal/Refined layer assignment across all downstream evaluations, including LongBench. As discussed in W3, we chose OpenR1-MATH-220k because it is well aligned with long chain-of-thought reasoning and is also consistent with the calibration protocol adopted by SeerAttention-R. The fixed partition is used to provide a consistent runtime configuration rather than to claim universal optimality. We will clarify this point in the revised manuscript.
Q3. Without quantization, token estimation appears computationally expensive. How much overhead reduction does quantization actually achieve?
A6. Token estimation without quantization does introduce additional overhead, but it provides substantially higher index accuracy, motivating our use of index sharing and quantization to reduce this cost. It is also worth noting that token estimation computes only the QK similarity, rather than the full attention operation (i.e., without the PV computation), making it inherently less expensive than Full Attention even without quantization.
To quantify the overhead reduction achieved by quantization, we report the latency under different sequence lengths and batch sizes below.
| BSZ \ Seq | 8K | 16K | 32K | 64K | 128K |
|---|---|---|---|---|---|
| 1 | 1.01× | 1.27× | 1.70× | 1.62× | 1.57× |
| 4 | 1.70× | 1.64× | 1.51× | 1.52× | 1.56× |
| 16 | 1.51× | 1.51× | 1.53× | 1.58× | 1.56× |
As shown above, the benefit of quantization becomes more pronounced as the token estimation workload increases, providing approximately 1.5$\times$ speedup in most practical settings.
Thanks for your rebuttal, I think it resolved my question. And I think the Indexer overhead problem has become the bottleneck of sparse attention, so Prism is a promising method. I will raise my score to 5.
We sincerely thanks for raising the score and for recognizing Prism’s potential to address the indexer-overhead bottleneck. We also appreciate the reviewer’s constructive suggestions and thoughtful engagement throughout the review process.
- Rating
- 4/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 proposes Prism Attention, a proposal-refined sparse attention mechanism for efficient long-context LLM decoding. The key idea is to replace rigid cross-layer index reuse with a coarse-to-fine strategy. Under the proposed method, the selected proposal layers construct an expanded candidate pool of salient token indices, and subsequent refined layers rescore only within this candidate pool to select their final sparse support. To reduce the overhead of proposal construction, the paper further introduces a quantized proposal generation mechanism using low-bit key representations. The paper reports competitive accuracy on reasoning and long-context benchmarks and kernel-level speedups over FlashAttention at long context lengths.
Strengths and weaknesses
Strength:
- Important problem setting. Efficient long-context decoding is a timely and practically important problem. The paper focuses on a relevant bottleneck in token-level sparse attention: the cost of constructing layer-wise sparse indices.
- Interesting algorithmic idea. The proposal-refined design is intuitive and interesting. Instead of directly reusing a compact top-k set from an anchor layer, the proposal layer exports an expanded candidate set, and refined layers perform local selection within this set. This directly addresses the limitation of static cross-layer index reuse while retaining some efficiency benefit.
- Promising empirical accuracy. The reported results suggest that Prism preserves accuracy better than several sparse attention baselines on reasoning and long-context benchmarks. The ablation over expansion factor also supports the intuition that a moderately expanded proposal pool can recover useful tokens missed by direct top-k reuse.
Weakness:
-
The key overlap analysis is based on unweighted index recall, which may not capture token importance. A central motivation of the paper is that inter-layer salient token shift is localized. Under this motivation, although exact top-k indices change across layers, most changes are captured by an expanded proposal region. However, the evidence for this claim mainly relies on overlap ratios of top-k indices. This overlap ratio metric treats all top-k tokens equally. Missing the highest-attention token and missing a marginal rank-128 token both count as one missed index. This is potentially problematic because the whole premise of sparse attention is that some tokens are much more important than others. A high unweighted top-k overlap does not necessarily imply that the proposal retains most of the attention mass. For instance, it is possible for the proposal to cover most top-k indices but still miss a few very high-attention tokens. In that case, the reported overlap ratio would look strong, but the actual covered attention weights could still be poor. The paper does not clearly report attention-mass recall, rank-weighted recall, attention output error, or KL/L1 divergence between the full layer-wise sparse attention distribution and the proposal-refined approximation. Therefore, the current analysis does not fully explain whether the tokens missed by the expanded proposal are mostly low-importance tokens.
-
The generality of the “localized salient token shift” observation is not sufficiently supported. The paper presents localized inter-layer token shift as a key empirical observation and uses it as a main motivation for the method. However, the experimental setting behind some of the overlap figures is not sufficiently described (not sure which models, datasets, context length, number of samples, heads/layers, and averaging procedure are used for each overlap analysis). Some later figures and appendices appear to analyze Qwen3-4B on specific reasoning traces, but it remains unclear whether the localized-shift pattern is common and generalizable across model families, architectures, task types, and context regimes.
-
The efficiency evaluation is promising but not systematic enough. The paper reports substantial kernel-level speedups over FlashAttention, especially at long context lengths, which is nice. However, since Prism is positioned as a sparse attention method, why not compare against the sparse attention baselines (e.g., Quest, SeerAttention-R, and IndexCache)?
-
Some experimental choices need clearer justification. The sparse budgets and expansion factors differ across settings. The paper should more clearly explain how these hyperparameters are chosen and whether comparisons are made under equal memory, equal compute, equal accuracy, or equal sparse-token budget constraints. Without such clarification, it is hard to assess whether the accuracy-efficiency tradeoff is fairly compared across baselines.
Questions
- For the overlap analysis in Figure 1 and Figure 2, what model, dataset, context length, number of decoding traces, heads, and averaging procedure are used (I understand Figure 1 covered datasets)?
- Can the authors report attention-mass recall of the refined layer’s top-k attention distribution under the expanded proposal? In other words, what fraction of the refined layer’s top-k attention weight is retained by the proposal set?
- Among the refined-layer top-k tokens that fall outside the expanded proposal, what are their rank and attention-score distributions? Are they usually marginal top-k tokens, or can highly ranked tokens also be missed?
- Can the authors compare kernel latency and/or end-to-end generation throughput against sparse baselines such as Quest, SeerAttention-R, and especially IndexCache?
- How sensitive is the localized-shift observation to model architecture? Does it hold for non-Qwen models, MHA models, or MLA-based models?
- Can the authors provide an accuracy-efficiency Pareto comparison under matched sparse budgets or matched latency constraints?
Limitations
The authors do acknowledge relevant limitations, including limited evaluation beyond Qwen3/GQA-style models and the lack of end-to-end serving results. However, I think the limitation discussion is still incomplete.
-
Since the proposed method is a layer-level design motivated by an observed cross-layer attention pattern, the generality of this pattern is central to the validity of the approach, not merely a minor limitation. The authors should more explicitly discuss whether the localized salient-token shift holds across different model families, architectures, tasks, and context lengths.
-
In addition, efficiency is one of the key contributions of the paper. Therefore, the absence of systematic efficiency comparisons against sparse-attention baselines and end-to-end generation latency/throughput cannot be treated only as future work. These missing evaluations directly affect how strongly the paper can support its main efficiency claims.
Final justification
Thanks for the rebuttal. I have raised my score.
Formatting concerns
NA
4 comments
Rebuttal
Q1 & W2. The experimental details and generality of the localized salient-token shift analysis are insufficiently described.
A1. We thank the reviewer for raising this question. We provide the detailed experimental settings of Figure 1 and Figure 2 below. The analysis covers multiple datasets, decoding steps, layers, and attention heads, providing a more comprehensive characterization of the inter-layer salient-token shift behavior.
Figure 1
- Model: Qwen3-4B with 36 layers and 32 attention heads.
- Dataset: AIME24, MATH, and GPQA; 10 randomly sampled instances per dataset.
- Context length / decoding traces: Approximately 1K and 8K decoding lengths; 32 consecutive decoding steps per trace (1024--1055 for 1K and 8192--8223 for 8K).
- Layer offset: Reference layers --, with offsets 1--7; i.e., comparing and .
- Averaging procedure: We compute the overlap ratio for each sample, decoding step, attention head, and layer pair, and average over the 32 heads, 32 decoding steps, 10 samples, and all valid layer pairs with the same offset. Results are reported separately for each dataset.
Figure 2
- Model: Qwen3-4B with 36 layers and 32 attention heads.
- Dataset: AIME24, MATH, and GPQA; 10 randomly sampled instances per dataset.
- Context length / decoding traces: Approximately 8K decoding length, with 32 consecutive decoding steps recorded per (8192--8223).
- Averaging procedure: For each target layer, its top-128 indices are categorized according to their ranks in the reference layer as
top-128,128--511, oroutside top-512. The ratios are averaged over the 32 heads, 32 decoding steps, and all samples. All datasets are pooled together for cross-dataset averaging.
We will further clarify these experimental settings and include the corresponding details in the revised manuscript.
W1 & W2 & Q5. The generality of the localized cross-layer attention shift observation is unclear across different model architectures, context lengths, and task types.
A2. We thank the reviewer for raising this important concern. We agree that results only on the Qwen model family are insufficient to establish whether the observed cross-layer attention characteristics generalize across different architectures, context lengths, and task types. To address this concern, we conduct additional analyses from three perspectives: (1) different model architectures, including Qwen3-4B (GQA), DeepSeek-R1-Distill-Llama-8B (GQA), and GLM-4.7-Flash (MLA); (2) different sequence lengths (4K, 8K, and 16K); and (3) different task types, including mathematical reasoning, summarization, few-shot learning, and multi-document QA.
All experiments follow the same analysis setup as Figure 2. We categorize the refined-layer top-128 indices according to their ranks in the proposal layer:
- Core (Prop. Top-128): indices shared by the refined-layer top-128 and proposal-layer top-128.
- Extend (Prop. Top-128--512): refined-layer top-128 indices ranked 128--511 in the proposal layer.
- Missed (Outside Prop. Top-512): refined-layer top-128 indices outside the proposal-layer top-512.
The values outside parentheses denote the index overlap ratio, while the values inside parentheses denote the corresponding attention-mass ratio in the refined layer.
Different Model Architectures
To evaluate whether the observed pattern generalizes beyond Qwen, we conduct additional experiments on DeepSeek-R1-Distill-Llama-8B and GLM-4.7-Flash using 8K-token mathematical reasoning sequences, with Qwen3-4B as reference.
1. Cross-Layer Index and Attention-Mass Distribution
| Model | Core | Extend | Missed |
|---|---|---|---|
| Qwen3-4B (GQA) | 33.93% (76.67%) | 20.07% (12.89%) | 47.55% (12.04%) |
| DeepSeek-R1-Distill-Llama-8B (GQA) | 24.02% (81.21%) | 26.48% (10.46%) | 50.39% (10.32%) |
| GLM-4.7-Flash (MLA) | 35.70% (82.47%) | 25.14% (11.03%) | 42.53% (8.31%) |
2. Attention Mass Recovered by Proposal Expansion
To further evaluate the effectiveness of proposal expansion, we measure the additional attention mass recovered when expanding the proposal region from Top-128 to Top-512.
Specifically, for each refined layer, we compute the attention mass originally covered by the Core region (i.e., the intersection between the refined-layer top-128 and proposal-layer top-128). Samples are then grouped according to this Core attention mass into four intervals: 50%--60%, 60%--70%, 70%--80%, and >=80%.
Each value below represents the additional attention mass recovered by the Extend region (proposal-layer rank 128--511) relative to directly reusing only the proposal-layer Top-128 indices.
| Model | Core attention: 50%--60% | Core attention: 60%--70% | Core attention: 70%--80% | Core attention: >=80% |
|---|---|---|---|---|
| Qwen3-4B (GQA) | +16.26% | +15.04% | +10.89% | +8.71% |
| DeepSeek-R1-Distill-Llama-8B (GQA) | +17.03% | +11.90% | +8.03% | +5.40% |
| GLM-4.7-Flash (MLA) | +18.72% | +10.14% | +11.21% | +6.22% |
These results show that the localized cross-layer attention shift is not specific to the Qwen family. Across both GQA and MLA architectures, the expanded proposal region consistently captures additional salient tokens, while lightweight refinement recovers the remaining attention mass.
Due to the limited rebuttal space, we only include representative cross-model results above. Additional analyses on different sequence lengths (4K/8K/16K) and task types (mathematical reasoning, summarization, few-shot learning, and multi-document QA) are provided in the following responses.
Overall, these results demonstrate that the motivation of PrismAttention is not tied to a specific model family or task distribution. The localized cross-layer attention shift consistently appears across different architectures, context lengths, and downstream tasks, supporting the general applicability of our proposal-refinement design.
W3 & Q4. The efficiency evaluation lacks systematic comparison with sparse attention baselines such as Quest, SeerAttention-R, and IndexCache.
A3. We thank the reviewer for this suggestion. Due to space limitations, we only report representative kernel latency results here and will include the complete comparison in the revised manuscript.
We compare Prism with representative sparse attention baselines under the same CUDA Graph replay setting. We report the total latency (T) of each stage. The speedup is computed as FlashAttention latency divided by the corresponding method latency. For methods with explicit selection and reuse stages, we separately report the selection/proposal layer and reuse/shared layer latency: Prism (Proposal / Refined), IndexCache (Proposal / Shared), and LessIsMore (Selection / Shared).
| Seq | BSZ | FA | Prism Proposal | Prism Refined | IndexCache Proposal | IndexCache Shared | SeerAttention-R | LessIsMore Selection | LessIsMore Shared |
|---|---|---|---|---|---|---|---|---|---|
| 32K | 1 | 0.0643 ms | 0.0696 ms (0.92×) | 0.0558 ms (1.15×) | 0.1187 ms (0.54×) | 0.0508 ms (1.27×) | 0.0517 ms (1.24×) | 0.1630 ms (0.39×) | 0.0505 ms (1.27×) |
| 64K | 16 | 1.3519 ms | 0.6517 ms (2.07×) | 0.2367 ms (5.71×) | 0.9194 ms (1.47×) | 0.1928 ms (7.01×) | 0.3090 ms (4.38×) | 2.5483 ms (0.53×) | 0.2010 ms (6.73×) |
| 128K | 16 | 2.6871 ms | 1.1112 ms (2.42×) | 0.2367 ms (11.35×) | 1.6263 ms (1.65×) | 0.1920 ms (14.00×) | 0.5120 ms (5.25×) | 4.9240 ms (0.55×) | 0.2009 ms (13.37×) |
The results show that sparse methods may introduce additional overhead in short-context scenarios, but this overhead is increasingly amortized with longer contexts and larger batch sizes. Compared with IndexCache, Prism introduces a lightweight refinement stage over a fixed-size candidate set, which avoids full-context re-indexing while providing better layer-wise adaptability.
W4 & Q6. The paper lacks a systematic accuracy-efficiency Pareto comparison under matched sparse budgets or latency constraints.
A4. We thank the reviewer for raising this important point. We provide an additional end-to-end accuracy-efficiency Pareto comparison using SGLang, where each point represents the average per-token decoding latency over the corresponding average generation length.
We evaluate Prism and representative sparse attention baselines under different sparse budgets. The notation g-x denotes that one in every x layers acts as a Proposal Layer (i.e., a proposal-to-refined layer ratio of ), while 1K and 2K denote the final sparse attention budget . The efficiency metric is measured by end-to-end decoding latency, and the accuracy follows the same evaluation protocol as the main experiments.
| Method | Accuracy | Efficiency |
|---|---|---|
| Full Attention | 66.41 | 7.0536 ms (1.000×) |
| Prism-g4-1K | 64.43 | 3.8409 ms (1.836×) |
| Prism-g4-2K | 64.69 | 4.1868 ms (1.685×) |
| Prism-g9-1K | 60.89 | 3.5542 ms (1.985×) |
| Prism-g9-2K | 63.02 | 3.8769 ms (1.819×) |
| IndexCache-g4-1K | 59.22 | 3.2951 ms (2.141×) |
| IndexCache-g4-2K | 61.30 | 3.6092 ms (1.954×) |
| IndexCache-g9-1K | 52.81 | 2.8692 ms (2.458×) |
| IndexCache-g9-2K | 58.33 | 3.1717 ms (2.224×) |
| SeerAttention-R-2K | 45.16 | 3.5863 ms (1.967×) |
| SeerAttention-R-4K | 58.59 | 3.9963 ms (1.765×) |
| LessIsMore-1K | 53.54 | 3.8333 ms (1.840×) |
| LessIsMore-2K | 62.87 | 4.1925 ms (1.682×) |
The results show that Prism achieves a favorable accuracy-efficiency trade-off across different sparse budgets and proposal/refined layer configurations. We will include this Pareto comparison in the revised manuscript.
W1 & W2 & Q5 (continued). The generality of the localized cross-layer attention shift observation is unclear across different model architectures, context lengths, and task types.
A2 (continued). Below are additional analyses across different sequence lengths (4K/8K/16K) and task types (mathematical reasoning, summarization, few-shot learning, and multi-document QA).
Different Sequence Lengths
To investigate whether the locality of cross-layer attention shifts changes with context length, we further conduct experiments on Qwen3-4B using mathematical reasoning sequences of 4K, 8K, and 16K tokens. All other analysis settings are kept unchanged.
1. Cross-Layer Index and Attention-Mass Distribution
| Sequence Length | Core | Extend | Missed |
|---|---|---|---|
| 4K | 36.01% (79.17%) | 24.31% (12.23%) | 40.12% (9.08%) |
| 8K | 33.93% (76.67%) | 20.07% (12.89%) | 47.55% (12.04%) |
| 16K | 35.48% (75.23%) | 22.67% (13.11%) | 42.36% (12.96%) |
2. Additional Attention Mass Recovered by Expanding the Proposal Region
| Sequence Length | Core attention: 50%--60% | Core attention: 60%--70% | Core attention: 70%--80% | Core attention: >=80% |
|---|---|---|---|---|
| 4K | +18.01% | +10.73% | +10.14% | +4.91% |
| 8K | +16.26% | +15.04% | +10.89% | +8.71% |
| 16K | +18.24% | +11.42% | +11.32% | +3.92% |
Across all evaluated sequence lengths, expanding the proposal region consistently recovers additional attention mass. This result indicates that the benefit of proposal expansion remains stable as the context length increases from 4K to 16K.
Different Task Types
To verify that this observation is not specific to mathematical reasoning, we further analyze four task categories with different contextual attention patterns using Qwen3-4B:
- Mathematical Reasoning: 10 samples are randomly selected from each of AIME24, MATH, and GPQA;
- Summarization: 10 samples are randomly selected from the summarization task category in LongBench;
- Few-shot Learning: 10 samples are randomly selected from the few-shot learning task category in LongBench;
- Multi-Document QA: 10 samples are randomly selected from the multi-document question-answering task category in LongBench.
All tasks use 8K-token sequences and the same target top-128 and proposal top-512 settings.
1. Cross-Layer Index and Attention-Mass Distribution
| Task | Core | Extend | Missed |
|---|---|---|---|
| Mathematical Reasoning | 33.93% (76.67%) | 20.07% (12.89%) | 47.55% (12.04%) |
| Summarization | 28.29% (72.90%) | 22.80% (12.84%) | 49.40% (14.75%) |
| Few-shot Learning | 37.70% (79.97%) | 26.96% (10.56%) | 35.75% (9.93%) |
| Multi-Document QA | 29.66% (78.21%) | 21.32% (8.76%) | 49.41% (13.40%) |
2. Additional Attention Mass Recovered by Expanding the Proposal Region
| Task | Core attention: 50%--60% | Core attention: 60%--70% | Core attention: 70%--80% | Core attention: >=80% |
|---|---|---|---|---|
| Mathematical Reasoning | +16.26% | +15.04% | +10.89% | +8.71% |
| Summarization | +17.92% | +12.00% | +10.41% | +6.12% |
| Few-shot Learning | +18.11% | +7.37% | +11.36% | +6.07% |
| Multi-Document QA | +16.25% | +9.44% | +10.04% | +5.82% |
Expanding the proposal region consistently recovers additional attention mass across all evaluated task categories.
These results demonstrate that the localized cross-layer attention shifts observed in our study are not limited to mathematical reasoning, but also occur in summarization, few-shot learning, and multi-document question answering, which exhibit substantially different context-access patterns.
Q2. Can the authors report attention-mass recall of the refined layer’s top-k attention distribution under the expanded proposal? In other words, what fraction of the refined layer’s top-k attention weight is retained by the proposal set?
A5. Thanks for the suggestion. We further report the attention-mass recall of the refined layer's top-k attention distribution under the expanded proposal. This metric is computed as the sum of the Core and Extend attention-mass ratios reported in the corresponding “1.Cross-Layer Index and Attention-Mass Distribution” tables of the cross-model, cross-length, and cross-task analyses in A2 and A2 (continued). The attention-mass ratios in parentheses are normalized by the total attention mass of the refined-layer top-128 tokens.
For example, for Qwen3-4B on the 8K mathematical reasoning task, the expanded top-512 proposal retains 76.67% (Core) + 12.89% (Extend) = 89.56% of the refined layer's top-128 attention weight. Applying the same calculation across all model architectures, sequence lengths, and task types, the expanded proposal retains 85.74%--93.50% of the refined layer's top-k attention weight.
These results show that the expanded proposal consistently retains the vast majority of the refined layer's top-k attention weight across different settings, supporting our design of lightweight refinement within the proposal region.
W1 & Q3:Among the refined-layer top-k tokens that fall outside the expanded proposal, what are their rank and attention-score distributions? Are they usually marginal top-k tokens, or can highly ranked tokens also be missed?
A6. We thank the reviewer for pointing out that unweighted index overlap does not distinguish the importance of different tokens. To address this concern, we further analyze the Missed tokens, i.e., tokens in the refined-layer top-128 that fall outside the proposal-layer top-512, and report their rank and attention-mass distributions over the full sequence.
This experiment is conducted on 8K decoding token mathematical reasoning sequences using Qwen3-4B. We randomly select 10 samples from each of AIME24, GPQA, and MATH, resulting in 30 samples in total. In the table, “Average missed count” denotes the average number of tokens that fall into the corresponding refined-layer rank interval while being outside the proposal-layer top-512. The attention mass is computed using the original attention probabilities over the full sequence in the refined layer.
| Refined-layer rank | Average missed count | Attention mass over the full sequence |
|---|---|---|
| 1--8 | 1.35 | 3.25% |
| 9--32 | 7.81 | 2.47% |
| 33--64 | 14.92 | 2.14% |
| 65--128 | 36.78 | 1.58% |
In terms of the count distribution, among the average of 60.86 Missed tokens, approximately 51.70 tokens are ranked 33--128, accounting for 84.96% of all Missed tokens; among them, approximately 36.78 tokens are ranked 65--128. Therefore, tokens outside the expanded proposal are predominantly concentrated in the lower-ranked and boundary regions of the refined-layer top-k. A small number of highly ranked tokens can indeed be missed. On average, approximately 1.35 Missed tokens remain in ranks 1--8 and contribute a non-negligible amount of attention mass. The average rank of these tokens is 6.58. Therefore, we do not claim that the expanded proposal can completely avoid missing high-importance tokens. A more precise conclusion is that Missed tokens are predominantly concentrated in the marginal top-k region, while a small number of highly ranked, high-weight tokens may still be missed.
Meanwhile, expanding the proposal from top-128 to top-512 recovers most tokens with higher average attention contributions, as shown by the corresponding analysis in “2. Additional Attention Mass Recovered by Expanding the Proposal Region” tables of the cross-model, cross-length, and cross-task analyses in A2 and A2 (continued). Moderately expanding the proposal region consistently recovers the most part of tokens with higher average attention contributions across different model architectures, context lengths, and task types.
W3 & Q4 (continued). The efficiency evaluation would be more convincing with systematic comparisons against sparse attention baselines, including end-to-end serving performance.
A3 (continued). Due to the limited rebuttal space, the main response only reports representative kernel-level comparisons. Below, we further provide representative end-to-end latency comparisons under the 2K sparse budget using Qwen3-4B with the SGLang serving framework. The complete results will be included in the revised manuscript.
| Seq | BS | FA | Prism-g4 | IndexCache-g4 | Prism-g9 | IndexCache-g9 | SeerAttention-R | LessIsMore |
|---|---|---|---|---|---|---|---|---|
| 16K | 1 | 2.151 ms (1.00×) | 2.492 ms (0.863×) | 2.261 ms (0.952×) | 2.314 ms (0.930×) | 2.026 ms (1.062×) | 2.520 ms (0.854×) | 2.399 ms (0.897×) |
| 16K | 16 | 4.057 ms (1.00×) | 3.302 ms (1.228×) | 2.854 ms (1.421×) | 3.091 ms (1.312×) | 2.557 ms (1.587×) | 3.101 ms (1.308×) | 3.465 ms (1.171×) |
| 64K | 1 | 2.623 ms (1.00×) | 2.565 ms (1.023×) | 2.317 ms (1.132×) | 2.374 ms (1.105×) | 2.062 ms (1.272×) | 2.580 ms (1.017×) | 2.517 ms (1.042×) |
| 64K | 16 | 8.748 ms (1.00×) | 3.835 ms (2.281×) | 3.550 ms (2.464×) | 3.343 ms (2.617×) | 2.912 ms (3.004×) | 3.208 ms (2.727×) | 4.166 ms (2.100×) |
| 128K | 1 | 3.074 ms (1.00×) | 2.678 ms (1.148×) | 2.450 ms (1.255×) | 2.474 ms (1.243×) | 2.156 ms (1.426×) | 2.659 ms (1.156×) | 2.667 ms (1.153×) |
| 128K | 16 | 15.025 ms (1.00×) | 4.467 ms (3.364×) | 4.434 ms (3.388×) | 3.703 ms (4.058×) | 3.348 ms (4.488×) | 3.483 ms (4.314×) | 5.147 ms (2.919×) |
As the context length and batch size increase, the end-to-end latency gap between Prism and IndexCache becomes progressively smaller, while Prism consistently achieves substantially better accuracy under the same sparse budget (as shown in W4 & Q6). These results demonstrate that the lightweight refinement overhead is increasingly amortized in long-context serving, enabling stronger layer-wise adaptability with only marginal additional latency.
Dear Reviewer,
As the discussion period is nearing its end, I want to ensure we have addressed all your concerns satisfactorily. If there are any additional points or feedback you'd like us to consider, please let us know. Your insights are invaluable to us, and we're eager to address any remaining issues to improve our work.
Thank you for your time and effort in reviewing our paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Meta Reviewer for the valuable comments. We address the four major concerns below and will incorporate them into the revised manuscript.
Major Concern (1). Provide stronger empirical evidence for the cross-layer stability of important tokens.
A1.
In our response to
Reviewer BGAX(A2 and A2 continued) andReviewer KgX3(A1), we provide additional stability analyses across different model architectures, context lengths, and task types.This observation is also consistent with the recent empirical findings of FlashMemory [1]: during ultra-long-context inference, a large fraction of historical tokens are unimportant to the current decoding step, and the model generally needs to attend to only a limited amount of query-critical context. In other words, the important token set that determines the current prediction is substantially smaller than the full context and exhibits strong concentration. On this basis, attention patterns across layers typically evolve through localized updates to this limited set of salient tokens, rather than through a complete reorganization over the entire context.
The results consistently show that, although the exact Top-k indices vary across layers, the majority of the attention mass remains concentrated on a stable set of core tokens and their neighboring candidate regions. Moderately expanding the proposal region beyond the core set consistently captures additional salient tokens across different model architectures, context lengths, and task types.
[1] Wang Y, Zhang Q, Yu J, et al. FlashMemory-DeepSeek-V4: Lightning Index Ultra-Long Context via Lookahead Sparse Attention. arXiv preprint arXiv:2606.09079, 2026.
Major Concern (2). Clarify the experimental setup in Section 3 and validate whether the observed phenomena generalize beyond the Qwen family.
A2.
In our response to
Reviewer BGAX(A1), we provide detailed experimental settings for Figures 1 and 2 in Section 3, including the model and its number of layers and attention heads, evaluation datasets and sampling procedure, context lengths, consecutive decoding steps, layer pairs and layer offsets used for comparison, and the specific averaging procedure. We will further clarify these experimental details in the revised manuscript to improve the clarity and reproducibility of the analysis in Section 3.In our response to
Reviewer BGAX(A2 and A2 continued) andReviewer KgX3(A1), we provide additional stability analyses across different model architectures, context lengths, and task types. Beyond Qwen3-4B, our analysis also covers DeepSeek-R1-Distill-Llama-8B (GQA) and GLM-4.7-Flash (MLA).These additional experiments consistently demonstrate that the localized cross-layer salient-token shift observed in Section 3 is not specific to the Qwen model family, but remains stable across different model architectures, context lengths, and task types.
Major Concern (3). Expand the efficiency evaluation against relevant sparse-attention baselines.
A3.
Reviewer BGAX(A3, A3 continued and A4), we provide systematic efficiency comparisons between Prism and representative sparse-attention methods, including IndexCache, SeerAttention-R, and LessIsMore, covering both kernel-level latency and end-to-end serving latency with SGLang. These experiments directly quantify the runtime overhead introduced by Index Refinement under unified evaluation settings. We will include the complete efficiency comparison in the revised manuscript. Overall, Prism maintains competitive inference efficiency compared with mainstream sparse-attention methods while preserving stronger layer-wise adaptability through lightweight refinement, thereby achieving a more balanced accuracy-efficiency trade-off for long-context inference.Major Concern (4). Compare with stronger and more directly related token-level sparse-attention baselines.
A4.
Reviewer QNwT(A1), we provide additional comparisons with representative token-level sparse-attention methods, including TidalDecode, LessIsMore, and IndexCache, on Qwen3-4B under the same 2K sparse budget. Among them, Prism achieves the highest average score among these sparse methods (71.43) and remains close to Full Attention (71.95), demonstrating stronger capability retention than existing token-level baselines under the same sparse budget. We will include these results in the revised manuscript to provide a more comprehensive and directly relevant empirical comparison.Moreover, Proposal-Refined Index Sharing is orthogonal to the underlying token-level sparse-attention mechanism (TidalDecode、LessIsMore ). It can replace rigid index reuse with lightweight proposal refinement, improving layer-wise adaptability with little additional overhead.