Metraipolis › archive › dc_0a7858707763
PatchKV: Weight-Space Compensation of KV Cache — arXiv:2609.39329
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.39329
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T13:46:04.352Z
- SHA-256 of the archived text
019b00a59ba2a9f85d0795190a5093661804bddbc55884511666a2e9c5381079- Stable URL of this page
https://metraipolis.com/documento/dc_0a7858707763
How to cite
PatchKV: Weight-Space Compensation of KV Cache — arXiv:2609.39329 — arXiv (en), https://arxiv.org/abs/2609.39329 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0a7858707763 (Metraipolis archive dc_0a7858707763, sha256 019b00a59ba2a9f85d0795190a5093661804bddbc55884511666a2e9c5381079)
BibTeX
@misc{dc0a7858707763,
title = {PatchKV: Weight-Space Compensation of KV Cache — arXiv:2609.39329},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.39329},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0a7858707763; sha256 019b00a59ba2a9f85d0795190a5093661804bddbc55884511666a2e9c5381079},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.39329. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Long-context inference with Large Language Models (LLMs) is bottlenecked by the linearly growing memory of the key-value (KV) cache. Existing compression methods reduce the cache through token eviction or approximation, but degrade sharply at aggressive compression budgets. We propose PatchKV, a training-free framework that compensates KV cache compression methods by carrying part of the context in the model's weights. PatchKV pairs an off-the-shelf compressed KV cache with a context-specific weight patch, which is computed once at context-loading time and served for downstream queries for the context. The weight patch is derived in closed form via ridge regression, by aligning the block-wise activations of context-derived reference query tokens under the full cache and the compressed cache. Once merged into the model, the patch leaves the forward graph and per-query inference cost unchanged in the single-context, multi-query setting. Across long-context QA (SCBench with up to 170K tokens, SQuAD, NIAH) and math (GSM8K) benchmarks on three model architectures, PatchKV consistently improves cache compression methods, suggesting an alternative direction to compensate them at aggressive budgets. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-01 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.39329 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T13:18:10.362Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).