Metraipolis › archive › dc_9bdd06a31236
Cartridges++: KV Cache Compression without Off-Context Derailment — arXiv:2609.35621
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.35621
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T22:39:17.067Z
- SHA-256 of the archived text
63927ea2f06c9a66e06f32adc13f5a540662e96ab4bd0d20265cf1b69080cc78- Stable URL of this page
https://metraipolis.com/documento/dc_9bdd06a31236
How to cite
Cartridges++: KV Cache Compression without Off-Context Derailment — arXiv:2609.35621 — arXiv (en), https://arxiv.org/abs/2609.35621 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9bdd06a31236 (Metraipolis archive dc_9bdd06a31236, sha256 63927ea2f06c9a66e06f32adc13f5a540662e96ab4bd0d20265cf1b69080cc78)
BibTeX
@misc{dc9bdd06a31236,
title = {Cartridges++: KV Cache Compression without Off-Context Derailment — arXiv:2609.35621},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.35621},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9bdd06a31236; sha256 63927ea2f06c9a66e06f32adc13f5a540662e96ab4bd0d20265cf1b69080cc78},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.35621. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Serving long documents to a Large Language Model (LLM) repeatedly is expensive: computations grow with context length, and the memory footprint of the key-value (KV) cache balloons. Compressed KV (CKV) representations aim to mimic the cache of a document and are typically computed once and for all, ahead of inference time. Methods to obtain CKVs range from drop mechanisms that reduce their number of columns, to learned approaches. Among the latter, Cartridges have emerged as a leading compression method, learning compact KV representations through distillation on relevant Q/A pairs. While existing evaluations focus primarily on whether Cartridges and other CKVs yield approximately similar responses to document-related, on-context queries, we investigate the crucial deployment question of whether they can handle off-context queries, something the native KV representation is particularly good at, thanks to the mechanics of attention. We observe a fundamental trade-off: while Cartridges perform better for on-context queries, heuristic-variants preserve better the original LLM's ability to operate off-context. We measure this through their capability to avoid context contamination in their response, retain general knowledge, and follow instructions. We propose Cartridges++, simple modifications to cartridges that retain off-context abilities at small or negligible cost. The router variant decides at inference time whether the query should use the learned long-context memory, while the data-mixing variant allocates a small fraction of training Q/As to queries outside the reference long document. Our study shows that assessing CKVs on document utility alone can mask substantial degradation in broader model capabilities, yet those issues can be fixed with benign changes to CKV inference or training. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.35621 — 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-07T22:14:28.490Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).