KVFocus: A Perturbation-Theoretic Token-Risk Score for Selective KV Cache Reuse in RAG
Shizhuo Zhang, Nuowen Kan, Chenglin Li, Ruixiao Zhang, Yifan Zhao, Yuanpeng He, Huixin Zhang, Fan He, Hang Xu, Hao Zhang, Wenrui Dai, Junni Zou, Hongkai Xiong
NeurIPS 2026
TL;DR. KVFocus improves the quality-latency trade-off of KV cache reuse in RAG by selecting tokens for recomputation using a theory-guided product of value deviation and suffix attention.
Abstract. In retrieval-augmented generation (RAG) scenarios, the prefill delay of long inputs to large language models (LLMs) is the dominant component of the time-to-first-token (TTFT). Reusing KV caches across different LLM inputs reduces this cost, but the resulting cross-context mismatch on reused chunks significantly degrades answer quality as it propagates through prefill attention into decode-time logits. Existing selective-recomputation methods mitigate this issue by recomputing tokens chosen by empirical importance heuristics, which overlook the propagation of cache mismatches into answer-side errors, thereby failing to effectively strike the quality-TTFT trade-off. To address this issue, we propose a perturbation-theoretic KV cache reuse framework, KVFocus, which selects the reused tokens to recompute through a token-risk score during the prefill process. Specifically, we first develop a first-order perturbation analysis that traces reuse error in three stages: source mismatch on the reused region, suffix drift during prefill, and decode-time logit stability. This analysis reveals that the contribution of each reused token to the suffix-side drift is the product of its source-side cache deviation and the attention mass it receives from the suffix. Guided by this multiplicative structure, we define a token-risk score that can be computed at a single check layer. A plug-and-play selector is designed for existing RAG-based LLM serving systems to select the top-r% tokens ranked by this score for recomputation in subsequent layers of the same prefill pass. Empirical results across three 7B or 8B instruction-tuned LLMs (Mistral, Qwen2.5, Qwen3) and seven datasets demonstrate that KVFocus achieves a favorable trade-off between answer quality and TTFT compared with state-of-the-art baselines. Compared to full recomputation, KVFocus achieves an average 2.22× TTFT speedup at the cost of an 18% quality degradation.
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:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes KVFocus, a token-level risk score for selective KV-cache recomputation in RAG. The key idea is to combine two factors: how much a cached token may be corrupted under the new prefix, and how strongly downstream tokens attend to it. The resulting selector is implemented in SGLang and evaluated with wall-clock TTFT across several models and RAG tasks. The problem is important, the motivation is intuitive, and the empirical results show a useful speed–quality trade-off over existing selective-recomputation baselines.
The main points that need clarification are the exact meaning of the reported “3× speedup at matched quality,” since some tables suggest that KVFocus has lower raw throughput but wins by requiring fewer recomputed tokens. The authors should also clarify how the method handles multiple retrieved chunks, continuous batching, and the overhead of running the early layers twice. The remaining gap to full prefill should be discussed more explicitly, as should the incremental relationship to CacheBlend and ProphetKV. Several broken cross-references should also be fixed.
These issues do not appear fatal. If the authors clarify the speedup accounting and multi-chunk setting, and give a more precise account of the quality gap and practical scope, I would support acceptance as a poster.
Final justification
KVFocus provides a well-motivated, practical token-level selector for selective KV-cache recomputation in RAG: its perturbation-based combination of cache deviation and downstream attention exposure yields a useful quality-latency trade-off and is supported by a real SGLang implementation and wall-clock TTFT evaluation across several models and tasks. The rebuttal addressed the main concerns by clarifying the multi-chunk setting, correcting the ambiguous speedup language, providing matched-TTFT comparisons with ProphetKV, and showing that omitting the K-drift term has negligible empirical impact. The authors also clarified that KVFocus is marginally slower at a fixed recomputation rate, but gains efficiency by achieving comparable quality with fewer recomputed tokens. The remaining gap to full recomputation, incremental relationship to prior cache-reuse methods, and presentation issues should be stated and corrected in the final version, but they do not outweigh the method’s practical value and strengthened empirical evidence.
Read meta-review
Meta-review
This paper proposes KVFocus, a token-level risk score for selective KV-cache recomputation in RAG. The key idea is to combine two factors: how much a cached token may be corrupted under the new prefix, and how strongly downstream tokens attend to it. The resulting selector is implemented in SGLang and evaluated with wall-clock TTFT across several models and RAG tasks. The problem is important, the motivation is intuitive, and the empirical results show a useful speed–quality trade-off over existing selective-recomputation baselines.
The main points that need clarification are the exact meaning of the reported “3× speedup at matched quality,” since some tables suggest that KVFocus has lower raw throughput but wins by requiring fewer recomputed tokens. The authors should also clarify how the method handles multiple retrieved chunks, continuous batching, and the overhead of running the early layers twice. The remaining gap to full prefill should be discussed more explicitly, as should the incremental relationship to CacheBlend and ProphetKV. Several broken cross-references should also be fixed.
These issues do not appear fatal. If the authors clarify the speedup accounting and multi-chunk setting, and give a more precise account of the quality gap and practical scope, I would support acceptance as a poster.
Final justification
KVFocus provides a well-motivated, practical token-level selector for selective KV-cache recomputation in RAG: its perturbation-based combination of cache deviation and downstream attention exposure yields a useful quality-latency trade-off and is supported by a real SGLang implementation and wall-clock TTFT evaluation across several models and tasks. The rebuttal addressed the main concerns by clarifying the multi-chunk setting, correcting the ambiguous speedup language, providing matched-TTFT comparisons with ProphetKV, and showing that omitting the K-drift term has negligible empirical impact. The authors also clarified that KVFocus is marginally slower at a fixed recomputation rate, but gains efficiency by achieving comparable quality with fewer recomputed tokens. The remaining gap to full recomputation, incremental relationship to prior cache-reuse methods, and presentation issues should be stated and corrected in the final version, but they do not outweigh the method’s practical value and strengthened empirical evidence.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper tackles cross-request KV cache reuse in RAG, where prefill of long retrieved contexts dominates TTFT. The central thesis: a reused token only harms the final answer when two conditions hold simultaneously — (i) it is wrong (its cached V differs from what online recomputation under the current prefix would produce), and (ii) it is read (downstream suffix tokens actually attend to that position, letting the error propagate into the hidden states that seed generation). Prior selective-recomputation methods rank tokens by a single signal (CacheBlend on cache deviation; ProphetKV on attention/query relevance) and therefore waste budget on tokens satisfying only one condition.
The authors carry out a first-order perturbation analysis tracing reuse error across three stages — segment cache mismatch → propagation through prefill attention to the suffix → decode-time logit drift bounded by the greedy margin — and show the leading-order answer-side error decomposes multiplicatively into a source-side V-deviation factor and a downstream attention-exposure factor. This motivates a per-token risk score , read out at a single check layer (); the top- tokens are recomputed online while the rest reuse the loaded cache. KVFocus is implemented on SGLang (~8K LOC) and evaluated on Mistral-7B, Qwen2.5-7B, and Qwen3-8B across multi-hop QA, summarization, and Needle-in-a-Haystack. It reports up to 3× TTFT speedup over full prefill at matched quality, and on average 1.71× faster than the strongest baseline (ProphetKV) at matched recomputation rate.
Strengths and weaknesses
- Strengths
- Theory connects to method coherently. Props. 1–3 trace error from the cached segment to the logit margin, and the decode-time stability condition () sensibly couples prompt-side drift to answer-side stability.
- Reasonably thorough empirics. Matched recomputation rates (verified within ±0.32 pp), two-level hierarchical bootstrap CIs, dual F1 + LLM-judge metrics, and per-dataset / per-rate breakdowns are all present.
- Weaknesses
- Draft completeness. Numerous broken cross-references ("Section ??") in body and checklist; the judge-model citation is a broken "[? ]".
- Throughput numbers are in tension with the "faster" narrative. In Table 10, KVFocus throughput (~45,000 tok/s) is lower than CacheBlend (~48,000), EPIC (~78,000), and Naive (~95,000). The TTFT advantage comes from needing a lower recomputation rate at matched quality — this must be stated clearly, or readers perceive a contradiction with the throughput table.
Questions
- Positioning relative to ProphetKV. Since the quality gap is small and the advantage is speed, provide a comparison at matched TTFT budget (not matched recomputation rate): let ProphetKV use a lower rate so wall-clock TTFT is equal, and check whether KVFocus still wins on quality.
- Gap between theory and the deployed score. How much does the dropped K-drift term affect ranking?
Limitations
Overall the authors discuss limitations adequately and honestly (§L and the checklist list fixed-rate selection, V-term-only scoring, greedy-decoding-only analysis, the position-alignment assumption, and no speedup on short inputs); the broader-impact discussion is reasonable.
Final justification
After considering the rebuttal, author discussion, and the broader reviewer/AC discussion, I maintain my recommended score of 4 (Borderline Accept). My main concern about whether KVFocus still outperforms ProphetKV under a matched-TTFT budget was addressed by the authors with additional results, and the ablation on the dropped K-drift term also substantially clarified the gap between the theoretical derivation and the deployed score. Remaining concerns are that the method is still somewhat incremental relative to prior cache-reuse/token-selection work, the gap to full recomputation remains, and several presentation issues require cleanup in the final version. I assign more weight to the practical usefulness, solid implementation, and responsive post-rebuttal evidence than to these remaining limitations, so I believe the paper is above the acceptance threshold but not a strong accept.
Formatting concerns
None
4 comments
Rebuttal
We thank the reviewer for the thoughtful review. Following the organizers' encouragement to respond early, we are posting an initial response that includes the critical conclusions here. The supporting details (i.e., full tables for the new experiments, the exact numbers, and the corresponding detailed responses) will follow in the discussion period, and we are happy to prioritize whichever point is most useful to you.
(Q1, matched-TTFT comparison with ProphetKV) Matched TTFT is the right comparison for this positioning, and we have run it. At the TTFT levels both methods can reach, KVFocus wins on quality. The full sweep and exact anchors will follow in the detailed response.
(Q2, dropped K-drift term) We found in experiments that adding the K-drift term may change the selection of tokens, but it does not change the F1 results at the evaluated budgets. We will provide a rigorous analysis both in theoretical and empirical aspects.
(W2, Table 10 throughput) We thank the reviewer for the careful reading of the table. We will state the two comparisons explicitly in the revised manuscript.
At equal recomputation rate (the comparison Table 10 makes): we are marginally slower. The scoring overhead is ≈2% vs. CacheBlend (the 0.98× TTFT ratio of Table 1), and larger vs. EPIC, which performs no scoring at all.
At equal answer quality (the comparison the "faster" statement refers to): to reach the answer quality KVFocus attains at r=1%, CacheBlend must run at r≈5%, at which point its TTFT is ≈1.24× ours. ProphetKV cannot reach this quality–latency point at any rate, because its scoring pass sets a lower bound on its TTFT (see Q1 above).
These are two different comparisons. At equal rate we are marginally slower per token. At equal quality we are substantially faster. We will state both comparisons in the Table 10 caption. We will add the phrasing ("the TTFT advantage comes from needing a lower recomputation rate at matched quality") to the captions in the revised manuscript.
(W1: Draft completeness) Thanks for pointing out this issue. We have checked all broken cross-references in the body and the checklist throughout the manuscript, and will provide correct cross-references and fix other typos in the revised version. Concretely, the broken cross-references have the following two main causes:
i) The judge-model citation appeared as "[?]" in the Experimental setup and App. E.6 due to an erroneous BibTeX entry.
ii) Five checklist justifications rendered "Section ??" due to the missing section labels.
We have resolved these issues, and the revised version will contain clear and correct references. In addition, we will correct the subcaption of Fig. 3(b) from "Mean TTFT vs. recomputation rate " to "Mean TTFT vs. Mean F1 score", together with the remaining typos.
(W2: Table 10 throughput is in tension with the "faster" narrative)
We have responded to this point in our initial rebuttal above.
(Q1: matched-TTFT comparison with ProphetKV)
Matched TTFT budget is a good comparison for the performance evaluation, and we have conducted experiments to evaluate the generation qualities (Mean F1) of KVFocus and ProphetKV with matched TTFT values as you mentioned. The empirical findings in Fig. 3(b) illustrate that the proposed KVFocus achieves superior performance in terms of the generation quality across all available TTFT budgets in comparison to ProphetKV. For example, KVFocus () achieves both a quality gain of in Mean F1 and a TTFT reduction of about in comparison to ProphetKV (). When KVFocus recomputes tokens and ProphetKV recomputes tokens, the TTFT of KVFocus is still about lower and the quality gain increases to . At against ProphetKV at , the TTFT of KVFocus is about lower and the quality gain reaches .
Note that ProphetKV () cannot achieve a lower TTFT value than KVFocus with . This is because ProphetKV requires a query-to-context attention pass over the entire reused context through all layers to compute the importance score per token. By contrast, KVFocus obtains the score per token from the check-layer activations, so it pays no extra pass. Therefore, ProphetKV requires a significantly larger TTFT value than that of KVFocus at the same recomputation budget, and it is challenging to obtain a strictly matched TTFT comparison for these baseline methods.
(Q2: Gap between theory and the deployed score)
The value term and the key term produce similar rankings of the reused tokens, so dropping the key term changes part of the selection but leaves most of it in place, and F1 does not change. In addition, the key term introduces a larger computation overhead than the value term. Therefore, the key term is dropped in the proposed score for ranking.
How much the key term matters. The value term and the key term produce similar rankings of the reused tokens. Specifically, we decomposed the measured error exactly into these two terms and empirically compared the rankings they induce. On Mistral with 2WikiMQA, over documents and reused tokens, the two rank the tokens similarly. Spearman . Of the tokens each term places in its top , are common to both. In the top , are common to both. We also added the key term back into the score offline and measured the effect on answers. On 2WikiMQA the effect on F1 is the following.
| Recomputation rate | ||||||
|---|---|---|---|---|---|---|
| Change in F1 from adding the key term |
None of these is statistically significant, and they average . The selection moves and the answers do not follow it. We will add the decomposition and this ablation to the appendix in the revised version.
Why not using the key term. Moreover, the value term is already available at the check layer at no extra cost. In contrast, the key term depends on the attention weights under full recomputation, so obtaining it means recomputing that layer in full, which is the cost reuse is meant to save.
Kudos to the authors for providing the requested results in such a short period of time. I will maintain my post-rebuttal updated score of 4.
Dear reviewer AJGS,
We appreciate your constructive comments, as well as the time you dedicated to evaluating this work during the review process. We will incorporate all the points raised into the final version of the paper. Please feel free to contact us if any further questions arise.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
KVFocus is a training-free KV-cache reuse method that decides which cached document KVs to recompute through the product of two indicators: (1) an estimate of how the value would differ from the full recompute version, and (2) an estimate of how useful the KV will be for downstream use. Estimates are done at a token level using information from an early layer (layer 1). Combining both these axes which existed individually in prior work is the value proposition of the work, and is shown in the paper to enable getting an efficient tradeoff of quality vs latency relative to baselines.
Strengths and weaknesses
Strengths
- The paper appears to be a very concrete improvement to a very standard situation. It improves over known baselines.
- The implementation is integrated into SGLang, evaluated with wall-clock TTFT, and compared at matched recomputation rates rather than only through idealized cost estimates.
- The “wrong and read” framing is simple and intuitive; the paper motivation and rough concept is easy to grasp.
- While perhaps a bit heavy (see weakness), theoretical justification of the design choices are a strength of the paper.
Weaknesses
-
The work could be seen as the combination of CacheBlend and ProphetKV, so the novelty is slightly incremental. Having said that, I will put a small originality score but still believe this is a meaningful practical contribution.
-
The paper is very theory heavy. While some of the formalization is interesting and appears well done (although I did not verify deeply), I am unsure it is essential within the larger paper. More concretely, while the concept's grounding is justified by theory, the algorithm used in the end is relatively intuitive and simple. The decode-time stability/margin part for instance complexifies the work and is never really used, the layerwise recursion motivates the choice of the layer but probably could be in the appendix... Overall, I feel there is a bit too much theory relative to what is warranted.
-
The technique operates at a coarse token level. Previous KV Utility papers have shown that attention patterns differ between heads and layers, so layer 1 estimates might not always be representative of real attention weight in the counterfactual full recomputation setting. Having said that, doing it this way is what enables the efficient method proposed.
-
More generally, the litterature on KV cache eviction policies seems quite relevant when deriving a downstream token utility score and some ideas could be interesting in this work. For instance, some papers show that "." tokens are often heavy hitter tokens (H2O) that could be retained (here recomputed); simple heuristics like this may be directly applicable here and improve performance. Other papers learn future KV utility with hidden state gating (KVZap, Self-pruned KV Attention); we could envision flagging during document KV cache prefilling the tokens that might be worth it to recompute through such approaches - and go beyond layer 1 patterns. This specific comment goes beyond the scope of the work and I do not expect a response here, it is a mere thought on how to go further going forward.
-
The method provides a better speed–quality tradeoff, but the remaining gap to full prefill performance is never closed. Even at relatively high recomputation rates, KVFocus does not match full recomputation, limiting the strength of the claim. I do acknowledge that the TTFT/performance curve scales nicely with the recomputation ratio, but in practice, I feel the gap to full recomputation remains too important for the method to be used in many critical applications.
-
Figure 3 fonts are too small
Questions
- What would it take the close the gap to full recomputation ? Is it possible to compute some "oracle" baselines even if impractical to use in realtime to gain some understanding of the topline performance ? for instance seeing the performance of recomputing the most important 10% keys with knowledge of what these are in practice (forward pass with the full recomputation model for instance, post-hoc combinatorial optimization). Roughly, I'd be interested in understanding where the remaining gap lays (is it in the choice of the tokens themselves, or a broader issue of recomputation granularity, etc).
Limitations
no dedicated limitations section, but the paper itself is quite clear about them
Final justification
The rebuttal perfectly answers my interrogations, and I agree with the authors on the experimental design of the Oracle experiment, and the choice of what to move to the appendix.
The other points which I had raised W3, W5 were merely a highlight of the performance/speed tradeoffs the method offered and the paper was already clear about them.
As is, I have full confidence this paper passes the bar for NeurIPS acceptance and will raise my score to Accept.
Formatting concerns
no issue
5 comments
Rebuttal
We thank the reviewer for the thoughtful review. Following the organizers' encouragement to respond early, we are posting an initial response that includes the critical conclusions here. The supporting details (i.e., full tables for the new experiments, the exact numbers, and the corresponding detailed responses) will follow in the discussion period, and we are happy to prioritize whichever point is most useful to you.
(Q, Gap to full prefill) The recomputation rate interpolates between reuse and full recomputation. At r=100% the method is exactly full recomputation and the gap is zero by construction. At the low rates where the method operates, all cached KV is loaded but only a small fraction of the tokens is recomputed. The rest keep values that were computed without the current cross-chunk context, so some information loss is expected. Where the gap lives is then an empirical question, and we have conducted the oracle experiment to answer it. The conclusion: even an oracle built from the last layer of the full recomputation model leaves most of the low-rate gap in place, so the gap is mainly a budget limitation. At r=1% our online selection already matches this oracle. The full analysis will follow in the detailed response.
(Q: oracle baseline and where the gap lays):
We appreciate this suggestion of constructing "oracle baselines" to understand where the remaining gap lays. We have evaluated the performance of the "oracle" method in terms of the generation quality across different token recomputation rates . The results in the following table demonstrate that there is a significant performance gap between the upper bound of partial recomputation ("oracle") and the full recomputation ( at , at , and at and ) in the settings of low recomputation rates. Meanwhile, there is also a notable performance gap between KVFocus and the oracle method (KVFocus has an average performance degradation of from to ). Therefore, closing the gap to full recomputation would take both a better token selection method and a higher recomputation rate. In other words, a better online selection method closes part of the gap, and additional budget closes the rest. We will add these findings to the appendix of the revised manuscript.
| Improvement over FR | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Random selection | |||||||||
| KVFocus | |||||||||
| Oracle |
The metric of Improvement over FR is defined as , where "Naive" represents the full reused method.
Oracle design. An oracle here ranks tokens by quantities that exist only after full recomputation has been run, so it cannot be computed online. We run full recomputation and full reuse on the same samples and record, at the last layer, each reused token's attention and value under both runs: and (averaged over query heads and over the suffix probe positions ), and and , with . Thus the reused tokens are selected by ranking the following four scores:
- attention alone, ;
- deviation alone, ;
- their product, , which is the oracle counterpart of our deployed score;
- , which additionally carries the part of the change due to the attention weights themselves.
For each score and recomputation rate, the top-ranked tokens form the recomputation set and are replayed through the same selective-recompute path, budget and warmup as the deployed method. Rates on Mistral {2WikiMQA, HotpotQA, Needle}, 200 samples each; per-sample differences with bootstrap intervals; each rate run independently. As a control, a mask selecting every reused token reproduces full recomputation. The Oracle results report the best of the four scores at each rate.
Results analysis. The two gaps are of different kinds. (a) Oracle to full recomputation. Even with true last-layer scores, the oracle trails full recomputation by / / points at / / . A reused token that is not recomputed keeps a value produced without the current cross-chunk context; that information is absent from the cache, and no ranking can supply it. Selection decides which tokens are repaired, not how many can be. (b) KVFocus to oracle. Our score trails the oracle by points at and at . The difference is where the score is read: the oracle reads the last layer of a full-recompute reference run, whereas our score is read at layer 1 inside the reuse pass and adds no layer to the forward. A better online proxy would recover part of this, which is the direction we see for future work.
Scope of the experiment. The mentioned second construction, post-hoc combinatorial optimization, is intractable: the combination exceeds at our prompt lengths even at the smallest budget, and subset quality is not additive over tokens, since each repaired token is recomputed while the tokens around it remain stale. No per-token score therefore identifies the optimal subset, and each candidate would require its own replay. Our oracles consequently bound per-token scoring given true scores, not the optimum over subsets. All four also select whole tokens, so the experiment varies the information used to choose while holding the unit of recomputation fixed.
(W1: Novelty)
Thank you for recognizing the meaningful practical contribution. The core contribution of KVFocus is the derivation of the multiplicative structure (product of the V-deviation and the attention exposure) through the first-order analysis, not a simple fusion of the two metrics for token recomputation that are derived from CacheBlend and ProphetKV, respectively.
The ablation in Table 11 of App. J separates these two readings. The additive combination takes exactly the same two inputs as our score, but on the three QA cells it stays within F1 of Random selection. The multiplicative score is above the additive one on every cell, by to . Information about both factors is necessary, and the form of combination is part of the contribution. The form of the combination is derived rather than tuned, since the leading first-order term is a product of the two quantities.
(W2: Theory-heavy, some contents could move to the appendix)
Thanks for your valuable suggestion, and we will re-organize the contents to make the paper considerably more readable with the following revisions:
(i) The role of decode-time margin contents (sec. 2.4) is to justify why prompt-side drift is worth controlling at all (it connects suffix drift to whether the greedy argmax flips at decode time), but no quantity from it enters the score or the selector. We will move it to the appendix in the revised manuscript, with one sentence in the body stating that role explicitly.
(ii) The layerwise recursion moves to the appendix as well, keeping only its conclusion in the body: the layer-0 mismatch is zero by position alignment, so layer 1 is the earliest layer carrying a measurable signal, which is what motivates .
(iii) The other formalizations, including the per-token decomposition of the suffix-side error into a product of V-deviation and attention exposure, bring the motivation of designing the risk score for token selection. We will also refine the remaining derivations to enhance the clarity of the reasoning and its explanation.
(W3: Layer-1 estimates may not represent the real attention weight)
Although the Layer-1 estimation is not a perfect surrogate for the full-recomputation counterfactual, it is what keeps KVFocus a latency-efficient method in token selection. When selecting the recomputation tokens using the -layer estimation, the per-token score of KVFocus, including the value difference between the full recomputation and the cached value, requires a full recomputation of all layers. Therefore, KVFocus selects the layer-1 estimation, which is where the latency advantage comes from.
In addition, Layer-1-only estimation is also the common setting of this line of work, since CacheBlend likewise selects its high-deviation tokens from the first layer. The finer granularity you point to, both across heads and across layers, is a direction we will take up as future work.
(W4: KV eviction literature (H2O, KVZap, self-pruned attention) could be relevant)
Thanks for your valuable and useful comments. We will add them to related work, and follow this line of work while continuously improving the method.
(W5: The gap to full prefill is never closed)
We accept this, and we will state it as a scope limitation in the revised version. The gap at low recomputation rates is real. The oracle study in Q1 shows it has two sources, and only one of them is something better method design could remove. Therefore, it is valuable to treat an enhanced token recomputation method as a future work.
In addition, where latency does not force reuse, or where an answer error is unacceptable, full prefill remains the right choice. We position KVFocus as a better operating curve for latency-constrained RAG serving, not as a drop-in replacement for full prefill in accuracy-critical deployments.
(W6: Figure 3 fonts are too small)
Thanks for pointing out this issue, and we will enlarge the fonts of figures in the revised manuscript to improve its visualization effect, making it easier to read.
- 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 authors study how to improve the tradeoff between response quality and a notion of cost (TTFT, time-to-first-token) in RAG settings, in particular in the space of methods that can reduce cost by caching and re-using KV caches for document chunks. Existing work has explored methods for this, including naively caching KV states for tokens from document chunks, which poses a risk to quality because in the real RAG prompt, the document chunks are conditioned on a different prefix and thus may have new representations. Some existing work re-computes these vectors based on either an estimate of whether the vectors will deviate or an estimate of whether vectors will receive attention from other tokens downstream, during generation. The authors' key observation is that both of these conditions need to hold (i.e., a token's cached representations must be both wrong/deviated and attended to by downstream suffix) for KV recomputation to be necessary for quality. They tackle this as follows. First, they argue for a quantitative decomposition of RAG generation/decoding error multiplicatively into these two factors. Second, they turn this into a per-token risk score that allows them to assign recomputation budget more effectively to the top-r% of risk. Third, they implement their method into the SGLang serving framework and demonstrate substantial empirical gains.
Strengths and weaknesses
At a high level, the problem described in this work is a well-motivated and well-explained one. If meaningful progress can be made to improve KV caching for document snippets in a way that aligns with how they're used in RAG systems, this would have substantial impact in practice.
On this note of problem definition, my main concern can be conveyed through the following question: How does Equation (1) handle the concatenation of multiple separate chunks, which is extremely common in RAG? That is, when K retrieved passages are concatenated together into the prompt. If the work currently only considers K=1, why is there a prefix P before C? Wouldn't the question-specific context be placed after C to make cache re-use safe and trivial? The main setting (though perhaps not the only practical one?) in which I can perceive a variable P before C is when multiple retrieved passages are concatenated, but in that case ideally we'd want to leverage KV caches for all of them.
I have not checked the three propositions in Section 2, particularly noting that they seem to mostly indicate loose bounds - so empirical results might be the primary way that the authors assess whether they're empirically vacuous. To the extent that the empirical results support the ability to dedicate a single "check layer" with the strong improvements over prior methods in terms of quality vs. cost tradeoffs, which they appear to do, this is a compelling empirical contribution. If I understand Algorithm 1 correctly, the method will run through the first several layers (up to the check layer) twice. Are there cases where this would mean that the algorithm is strictly slower than re-computing all KV vectors from scratch?
When the abstract and intro both claim "3x at matched answer quality", which result is that referring to? Figure 3 and Table 2 seem to imply a very sizable gap in answer quality relative to standard attention. This is currently my largest concern regarding the empirical claims.
Incidentally: For efficiency and speedup, are the authors computing the TTFT ratio and speedup per test instance, then averaging, or are they averaging TTFT first? Averaging ratios meaningfully can be notoriously tricky. This is unlikely to affect the work deeply since the average TTFTs are in Figure 3(b).
Nit: there's a broken reference in lines 220 and 617.
Questions
See Strengths And Weaknesses.
Limitations
Yes.
Final justification
The authors' responses offers some simple clarifications and helps me justify maintaining my original score, but it does not reasonably earn the paper a stronger assessment than my original one.
Formatting concerns
N/A
5 comments
Rebuttal
We would like to thank for the comments. Following the organizers' encouragement to respond early, we are posting an initial response that includes the critical conclusions here. The supporting details (i.e., full tables for the new experiments, the exact numbers, and the corresponding detailed responses) will follow in the discussion period, and we are happy to prioritize whichever point is most useful to you.
(Q1, multiple retrieved chunks) The default scenario considered in our problem formulation and experiments is K>1, i.e., all main experiments concatenate multiple retrieved passages. Every passage's KV is cached and reused at the same time, therefore we "leverage KV caches for all of them". In addition, the top-r% selection is allocated globally over all reused tokens.
i) What P and its role is. C is the set of reused-token positions, and P is everything computed online before C (at minimum the system prompt). The question is indeed in S, after C.
ii) How one C covers K>1. The analysis and the method both operate at the token level, not the chunk level. So C is simply the set of all reused tokens that are derived from different chunks, and one C covers any number of K. The revision will state it explicitly before Eq. (1): C spans one or more cached chunks, and the analysis is at the token level throughout.
(Q2, loose bounds) We will reposition the propositions as design motivation rather than tight guarantees: what they establish is which quantities matter (V-drift and attention exposure) and that they enter as a product. The Table 11 ablation (§4.5) supports exactly this: the additive combination m+U uses the same two inputs but lands within 0.010 F1 of Random on the three QA cells. On the Needle cell it exceeds Random by 0.064 yet still falls far short of the multiplicative score there (0.302 vs. 0.613). The multiplicative form survives on every cell.
(Q3, overhead of running the early layers twice) No layer is computed twice since Algorithm 1 is a single forward pass and we will reword it to make this explicit. On short prompts, measured TTFT can exceed full recomputation, and we will elaborate on this in the detailed response.
(Q4, "3× at matched quality") The 3× is against full prefill (the same convention as CacheBlend/EPIC), while "matched quality" refers to the comparison among reuse methods, i.e., to reach the quality KVFocus attains at r=1%, CacheBlend needs r≈5%. We will clearly rephrase the performance comparison results in the revised manuscript.
The 3× TTFT speedup is measured against full prefill, as are all speedup numbers in the paper, including the baselines'. This is also how CacheBlend and EPIC compute their reported speedups. "Matched answer quality" refers to the comparison among the selective-recomputation baselines, not to parity with full recomputation. The gap you see in Figure 3 and Table 2 is real: at the low recomputation rates where the method operates, a quality gap to full recomputation remains. Raising the rate shrinks it (at r=100% the method reduces to full recomputation), but that gives up the latency saving.
(Q1: Multiple retrieved chunks)
The default scenario considered in our RAG problem formulation and experiments in this paper is multiple retrieved chunks (), where retrieved passages are concatenated into a single prompt. Every passage's KV is cached and reused, and none of them is recomputed online, so the KV caches of all retrieved passages are leveraged.
The prompt decomposition in Eq. (1) uses a single cached chunk just for notational simplicity, which we state as Assumption 4 in App. A.2, and the generalization to multiple chunks is given in App. A.3. When the chunks occupy non-overlapping positions, the layer- identity of Eq. (3) and the per-token decomposition of Eq. (8) apply to each chunk separately, and the chunks' contributions sum at first order. The single-chunk derivation therefore extends to any number of reused chunks.
What P is. In Eq. (1), P is the online-computed prefix, including any tokens that are not affected by errors derived from the cache reuse. S is the downstream online segment. With passages, the region between them holds cached segments at non-overlapping positions, all of them reused. Following the prompt setting used in CacheBlend [4] and EPIC [7], P contains at least the system prompt. And S includes the question-specific context, after C.
caching (per chunk): [ sys ][ C_k ] <- the KV are obtained for reuse
|--P--||--C--|
serving: [ sys ][ C_1 ] .. [ C_{k-1} ][ C_k ] .. [ C_K ][ question ]
|------------P--------------||--C--||---------S-----------|
During the LLM serving period, if there are multiple retrieved chunks, i.e., , in the prompt, the full reused method will obtain the corresponding reused caches. However, any reused cache associated with was calculated from a previous prefill process with a prompt . Therefore, the reused cache associated with misses cross-attentions from the preceding chunks , together with any part of . In such a case, we hereby denote by P the "chunks , together with any part of ". For simplicity, we assume as in Sec. 2, and analyze how much impact the cache mismatch error (, where is the reused Value cache of and the full recomputed one) has on , as well as the generation quality. The cache mismatch error of other retrieved chunks is also derived in a similar way.
In the revised manuscript, we will move the statements for the multiple-chunk generalization from the appendix into Sec. 2 and give a clearer description of how multiple retrieved chunks are handled.
(Q2: Loose bounds)
The per-token mismatch on the reused segment is derived exactly, and bounds enter only where that mismatch is propagated to the answer. The derivation does not aim at an exact expression for the error that reuse produces at the output. It answers two questions instead: which measurable quantities the reuse error depends on (per-token cache deviation , and downstream attention exposure ), and in what form they enter (a product, not a sum). You are right that this is decided empirically rather than by the tightness of the bounds.
In the Table 11 ablation (§4.5), the rank-normalized additive combination takes the same two inputs as our score, and on the three QA cells it stays within F1 of Random. The product form is above the additive form on all four cells, by to . Same inputs, different combination, and the outcome separates. The form of the combination is what carries the result.
(Q3: Whether the method can be slower than full recomputation)
Algorithm 1 is a single forward pass, and no layer is computed twice.
Specifically, Step 1 runs layers 0 through once, over all positions, exactly as full recomputation does on those layers. The loop that follows starts at layer , and from there only the online prefix, the suffix, and the selected top- tokens continue. The check layer is where the score is read out, not a second entry into the stack. In layer compute the method therefore never exceeds full recomputation. What the method adds sits outside the layer stack. One part is shared with any reuse method, the loading of cached K and V with the position correction at the deeper layers. The other is ours alone, the scoring at the check layer (the per-token deviation and the probe attention, both lightweight kernels). These costs are included in every reported TTFT. On a short prompt neither is amortized, which is the case we acknowledge in the limitations. We will provide a clearer description in the revised version so that the single-pass structure is explicit.
Whether reuse can be slower than full recomputation? Yes. Measured TTFT can exceed it on short prompts, but not in the long-context inference that this paper targets, where prefill dominates TTFT. RAG is exactly that workload. Retrieval concatenates multiple documents into a long prompt, far above the crossover. Our new length sweep locates the crossover between roughly 0.8k and 1.5k tokens depending on the model.
Prompt-length sweep (new experiment for this response). Setup: the Needle-in-a-Haystack task, at 25 target context lengths from 256 to 16k tokens. The short end is 256, 512 and 768, and the rest is a linear grid of 20 points from 1000 to 11000, plus 13000 and 16000. Documents are cached at a fixed 256-token chunk size, on all three models from the paper. Columns below are target context length in tokens. Each value is a speedup over full recomputation, computed as full recomputation's average TTFT divided by the average TTFT of the method in that row. Above 1 means faster than full recomputation.
| 256 | 768 | 1000 | 1526 | 2053 | |
|---|---|---|---|---|---|
| Mistral-7B, KVFocus at | |||||
| Mistral-7B, naive reuse | |||||
| Qwen2.5-7B, KVFocus at | |||||
| Qwen2.5-7B, naive reuse | |||||
| Qwen3-8B, KVFocus at | |||||
| Qwen3-8B, naive reuse |
The break-even for KVFocus falls between 768 and 1000 tokens on Qwen2.5-7B and between 1000 and 1526 on Mistral-7B, and Qwen3-8B is at parity at 1000. Beyond that the speedup keeps rising with length. The penalty at the shortest lengths is not specific to our method. In this sweep naive reuse, which recomputes nothing, is also slower than full recomputation at those lengths, so that part of the cost is the reuse serving path rather than the check pass. We will add the full sweep to the appendix.
(Q4: " at matched answer quality")
Thank you for pointing out this issue, a mistake that we made in the original manuscript. From the results of Fig. 3(b) and Table 2, KVFocus has an average speedup of in comparison to the full recomputation (FR) method, with a quality degradation of %. In addition, KVFocus achieves a speedup over FR with a quality degradation of $17.4 $% on a long-context multi-hop QA task.
We will correct this mistake in the abstract and introduction in the revised version, with the following performance comparison:
Empirical results across ... demonstrate that the proposed KVFocus achieves a superior trade-off between the answer quality and the TTFT in comparison to state-of-the-art baselines. Compared to the full recomputation method, KVFocus achieves an average (up to ) TTFT speedup at the cost of an % quality degradation.
(Q5: TTFT ratio averaging)
We first compute the average TTFT value across all test instances and use it to obtain the average speedup ratio, following the same evaluation settings used in CacheBlend [4] and EPIC [7].
(Q6: Broken references at lines 220 and 617)
Thanks for pointing out this issue. We have checked all broken cross-references in the body and the checklist throughout the manuscript, and will provide correct cross-references and fix other typos in the revised version. Concretely, the broken cross-references have the following two main causes:
i) The judge-model citation appeared as "[?]" in the Experimental setup and App. E.6 due to an erroneous BibTeX entry.
ii) Five checklist justifications rendered "Section ??" due to the missing section labels.
Comments on the paper
1 comment
The authors have posted their rebuttals. The Author / Reviewer / AC discussion period (Phase 2) closes on August 3, 2026 at 11:59 PM AoE (UTC-12), a little over 2 days from now.
One point on timing that is easy to miss: after Phase 2 closes, reviewers and ACs can keep discussing, but the authors can no longer see or reply to anything we post. So any question you want the authors to answer has to go up now, not on the 3rd.
Please do the following before the deadline:
Read the authors' response to your review. Post a short reply in the forum acknowledging it. State explicitly whether your score changes: If the rebuttal resolved your concerns, update your score and note which points were addressed. If your score is unchanged, say briefly which specific concern remains unresolved and why the response did not address it. If anything in the rebuttal is unclear or you want an experiment, number, or clarification from the authors, ask now while they can still answer. A few sentences is enough. What I need is a clear signal of where you stand after the rebuttal. An unexplained unchanged score is difficult to weigh in the meta-review, and it leaves the authors without an answer to the work they put into their response.
If you have already replied, thank you. If your view has shifted since, there is still time to update. Scores can be adjusted after Phase 2 during reviewer/AC discussion, but the reasoning is much more useful to me if it is on the record while the authors can still respond to it.
Thank you for your work on this.
Best regards,
Your AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to the Area Chair
Dear Area Chair TmDx,
Thank you for the meta-review and for guiding the discussion. All questions raised in the reviews have been addressed in the corresponding threads, along with additional experiments that demonstrate our claims. All of our responses can be summarized as follows:
1. The meaning of "3× at matched quality" and the throughput comparison. The "3× at matched quality" claim was a mistake in the original manuscript, and we have corrected it in our response to Reviewer UBdB (Q4): KVFocus achieves an average 2.22× (up to 4.37×) TTFT speedup over full recomputation, at the cost of an 18% quality degradation. On the throughput issue (response to Reviewer AJGS, W2): at the same recomputation rate, KVFocus is marginally slower per token, and its advantage comes from achieving the same quality with a lower recomputation rate (CacheBlend must run at r≈5% to reach the quality that KVFocus attains at r=1%). Both comparisons will be stated explicitly in the revised manuscript.
2. Handling multiple retrieved chunks. We have addressed this issue in our response to Reviewer UBdB (Q1): the default setting in our formulation and experiments is K>1, with the KV cache of every passage reused. The single chunk C in Eq. (1) is used for notational simplicity (Assumption 4, App. A.2), while the multi-chunk generalization is described in App. A.3, together with a diagram of the caching and serving layouts. We will provide a clear desciption w.r.t. the multiple retrieved chunks in the revised manuscript.
3. Continuous batching. Our understanding of continuous batching is that the serving engine combines the prefills of new requests and the decoding steps of running requests into a batch at each iteration. We answer under this interpretation, which does not affect the effectiveness of KVFocus. The modifications introduced by KVFocus are applied only within the prefill process of each individual request, including cache lookup, check-layer scoring, and selective recomputation, all of which are performed once. None of these processes depends on how the scheduler forms the batch or on which other requests are running alongside it. KVFocus therefore remains beneficial under continuous batching: it reduces the prefill computation required when each request is incorporated into the batch, so the per-request TTFT savings remain, while the freed computation can be used to serve other requests. If the intended answer is not what you want, we are glad to elaborate before the discussion closes.
4. The overhead of running the early layers twice. We have addressed this issue in our response to Reviewer UBdB (Q3): Algorithm 1 consists of a single forward pass, and no layer is computed twice.
5. The remaining gap to full prefill. We have addressed this issue in the responses to Reviewer WwYA (the oracle experiment and W5): closing the gap to full recomputation would take both a better token selection method and a higher recomputation rate. In other words, a better online selection method closes part of the gap, and additional budget closes the rest. We will add these findings to the appendix of the revised manuscript.
6. The relationship to CacheBlend and ProphetKV. We have addressed this issue in the responses to Reviewer WwYA (W1) and Reviewer AJGS (Q1): The core contribution of KVFocus is the derivation of the multiplicative structure (product of the V-deviation and the attention exposure) through the first-order analysis, not a simple fusion of the two metrics for token recomputation that are derived from CacheBlend and ProphetKV, respectively.
7. Broken cross-references. Addressed in the responses to Reviewer UBdB (Q6) and Reviewer AJGS (W1): the two causes (an erroneous BibTeX entry and five missing section labels) are fixed, together with the remaining typos, in the revised version.
All of the above clarifications and new experiments will be incorporated in the revised manuscript. We thank you and the reviewers again for the constructive discussion.