potentialpaper

Fast KVzip: Efficient and Accurate LLM Inference with Gated KV Eviction

Jang-Hyun Kim, Dongyoon Han, Sangdoo Yun

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a lightweight gating mechanism for KV cache compression that improves prefill and decoding efficiency while maintaining the performance.

Abstract. Efficient key-value (KV) cache management is crucial for the practical deployment of large language models (LLMs), yet existing compression techniques often incur a trade-off between performance degradation and computational overhead. We propose a novel gating-based KV cache eviction method for frozen-weight LLMs that achieves high compression ratios with negligible computational cost. Our approach introduces lightweight sink-attention gating modules to identify and retain critical KV pairs, and integrates seamlessly into both the prefill and decoding stages. The proposed gate training algorithm relies on forward passes of an LLM, avoiding expensive backpropagation, while achieving strong task generalization through a task-agnostic reconstruction objective. Extensive experiments across the Qwen2.5-1M, Qwen3, and Gemma3 families show that our method maintains near-lossless performance while evicting up to 70% of the KV cache. The results are consistent across a wide range of tasks, including long-context understanding, code comprehension, and mathematical reasoning, demonstrating the generality of our approach.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Initial Meta-Review

Review statistics: Three official reviews. Ratings: 3 (Borderline Reject), 3 (Borderline Reject), 4 (Borderline Accept). Confidence: 4, 4, 4. Quality assessed at 2–3, Clarity at 2–3, Significance at 2–3, Originality at 2–3.

Summary of review sentiment: Reviewers agree the paper targets an important practical bottleneck — KV-cache memory and prefill/decoding latency in long-context LLM deployment — and credit the method with a practical design: the base LLM stays frozen, the gate is lightweight and trained without backpropagation, and inference avoids KVzip's expensive online reconstruction while retaining strong accuracy at low cache budgets. The empirical section is regarded as broad (multiple model families including quantized and hybrid-attention variants; long-context, code, and math tasks; prefill- and decoding-intensive settings) with useful ablations.

The overall sentiment, however, is dominated by two converging concerns. First, novelty: all three reviewers view the contribution as incremental — essentially a relaxation of DuoAttention-style fixed head policies into a learned input-dependent gate, and an offline distillation/acceleration of KVzip's reconstruction scores rather than a new eviction principle; reviewers ask that the paper be positioned more candidly in these terms. Second, the comparison with learned retention/eviction methods (KVzap, Locret, TrimKV, DMS, FastGen) is considered insufficiently controlled: reviewers want matched-condition baselines and ablations isolating how much of the gain comes from the learned gate versus the KVzip teacher labels, local-window retention, and non-uniform budget allocation. Additional concerns include the unvalidated assumption that KVzip reconstruction scores are the right proxy for downstream utility, generalization under distribution shift beyond the training data, per-model/per-layer maintenance cost, and limited reproducibility given no code release. Separately, one reviewer flags a submission-integrity concern: repeated prompt-like text near the page footer apparently directed at LLM-assisted reviewing. The authors must address this directly in the rebuttal — if it is their doing (and not part of the submission template) the text should be removed and its presence explained.

Guidance to authors: The authors should read all three reviews carefully and address ALL reviewer concerns and questions in their rebuttal, including those not explicitly highlighted in the summary above. Please note that this is not the final meta-review and does not convey or imply any decision; it is a summary of the current state of the discussion and broad guidance intended to help the authors organize their rebuttal work. Good luck with the rebuttal.

Final justification

The paper received 3 reviews. Final ratings are 4, 4, and 4, with two reviewers raising their scores after the rebuttal.

The reviewers agreed from the start that the problem matters and that the design is practical: the base model stays frozen, the gate is cheap to train without backpropagation, and inference avoids KVzip's expensive online reconstruction. The main concerns were novelty relative to DuoAttention, Locret, TrimKV and concurrent work, and whether the comparisons were controlled enough to attribute the gains to the proposed gate rather than to the teacher signal, the local window, or the budget allocation.

The rebuttal answered these with actual experiments. The authors added matched-condition baselines where a head-level policy and simpler token-level gates use the same teacher scores, training data, allocation and local window, a full Locret reproduction, a factor decomposition separating the teacher signal from the architecture and the local window, alternative teacher signals, and multilingual generalization. They also accepted the reviewers' framing of the method as an offline distillation of KVzip and agreed to position it that way. The reviewer who raised the submission-integrity concern was satisfied by the explanation; the footer text is a system-level artifact and not the authors' doing.

For camera-ready: please fold the rebuttal experiments into the paper, adopt the distillation framing you agreed to, and work through the remaining requests in all three reviews. Please release the code, as committed.

Area Chair vheZ · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Initial Meta-Review

Review statistics: Three official reviews. Ratings: 3 (Borderline Reject), 3 (Borderline Reject), 4 (Borderline Accept). Confidence: 4, 4, 4. Quality assessed at 2–3, Clarity at 2–3, Significance at 2–3, Originality at 2–3.

Summary of review sentiment: Reviewers agree the paper targets an important practical bottleneck — KV-cache memory and prefill/decoding latency in long-context LLM deployment — and credit the method with a practical design: the base LLM stays frozen, the gate is lightweight and trained without backpropagation, and inference avoids KVzip's expensive online reconstruction while retaining strong accuracy at low cache budgets. The empirical section is regarded as broad (multiple model families including quantized and hybrid-attention variants; long-context, code, and math tasks; prefill- and decoding-intensive settings) with useful ablations.

The overall sentiment, however, is dominated by two converging concerns. First, novelty: all three reviewers view the contribution as incremental — essentially a relaxation of DuoAttention-style fixed head policies into a learned input-dependent gate, and an offline distillation/acceleration of KVzip's reconstruction scores rather than a new eviction principle; reviewers ask that the paper be positioned more candidly in these terms. Second, the comparison with learned retention/eviction methods (KVzap, Locret, TrimKV, DMS, FastGen) is considered insufficiently controlled: reviewers want matched-condition baselines and ablations isolating how much of the gain comes from the learned gate versus the KVzip teacher labels, local-window retention, and non-uniform budget allocation. Additional concerns include the unvalidated assumption that KVzip reconstruction scores are the right proxy for downstream utility, generalization under distribution shift beyond the training data, per-model/per-layer maintenance cost, and limited reproducibility given no code release. Separately, one reviewer flags a submission-integrity concern: repeated prompt-like text near the page footer apparently directed at LLM-assisted reviewing. The authors must address this directly in the rebuttal — if it is their doing (and not part of the submission template) the text should be removed and its presence explained.

Guidance to authors: The authors should read all three reviews carefully and address ALL reviewer concerns and questions in their rebuttal, including those not explicitly highlighted in the summary above. Please note that this is not the final meta-review and does not convey or imply any decision; it is a summary of the current state of the discussion and broad guidance intended to help the authors organize their rebuttal work. Good luck with the rebuttal.

Final justification

The paper received 3 reviews. Final ratings are 4, 4, and 4, with two reviewers raising their scores after the rebuttal.

The reviewers agreed from the start that the problem matters and that the design is practical: the base model stays frozen, the gate is cheap to train without backpropagation, and inference avoids KVzip's expensive online reconstruction. The main concerns were novelty relative to DuoAttention, Locret, TrimKV and concurrent work, and whether the comparisons were controlled enough to attribute the gains to the proposed gate rather than to the teacher signal, the local window, or the budget allocation.

The rebuttal answered these with actual experiments. The authors added matched-condition baselines where a head-level policy and simpler token-level gates use the same teacher scores, training data, allocation and local window, a full Locret reproduction, a factor decomposition separating the teacher signal from the architecture and the local window, alternative teacher signals, and multilingual generalization. They also accepted the reviewers' framing of the method as an offline distillation of KVzip and agreed to position it that way. The reviewer who raised the submission-integrity concern was satisfied by the explanation; the footer text is a system-level artifact and not the authors' doing.

For camera-ready: please fold the rebuttal experiments into the paper, adopt the distillation framing you agreed to, and work through the remaining requests in all three reviews. Please release the code, as committed.

2 comments
Authors · CommentOpenReview ↗

Response to Meta-Review

We thank all reviewers and the meta-reviewer for the constructive evaluation. We provide new experiments addressing each raised point, with detailed results in the per-reviewer responses below. Here we summarize the key findings.

Novelty and positioning

  • Our contribution is demonstrating that distillation of reconstruction-based importance into a lightweight gate achieves domain-agnostic KV cache compression, a capability no prior learned method has shown.
  • All alternatives fail on retrieval (Locret 1.8%, TrimKV 2.4%, SnapKV/H2O teachers 1.8% on SCBench-KV at 30%), while our reconstruction teacher + sink-attention gate simultaneously achieves 65.4% (retrieval) and 93.3% (QA).
  • Neither the teacher signal nor the architecture alone is sufficient; it is their combination that enables generalization.

Controlled comparisons and new ablations

To isolate each component's contribution, we conduct the following controlled experiments under identical conditions (same training data, gate size, evaluation suite):

Experiment Key Result
Full Locret reproduction (new) FastKVzip outperforms by +63.6pp (retrieval), +27.2pp (QA) across 8 benchmarks
Multilingual generalization (new) 99.15% of full-cache performance across 5 languages (trained on English only)
Factor decomposition Reconstruction teacher (+63.0pp) and token-level granularity (+46.4pp) are dominant; local window (+3.8pp) is minor
Teacher signal (new) SnapKV/H2O teachers collapse to 1.8% on retrieval, where the reconstruction teacher: 63.4%

Additional points

  • Gate training costs <1 H100-hour per model as a one-time cost per release, embarrassingly parallelized across layers.
  • Anonymized code has been uploaded; will open-source the source code upon acceptance.
  • Regarding submission integrity, the flagged footer text is a system-level artifact injected by OpenReview, confirmed across other NeurIPS 2026 submissions.
Authors · CommentOpenReview ↗

Reminder: Discussion Period Ending August 3

Dear Area chair,

​This is a brief reminder that the discussion period closes on August 3. We sincerely appreciate your time and guidance in overseeing the review process.

​We kindly request your assistance in coordinating with the reviewers to encourage their participation in the final discussion. Please let us know if any further clarification or additional information is needed from our side.

​Best regards,

Authors

Reviewer TpJ8OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/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 proposes Fast KVzip, a learned KV cache eviction method for LLMs. The method is motivated by the high inference overhead of reconstruction-based KV cache compression methods. Instead of computing KV importance through context reconstruction at inference time, Fast KVzip trains lightweight per-layer gating modules offline to predict the future usefulness of KV features directly from input hidden states. During inference, the gates assign importance scores to KV pairs and evict low-score entries during both chunked prefill and decoding.

Strengths and weaknesses

Strengths

  • Fast KVzip replaces the expensive reconstruction-based KV importance computation in KVzip with a lightweight gating mechanism. This substantially reduces the runtime overhead of KV compression, especially during long-context prefill, while retaining strong accuracy under low KV cache budgets.

Weaknesses

  • Since the method is closely built on KVzip, the paper should provide a clearer introduction and motivation for KVzip itself. In particular, it would help to explain why KVzip’s reconstruction-based importance scores are effective, what properties make KVzip preferable to other KV eviction methods, and why improving KVzip is a more promising direction than improving other eviction-based approaches.
  • The method depends strongly on KVzip reconstruction scores as teacher labels, but the paper does not fully establish how closely these labels correspond to actual downstream utility. The gate is trained to imitate KVzip’s importance scores rather than directly optimize task performance or future attention usage. More analysis would help clarify whether the reconstruction target captures a generally useful notion of KV importance.
  • The paper compares against several relevant baselines, but most are not learning-based retention methods. A stronger comparison with other learned KV retention or eviction methods would help isolate the benefit of the proposed gate architecture and training objective.
Questions
  • Can the proposed gating mechanism be applied to other KV eviction methods or teacher signals beyond KVzip reconstruction scores? For example, could the gate learn to approximate importance scores from SnapKV, H2O, Expected Attention, or other query-aware or query-agnostic methods?
  • How well does the learned gate generalize under stronger distribution shift? It would be useful to evaluate on domains that differ substantially from FineWeb-Edu and the reported benchmarks, such as multilingual contexts, highly structured code repositories, long multi-turn agent traces, or specialized technical documents.
Limitations

See weakness and questions.

Final justification

I will increase my score to 4

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer TpJ8 for the insightful questions on teacher signal generality and distribution shift. The suggestion to evaluate SnapKV/H2O teacher signals led to a compelling new ablation.


Q) The paper should provide a clearer introduction and motivation for KVzip itself: why KVzip's reconstruction-based importance scores are effective.

Reconstruction measures whether context can be recovered from compressed KV. This provides two key properties:

  1. Sufficient condition for information preservation: If context is recoverable, all information is preserved regardless of downstream task.
  2. Query-agnostic: Unlike attention-based scores (SnapKV, H2O) that depend on the current query, or biases toward next-token prediction (NTP) patterns.

Empirical validation:

Training Target SCBench-KV SQuAD Reference
Reconstruction 65.4 93.3 Figure 5a
NTP 2.4 81.5 Figure 5a
QA 1.8 77.2 Figure 5a

KVzip's runtime overhead (3x) motivates distillation into a fast gate, which is the core contribution of this work. We will strengthen this motivation in the Introduction.


Q) The paper does not fully establish how closely these labels correspond to actual downstream utility.

The breadth of evaluation in Figure 9 an 10 directly validates correspondence. A single gate trained on FineWeb-Edu achieves near-lossless performance across all evaluated domains with zero training-data overlap:

  • Retrieval (SCBench-KV, synthetic key-value lookup): 65.4 / 68.2 (96% of full cache)
  • QA (SQuAD, Wikipedia extractive QA): 93.3 / 93.2 (100%)
  • Code (RepoQA, repository-level function retrieval): 59.1 / 58.6 (101%)
  • Math (AIME24, competition math): 72.7 / 75.0 (97%)
  • Conversation (MRCR, multi-round coreference resolution): 26.0 / 27.7 (94%)

The comparison against NTP/QA targets (Figure 5a), which generalize only to their aligned domains, confirms that reconstruction uniquely captures task-general importance.


Q) Can the proposed gating mechanism be applied to other KV eviction methods or teacher signals beyond KVzip reconstruction scores?

Yes. The gate architecture is teacher-agnostic. Figure 5a already shows the same architecture trained with NTP and QA targets.

New experiment: SnapKV and H2O as teacher signals. Per the reviewer's suggestion, we trained our gate using SnapKV and H2O importance scores (same data, architecture, training recipe). Results at 30% budget:

Teacher Signal SCBench-KV SQuAD GSM8K RepoQA En.QA
Reconstruction (ours) 63.4 93.5 66.0 59.3 43.8
SnapKV 1.8 62.1 22.0 7.7 31.5
H2O 1.8 59.9 17.0 5.7 25.2
  • SnapKV/H2O teachers completely collapse on retrieval (1.8% SCBench-KV, 5.7–7.7% RepoQA) and substantially degrade reasoning (17–22% GSM8K)
  • The SnapKV/H2O teacher scores capture query-dependent importance reflecting the current decoding step. They bias toward recent/high-frequency tokens and miss information not immediately attended to.
  • Reconstruction measures whether information is recoverable from the compressed representation, independent of any specific query, which is a sufficient condition for preservation.

This confirms the gate architecture is general, but the teacher signal is the decisive factor for domain-agnostic generalization.


Q) How well does the learned gate generalize under stronger distribution shift?

Our evaluation already spans substantial distribution shift from training data (FineWeb-Edu = English educational web text):

  • Synthetic random-string retrieval (SCBench-KV)
  • Structured code repositories (RepoQA)
  • Math competition problems (AIME24)
  • Long multi-turn conversation (MRCR)
  • Wikipedia QA (SQuAD)
  • Long documents (SCBench-En.QA, from LongBench)

The AIME24 result is particularly notable. Math competition problems are maximally distant from educational web text, yet FastKVzip retains 96.9% of full-cache accuracy:

Budget FastKVzip SnapKV R-KV StreamingLLM Full
4096 72.7 63.7 60.0 42.5 75.0
2048 63.1 42.3 32.3 19.4 75.0

We further completed multilingual evaluation on Qwen2.5-7B-Instruct-1M across 5 languages (zh, ko, de, fr, es) using 100 Squad samples translated per language. The gate was trained exclusively on English FineWeb-Edu data.

Multilingual QA results at 30% retention (F1 score):

Method zh ko de fr es Macro Avg % of Full
Full cache 90.28 90.25 87.19 89.47 88.35 89.11 100.0
FastKVzip 89.29 89.64 86.12 89.14 87.54 88.35 99.15
KVzip (teacher) 90.40 90.11 85.67 90.01 87.53 88.75 99.58
DuoAttention 83.66 79.64 79.02 83.84 83.25 81.88 91.89
ExpectedAttention 67.23 65.80 64.37 65.82 67.67 66.18 74.28
SnapKV 31.75 29.05 29.30 30.12 27.71 29.59 33.20

FastKVzip retains 99.15% of full-cache performance across 5 languages (worst-case German: 98.77%), nearly matching the KVzip teacher (99.58%), while SnapKV collapses to 33.20% and ExpectedAttention to 74.28%. The reconstruction-based importance signal generalizes across languages and scripts without any multilingual training data.

Authors · CommentOpenReview ↗

Reminder for the discussion period

Dear Reviewer TpJ8,

​This is a final reminder that the discussion period ends on August 3. Please let us know if you have any additional feedback or comments. Thank you for your time and thoughtful feedback.

​Best regards,

Authors

Reviewer TpJ8 · CommentOpenReview ↗

Thank you for the rebuttal; it addressed most of my concerns. I have raised my score to 4.

Reviewer 7kc4OpenReview ↗
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 Fast KVzip, a KV-cache eviction method for frozen LLMs. The method of Fast KVzip trains lightweight per-layer sink-attention gates to predict KV importance scores. Then, at inference time, the gates are integrated into chunked prefill and buffered decoding to evict low-importance KV pairs with low overhead. The paper evaluates on long-context prefill benchmarks, code and QA tasks, and mathematical reasoning with Qwen2.5/Qwen3/Gemma3 models.

Strengths and weaknesses
  1. strengths
  1. The core idea of the paper is to use an expensive reconstruction-based signal only during pre-deployment gate training, then replace it with a cheap learned predictor at inference time.

  2. The method is compatible with frozen LLMs, quantized weights, and hybrid attention models.

  3. The experiments show that the proposed method has good performance in KV eviction.

  1. weaknesses
  1. The method is primarily empirical. The paper gives an interpretation of prior compression methods as constrained gating, but there is no formal guarantee.

  2. The training target is inherited from KVzip's reconstruction scores. This is efficient at inference, but the method's quality depends on whether those scores are the right proxy for downstream tasks.

  3. The gate is trained per model and per layer. The paper reports low training time, but it does not deeply analyze maintenance cost when models are updated and quantized differently.

Questions
  1. What fraction of the gain over baselines comes from the learned gate itself versus local-window retention and nonuniform budget allocation?

  2. How does Fast KVzip compare directly to KVzap, Locret, TrimKV, and DMS under the same training data, gate size, and evaluation suite?

  3. The novelty is incremental. The closest works are Locret, TrimKV, DMS, and concurrent KVzap. The paper needs more clarification on related work.

Limitations

yes

Final justification

Thanks for the response from authors. It clears the concerns on the generation ability of the proposed method. New experiments show the advantage of the method for downstream tasks. I will raise the score to 4.

Formatting concerns

no

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer 7kc4 for the rigorous questions on isolating contributions and the push for direct comparisons with baseline methods. We provide new controlled experiments below.


Q) What fraction of the gain over baselines comes from the learned gate itself versus local-window retention and nonuniform budget allocation?

Evaluation on Qwen2.5-7B-1M, 30% KV cache ratio, SCBench-KV (retrieval) (Appendix Figure 16):

Local window Performance
FastKVzip (w=4K) 65.4
FastKVzip (w=0) 61.6
  • Without local window (w=0), FastKVzip still achieves 61.6%, vastly outperforming DuoAttention (12.0%) and Expected Attention (9.8%) in Figure 9
  • The learned gate alone explains the majority of our advantage over all baselines

Nonuniform budget (new ablation): We evaluate Fast KVzip under three allocation strategies. Note that DuoAttention also uses nonuniform budget (global top-k heads), and Expected Attention uses AdaKV-style per-layer adaptive budget. At 30% KV cache budget with Qwen2.5-1M-7B:

Allocation Strategy SCBench-KV SQuAD
Cross-layer nonuniform (ours) Top-k across all heads/layers 65.4 93.3
Per-layer adaptive (AdaKV-style) Adaptive head budget per layer 68.8 87.7
Uniform per-head Each head = same ratio 1.8 67.6
  • Per-layer adaptive vs. ours: Comparable retrieval (68.8 vs 65.4), our strategy yields higher SQuAD (93.3 vs 87.7) via flexible cross-layer reallocation. Crucially, Expected Attention with the same AdaKV-layer allocation achieves only 9.8% (see Fig 9). Our gate with the identical allocation achieves 68.8%, proving the gate dominates.
  • Uniform per-head vs. SnapKV: Even under the most restrictive uniform allocation, our gate outperforms SnapKV on contextual tasks:
Method SQuAD (30%) SQuAD (50%)
FastKVzip (uniform) 67.6 87.5
SnapKV 62.1 84.5
  • We note retrieval requires certain heads to retain near-full KV. This is a structural limitation of any uniform policy, not a gate weakness. Our cross-layer nonuniform allocation resolves this.

Q) How does Fast KVzip compare directly to KVzap, Locret, TrimKV, and DMS under the same training data, gate size, and evaluation suite?

We conduct controlled experiments isolating the key factor of each method under our codebase (same training data, gate size, evaluation suite):

Method Key Factor Controlled Variable Performance (Retrieval / QA)
Fast KVzip - - 65.4 / 93.3 (Fig 5a)
TrimKV NTP objective Same architecture, data 2.4 / 81.5 (Fig 5a)
Locret QA objective Same architecture, data 1.8 / 77.2 (Fig 5a)
KVzap MLP gate architecture Same objective, data 56.2 / 93.7 (Fig 7a)

We additionally provide direct comparisons beyond the controlled ablation:

  • Locret (full reproduction): We fully re-implemented their complete method (their QA objective, gate architecture, training recipe) on Qwen2.5-7B-1M since their codebase does not support Qwen2.5/3. Results at 30% budget:
Task Locret FastKVzip Delta
SCBench-KV (Retrieval) 1.8 65.4 +63.6
SQuAD (QA) 66.1 93.3 +27.2
GSM8K (Math) 45.0 66.0 +21.0
RepoQA (Code) 8.9 59.3 +50.4
  • Results confirm the controlled ablation (Figure 5a): Locret fails on all retrieval tasks and significantly degrades on reasoning.

  • TrimKV (released checkpoint): We directly evaluated their released general-domain gate on Qwen3-4B-Instruct at 30% retention (Figure 17). TrimKV collapses on retrieval (0.42x of full-cache performance) while FastKVzip maintains near-full performance (0.96x). Their NTP objective biases retention toward dense local patterns, failing to preserve distant retrieval-critical tokens.


Q) The method's quality depends on whether those scores are the right proxy for downstream tasks.

The reconstruction objective measures whether context is recoverable from compressed KV, a sufficient condition for information preservation regardless of downstream task. Empirical validation:

  • A single gate trained on FineWeb-Edu generalizes to 12+ benchmarks with zero training-data overlap (Figure 9)
  • Alternative teacher signals all fail to generalize:
Training Target SCBench-KV SQuAD Reference
Reconstruction (ours) 65.4 93.3 Figure 5a
Next token prediction 2.4 81.5 Figure 5a
QA objective 1.8 77.2 Figure 5a

The all rows use our gate architecture (Figure 5a, controlled ablation).

New experiment: SnapKV and H2O as teacher signals. We train the same gate architecture with different teacher signals under identical conditions (same data, same hyperparameters, same evaluation):

Training Target SCBench-KV SQuAD GSM8K RepoQA
Reconstruction 63.4 93.5 66.0 59.3
SnapKV teacher 1.8 62.1 22.0 7.7
H2O teacher 1.8 59.9 17.0 5.7
  • SnapKV/H2O capture query-dependent importance reflecting the current decoding step or bias toward recent/high-frequency tokens, not intrinsic information content
  • Reconstruction uniquely measures whether information is recoverable, independent of any specific query

Q) Maintenance cost when models are updated and quantized differently.

  • Gate training is extremely lightweight due to per-layer independent training, which avoids end-to-end backpropagation through the base model entirely. Each model requires <1 H100-hour (0.59h for Qwen3-8B, 0.83h for Qwen3-14B; Table 2) and <0.3GB storage as a one-time cost per model release.
  • This is orders of magnitude lighter than approaches requiring end-to-end training such as DeepSeek-V3.2's sparse attention indexer. Per-layer independence also enables efficient parallelization across GPUs.

Q) The novelty is incremental. The closest works are Locret, TrimKV, DMS, and concurrent KVzap.

No prior learned method achieves domain-agnostic generalization. Our contribution is identifying the specific combination of training signal and architecture that makes this possible, and demonstrating the large practical gap this creates. At 30% budget:

Method SCBench-KV SQuAD Failure Mode
FastKVzip 65.4 93.3
Locret (QA, full reproduction) 1.8 66.1 QA loss retains only query-relevant tokens
DuoAttention (our recipe) 12.0 88.4 Head-level misses intra-head heterogeneity
KVzap (concurrent, MLP gate) 56.2 93.7 MLP gate cannot model sink patterns

Additionally, direct comparison with TrimKV's released checkpoint in Appendix Fig 17 (Qwen3-4B-Instruct, 30%) shows TrimKV collapses on retrieval (0.42x of full-cache performance) while FastKVzip maintains near-full performance (0.96x).

The proper training signal (reconstruction) and architecture (sink-attention) are both necessary:

  • Without reconstruction: Even our architecture fails (NTP: 2.4%, QA: 1.8% on SCBench-KV)
  • Without sink-attention: MLP gate with the same teacher reaches only 58.4%
  • Practical impact: 1.7x end-to-end speedup over full-cache (13.1s vs 22.5s at 170K), 5x faster than KVzip (13.1s vs 68.3s)
Authors · CommentOpenReview ↗

Reminder for the discussion period

Dear Reviewer 7kc4,

​This is a final reminder that the discussion period ends on August 3. Please let us know if you have any additional feedback or comments. Thank you for your time and thoughtful feedback.

​Best regards,

Authors

Reviewer 7kc4 · CommentOpenReview ↗

Thanks for the response from authors. It clears the concerns on the generation ability of the proposed method. New experiments show the advantage of the method for downstream tasks. I will raise the score to 4.

Reviewer 8GvMOpenReview ↗
Rating
4/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

This paper proposes Fast KVzip, a KV-cache compression method for frozen LLMs. The core idea is to train lightweight layer-wise gating modules from hidden states to predict KV importance scores produced by KVzip's reconstruction objective. At inference time, these gates are used during both chunked prefill and decoding to evict low-score KV entries while retaining a local window. The paper evaluates the method on Qwen2.5-1M, Qwen3, Qwen3-FP8, and Gemma3 models across long-context retrieval/QA/code tasks and math reasoning, claiming near-lossless performance at around 30-40% KV budget and much lower prefill latency than KVzip.

My main concern is novelty. The paper itself formulates DuoAttention as a constrained gating method with a constant Boolean head-level gate. Fast KVzip is more fine-grained because it predicts token/KV-feature-level continuous scores from hidden states, but the conceptual step is still largely to relax existing head/gate-based cache policies into an input-dependent trainable gate and train it to imitate KVzip reconstruction scores. I view this as a useful engineering improvement with solid experiments, but the paper does not yet fully convince me that the contribution is sufficiently novel relative to prior adaptive/gated KV-cache compression methods.

Strengths and weaknesses

Strengths:

  • The problem is important. KV-cache memory and prefill/decoding latency are real bottlenecks for long-context LLM deployment.
  • The implementation direction is practical: the base LLM is frozen, the gate is small, and inference avoids KVzip's expensive online reconstruction step.
  • The empirical section is broad. The paper reports results across multiple model families, long-context tasks, code tasks, and math reasoning tasks, with both prefill-intensive and decoding-intensive settings.
  • The paper includes useful ablations on training targets, gate inputs, gate architecture, training data size, and local-window size.

Weaknesses:

  • The main technical contribution seems incremental over DuoAttention and related adaptive KV-cache policies. DuoAttention already separates retrieval heads that keep full KV cache from streaming heads that keep a constant-length cache, and it identifies these heads using an optimization-based calibration procedure. The submitted paper explicitly casts DuoAttention as a constant Boolean gate, then proposes a continuous input-dependent gate. This is a reasonable extension, but the paper needs a stronger argument for why this relaxation is a new idea rather than an expected next step.
  • This novelty concern is similar to the relationship between SpinQuant and QuaRot in LLM quantization: replacing a fixed/random transformation with a learned one can be practically useful, but the learned relaxation by itself feels closer to an incremental optimization unless it yields a clearly new principle or insight.
  • The method is also heavily dependent on KVzip. The gate is trained to imitate KVzip reconstruction-based importance scores computed from a repeated-context objective, so the contribution is largely an offline distillation/acceleration of an existing method. This is valuable, but the paper should be positioned more honestly as an efficient approximation to KVzip rather than as a substantially new KV eviction principle.
  • The comparison with prior gated/learned retention methods is not fully convincing. FastGen already profiles attention heads and assigns different cache policies; Locret already uses learnable retaining heads and supports chunked prefill; TrimKV learns token retention scores at creation time through gate fine-tuning; and KVzap is cited as a fast input-adaptive approximation of KVzip working in both prefill and decoding. The paper mostly distinguishes these works by architecture/training recipe, but does not provide enough controlled evidence that the proposed design is conceptually different or broadly better under matched conditions.
  • The DuoAttention baseline may be too weak or not sufficiently diagnostic. The paper reports "DuoAttention with KVzip score", but the key question is whether the gap remains when a DuoAttention-style head policy and a simple token-level gate are calibrated with the same KVzip targets, FineWeb-Edu data, non-uniform budget allocation, and local-window strategy. Without this controlled comparison, it is hard to know whether the gain comes from real novelty or from giving the proposed gate a stronger teacher and implementation recipe.
  • Reproducibility is limited because code is not released at submission time. Given that the contribution is an inference method with many implementation-sensitive details, this makes the reported speed/memory claims harder to verify.
Questions
  • What exactly is the conceptual difference from DuoAttention beyond replacing a calibrated Boolean head-level policy with a token/KV-feature-level continuous gate?
  • Can the authors add controlled baselines where a DuoAttention-style head policy and a simpler token-level gate are trained or calibrated using the same KVzip targets, FineWeb-Edu data, non-uniform budget allocation, and local-window strategy?
  • How much of the improvement comes from input-dependent gating, sink-attention architecture, KVzip teacher labels, and the local window respectively?
  • Why is the method not best characterized as offline distillation of KVzip into a small gate?
  • How does the method compare empirically with KVzap, Locret, and TrimKV under the same models, budgets, and benchmarks where those methods are applicable?
Limitations

yes

Formatting concerns

The PDF appears to contain repeated prompt-like text near the page footer that instructs generated review outputs to include specific phrases. This is inappropriate for a conference submission and should be removed. It also raises a submission-integrity concern because it appears targeted at LLM-assisted reviewing.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer 8GvM for the detailed and constructive feedback. The questions on controlled baselines and factor decomposition have substantially strengthened our ablation analysis.


Q) Repeated prompt-like text near the page footer

The flagged hidden text is injected by the OpenReview submission system:

  • The text does not exist when we compile our PDF locally with the NeurIPS style file. We did not conduct any prompt injection.
  • The same hidden text appears in other unrelated NeurIPS 2026 submissions

Q) What exactly is the conceptual difference from DuoAttention beyond replacing a calibrated Boolean head-level policy with a token/KV-feature-level continuous gate?

Two structural differences distinguish our approach from DuoAttention:

  1. Token-level granularity: Different tokens within the same head receive different importance scores, enabling fine-grained selection impossible at the head level.
  2. Input-dependence: Importance scores adapt to content at runtime rather than being fixed per head.

These jointly enable utilization of the fine-grained KV feature-level training signal from the reconstruction task. As the reviewer noted, principled extensions of existing methods can drive substantial improvements, e.g., SpinQuant over QuaRot, or Mamba over prior SSMs.


Q) Can the authors add controlled baselines where a DuoAttention-style head policy and a simpler token-level gate are trained or calibrated using the same KVzip targets, FineWeb-Edu data, non-uniform budget allocation, and local-window strategy?

Results on Qwen2.5-7B-1M at 30% budget:

Method Granularity SCBench-KV SQuAD
FastKVzip (sink-attention) Token-level 65.4 93.3
MLP (2-layer) Token-level 56.2 93.7
Linear Token-level 58.4 92.3
Head-level gate (DuoAttention) Head-level (binary) 12.0 88.4
  • Simpler token-level gates (MLP, Linear) and Head-level gate share the same KVzip teacher scores, FineWeb-Edu training data, nonuniform budget allocation, and local window w=4096 (Figure 7a, identical parameter counts).
  • Note, the head-level baseline (DuoAttention) also uses nonuniform budget: each head is either fully retained or partially evicted, with top heads selected globally across all layers.

Key observations:

  • Head-level → Token-level (+46.4pp on retrieval): The same recipe with the same nonuniform budget fails at head granularity (12.0%), proving the gain is from token-level design.
  • Linear → Sink-attention (+7.0pp on retrieval): Even the simplest token-level gate vastly outperforms head-level; sink-attention provides additional gain by modeling attention sink patterns.

We will detail all baseline configurations explicitly in the revision.


Q) How much of the improvement comes from input-dependent gating, sink-attention architecture, KVzip teacher labels, and the local window respectively?

Decomposition at 30% budget on SCBench-KV (Qwen2.5-7B-1M). Note, factors are measured by ablating each independently.

Factor Contribution Reference
Reconstruction teacher (vs NTP) +63.0 (2.4 → 65.4) Figure 5a (NTP=Next Token Prediction)
Reconstruction teacher (vs QA) +63.6 (1.8 → 65.4) Figure 5a
Learned gate (vs fixed heuristic) +48.6 (9.8 → 58.4) Expected Attention (Fig 9) vs Linear (Fig 7a)
Token-level (vs head-level) +46.4 (12.0 → 58.4) DuoAttention (Fig 9) vs Linear (Fig 7a)
Sink-attention (vs linear) +7.0 (58.4 → 65.4) Figure 7a
Local window (w=0 → w=4K) +3.8 (61.6 → 65.4) Figure 16a

Key takeaways:

  • Dominant factors: Reconstruction teacher (+63.0) and token-level granularity (+46.4) are both necessary conditions. Without either, retrieval collapses.
    • Expected Attention with the same nonuniform allocation achieves only 9.8% on SCBench-KV. The learned gate, not the allocation, is the dominant contributor.
  • Minor factors: Sink-attention (+7.0) and local window (+3.8) provide meaningful but incremental gains.

We will integrate this comprehensive decomposition into the revised paper.


Q) Why is the method not best characterized as offline distillation of KVzip into a small gate?

We agree and will adopt this terminology in the revision. Our core contribution is demonstrating that this distillation is feasible and effective:

  • A reconstruction-based objective produces gates that generalize across all domains
  • Prior alternatives (NTP in TrimKV → 2.4%, QA in Locret → 1.8% on SCBench-KV) fail
  • The specific architecture (sink-attention) and teacher signal (reconstruction) are both required for this generalization to emerge

Q) How does the method compare empirically with KVzap, Locret, and TrimKV under the same models, budgets, and benchmarks?

Method Status Key Factor Comparison
TrimKV (ICLR'26) Released NTP objective Direct: their checkpoint, same benchmarks (Figure 17)
Locret No Qwen2.5/3 support QA objective Full reproduction on Qwen2.5-7B-1M (new)
KVzap Concurrent MLP architecture Same objective, their architecture (Figure 7a)

TrimKV: Direct comparison using their released gate (Qwen3-4B-Instruct, 30%) (see Appendix Figure 17):

  • TrimKV collapses on retrieval (0.42x of full KV cache)
  • FastKVzip maintains near-full performance (~0.96x)

Locret (new full reproduction): Since Locret does not support Qwen2.5/3 models, we fully re-implemented their method (QA-based training objective, their gate architecture, their training recipe) on Qwen2.5-7B-1M and evaluated under identical conditions (same inference recipe, local window w=4096). Results at 30% budget:

Task Locret (QA) FastKVzip (Recon.) Delta
SCBench-KV (Retrieval) 1.8 65.4 +63.6
Prefix-Suffix (Retrieval) 2.6 50.4 +47.8
RepoQA (Code) 8.9 59.3 +50.4
SQuAD (QA) 66.1 93.3 +27.2
GSM8K (Math) 45.0 66.0 +21.0
En.QA 42.1 43.8 +1.7
En.MultiChoice 69.4 76.4 +7.0
Math.Find 24.5 34.0 +9.5
  • Locret catastrophically fails on all retrieval tasks (1.8–8.9%)
  • Even on QA (Locret's own training domain), reconstruction outperforms by +27.2pp
  • The QA objective retains only tokens relevant to extractive answers, providing too sparse a signal for general compression
  • We also verified using our own architecture trained with the same QA objective (Figure 5a), which shows consistently low performance, confirming the failure is due to the QA training signal itself rather than architectural differences.

KVzap (concurrent): Same reconstruction objective with their MLP gate architecture is 56.2 vs our 65.4 on SCBench-KV (Figure 7a). The sink-attention architecture is superior to MLP due to its ability to model attention sink patterns.

We will add the controlled Locret experiment in our paper.


Q) Reproducibility is limited because code is not released at submission time.

Authors · CommentOpenReview ↗

Reminder for the discussion period

Dear Reviewer 8GvM,

​This is a final reminder that the discussion period ends on August 3. Please let us know if you have any additional feedback or comments. Thank you for your time and thoughtful feedback.

​Best regards,

Authors

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Reminder for the discussion period

Dear reviewers,

This is a friendly reminder that the discussion period closes on August 3.

​If you have any further feedback, questions, or comments regarding our paper/rebuttal, please feel free to let us know. We would be happy to address them.

​Best regards,

Authors

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…