Skip to content

Budgeted Cache Repair for Cross-Context KV-Cache Reuse

Sep 2026 · 0 citations · 25 references
Computer Science

TL;DR

Budgeted Cache Repair (BCR) restores GSM8K to dense-prefill accuracy while still serving most calls from cache, and its best layout outperforms every reuse baseline's mean in the reference grid.

Abstract

Cross-context KV-cache reuse predicts a shared segment's keys and values under a new prefix instead of recomputing them, and has been reported to do so without quality loss. We find otherwise, and identify two problems. (1) A hidden cost: on MMLU and GSM8K, reuse costs substantial accuracy. (2) A decision at the wrong unit: no rule for deciding whether to reuse a cache removes that cost. What does help is choosing which parts of the cache to recompute, and the value of choosing well falls as the unit of choice grows: informed selection removes 49.5% of the cache error beyond chance at single rows (one token's keys and values), 10.6% at 64-token chunks, and nothing at the level of whole calls. Budgeted Cache Repair (BCR) acts at the unit where selection still pays. It drafts two tokens from the assembled cache, ranks cache rows by the attention those tokens pay them, and recomputes a fixed budget of rows exactly, in one of three layouts. The cost is paid rather than predicted away, and the draft that fails as a gate succeeds as a selector. BCR restores GSM8K to dense-prefill accuracy while still serving most calls from cache, and its best layout outperforms every reuse baseline's mean in the reference grid. The draft also beats a coin-flip selector at the same budget - a control prior evaluations lack.

View source

Similar papers

Sep 2026

The KV Cache Working Set: Online Capacity Planning for LLM Inference Systems

KVSET, an online analyzer that estimates the KV cache working set of LLM serving workloads, substantially reduces the computational and memory overhead of conventional capacity-by-capacity simulation and makes online working-set analysis practical.

Lu-Chang Li, Shuai-Shuai Wang, Zhao Ruan et al. · 2 citations
#artificial intelligence Preprint Oct 2026

Budgeted KV-Cache Repair for Evolving Contexts

This work introduces budgeted KV-cache repair: recovering task performance by recomputing a user-chosen fraction of the retained suffix, and finds that refreshing coherent regions can substantially outperform refreshing isolated tokens.

Han Yu, Wen-Hui Zhu, Jincheng Cao et al. · 0 citations
Preprint Oct 2026

CacheFit: The Rising Cost of Cache Replacement and Constraint-Driven Redesign of Last-Level Cache Replacement Policies

The latency, power, and area costs of LLC replacement remain poorly explored not because simulators cannot be instrumented--event counters feeding a power model are routine--but because no cost model takes a replacement policy as input. CACTI and McPAT price regular structures, a cache or a core, not the small, oddly s...

Bita Aslrousta, Kaushal Mhapsekar, Darsh Asher et al. · 0 citations
Book Open access Sep 2026

To Keep or Not to Keep: Learning KV Cache Retention in Disaggregated LLM Serving Systems

KVLearn, a learning-based retention framework that makes keep/evict decisions as first-class cost-optimization choices in disaggregated LLM serving is presented and evaluated on both text and multimodal workloads.

Dong Liu, Yan-Xuan Yu, E. Jiang et al. · 0 citations
#artificial intelligence Preprint Oct 2026

KV$^2$: A Self-Refining KV Cache

The memory footprint of the key-value (KV) cache constrains the practical use of long-context models, and it dominates cost when one prefilled context must later serve many different queries. In this reusable setting, query-agnostic compression trades cost against quality: lightweight estimators are cheap but less accu...

J. Wesch, Danni Liu, J. Niehues · 0 citations

Related blog posts

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

MIT News · Artificial Intelligence Aug 27, 2026

Looking beyond natural sequences

A new machine-learning framework aims to improve the success rate of computational protein design while moving away from results that reproduce sequences found in nature.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.