← Latest papers
🤖 machine learning

Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse

This paper proposes a closed-form linear mapping technique that enables efficient reuse of KV caches across different-sized models within the same family, allowing receivers to skip redundant prefilling while retaining 73–98% of standalone accuracy and significantly reducing inference latency.

Original authors: Taekyung Heo, Rasoul Shafipour, Ritchie Zhao, Maximilian Golub, Mohammad Mahdi Kamani, Ritika Borkar, Makesh Tarun Chandran, Pantea Zardoshti, Bita Darvish Rouhani

Published 2026-08-05
📖 3 min read☕ Coffee break read

Original authors: Taekyung Heo, Rasoul Shafipour, Ritchie Zhao, Maximilian Golub, Mohammad Mahdi Kamani, Ritika Borkar, Makesh Tarun Chandran, Pantea Zardoshti, Bita Darvish Rouhani

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive, super-smart library where books are written by a team of authors with different levels of experience. Sometimes, you need a quick, simple answer, so you ask a junior assistant. Other times, you need a deep, complex analysis, so you call in a senior expert. In the world of Artificial Intelligence, these "assistants" and "experts" are Large Language Models (LLMs) of different sizes. To make a conversation flow smoothly, the system often has to switch between these different models mid-chat.

However, there's a catch. Every time you switch from the junior assistant to the senior expert, the expert has to start reading the entire conversation history from scratch to understand the context. This process, called "prefill," is like the expert re-reading a 100-page novel just to remember what happened in the first chapter. It takes a lot of time, energy, and money. Scientists have been trying to figure out if the senior expert can just "borrow" the junior assistant's notes (called a "KV cache") to skip the re-reading, but the notes are written in slightly different handwriting, making them hard to read directly.

This paper, titled "Cross-Model KV Cache Transfer," tackles that exact problem. The researchers discovered that even though the notes from a small model and a large model look different, they actually share a hidden, straight-line relationship. They found that you can use a simple mathematical trick—a "closed-form linear mapping"—to translate the junior assistant's notes into the senior expert's language without needing to retrain the models or use complex neural networks.

Think of it like this: The junior assistant writes a story using a specific set of crayons. The senior expert needs the story in a different set of crayons. Instead of asking the expert to re-read the story and rewrite it from scratch, the researchers built a "crayon translator." This translator is a simple formula that says, "If the junior used a red crayon here, the senior should use a blue crayon there." Surprisingly, this simple translation works incredibly well. On some model pairs, the senior expert gets 98% of the accuracy it would have had if it had read the story itself, but it does so 2.7 to 25 times faster.

The team tested this on six different pairs of models from three famous families (Qwen3, Llama 3.1, and Ministral). They found that for four of these pairs, the simple "crayon translator" worked almost perfectly. For the two pairs where the simple translator struggled, they showed that a slightly more complex tool (a non-linear MLP) could fix the errors, boosting performance by up to 37 percentage points. The paper suggests that the key to success isn't just how well the notes match, but where the translation errors happen. If the errors land in parts of the story the expert doesn't pay attention to, it doesn't matter. But if they land in the important parts, the translation fails.

In short, the authors suggest that we don't need to build expensive, complex bridges between models. Instead, a simple, fast, and training-free mathematical map can let different-sized AI models share their "memory" instantly. This could make AI conversations much faster and cheaper, allowing systems to switch between quick and smart modes without the lag of starting over. The results are measured and robust for the models tested, showing that this "borrowing notes" strategy is a practical way to speed up the future of AI.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →