cd /news/machine-learning/cross-model-kv-cache-transfer-in-llm… · home topics machine-learning article
[ARTICLE · art-124423] src=arxiv.org ↗ pub= topic=machine-learning verified=true sentiment=· neutral

Cross-model KV cache transfer in LLM families: a closed-form linear mapping for prefill reuse

Researchers proposed cross-model KV cache transfer, a method that reuses a source model's key-value cache to skip prefill when swapping between different-sized models in a family, and found a closed-form linear mapping retains 73-98% of standalone-prefill accuracy on four of six pairs tested across three families, with the mapper running 2.7-25x faster than re-prefill. On Qwen3 14B to 32B, one source layer explains 56% of variance in target keys and 32% in values, rising to 79% and 65% with multiple layers, and a nonlinear MLP recovers up to +37 percentage points HellaSwag retention on the two failing pairs.

read2 min views1 publishedSep 9, 2026
Cross-model KV cache transfer in LLM families: a closed-form linear mapping for prefill reuse
Image: source
  [Submitted on 4 Aug 2026]


[View PDF](/pdf/2608.03893)

[HTML (experimental)](https://arxiv.org/html/2608.03893v1)

Abstract:Production deployments often swap between different-sized models in a family for cost-quality cascading, mid-conversation switching, and routing, and each swap forces the receiver to repay the prefill from scratch. We propose cross-model KV cache transfer, where the receiver reuses the source's KV cache, skipping prefill. We find that cross-model KV has substantial linear structure across matched-KV pairs, where source and target share KV head count and per-head dimension. On Qwen3 14B->32B, one source layer explains 56% of variance in the target's keys and 32% in values, rising to 79% and 65% with multiple source layers. Building on this, we design a closed-form ridge mapper that operates per head and proceeds in three steps. First, for each target layer we select the top-k most predictive source layers and concatenate their KV as input. Second, we strip RoPE from the keys before mapping, so the fit is position-free and reusable across context lengths. Third, we fit ridge regression on a small calibration set of 500 FineWeb-Edu sequences of 1,024 tokens each. Surprisingly, across six pairs in three families, this linear mapper retains 73-98% of the receiver's standalone-prefill accuracy on four pairs, while two degrade sharply. A nonlinear MLP recovers up to +37 pp HellaSwag retention on the failures. The mapper runs 2.7-25x faster than re-prefill and remains stable across multi-turn handoff, making cross-model KV cache transfer practical.

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) IArxiv Recommender

(What is IArxiv?) arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #machine-learning 4 stories · sorted by recency
── more on @qwen3 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/cross-model-kv-cache…] indexed:0 read:2min 2026-09-09 ·