Metraipolis › archive › dc_36107f69f277
MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference — arXiv:2609.07966
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.07966
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T13:58:01.745Z
- SHA-256 of the archived text
5e7d1e233aa920f2ad05d24eb627f5f36a0a6f2c6490b95f09ddd83424188f2f- Stable URL of this page
https://metraipolis.com/documento/dc_36107f69f277
How to cite
MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference — arXiv:2609.07966 — arXiv (en), https://arxiv.org/abs/2609.07966 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_36107f69f277 (Metraipolis archive dc_36107f69f277, sha256 5e7d1e233aa920f2ad05d24eb627f5f36a0a6f2c6490b95f09ddd83424188f2f)
BibTeX
@misc{dc36107f69f277,
title = {MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference — arXiv:2609.07966},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.07966},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_36107f69f277; sha256 5e7d1e233aa920f2ad05d24eb627f5f36a0a6f2c6490b95f09ddd83424188f2f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07966. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Key--value (KV) cache compression is an effective way to reduce the memory overhead of large language model (LLM) inference, particularly for long-context workloads. However, existing compression methods make different trade-offs among accuracy, inference latency, and peak KV cache memory utilization, making a single fixed configuration unsuitable across different prompts and resource constraints. We introduce MetaKV, an adaptive framework that selects a KV cache compression configuration for each input prompt based on user-specified latency and peak memory budgets. MetaKV uses lightweight prediction models to estimate the end-to-end latency, peak memory, and probability of a correct response for each candidate configuration, and selects the configuration that best satisfies the latency-memory constraints while preserving accuracy. We evaluate MetaKV across ten configurations from three representative KV cache compression methods, KVQuant, H$_2$O, and RocketKV, together with an uncompressed FP16 configuration, on four datasets covering mathematics, science, commonsense reasoning, and reading comprehension. Across a wide range of latency and peak memory constraints, MetaKV consistently outperforms the best static configuration, improving constrained success rate (CSR), the fraction of prompts answered correctly while satisfying both constraints, by approximately 0.07 on average and up to 0.135. These results demonstrate the benefit of adapting KV cache compression to individual prompts and latency-memory constraints. Code is available at this https URL Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.07966 — 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-16T13:39:43.005Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).