- Rating
- 3
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper introduces LaProx, a method for reducing the memory and runtime cost of KV cache growth in long-context LLM inference. Instead of deciding which tokens to keep using only local attention weights, it estimates each token’s true contribution by considering attention maps, value representations, output projection, and interactions across attention heads. This lets it assign globally comparable importance scores and evict tokens model-wide rather than head-by-head. Across LongBench and Needle-In-A-Haystack benchmarks, LaProx preserves model performance while using only 5% of the KV cache, outperforming prior eviction methods and reducing accuracy loss by up to 2× under heavy compression.
Strengths and weaknesses
Strengths:
- Redefine the eviction target from attention-aware to output-aware.
Weaknesses:
- It is helpful to include Section 3 (Motivation), but the argument remains somewhat unclear and unconvincing. In particular, it is not evident how the paper arrives at the conclusion that attention weights alone are insufficient for measuring token importance. The section would benefit from a more detailed analysis, stronger theoretical justification, and more rigorous mathematical formulation.
- The paper's implicit assumption is that token contributions can be decomposed into independent rank-1 components. However, in reality, attention is coupled through softmax, and tokens are strongly correlated, especially in long-context settings.
- In standard Transformer computation, token contribution is not only through attention: there is also a residual stream and MLP transformations that continuously mix and reshape information. By focusing only on the attention-derived signal, the method may systematically miss alternative routes through which a token’s information propagates.
- Attention patterns are not stationary: token importance changes across layers and time. Early-context vs. late-context relevance is highly non-stable in long sequences; later query tokens may “activate” previously unimportant tokens.
Questions
-
What exactly is the experimental setup in Section 3? Some mathematical formulas or pseudocode could help clarify it.
-
Is this sampling rule derived from a rigorous optimization objective (e.g., an error bound), or is it merely a heuristic / upper-bound approximation?
-
Does the L2 norm fail to capture sign cancellation or phase structure?
-
Does this approximation error get amplified in long-context scenarios (> 100k tokens)?
Limitations
Please see the previous weaknesses and questions.
Paper formatting concerns
N/A
Thank you for your dedicated effort during the review process. We sincerely appreciate your recognition of our work’s conceptual novelty that redefines the eviction problem, which we believe is essential for KV Cache research. Below, we address your concerns.
Reply to weakness 1: Motivation justification
Our motivation is directly derived from the Transformer attention formulation. Specifically, the attention output is computed as O=AVWO, where a token's contribution is jointly determined by its attention weights and its projected value representation. Existing attention-based methods, however, estimate token importance solely from A.
While attention weights are bounded in [0,1] after softmax, the projected value VWO exhibits substantially larger dynamic ranges across tokens and layers (as shown in Figure 1b). Consequently, the ordering induced by attention weights alone is not generally preserved after multiplication with VWO. This leads to two failure modes for attention-only scoring:
(1) False positives. A token receives high attention weights but has a small projected value, leading attention-based methods to retain a token whose actual contribution to the attention output is negligible.
(2) False negatives. A token receives low attention weights but a large projected value, causing attention-based methods to incorrectly evict a token with substantial contribution.
Both failure modes are not merely hypothetical. As shown in Fig. 1a, the peaks of A and VWO frequently occur at different token indices, while Fig. 1b further shows that VWO exhibits substantially larger dynamic ranges than the bounded attention weights. These observations empirically confirm that attention-only scoring can misestimate token importance.
Reply to weakness 2: Decomposition assumption
We would first like to clarify that our eviction score is computed using the post-softmax attention matrix A. Therefore, the coupling introduced by the softmax is already reflected in our score. Our formulation does not assume that attention weights are independent.
Once A is obtained, the attention output can be decomposed into a sum of column-row outer products O=A(VWO)=∑j=1SA:,j(VWO)j,:, where each token contributes a rank-1 outer product. This decomposition is an exact matrix multiplication identity rather than an approximation.
Consequently, the contribution of each token is rigorously quantified by the Frobenius norm of its corresponding rank-1 term, yielding a theoretically grounded importance score based on an exact decomposition of the post-softmax attention output rather than an independence assumption.
Reply to weakness 3: Transformer computation
The goal of KV-cache eviction is to determine which KV vectors can be removed for minimal output distortion. Since cached KV vectors are consumed exclusively within the attention operation, the attention output AVWO is the only component directly being modified by eviction. Consequently, it provides the exact mapping from each KV pair to its contribution to the layer output.
While the resulting perturbation propagates through subsequent residual and MLPs, these components simply operate on the perturbed residual stream produced by the modified attention output. At this point, all KV pairs have already been aggregated and can no longer be directly isolated.
Because the residual stream is the sole interface between Transformer blocks, minimizing the perturbation of AVWO minimizes the error injected into the downstream computations and, consequently, the final model output. Incorporating MLP transformations into the importance score would require tracing each KV pair propagation through all subsequent operations. Such a formulation would substantially increase complexity and move beyond efficient online KV-cache eviction.
Reply to weakness 4: Attention patterns are not stationary
We would like first to distinguish the problem setting considered in this paper. Static Cache Eviction and Dynamic Cache Retrieval are orthogonal approaches with different objectives, execution mechanisms, and practical trade-offs, as summarized below.
Our work specifically targets Static Cache Eviction to improve existing methods, which is inherently limited in modeling future steps and no prior work models it. Although the framework could potentially be extended to dynamic cache selection, such an extension is beyond the scope of this work.
Reply to question 1: Section 3 experimental setup
The purpose of this experiment is to empirically verify our motivation by examining whether attention weights alone can reliably estimate token importance. Specifically, we compare the magnitudes and relative ordering of the attention weights and projected value representations to determine whether mismatches exist between them, leading to the false-positive and false-negative scenarios discussed in Weakness 1.
In the experiment, we use Mistral-7B-Instruct-v0.3 and compute the post-softmax attention matrix and projected value matrix from an observation window, following the setting commonly adopted in KV-cache eviction frameworks.
A←softmax(dkQ[−w:,]K⊤), where w is the observation window size
H←VWO
For Figure 1a, we compute the average magnitude of A and VWO for each token (the values are normalized only for visualization). For Figure 1b, we compute the average magnitude of A, V, and WO separately to compare their dynamic ranges.
Reply to question 2: Sampling rule rigorousness
Our sampling rule is not heuristic. It is directly derived from the optimal distribution established in Monte Carlo matrix multiplication, where the expected Frobenius norm approximation error is minimized by sampling rows/columns proportional to the product of their Euclidean norms. Applying this result to the attention matrix multiplication A(VWO) yields our token importance score, which minimizes the expected Frobenius norm approximation error under the Monte Carlo framework. Therefore, the proposed score is theoretically grounded.
Reply to question 3: Sign cancellation and phase structure
We agree that the L2 norm does not explicitly capture sign cancellation or higher-order directional structure. However, explicitly modeling such interactions requires full matrix multiplication, which defeats the purpose of efficient KV-cache eviction. Our objective is to approximate the matrix product rather than exactly reconstruct every element. Under this objective, L2 norm, which follows Monte Carlo matrix multiplication theory directly, naturally arises as the theoretical optimal approximation. Therefore, although the L2 norm does not explicitly encode sign cancellation, it remains the theoretically justified quantity for our approximation objective.
Reply to question 4: Approximation error in long context
Under a fixed cache budget, increasing the context length generally makes the approximation problem more challenging. From the perspective of matrix multiplication, a longer sequence introduces more row-column pairs, while the budget remains fixed, meaning that only a smaller fraction of them can be retained. Consequently, the approximation error may increase. However, this challenge is inherent to all static KV-cache eviction methods.
The table below shows the cosine similarity (average across all layers) between full and compressed attention outputs for the first decoding token in Meta-Llama-3.1-8B-Instruct under a 128-token budget.
Therefore, we believe the key question is whether the proposed approximation remains more accurate than existing strategies under the same cache budget to approximate a substantially larger matrix. As shown in the table above, although the approximation quality decreases for both methods as the context length increases, LaProx consistently achieves higher cosine similarity across all context lengths.
We further validate that this improved approximation translates into better performance. Our InfiniteBench (100K+ context) experiment in Section G.1 already shows that LaProx consistently outperforms the strongest baselines. For convenience, we also add a comparison (Meta-Llama-3.1-8B-Instruct, 1024L budget) with SnapKV below, which relies solely on heuristic attention scores.
Final Remark
We sincerely appreciate your recognition of our approach's novelty, which "redefines the eviction target." We hope this response has addressed your remaining concerns. If you have further questions, we would be very happy to discuss. If our response has resolved your concerns, we would greatly appreciate it if you could consider raising your score accordingly.
Thank you again for your time and effort dedicated to this paper.