Nvidia Maps KV Cache Between Models, Cutting Agent Handoff Costs

Nvidia researchers mapped KV caches between different-sized models in the same family, cutting agent handoff latency by up to 25x while retaining up to 98

By AI World

Nvidia Maps KV Cache Between Models, Cutting Agent Handoff Costs

🧠 **Nvidia** researchers have developed a technique to transfer **KV cache** memory between different-sized models in the same family, letting agent systems swap from a small model to a large one mid-conversation without recomputing the entire context from scratch.

When an AI agent routes a hard reasoning step to a bigger model, or drops to a cheaper one to save costs, the receiving model normally must rerun the costly **prefill** stage on every prior token. That tax grows with context length and makes multi-model workflows expensive. The new approach maps the source model's cache into the target format using closed-form **ridge regression** calibrated on just **500** text sequences.

Tests across **Qwen3**, **Llama 3.1**, and **Ministral 3** pairs showed the linear mapper retained **73% to 98%** of the target model's standalone accuracy on four of six configurations. On a **32,768-token** cache moving from **Qwen3 14B** to **32B**, transfer took **278 milliseconds** versus nearly **7 seconds** for a standard re-prefill — up to **25 times faster**. Accuracy drift stayed small across **10** multi-turn steps.

Two **Ministral** pairs degraded under the linear fit, but a nonlinear **MLP** mapper recovered accuracy above **90%**. The work targets within-family transfers today, though Nvidia notes cross-family mapping remains future work. For enterprises running tiered model routing in long agent sessions, skipping prefill on every swap could reshape inference economics. 🔬

Affissi