Metraipolis › archive › dc_55fa57203a1f
Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoders — arXiv:2608.20280
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.20280
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T11:48:50.952Z
- SHA-256 of the archived text
2136f585d352f0259dd6fe2321148039adbc549b7682c2b32053761a69dafc1e- Stable URL of this page
https://metraipolis.com/documento/dc_55fa57203a1f
How to cite
Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoders — arXiv:2608.20280 — arXiv (en), https://arxiv.org/abs/2608.20280 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_55fa57203a1f (Metraipolis archive dc_55fa57203a1f, sha256 2136f585d352f0259dd6fe2321148039adbc549b7682c2b32053761a69dafc1e)
BibTeX
@misc{dc55fa57203a1f,
title = {Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoders — arXiv:2608.20280},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.20280},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_55fa57203a1f; sha256 2136f585d352f0259dd6fe2321148039adbc549b7682c2b32053761a69dafc1e},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20280. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Semantic caches reuse an LLM response when the incoming query embedding lies near a cached query, but proposed eviction policies have rarely been compared under one protocol. Using CLEVER, we evaluate FIFO, LRU, LFU, ARC, GDSF, a single-pass streaming adaptation of SISO, and a semantic-redundancy policy across three ordered, deduplicated query corpora, three cache capacities, and two encoders. No evaluated policy improves on LFU by more than 0.041 percentage points in any of the eighteen settings. Replacement is not irrelevant: FIFO and streaming SISO trail LFU by as much as 8.67 and 8.55 points, respectively, at tight capacity. We explain the missing upside with a conditional packing result. Under exact lookup and insert-on-miss, a newly inserted entry cannot have a resident neighbor within the hit radius, so a geometry-aware eviction rule receives little new redundancy signal. A separate audit exposes a larger problem with the evaluated operating point. At MiniLM's median nearest-neighbor threshold, only 2.1-3.9% of sampled LMSYS and QQP hits are judged answer-substitutable, reducing raw hit rates of 51-60% to quality-adjusted rates of 1.1-2.2%. The cross-encoder study further shows that thresholds do not transfer between embedding models. LFU is the strongest simple default in this protocol; deployment decisions should first establish answer validity and then test sub-point policy differences with exact search. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-21 in cs.LG). Categorie arXiv: Databases (cs.DB) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.20280 — 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-18T11:47:43.393Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).