Metraipolis › archive › dc_4210dbe76e6b
CacheSmith: Accurate RAG Serving under Latency SLOs with Adaptive KV Reuse — arXiv:2610.18925
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.18925
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T14:08:15.864Z
- SHA-256 of the archived text
01e78450a60afbdfcad0ca8ff497e60a79f5e17aea1cad7cd651e8dbf33650e7- Stable URL of this page
https://metraipolis.com/documento/dc_4210dbe76e6b
How to cite
CacheSmith: Accurate RAG Serving under Latency SLOs with Adaptive KV Reuse — arXiv:2610.18925 — arXiv (en), https://arxiv.org/abs/2610.18925 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4210dbe76e6b (Metraipolis archive dc_4210dbe76e6b, sha256 01e78450a60afbdfcad0ca8ff497e60a79f5e17aea1cad7cd651e8dbf33650e7)
BibTeX
@misc{dc4210dbe76e6b,
title = {CacheSmith: Accurate RAG Serving under Latency SLOs with Adaptive KV Reuse — arXiv:2610.18925},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.18925},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4210dbe76e6b; sha256 01e78450a60afbdfcad0ca8ff497e60a79f5e17aea1cad7cd651e8dbf33650e7},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.18925. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
This paper presents CacheSmith, a KV cache reuse system for RAG prefill that maximizes quality-gated SLO attainment. While context caching lowers prefill latency by reusing precomputed KV states for retrieved chunks, it misses cross-chunk attention that a full prefill would compute over concatenated inputs. Prior selective recomputation schemes tackle this problem but enforce static, one-size-fits-all configurations that fail to effectively handle request heterogeneity or dynamic latency budgets. CacheSmith decomposes selective recomputation into a three-phase workflow of WarmUp, Probe, and Patch that can be dynamically configured to exploit a wide range of cost-accuracy trade-offs. At serving time, an SLO-aware scheduler in CacheSmith forms batches to mitigate inter-request interference during layer-by-layer prefill, while a budget-aware planner configures recomputation phases across the batch to maximize the number of requests satisfying both generation quality and latency targets. Both components make fast, solver-free decisions over profiled cost-accuracy bands. On four benchmarks across varying arrival rates and burstiness levels, CacheSmith improves quality-gated SLO attainment by up to 27.5%, over four state-of-the-art baselines. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.AR, nuovi lavori del giorno). Categorie arXiv: Hardware Architecture (cs.AR) ; Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2610.18925 — 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-15T13:50:35.375Z dalla pagina https://arxiv.org/list/cs.AR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).