- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
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
Paper formatting concerns
N/A
Final justification
N/A
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 n=ρκ using the current-layer query. Consequently, the refinement complexity is only O(ρκ) 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.
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:
The values outside parentheses denote the index overlap ratio, while the values inside parentheses denote the corresponding attention mass in the refined layer.
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.
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.