1 00:00:01,000 --> 00:00:09,300 [Hal Turing] Alrighty! Thanks for tuning in! Hello AI world! I am your host, Hal Turing, and my co-host is Dr. Ada Shannon. 2 00:00:09,300 --> 00:00:37,350 [Hal Turing] Today's paper is RaReCache: Bridging the Gap in Cross-Model KV Cache Reuse via Rank Disagreement-Based Selective Recomputation. It's by Sreetama Sarkar and colleagues at the University of Southern California, UC Irvine, and Intel Labs, a 2026 preprint. The claim is that a model about twenty-three times smaller can read a context, and the big model can then repair a minority of positions and decode almost as well as if it had read everything itself. 3 00:00:37,350 --> 00:00:53,549 [Dr. Ada Shannon] The stakes are serving cost. Whenever a system hands a conversation from one model to another, the receiving model redoes the whole prefill. This paper asks whether most of that work can be skipped, and the answer depends on which positions you choose to redo. 4 00:00:53,549 --> 00:01:11,875 [Hal Turing] Let's define prefill, because it carries everything else. When a model reads a prompt, it computes a key vector and a value vector for every token at every layer, and stores them. That's the KV cache. Decoding then attends over the stored vectors instead of reprocessing the prompt. 5 00:01:11,875 --> 00:01:25,599 [Dr. Ada Shannon] And the cost of that reading phase is what you feel as time-to-first-token, TTFT: the wait from sending a request to seeing the first output token. Under load, that's queueing delay plus prefill time. 6 00:01:25,599 --> 00:01:36,875 [Hal Turing] Concretely: you're in a coding-agent session with a small, cheap model. It's read your repo and a long conversation. You hit a hard bug and escalate to the big model. 7 00:01:36,875 --> 00:01:55,275 [Dr. Ada Shannon] Right. The big model can't read the small model's cache, because those vectors are specific to one model. So it re-prefills everything. That's the handoff tax in cascades like FrugalGPT, by Lingjiao Chen, Matei Zaharia and James Zou from 2023, and in routers like RouteLLM. 8 00:01:55,275 --> 00:02:00,175 [Hal Turing] So how does existing reuse handle this? I know prefix caching. 9 00:02:00,175 --> 00:02:34,750 [Dr. Ada Shannon] Prefix caching, as in vLLM's PagedAttention paper by Woosuk Kwon and colleagues at Berkeley in 2023, and SGLang's RadixAttention, is exact. But it only works for the same model. Two other lines of work recompute selectively. CacheBlend, by Jiayi Yao and colleagues in the Junchen Jiang group, EuroSys 2025, reuses independently cached RAG chunks. It recomputes the tokens whose early-layer KV deviates most. DroidSpeak, from Yuhan Liu and colleagues in the same group, shares caches across fine-tuned variants of one architecture. It recomputes the layers that are sensitive to the swap. 10 00:02:34,750 --> 00:02:41,525 [Hal Turing] So CacheBlend picks tokens and DroidSpeak picks layers, but neither crosses model sizes. 11 00:02:41,525 --> 00:03:03,300 [Dr. Ada Shannon] Right. The piece RaReCache builds on is Heo and colleagues, 2026, a closed-form linear map for KV transfer within a model family. Fit a ridge regression, no gradient descent, that takes the source model's KV entries from several layers and predicts the target's KV entry at each layer. Keys and values get separate maps. It works within a family because the tokenizer is shared, so token positions line up. 12 00:03:03,300 --> 00:03:05,975 [Hal Turing] And the map is fit on what? 13 00:03:05,975 --> 00:03:25,050 [Dr. Ada Shannon] A calibration set: roughly 128 thousand to 350 thousand tokens run through the source model and paired with the target's own cache. Hold onto one detail. Here the calibration tokens come from the training split of the same task being evaluated. That will matter when we get to what the results do and don't show. 14 00:03:25,050 --> 00:03:29,275 [Hal Turing] I'm flagging that one now. Now the motivating number. 15 00:03:29,275 --> 00:03:50,375 [Dr. Ada Shannon] Take Qwen3-0.6B as the source and Qwen3-14B as the target, on GSM8K, the grade-school math word-problem set. The 14B gets 95.1 percent when it does its own prefill. Plain mapping from the 0.6B cache gets 71.6. And the paper says the gap grows as the source shrinks. 16 00:03:50,375 --> 00:03:56,750 [Hal Turing] So the translated cache isn't garbage, but it loses almost a quarter of the answers. 17 00:03:56,750 --> 00:04:17,650 [Dr. Ada Shannon] Right. And the authors' hypothesis is that the shortfall is bounded by the small model's capacity. The 0.6B can't encode everything the 14B would, so the mapped cache is a decent description of most tokens and a poor one of a few. If errors cluster in a few positions, you don't need a full prefill. You need the big model to run its own forward pass on just those positions. 18 00:04:17,650 --> 00:04:20,400 [Hal Turing] Which is where rho comes in. 19 00:04:20,400 --> 00:04:42,300 [Dr. Ada Shannon] Rho is the recompute fraction. The target model runs its real forward pass on the top rho times T prompt positions, T being prompt length, and merges those fresh KV entries into the mapped cache. At rho of zero you have plain transfer. At rho of one you're back to a full prefill. It's a dial between cheap-and-lossy and expensive-and-exact. The paper uses one shared set of positions across all layers. 20 00:04:42,300 --> 00:04:48,800 [Hal Turing] That sounds like speculative decoding, where a small model drafts and a big model checks. 21 00:04:48,800 --> 00:05:10,125 [Dr. Ada Shannon] The shape is similar. A small model proposes, the big model fixes what it can't trust. But there's a real difference. Speculative decoding is lossless, because rejected drafts get replaced. This repair is approximate, so any accuracy guarantee is empirical. And you can't treat the recomputed tokens in isolation: they still attend to stale mapped entries, and later tokens attend to the repaired ones. 22 00:05:10,125 --> 00:05:14,500 [Hal Turing] So the whole game is choosing which positions to repair. 23 00:05:14,500 --> 00:05:33,225 [Dr. Ada Shannon] Yes. Without a good selector, recomputation is just spending compute at random. And the obvious selectors, like attention weight or raw error, turn out to be the wrong tools here. That's the next question: what do you measure to find the tokens the map can't be trusted on, without running the big model on everything to find out? 24 00:05:33,225 --> 00:05:40,725 [Hal Turing] Before the new score, why not use attention? Tokens the model attends to most seem like the ones that matter. 25 00:05:40,725 --> 00:06:00,725 [Dr. Ada Shannon] Take one GSM8K prompt. The 14B puts 72% of its attention on the <|im_start|> sink token, 24% on the rest of the template and instruction, and 4% on the actual question. A top-attention selector spends its budget on boilerplate. In the paper, attention selectors score below random and about the same as recomputing nothing. 26 00:06:00,725 --> 00:06:06,725 [Hal Turing] Then raw error. Recompute the tokens where the mapped cache is furthest from the truth. 27 00:06:06,725 --> 00:06:21,350 [Dr. Ada Shannon] Large error on template tokens costs nothing, because the map reproduces them in a way the big model can use. Magnitude is the wrong signal. You want to know where the map can't be trusted, and a big number doesn't tell you that. 28 00:06:21,350 --> 00:06:23,100 [Hal Turing] So what does? 29 00:06:23,100 --> 00:06:42,625 [Dr. Ada Shannon] Rank disagreement. First fit the map. Then take its predictions on the calibration tokens and find the directions in which they actually vary. Keep the top 128 as the well-described subspace. At test time, a token's score is how much of its mapped KV lies outside that subspace, summed over layers and over keys and values. 30 00:06:42,625 --> 00:06:48,051 [Hal Turing] So the score says this token doesn't look like anything the map was fit on. 31 00:06:48,051 --> 00:07:07,476 [Dr. Ada Shannon] Yes. Template text appears in every calibration prompt, so it sits inside the subspace and scores near zero. Names, quantities and relations differ per item, so they score high. On the full GSM8K test set, only 0.23% of the recomputed positions fall in the shared template prefix. 32 00:07:07,476 --> 00:07:11,151 [Hal Turing] And you get that without running the big model? 33 00:07:11,151 --> 00:07:28,801 [Dr. Ada Shannon] Right. It's computed from the mapped cache alone. The cost is one projection per layer and per side, from the target's width down to 128. One shared position set serves all layers, which is reasonable because the sets from different layers overlap about 0.87. 34 00:07:28,801 --> 00:07:35,476 [Hal Turing] You called it reduced-rank regression, not a truncated SVD of the map. Why does that matter? 35 00:07:35,476 --> 00:07:54,226 [Dr. Ada Shannon] A truncated SVD of the matrix keeps the directions the map amplifies most, whatever the data does. Reduced-rank regression keeps the directions where the predictions actually vary on real data. We care about the second kind, because the score asks whether a token resembles the data the map was fit on. 36 00:07:54,226 --> 00:07:58,926 [Hal Turing] Now the results. Start with how much recomputation recovers. 37 00:07:58,926 --> 00:08:27,926 [Dr. Ada Shannon] The setup is Qwen3-0.6B's cache mapped into the 14B. On GSM8K, grade-school math word problems, plain transfer gets about 72 questions right out of a hundred. The 14B alone gets 95. Let the 14B recompute 3 of every 10 prompt tokens and it reaches about 90, which is 94.8% retention, a relative figure. At half, it's 95.3, and the paper's test finds no significant difference from the 14B. 38 00:08:27,926 --> 00:08:31,476 [Hal Turing] Does the source-size ordering survive that? 39 00:08:31,476 --> 00:08:58,726 [Dr. Ada Shannon] It collapses. The spread across source sizes on GSM8K goes from 18.9 percentage points with no recomputation to 0.9 at a 40% budget. But the pattern is uneven. MMLU-Redux retains about 78% at 30% and reaches 92% only at 50%. And on LongBench-E, plain transfer scores 25.4 F1, below the 0.6B model alone at 33.5. Recomputing half gets 90.7% retention. 40 00:08:58,726 --> 00:09:05,926 [Hal Turing] So the abstract's 95 to 99% at 30% is narrower than it sounds. 41 00:09:05,926 --> 00:09:25,476 [Dr. Ada Shannon] Yes. It holds on GSM8K and the ARC sets. LongBench-E wasn't run at 30%. Llama 8B into 70B works too, with 96.5% retention at 40%, but that's only the first 300 GSM8K items. And no confidence intervals or seeds are reported. 42 00:09:25,476 --> 00:09:31,726 [Hal Turing] Now the selector comparison. Is the choice of tokens doing the work, or just the amount? 43 00:09:31,726 --> 00:09:53,526 [Dr. Ada Shannon] At 30% on 300 GSM8K items, the same cache and budget, only the selector changes. Recomputing nothing gives 73.3. Random gives 82.3, which closes about 42% of the gap to the 14B. Rank disagreement gives 90.3 and closes about 79%. So random closes under half, and rank disagreement closes about four-fifths. 44 00:09:53,526 --> 00:09:57,752 [Hal Turing] Where do the CacheBlend and DroidSpeak stand-ins land? 45 00:09:57,752 --> 00:10:27,202 [Dr. Ada Shannon] Both land below random, at 80.7 and 79.0. But the CacheBlend stand-in is an oracle that reads the target's true per-token error. It isn't CacheBlend's real procedure. DroidSpeak is adapted to recompute a prefix of layers, since hidden states don't line up across model sizes. Layer-prefix does badly because the errors sit in a minority of tokens at every depth, so recomputing whole layers pays for many tokens that were fine. This shows magnitude is a poor selector here. It doesn't show those systems lose in their home settings. 46 00:10:27,202 --> 00:10:31,527 [Hal Turing] One more experiment. What if the cache flows the other way? 47 00:10:31,527 --> 00:11:00,002 [Dr. Ada Shannon] They map the 14B's cache into smaller models on MMLU-Redux. The 1.7B gains 14.4 points and the 4B gains 3.1, but the 0.6B loses 7.8. Recomputation barely helps in reverse, within 0.7 points. Their explanation is that a large source's cache is already well reconstructed, with R² around 0.9. So the method detects where a map is unreliable, and it can't repair a target that lacks capacity. 48 00:11:00,002 --> 00:11:06,152 [Hal Turing] Last piece. If I recompute 30%, shouldn't prefill cost about 30%? 49 00:11:06,152 --> 00:11:24,552 [Dr. Ada Shannon] No. The target's weights still have to be loaded regardless of how many tokens you recompute. And recomputed queries still attend to all the keys. The first implementation, in FP32, was actually slower than native prefill. Moving to BF16 and sharing source blocks fixed that. 50 00:11:24,552 --> 00:11:35,527 [Hal Turing] Now the part I've been holding back. You said the map and the scoring subspace are both fit on the same task's training data. What does that do to the headline numbers? 51 00:11:35,527 --> 00:11:56,352 [Dr. Ada Shannon] It makes them a best case. GSM8K train calibrates for GSM8K, ARC train for ARC, a LongBench pool for LongBench. The score is distance from the calibration distribution, so it was built on the same template it later ignores. The paper's own limitations section says the map needs a calibration set that closely matches the downstream evaluation distribution. 52 00:11:56,352 --> 00:12:03,727 [Hal Turing] Is there an ablation with generic calibration? Web text and code, applied to GSM8K? 53 00:12:03,727 --> 00:12:22,777 [Dr. Ada Shannon] No. So we don't know if the score still separates question content from template when the template isn't in the calibration data. A router doesn't know the next workload in advance, so that's a real gap. A cross-task or generic-corpus run would settle it, if it reported retention and the template-versus-content split of the selected tokens. 54 00:12:22,777 --> 00:12:35,777 [Hal Turing] Second worry. GSM8K prompts are short, mean 149 tokens, with a long fixed wrapper around a short question. That's a very clean split between recurring and novel. 55 00:12:35,777 --> 00:12:56,102 [Dr. Ada Shannon] Right, and the 0.23% template share and the 4% attention on the question both come from that format. The source says nothing about prompts where the important content is long or repetitive, or looks like the template. Code, retrieved documents, multi-turn agent traces. In those, most of the context could score as novel, and the budget advantage might shrink. 56 00:12:56,102 --> 00:12:59,977 [Hal Turing] LongBench is the closest test, and it's weaker. 57 00:12:59,977 --> 00:13:20,652 [Dr. Ada Shannon] It is. Plain transfer lands below the small model alone, and recovery at 0.4 and 0.5 is 81% and 91% retention. But that's not yet evidence of failure. Calibration, length and format effects aren't separated, and no 0.2 or 0.3 point was run, which is the budget range the paper recommends. 58 00:13:20,652 --> 00:13:28,702 [Hal Turing] On baselines: the CacheBlend stand-in is an oracle on true l2 error. That isn't what CacheBlend does. 59 00:13:28,702 --> 00:14:00,052 [Dr. Ada Shannon] Correct. CacheBlend, from Jiayi Yao and colleagues in 2025, deviates first on early layers, then picks the top tokens, and it's designed for same-model RAG with position-independent chunks. DroidSpeak, from Yuhan Liu and colleagues in 2026, recomputes selected layers across fine-tuned variants. Here it's cut down to a layer prefix. So the result says l2 magnitude is a poor selector in this cross-model setting. It's not a defeat of either system at home. And the selector study is 300 items with no variance reported, as is the 8B to 70B result. 60 00:14:00,052 --> 00:14:03,052 [Hal Turing] Fine. Now the latency headline. 61 00:14:03,052 --> 00:14:32,127 [Dr. Ada Shannon] Prefill speedup is 1.16x at the 149-token prompt length and 1.95x at 2,048 tokens, at 30% recompute. The up-to-3.04x figure is at 20% with a saturating batch. The big TTFT result is near the target's saturation: median wait drops from about 0.87 seconds to 0.17, a five-fold cut. At light load it flips. Median goes from 51 milliseconds to 95, so you wait roughly twice as long. 62 00:14:32,127 --> 00:14:36,527 [Hal Turing] So the win is queueing, not a faster single request. 63 00:14:36,527 --> 00:14:54,052 [Dr. Ada Shannon] Yes. And it excludes the small model's own prefill, uses short prompts, one A100, PyTorch eager, and a plain batching baseline rather than vLLM or SGLang. The claim that you'd need two GPUs without it is an inference from the curves, not a deployment. 64 00:14:54,052 --> 00:14:56,152 [Hal Turing] Where does it fit, then? 65 00:14:56,152 --> 00:15:23,902 [Dr. Ada Shannon] Cascades where a small model has already read the context, same-family models sharing a tokenizer, and a fleet near saturation. It doesn't fit across families or tokenizers, at light traffic, or where you lack a matching calibration set. Also, the hybrid cache is approximate, and the paper doesn't examine what happens if it's stored and reused for later turns. Code is promised after de-anonymization and isn't available yet. The AI-use disclosure covers analysis and drafting, not the core implementation. 66 00:15:23,902 --> 00:15:34,852 [Hal Turing] Souvik Kundu is on this paper, and he also co-authored the attention-FFN disaggregation study for MoE serving. Same serving-efficiency thread. 67 00:15:34,852 --> 00:15:52,278 [Dr. Ada Shannon] Which fits. For what's novel: the selector idea is the contribution. Closed-form mapping was Heo's 2026 work, and selective recompute has CacheBlend behind it. Using the map's own blind spots to choose positions is new, as far as I can tell from the source. 68 00:15:52,278 --> 00:15:54,878 [Hal Turing] What does the paper point to next? 69 00:15:54,878 --> 00:16:15,053 [Dr. Ada Shannon] Task-agnostic calibration, cross-family maps with different tokenizers, and a custom sparse causal attention kernel, which would lift the speedup ceiling from one over two rho to one over rho. I'd add a calibration-shift ablation, a faithful CacheBlend and DroidSpeak comparison, and end-to-end latency that includes the small model's prefill. 70 00:16:15,053 --> 00:16:41,003 [Hal Turing] So, plainly: in the tested Qwen3 and Llama 3 pairs, with task-matched calibration, a small model's mapped cache plus recomputing a minority of well-chosen positions recovers most of the large model's accuracy, and relieves queueing near saturation. The boundary is that it's shown for matched calibration, short prompts and one hardware setup. Whether the score transfers to an unmatched workload is still open. 71 00:16:41,003 --> 00:16:42,853 [Dr. Ada Shannon] That's the right summary. 72 00:16:42,853 --> 00:16:47,428 [Hal Turing] That's our time. Thanks for listening, and we'll catch you next time.