RaReCache: Bridging the Gap in Cross-Model KV Cache Reuse via Rank disagreement-based Selective Recomputation
Organizations: University of Southern California · University of California, Irvine · Intel Labs
Abstract
Cross-model KV-cache reuse remains a key challenge in modern LLM serving. Coding agents and multi-model systems increasingly route a shared context across models: a user may switch models mid-session, or a cascade may escalate a difficult query. Because KV caches contain model-specific representations, each switch typically forces the receiving model to prefill the entire context from scratch. Recent work shows that closed-form linear maps can translate KV caches between models in the same family, but transfer accuracy degrades as the model-size gap widens. In this paper, we establish that these transfer failures are concentrated in a small subset of information-dense tokens. To bridge this gap, we introduce RaReCache, a framework that enables a large target model to decode accurately from a cache prefilled by a much smaller source via selective recomputation. RaReCache identifies these critical positions using a novel rank disagreement metric, scoring each token by the energy of its mapped KV in output directions weakly supported by the calibration data. Across two model families and five benchmarks, on a 23x parameter gap (Qwen3-0.6B to 14B) recomputing just 30% of positions retains 95-99% of the target accuracy, whereas on a 8.8x gap (Llama3-8B to 70B), recomputing 40% retains 96.5% of the target accuracy. RaReCache largely removes sensitivity to source-model size, and achieves up to a 3.04x prefill speedup. For online serving, it handles 1.8x the request throughput of target prefill on a single GPU, and at the target's saturation load, reduces median and 99th-percentile time-to-first-token (TTFT) by 5.0x and 6.4x respectively, with a 30% recompute budget. RaReCache establishes an efficient serving paradigm where small models prefill on behalf of massive targets, enabling large models to recompute only critical tokens, drastically reducing prefill latency.
Figures & tables
| Transfer, recompute fraction | |||||||
|---|---|---|---|---|---|---|---|
| Pair ( ) | Gap | Source alone | Target alone | ||||
| 3.2-3B 3.1-8B (1319) | 82.3 | 81.7 (95.2) | 85.7 (99.8) | 84.2 (98.1) | 86.4 (100.6) | 85.8 | |
| 3.1-8B 3.3-70B (300) | 82.7 | 81.0 (85.0) | 85.3 (89.5) | 88.3 (92.7) | 92.0 (96.5) | 95.3 | |
| Target | Ratio | Alone | Transfer ( ) | Lift | Transfer ( ) |
|---|---|---|---|---|---|
| Qwen3-0.6B | 35.0 | 27.2 | 27.9 | ||
| Qwen3-1.7B | 57.5 | 71.9 | 71.4 | ||
| Qwen3-4B | 70.2 | 73.3 | 73.2 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Prompt length | 149 | 512 | 1,024 | 2,048 | 4,096 | 8,192 |
|---|---|---|---|---|---|---|
| fp32 map | 0.63 | 0.67 | 0.81 | 0.85 | 0.81 | 0.81 |
| bf16 map | 0.78 | 0.95 | 1.27 | 1.38 | 1.36 | 1.34 |
| block sharing | 1.16 | 1.32 | 1.82 | 1.95 | 1.89 | 1.78 |
| saturating batch | 2.36 | 2.34 | 2.30 | 2.23 | 2.09 | 1.89 |
| Mean Batch | p50 TTFT | p99 TTFT | ||||
|---|---|---|---|---|---|---|
| (req/s) | tgt / ours | tgt ours (ms) | Ratio | tgt ours (ms) | Ratio | |
| 5 | 0.12 | 1.1 / 1.2 | 51 95 | 0.54 | 113 182 | 0.62 |
| 10 | 0.23 | 1.2 / 1.7 | 51 118 | 0.43 | 130 193 | 0.67 |
| 20 | 0.47 | 2.1 / 2.8 | 91 141 | 0.65 | 200 203 | 0.99 |
| 30 | 0.70 | 4.0 / 4.1 | 154 156 | 0.99 | 374 222 | 1.68 |
| 35 | 0.82 | 7.4 / 4.7 | 274 163 | 1.68 | 640 239 | 2.67 |
| Transfer, recompute fraction | |||||||
|---|---|---|---|---|---|---|---|
| Benchmark ( ) | 0.6B alone | 14B alone | |||||
| GSM8K (1319) | 56.1 | 71.6 (75.3) | — | 90.2 (94.8) | 93.8 (98.6) | 95.3 † (100.2) | 95.1 |
| MMLU-Redux (5700) | 35.0 | 47.4 (60.3) | 54.4 (69.3) | 61.2 (77.9) | 67.1 (85.4) | 72.6 (92.4) | 78.6 |
| ARC-Challenge (1172) | 56.7 | 81.3 (87.5) | 89.4 (96.2) | 90.0 (96.9) | 91.2 (98.2) | — | 92.9 |
| ARC-Easy (2376) | 72.3 | 87.6 (92.9) | 91.8 (97.3) | 93.0 (98.6) | 93.6 (99.2) | — | 94.3 |
| LongBench-E QA (467) | 33.5 | 25.4 ‡ (38.5) | — | — | 53.6 (81.3) | 59.7 (90.7) | 65.9 |