- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes ADKV, an adaptive delta quantization method for KV cache during LLM inference. The core idea is to exploit the temporal continuity of KV cache along the token dimension and online track the zero-point and scaling factor of each channel through EMA, thereby reducing the metadata overhead of traditional static group-wise KV quantization as context length increases. The paper also introduces SGD-based attention-aware calibration and implements a fused ADKV-GEMV CUDA kernel. The experiments claim that ADKV achieves accuracy close to FP16/KIVI on generation and long-context tasks, reduces metadata memory by about 12.8×, and achieves about 1.96× throughput improvement over FP16 in large-batch scenarios.
Strengths and weaknesses
Strengths
-
The method design is somewhat novel.
ADKV no longer explicitly stores quantization parameters for each group. Instead, it uses EMA-style recurrent states to online recover the zero-point and scaling factor. The quantizer and dequantizer share the same recurrence rule, allowing metadata to be implicitly encoded in the quantized sequence. Compared with static group-wise quantization, this idea is attractive in long-context scenarios. The paper further formulates ADKV as an RNN and learns parameters such as the initial zero-point, initial scale, zero-point tracking rate, scale tracking rate, and quantization target through SGD. -
The analysis of the temporal structure of KV cache is reasonably convincing.
The paper proposes two metrics, WTZP and WTS, to measure the temporal trackability of the zero-point and scaling factor, and shows that real KV cache in LLaMA-2-7B is more trackable than randomly shuffled sequences. In addition, the visualization in Figure 2 of the sinusoidal-like drift of post-RoPE key outlier channels provides good support for the motivation that static window statistics may be suboptimal. -
The experiments cover accuracy, memory, and kernel throughput.
The paper reports not only generation tasks such as CoQA, TruthfulQA, and GSM8K, but also long-context tasks on LongBench, together with memory footprint and end-to-end throughput results. In Table 2, ADKV is generally close to FP16 across multiple models and slightly better than or comparable to KIVI-128g. The memory analysis shows that the metadata overhead of ADKV is decoupled from sequence length.
Main Weaknesses
-
The advantage of ADKV heavily depends on large-batch, high-throughput scenarios, while it is clearly weaker for small-batch/interactive inference.
The main paper emphasizes the throughput advantage of ADKV over FP16 and KIVI-128g at batch sizes 64/128. However, appendix results show that at batch sizes 1 and 4, FP16 > KIVI > ADKV; at batch size 32, KIVI is also clearly better than ADKV. This indicates that ADKV’s serial token-wise recurrence hurts token-level parallelism and may be unsuitable for low-latency interactive serving. Although the paper briefly acknowledges the sequential dependency, the discussion of application boundaries is relatively weak. -
The calibration cost and deployability are not sufficiently quantified.
ADKV needs to learn multiple parameters for each layer, head, and channel, including the initial zero-point, initial scale, , , and . The paper states that these parameters are learned through a calibration set and SGD/TBPTT, but it does not clearly report the calibration data size, time cost, memory cost, whether each model needs separate calibration, whether the method is robust across data domains, or whether model updates and context distribution shifts during deployment require recalibration. Since the ablation shows that MSE increases by 4.4× without calibration, this calibration step is clearly not a negligible engineering detail. -
There remains a gap between the theoretical analysis and final task performance.
The WTZP/WTS metrics can show that zero-point and scale have temporal trackability, but their relationship with final attention error, PPL, or downstream task scores is not systematically established. The current evidence is closer to “observing temporal structure → designing EMA → showing empirical effectiveness,” but lacks stronger theoretical or empirical analysis explaining under what conditions ADKV remains stable and under what distribution shifts it may fail. -
The hardware evaluation is narrow.
Throughput experiments are mainly conducted on an NVIDIA L40 48GB GPU, with LLaMA-2-7B as the primary model. For a systems/quantization paper, results on only one GPU, one main model scale, and limited batch settings are insufficient to demonstrate the generality of the kernel. The paper should supplement results on different GPUs such as A100, H100, and L40S, with different memory bandwidths and SM counts, as well as end-to-end latency, TTFT, TPOT, throughput, and concurrent request results after integration into real serving pipelines such as vLLM or SGLang.
Questions
-
Under real long-context settings beyond 64K, 128K, or 256K tokens, will the error of ADKV be amplified due to accumulated recurrence-state drift?
-
Is ADKV still applicable to MQA/GQA, MoE models, and multi-GPU tensor-parallel/pipeline-parallel serving?
-
How can the effectiveness of ADKV be demonstrated in low-batch, low-latency scenarios?
Limitations
yes
Paper formatting concerns
no
Final justification
see comment.
We sincerely appreciate your time and effort in reviewing our paper.
we analyze the token-wise MSE behavior of ADKV under 4/2-bit quantization over a 256K-token context length.
The results report the relative MSE increase of each 10%-token window with respect to the initial [0,10%] window. Specifically,
ADKVdenotes the original 4/2-bit quantization scheme, whileADKV-Orepresents an oracle variant using lossless FP16 zero point feedback. TheDiffmetric is computed as (MSEADKV−MSEADKV−O)/MSEADKV, which isolates the additional error introduced by feeding 2-bit quantization results back into the EMA state update.As shown above, although 4/2-bit quantization introduces absolute errors, the error caused by recurrent state feedback remains stable across the entire 256K-token context. In particular, the
ADKV,ADKV-OandDiffvalues do not exhibit a progressive increasing trend as the context length grows, indicating that ADKV does not suffer from accumulating recurrence-state drift under long-context scenarios.Applicability to MQA/GQA models.
ADKV is fully compatible with both MQA and GQA models. In fact, the Llama-2 models evaluated in our manuscript adopt the standard MHA architecture, while Llama-3-8B employs the GQA (MQA) architecture.
Applicability to MoE models.
ADKV is orthogonal to the feed-forward architecture of the model and only operates on the KV cache during attention computation. Therefore, ADKV can be seamlessly applied to MoE models without requiring any changes to the routing mechanism or expert computation.
Applicability to multi-node/GPU tensor-parallel/pipeline-parallel serving.
We acknowledge that distributed KV cache serving across multiple GPUs or nodes introduces additional challenges for ADKV, especially when a single request's KV cache is partitioned across different devices. In such scenarios, global temporal state propagation is not directly available across all partitions. To support this setting, ADKV can maintain lightweight state checkpoints for each node/GPU, where each partition stores the initial quantization state required to continue adaptive quantization locally. Although this introduces additional metadata overhead, the number of nodes/GPUs is typically much smaller than the sequence length. Therefore, the checkpoint overhead remains negligible compared with the KV cache size, allowing ADKV to preserve its favorable memory-efficiency trade-off.
The primary target of ADKV is memory-bound LLM serving scenarios, where KV cache memory footprint and memory bandwidth consumption become the main bottlenecks, rather than low-batch, latency-critical scenarios. In these settings, the benefit of reducing KV cache traffic and metadata accesses outweighs the overhead introduced by the lightweight recurrent update. As discussed in the paper, the latency associated with the sequential dependency can be largely overlapped with KV cache memory access in practical LLM inference regimes, particularly under high-throughput workloads (e.g., large batch sizes and long sequence lengths), and the reduced memory bandwidth demand from 4-bit KV representations can further improve overall efficiency.
Calibration cost.
Specifically, all ADKV experiments use the following calibration configuration: 4x NVIDIA RTX 4080 GPUs, 64 calibration samples, sequence length 4096, 100 epochs, batch size 4, and TBPTT truncation length 256.
The detailed calibration costs are summarized below:
These results show that ADKV calibration only requires around 1–2 hours on a small-scale multi-GPU setup, with moderate GPU memory consumption, which is negligible compared with the cost of pre-training or large-scale fine-tuning.
Calibration robustness.
Regarding calibration robustness, our experiments indicate that the learned calibration parameters exhibit strong cross-domain generalization. Specifically, we evaluated calibration on Wikipedia/C4 and directly applied the resulting parameters to different domains, including code, retrieval and mathematical reasoning tasks.
As shown below:
Due to the long evaluation time required for the full GSM8K dataset, we evaluate on a subset of samples. Together with Figure 5, these results demonstrate that ADKV calibration captures model-intrinsic KV activation characteristics, allowing robust generalization across diverse domains without recalibration.
For factors related to the model architecture itself, recalibration is required when the underlying model changes, such as different model families, parameter scales, or RoPE scaling configurations. This is expected because these settings directly affect the distribution and temporal evolution of KV activations.
For different context lengths, our empirical observations show that longer calibration sequences and TBPTT lengths can further improve generalization and accuracy by providing richer temporal information, while the default configuration (sequence length 4096 and TBPTT truncation 256) already achieves sufficient accuracy across benchmarks without requiring long-context recalibration.
ADKV is motivated by the observation that quantization metadata (i.e., zero points and scale factors) exhibit temporal trackability rather than independent token-wise randomness during autoregressive decoding. WTZP/WTS quantify this property and motivate the EMA-based state update, which effectively tracks slowly varying metadata to reduce the mismatch with current KV distributions. As shown in Figure 2 (Middle and Right), ADKV better follows the evolution of zero points than group-wise RTN quantization, enabling the removal of explicit fine-grained metadata storage while maintaining accurate quantization.
Regarding the EMA stability and quantization error analysis, we would like to clarify that Appendix E (ADKV System Analysis) already provides a systematic theoretical analysis of the stability properties of the EMA update and its impact on quantization error. Furthermore, the analysis in ADKV System Analysis, together with the SGD-based calibration results in Figure 5, indicates that the selected ADKV parameters satisfy the theoretical stability condition 0<β<2/q∗ derived in Appendix E.
The throughput improvement of ADKV stems from reducing metadata footprint and accesses at the algorithmic design level rather than GPU-specific optimizations, making the L40 results a concrete measurement of its benefits.
While larger-scale models (e.g., 70B LLMs) could provide further scalability insights, Llama-2-7B and Llama-2-13B are widely adopted KV cache compression benchmarks, and our results already demonstrate ADKV's effectiveness across different model sizes.
While end-to-end serving evaluation with frameworks such as vLLM and SGLang is an important direction for further validation, integrating ADKV into a complete serving stack requires additional engineering effort due to its modifications to the KV cache quantization and state update mechanisms. Therefore, the current evaluation focuses on isolating this algorithmic benefit.