arXiv(opens in a new tab)cs.CLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.10266

KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpoints

Xi Shi, Qian Lou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

LLM serving systems already reuse KV caches, but only when the reused text sits at the very start of the prompt. The fastest-growing workloads break this condition: a retrieval-augmented generation server assembles a different set of retrieved chunks for every query, and a multi-agent coordinator reads reports that other agents have just written. Reusing a cache inside a new prompt means the cached tokens carry the wrong positions and never attended to one another. The cache may also have been written by a different checkpoint of the same model family, which changes the stored values but not their shapes. Methods that repair such caches have appeared in three separate communities, each measured on its own tasks and cost metrics, and existing KV-cache benchmarks test only exact-prefix reuse, where nothing is lost. We introduce KVShareArena, a benchmark for KV-cache reuse across prompt contexts and model checkpoints. It covers two workloads, retrieved chunks and agent reports, and scores every method by the fraction of the gap it recovers between answering with no cache and recomputing everything from scratch, together with its compute, memory, and latency cost; latency is charged per request with the cache in hand, and the one-time cost of building a cache is reported separately. We find that correcting positions, which is free, is enough until a question needs several sources at once. There, only methods that pay, by re-encoding part of the cache or by training, recover half to two thirds of the gap, and reusing caches without repair can be worse than dropping them. Cache-compression methods that are harmless on a single prompt fall significantly behind the free fix on freshly written agent reports. These patterns hold across three model boards. When a different checkpoint wrote the cache, training-free methods are barely affected, but repairs trained on one checkpoint's caches break. The harness, frozen querysets, and cost accounting are released as a pip package with an automated submission workflow and a public leaderboard.

1 INTRODUCTION

Two of the fastest-growing LLM workloads share one core operation: in retrieval-augmented generation (RAG) a model answers each query over several retrieved chunks, and in multi-agent systems (MAS) a coordinator integrates reports written by specialist agents. Both must reason jointly over source blocks that already exist elsewhere, and prefilling this payload (the shared material, as opposed to instructions and question) dominates serving cost. Production stacks therefore treat the key-value (KV) cache as reusable: prefix caching ships in vLLM and SGLang (Zheng et al., 2024) and is offered as prompt caching by major providers.

Prefix caching, however, is lossless only because it is restrictive: a cache hit requires every earlier token to be identical. A document cached behind one role prompt therefore yields no hit behind another, although the document itself is unchanged (Hu et al., 2025). For multi-source workloads no request is an exact match (Figure 1a): each RAG query selects a different subset and ordering of chunks, and agent reports are generated fresh. To reuse KV here, a system must move it out of its birth context: the prompt prefix and sequence position under which it was computed.

The model that builds KV (the producer) may also differ from the model that reads it (the receiver): the cache may have been written by a post-trained specialist handing KV to a differently weighted

Figure

Figure 1: Two everyday situations leave a serving system almost nothing to reuse from its KV cache. (a) Assembly workloads: after the receiver's fixed role prompt, each query draws a different subset and ordering of cached documents, so nothing is an exact prefix match. (b) When another checkpoint of the same architecture wrote the cache (a specialist sibling, or an earlier checkpoint of the receiver's lineage), the cached documents keep their text and positions but hold values from the producer's weights; the role prompt and the query are computed by the receiver. Whether the receiver can still read them is this paper's second factor; (a) and (b) together are its hardest cell. Figure 4 shows what breaks when repair methods reuse these caches anyway.

Figure

Figure 2: Repair methods for reused KV caches have appeared at a steady pace in two communities since late 2023, while third-party evaluation lags behind them: one benchmark that reuses caches only under an exact prefix and two partial studies in 2026. Dates are arXiv first versions; above the axis are repair methods, below it are serving systems and evaluations.

coordinator, or by an earlier checkpoint of the receiver's lineage (Figure 1b). Matching architecture and tokenizer guarantee the right tensor shapes, not the right values. We call this cross-checkpoint reuse.

The move meets a structural conflict (Figure 4, appendix). Dense prefill builds exactly the cross-source attention that joint reasoning needs; each reused block was instead encoded alone, so the assembled cache is damaged in two ways. The sources are mutually blind (their attention connections were never built), and the positions are misplaced (encodings reflect birth positions, not assembly positions). Moving keys to their new positions is nearly free but repairs only the geometry; everything beyond that must be bought, with answer-time computation or training in advance. We call such repairs paid, in contrast to the free position fix.

A repair ecosystem has grown around this problem in three communities that rarely evaluate against one another (Figure 2): RAG serving contributed selective recomputation (Yao et al., 2025), attention calibration (Yang et al., 2025b), and boundary recomputation (Hu et al., 2025); the MAS community contributed anchor-offset reuse (Ye et al., 2025); a third line replaces the medium with latent communication (Zou et al., 2026). The leading method already ships as a cache-layer plugin for production serving stacks. Yet each reports gains under its own tasks, ceiling, and cost accounting, and these quantities do not add up to a comparison. No third-party benchmark compares these methods on a shared quality-efficiency plane.

Table 1: No prior evaluation of KV-cache reuse crosses the two factors, scores against both a floor and a ceiling, or measures cost on one shared backend; KVShareArena does all three and runs a leaderboard. Rows in order: Li et al. (2025); Cestola et al. (2026); Liang et al. (2026), then the home evaluations of Yao et al. (2025); Hu et al. (2025); Yang et al. (2025b); Ye et al. (2025); Liu et al. (2025). Quality: raw = accuracy as is; vs. full = compared with full recomputation only; PGR = scored between a no-cache floor and a same-payload ceiling. Cost: what each work measures; only ours measures on one shared backend.

EvaluationFactorWorkloadLeaderboard
ContextCheckpointRAGAgentsQualityCost
Benchmarks and studies
SCBench✗✗✗✗rawcomplexity✗
Cestola et al. (2026)✓✗✓✗rawnone✗
Liang et al. (2026)✓✗✗✓vs. fullreuse rate✗
Method papers, home evaluations
CacheBlend✓✗✓✗vs. fullTTFT✗
EPIC✓✗✓✗vs. fullTTFT✗
APE✓✗✓✗vs. fulllatency✗
KVCOMM✓✗✗✓vs. fullreuse rate, TTFT✗
DroidSpeak✗✓✗✗vs. fullTTFT✗
KVShareArena (ours)✓✓✓✓PGR, paired CI compute/bytes/TTFT✓

Table 1 places existing evaluations on the dimensions a benchmark for this problem needs. Three gaps stand out. One factor at a time. The closest KV-cache benchmark reuses caches only under an exactly matching prefix (Li et al., 2025), where misalignment loss is zero by design. The studies that do assemble caches keep one model throughout (Cestola et al., 2026; Liang et al., 2026), and the evaluation that changes the model keeps the prompt fixed (Liu et al., 2025). Absolute scores. Every prior row reports raw accuracy, or compares against full recomputation alone. A cache that scores below the no-context floor then reads as a small loss rather than a failure, and scores from different tasks are not on one scale. Cost on private terms. Cost is either not measured or measured on each paper's own setup, so quality and efficiency never meet on one plane. The repair problem is invisible precisely where evaluation currently looks.

We introduce KVShareArena, a benchmark for KV-cache reuse when the prompt context changes, the producer checkpoint differs from the receiver's, or both: a two-factor design crossing context with producer weights under a fixed receiver (§2.2), on two workload tracks, Retrieved Evidence (cached raw chunks) and Agent Reports (generated specialist reports). Every method is scored between a no-context floor and a same-payload ceiling (full recomputation of what it consumes), yielding the performance-gap recovered (PGR), and its efficiency is read on three frontiers (prefill compute, KV bytes, same- backend latency). How rows and datasets are admitted is specified in §2.7.

Our experiments yield five findings (all numbers under the datasets' official metrics, §2.6). (1) Misaligned assembly is an information problem, not a geometry problem. Naively assembled report caches score far below the no-payload floor (PGR -.82): misplaced reports are worse than no reports. Free position re-alignment brings back only a quarter of the gap. On multi-hop retrieved evidence, even the re-aligned assembly stays below the floor. The same re-alignment, in contrast, fully repairs single-source prefix replacement at every practical strength we tested. Competitive repair space exists only where sources are mutually blind and the task needs them jointly. The loss from missing cross-source connections grows steadily with the number of blind producers. On a subset with only 2–4 sources per question, no method beats free alignment, exactly as that dose-response pattern predicts. (2) Paid repair earns back quality exactly where blindness is heavy. On the two subsets whose questions need several sources at once, selective recomputation and attention calibration significantly beat free position alignment (LegoLink at a measured recompute share below half a percent), and a trained soft-token adapter (KVPacket) does so with zero payload recomputation (PGR .64/.36). On multi-hop QA these repairs pull the board from below the floor back to

.36–.46 of the gap. On the subset that free alignment already nearly solves, nothing significantly improves on it. Recomputing the same budget on randomly chosen tokens loses most of the gain where damage is heavy, so the value lies in the selection mechanism, not the budget. (3) Compression is not free under misalignment. The compression family never significantly beats free alignment on any subset of the main board, and on assembled reports every compression row is significantly below free alignment while recomputation-based repair holds the top; the loss is traceable to the KV information content rather than to answers simply getting shorter. (4) The same patterns replicate across three model boards. On a second model family and on a 4B sibling of the main model, the same four patterns recur: the calibration method is strong on multi-hop and weak on scientific-paper QA, selective recomputation beats free alignment on single-doc QA, naive report assembly collapses below floor, and the leading method on the Agent Reports track is unchanged. Boards are never compared numerically; only these patterns are checked. (5) A producer weight change exposes method-specific failures. Most training-free methods change little when the same Cross-Context cells use KV from a different same-architecture producer checkpoint. The exception is repair trained to one producer's KV distribution: the trained adapter drops significantly in four of six cells, and the boundary method's zero-recompute variant, which leaves every cached token as the producer wrote it, collapses on multi-hop QA. Every repair that recomputes remains stable. Where a trained repair fails, it can return a fluent answer with the wrong entity rather than visibly degraded text. Cross-checkpoint reuse is therefore not a uniform penalty; it is a compatibility test that separates repairs tied to producer weights from repairs that rebuild receiver-side state.

Our contributions: (a) a benchmark for KV reuse across context and checkpoint change, with two workload tracks, frozen querysets, and same-payload ceilings; (b) a unified measurement system: PGR between a no-cache floor and a same-payload ceiling, three cost frontiers with per-sample raw accounting, and paired statistics on frozen samples; (c) the class-level findings above; (d) an open platform: a pip-installable harness with a one-class method contract, an automated submission workflow that re-scores every entry on CPU, and a public leaderboard (appendix; code and data at [repo link]).

References (42)