- Rating
- 3
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 2
- Significance
- 2
Read review
Summary
This paper proposes Eviction-Aware Training (EAT), a training framework that integrates attention-based KV-cache eviction into quantization-aware training (QAT) for long-context LLM inference on edge devices. The key problem is that quantization and KV-cache eviction are not orthogonal: quantization noise perturbs token importance scores and changes which tokens are retained, degrading task accuracy. EAT addresses this by computing eviction decisions from the fake-quantized attention path and using a masked straight-through estimator that blocks gradients through evicted prompt positions. This exposes the model at training time to the sparse-and-quantized regime it faces at deployment, without architectural changes or extra inference-time parameters. On two 3B instruction-tuned LLM families and two eviction methods (RKV, SnapKV), EAT recovers the accuracy lost when QAT and eviction are composed directly, and an on-device deployment shows improved decode throughput and reduced memory traffic versus quantized full-KV inference.
Strengths and weaknesses
Strengths
- Practical problem setting. The paper targets long-context inference on edge devices, where weight/activation quantization alone does not remove the linear growth of the KV cache, and KV eviction alone does not reduce the static model footprint or arithmetic cost. Studying the composition of quantization and KV eviction is practically meaningful.
- Simple deployment interface. EAT leaves the inference-time computation graph and the eviction policy unchanged, and adds no auxiliary module or inference-time parameter. Once the model is retrained, the approach drops into existing attention-score-based eviction pipelines without further modification.
- Clear gains over the paper's main baseline. Standard QAT followed by 50% RKV eviction drops the five-task average from 38.37 to 29.04 on Qwen2.5-3B, and EAT restores it to 39.44 under the same cache budget, on par with the quantized full-KV reference. The recovery holds across both model families and both eviction methods (Table 4).
Weaknesses
- The observation overlaps with prior sparse-quantized KV-cache work. The paper presents quantization-induced changes in attention statistics and retention decisions as a central observation, and this framing is not clearly distinguished from prior work. Q-Hitter [1] studied sparse-quantized KV caches and argued that applying sparsification and quantization as independent sequential steps gives suboptimal performance; it also reported that low-bit KV quantization perturbs heavy-hitter selection and that tokens chosen by accumulated attention score are not necessarily quantization-friendly. Harma et al. [2] provided a general theoretical analysis of the non-orthogonality of token sparsity and quantization. The overlap weakens the originality of the observation as currently presented.
- The proposed method does not directly address the motivated failure mode, and cheaper alternatives are not ruled out. The motivation centers on quantization-induced drift in attention scores and token-retention decisions. EAT does not correct this drift; it holds the eviction policy fixed and fine-tunes the backbone under the sparse-quantized path that policy induces. The method is therefore better characterized as deployment-objective alignment than as a remedy for the stated drift, and the conceptual link back to the failure mode is incomplete. The drift can be reduced by lighter, training-free means: eviction that depends less on exact attention scores (e.g., StreamingLLM [3], KeyDiff [4]), or quantization that distorts attention scores less (KIVI [5], KVQuant [6]). The paper scopes its claims around these alternatives yet tests none. Comparing against attention-free eviction, and measuring EAT's marginal gain on top of an attention-preserving quantizer, would show whether full-model fine-tuning is necessary rather than one of several cheaper options.
- The baselines do not isolate the contribution of eviction-aware training. The main comparison is a sequential composition (standard QAT, then attention-based eviction), which is favorable to the proposed approach. Q-Hitter [1] is the most direct missing comparison: it already combines attention-based eviction with low-bit quantization without training, so a comparison would show whether EAT's gains come from eviction-aware training specifically or from joint eviction-and-quantization in general. A mixed-precision retention method such as MiKV [7], which retains all tokens but stores low-importance ones at low precision, would further test whether eviction is preferable to retention at an equal memory budget.
References
[1] Zhang, Zhenyu, et al., Q-hitter: A better token oracle for efficient llm inference via sparse-quantized kv cache, MLSys'24.
[2] Harma, Simla, et al., Effective interplay between sparsity and quantization: From theory to practice, ICLR'25.
[3] Xiao, Guangxuan, et al., Efficient streaming language models with attention sinks, ICLR'24.
[4] Park, Junyoung, et al., Keydiff: Key similarity-based kv cache eviction for long-context llm inference in resource-constrained environments, NeurIPS'26.
[5] Liu, Zirui, et al., Kivi: A tuning-free asymmetric 2bit quantization for kv cache, ICML'24.
[6] Hooper, Coleman, et al., Kvquant: Towards 10 million context length llm inference with kv cache quantization, NeurIPS'24
[7] Yang, June Yong, et al, No token left behind: Reliable kv cache compression via importance-aware mixed precision quantization, arXiv'24.
Questions
- A direct test of whether quantization-induced mask changes reduce accuracy would substantiate the central claim. I recommend comparing quantized inference under three retention sources: masks computed from full-precision attention, masks computed from quantized attention, and masks computed by a quantization-aware utility rule. A measurable accuracy gap between the first two would establish that the quantized policy retains lower-utility tokens, the mechanism the paper claims. A small gap would instead show that mask disagreement alone does not explain the degradation, and would call for a revised motivation.
- A comparison against methods that compress the KV cache under quantization by other means would clarify the contribution. The main comparison uses a sequential composition of QAT and eviction, which is favorable to the proposed technique. The most direct missing baseline is Q-Hitter [1], which combines attention-based eviction and low-bit quantization jointly and training-free; a result that matches or exceeds it would isolate the contribution of eviction-aware training.
- Reporting how the retained set differs between standard QAT and EAT would connect the method to the stated failure mode. This includes the overlap with the full-precision retained set, the position and recency distribution of retained tokens, and per-layer drift, together with an explanation of the cause.
- The paper presents the link between reduced attention-sink behavior and the recovery as a correlational hypothesis, and a supporting analysis would strengthen it. Comparing QAT and EAT to show that the attention EAT moves off the sink concentrates on important tokens — e.g., those whose eviction most degrades accuracy — rather than spreading uniformly would close the gap. The entropy increase under EAT is the part that needs explaining: sink suppression alone predicts redistribution of the freed mass, not where it lands, leaving open whether it reaches useful tokens.
- It would strengthen the generalization claim to report multi-seed results with variance and at least one additional model scale or bit-width, since the current results are single-run.
Limitations
yes
Paper formatting concerns
No issue.
Final justification
The added diagnostics of the rebuttal do address my soundness concerns. My remaining reservation is that the authors now agree the non-orthogonality observation is prior work and reframe it as motivation, which leaves eviction-aware QAT with a masked STE as the only remaining technical contribution, and its necessity relative to more advanced training-free alternatives is still unmeasured.
We thank the reviewer for the detailed and critical feedback. We agree that the original draft should better distinguish EAT from prior sparse-quantized KV-cache work and provide stronger causal controls. We have added targeted diagnostics to separate mask drift, sparse-access adaptation, deployment consistency, and empirical robustness. We hope these clarifications and additional results help resolve the reviewer’s concerns and would appreciate your consideration in the final assessment.
W1: Relation to Q-Hitter and Harma et al. Thank you for pointing out Q-Hitter and Harma et al. We agree that prior work has discussed sparsity-quantization non-orthogonality. In particular, Q-Hitter showed that low-bit KV quantization can perturb heavy-hitter selection and that attention-score-selected tokens may not be quantization-friendly, while Harma et al. provided a broader theoretical analysis. We will explicitly cite these works and revise the framing so that quantization-induced retention drift is presented as our problem motivation, not as a standalone novelty claim.
Our contribution is different: EAT addresses the deployment-path mismatch in QAT for quantized, attention-driven prompt-KV eviction. Standard dense QAT trains under quantized but full-cache access, so it does not expose the model to the sparse-and-quantized access pattern induced by the deployed eviction policy. EAT instead fine-tunes the backbone under the same quantized-attention-driven eviction path used at inference.
This distinguishes EAT from Q-Hitter. Q-Hitter is a post-hoc inference-time token oracle that modifies the selection rule using quantization-aware utility/error signals while keeping model weights fixed. EAT is not a new heavy-hitter oracle; it preserves the deployed policy, such as RKV or SnapKV, and adapts the backbone through eviction-aware QAT and MaskSTE. Thus, Q-Hitter and EAT are complementary. Q-Hitter explicitly modifies the token-selection utility rule. EAT keeps the rule fixed, but backbone adaptation can indirectly change the attention statistics and therefore the masks produced by that fixed rule.
W2: Does EAT address the motivated failure mode, and what about cheaper alternatives? We agree that EAT should be described as deployment-objective alignment rather than explicit mask matching. EAT does not add a loss enforcing Sq=Sfp; instead, it optimizes the sparse-and-quantized deployment path where mask drift occurs.
Using the notation in Sec. 3 and Appendix A, the full-precision attention path and the deployed quantized attention path may induce different token-retention sets under the same eviction policy. Appendix A decomposes the resulting deployment error into a fixed-set quantization term and a selection-mismatch term, with the latter arising when the two paths produce different retained sets.
Dense QAT optimizes the model under quantized but full-cache access, so it never exposes the backbone to this selection mismatch or to the resulting sparse-access pattern. EAT instead optimizes the deployment-aligned objective in Eq. (1), where eviction masks are recomputed from the quantized attention path used at deployment. The forward pass uses the same hard eviction mask as deployment, while MaskSTE provides the backward-pass treatment described in Sec. 4.
Although EAT does not explicitly optimize FP16-mask matching, it indirectly improves retained-set quality. For retained-set diagnostics, we evaluate at r=0.5 and compare both QAT and EAT masks against the same frozen FP16 reference mask.
These diagnostics suggest that deployment-consistent training makes retained sets closer to the FP16 reference and more content-oriented. We will clarify that EAT optimizes the deployment consequence of mask drift, while reduced drift is an empirical effect of training rather than an explicit constraint.
Regarding cheaper alternatives, we added StreamingLLM as a non-attention-score policy. EAT improves Qwen2.5-3B from 22.47 to 25.39 and Llama3.2-3B from 23.88 to 28.65. Attention-preserving quantizers such as KIVI/KVQuant and mixed-precision retention methods such as MiKV are complementary compression-stack choices. We do not claim full-model fine-tuning or hard eviction is always preferable; rather, when deployment uses hard KV eviction under a chosen policy, EAT reduces the mismatch between dense QAT training and sparse-quantized inference.
W3: Baselines isolating eviction-aware training. We agree that dense QAT followed by post-hoc eviction does not fully isolate eviction-aware training. We therefore added a mask-protocol control and a Q-Hitter-style baseline, reported in Q2.
For this mask-source control, Sfp(r) and Sq(r) denote masks generated during training at the sampled retention ratio r. All rows use the same data, optimizer, training steps, retention-ratio sampling schedule, and W4A16+KV-INT8 setting. Sparse-training rows use the same MaskSTE; only the mask source differs. All results below are evaluated at r=0.5, where we write the evaluation masks as Sfp and Sq for readability.
These controls separate mask source and train/test protocol. FP-mask sparse-QAT reaches 40.45 when evaluated with the same FP16-mask protocol, but drops to 28.96 under actual quantized-path masks. EAT uses Sq(r) during training and Sq at evaluation, supporting deployment consistency as a key contributor in this diagnostic setting.
Q1: FP masks, quantized masks, and quantization-aware utility. We added the requested direct test on the same diagnostic slice as Fig. 1(a).
Replacing Sq with Sfp improves the same quantized model from 31.63 to 35.74, recovering 4.11/5.04 = 81.5% of the gap to Ofp(Sfp)=36.67. Thus, mask drift is a major contributor, while the remaining gap shows fixed-set numerical quantization error also matters.
Q2: Comparison with Q-Hitter. We added an adapted Q-Hitter-style utility baseline under our prompt-eviction protocol, using the same W4A16+KV-INT8, 50% retained-KV budget, dense-QAT checkpoint, and evaluation tasks. We use an adapted utility rather than claiming an exact reproduction of Q-Hitter's original generation-time protocol, with the mixing coefficient set to λ=0.5 following Q-Hitter.
The adapted Q-Hitter-style utility alone does not close the gap in our prompt-side KV-INT8 protocol. Since QAT+Q-Hitter-style and EAT+RKV use different policies, this table does not isolate EAT's marginal gain under the same Q-Hitter policy. The matched-policy isolation is the RKV ablation in W3, where the policy is fixed and only the training path changes. We will make this limitation explicit.
Q3: Retained-set differences between QAT and EAT. Please see W2 for retained-set diagnostics. EAT improves overlap with the FP16 retained set from 71.2% to 86.4%, reduces disagreement from 28.8% to 13.6%, reduces retained sink/control tokens from 16.3% to 5.1%, and increases retained high-utility content tokens from 62.5% to 84.1%. We will add per-layer overlap/disagreement curves in the appendix and avoid claiming the reduction is uniform across layers.
Q4: Attention sinks and useful redistribution. We agree that sink suppression alone does not prove useful redistribution. We added a VCsum token-level audit under the same 50% RKV budget.
This audit measures retained-set composition rather than attention-probability redistribution. It supports improved content retention, but does not determine where the probability mass released from sink tokens is redistributed. We will present the sink/entropy analysis as correlational.
Q5: Larger models, variance, and bit-width scope. We added larger-model results under W4A16+KV-INT8 and 50% retention: Qwen2.5-7B improves from 34.54 to 42.84 (+8.30), and Llama3.1-8B improves from 35.38 to 43.12 (+7.74). We also added three-seed estimates for the main 3B RKV/SnapKV settings; standard deviations range from 0.28 to 0.52, much smaller than the EAT gains. We will scope empirical claims to W4A16+KV-INT8 and list broader bit-width and hardware validation as future work.