Metraipolis › archive › dc_6c2c8e4b0b33
Fine-Tuning a KV Cache Concatenation-Aware Model or Recomputing KV Caches? Why Not Both? — arXiv:2609.09768
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.09768
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T07:26:17.515Z
- SHA-256 of the archived text
dacf0170e519bd2936f167471ef6cf4daf62cc9871d92ef27cb56547e86bfce2- Stable URL of this page
https://metraipolis.com/documento/dc_6c2c8e4b0b33
How to cite
Fine-Tuning a KV Cache Concatenation-Aware Model or Recomputing KV Caches? Why Not Both? — arXiv:2609.09768 — arXiv (en), https://arxiv.org/abs/2609.09768 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6c2c8e4b0b33 (Metraipolis archive dc_6c2c8e4b0b33, sha256 dacf0170e519bd2936f167471ef6cf4daf62cc9871d92ef27cb56547e86bfce2)
BibTeX
@misc{dc6c2c8e4b0b33,
title = {Fine-Tuning a KV Cache Concatenation-Aware Model or Recomputing KV Caches? Why Not Both? — arXiv:2609.09768},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.09768},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6c2c8e4b0b33; sha256 dacf0170e519bd2936f167471ef6cf4daf62cc9871d92ef27cb56547e86bfce2},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.09768. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In Retrieval-Augmented Generation (RAG) systems, a large number of retrieved chunks are concatenated to form the input context so that users can receive high-quality responses based on external knowledge. As a result, the input context length increases substantially, leading to a larger prefill workload and, in turn, a longer time to first token (TTFT). While previous works that reuse precomputed key-value (KV) caches effectively reduce TTFT for long-context inputs, it remains unclear whether response quality is preserved when the input context becomes very long. In this paper, we propose a combined approach that (i) fine-tunes the model while taking KV cache concatenation into account and (ii) selectively recomputes a subset of the KV caches. By applying both techniques, we demonstrate improved accuracy for long-context inputs. Experiments on the RULER benchmark show that, for a 124k-token input, our method improves the RULER score by 9.7 point over the baseline that recomputes KV caches only. Moreover, TTFT is reduced by 80% compared with full attention. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-10 in cs.AI). Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.09768 — 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-16T07:00:16.346Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-10?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).