potentialpaper

iKVC: Inference-Time KV-Cache Correction for Quantized LLMs in Long-Horizon Tasks

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:41 UTC · 76a0f7322c56 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "bhD9D7FTiM"
- }
- ],
- "title": "iKVC: Inference-Time KV-Cache Correction for Quantized LLMs in Long-Horizon Tasks",
- "authors": [],
- "abstract": "Post-training quantization (PTQ) reduces the memory footprint of large language models (LLMs) and can improve inference throughput. \nHowever, the resulting quantization errors can significantly degrade accuracy, creating a fundamental trade-off between the efficiency gained from quantization and the accuracy retained from the full-precision model, particularly in long-horizon generation.\nPrior work mitigates this degradation by preserving the KV cache of selected prompt tokens at full precision, thereby reducing errors introduced during prefill. \nThis strategy, however, does not address errors introduced during decoding, as quantized weights continuously perturb the key and value representations of newly generated tokens, and these errors accumulate in the KV cache, altering subsequent predictions. \nWe empirically observe that this error accumulation becomes non-negligible as a large number of tokens are generated, and we theoretically derive that the accumulated KV-cache errors can cause the attention output to deviate from the values computed by the original full-precision model.\nMotivated by this finding, we propose inference-time KV-cache Correction (iKVC), a training-free inference method that periodically corrects the KV cache for both prompt and generated tokens before decoding errors substantially accumulate. \nThe correction interval is configurable, allowing iKVC to explicitly control the accuracy--throughput trade-off. \nAcross experiments, iKVC consistently improves the trade-off over PTQ alone in long-horizon tasks. \nOur results identify KV-cache error accumulation as an important, previously underexplored factor in achieving accurate and efficient long-horizon tasks with quantized LLMs, suggesting that managing such errors during inference can complement PTQ techniques.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "e9083994-73ba-4069-8633-7605925b4d78"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "iKVC: Inference-Time KV-Cache Correction for Quantized LLMs in Long-Horizon Tasks",
+ "authors": [],
+ "abstract": "Post-training quantization (PTQ) reduces the memory footprint of large language models (LLMs) and can improve inference throughput. \nHowever, the resulting quantization errors can significantly degrade accuracy, creating a fundamental trade-off between the efficiency gained from quantization and the accuracy retained from the full-precision model, particularly in long-horizon generation.\nPrior work mitigates this degradation by preserving the KV cache of selected prompt tokens at full precision, thereby reducing errors introduced during prefill. \nThis strategy, however, does not address errors introduced during decoding, as quantized weights continuously perturb the key and value representations of newly generated tokens, and these errors accumulate in the KV cache, altering subsequent predictions. \nWe empirically observe that this error accumulation becomes non-negligible as a large number of tokens are generated, and we theoretically derive that the accumulated KV-cache errors can cause the attention output to deviate from the values computed by the original full-precision model.\nMotivated by this finding, we propose inference-time KV-cache Correction (iKVC), a training-free inference method that periodically corrects the KV cache for both prompt and generated tokens before decoding errors substantially accumulate. \nThe correction interval is configurable, allowing iKVC to explicitly control the accuracy--throughput trade-off. \nAcross experiments, iKVC consistently improves the trade-off over PTQ alone in long-horizon tasks. \nOur results identify KV-cache error accumulation as an important, previously underexplored factor in achieving accurate and efficient long-horizon tasks with quantized LLMs, suggesting that managing such errors during inference can complement PTQ techniques.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}