KVCMAS: Efficient KV cache Correction for Shared Context in Multi-Agent Systems

Hyesung Jeon, Hyeongju Ha, Seoyoung Lee, Beomseok Kang, Jae-Joon Kim

Seoul National University

Published September 28, 2026 · on the feed September 29, 2026 · ▲ 4 · arXiv 2609.34060

AgentsEfficiency & inference Full code arXiv ↗Hugging Face ↗

The abstract

Prompt-specialized multi-agent systems enable multiple agents to share a model while performing complementary roles to solve complex tasks. However, agent-specific prefixes change the KV cache generated for the same shared context, causing each agent to repeatedly prefill the growing context and construct a separate cache with high computation and memory overhead. Selective recomputation reduces this redundancy but still retains substantial model execution, while existing delta correction methods either support only recurring context relations or maintain memory-intensive online correction states for dynamically changing context. For first seen shared context, these methods also construct a reference cache outside the agent workflow, and an approximate correction at the first agent affects the outputs passed to subsequent agents. We present KVCMAS, an online KV cache correction framework that represents cross-agent cache deviations using compact low-rank states and seamlessly chains corrections along the agent workflow without an additional reference prefill. This design supports dynamically changing shared context while preserving an exact first-agent cache. Across multiple language and vision-language workloads, KVCMAS matches or improves the accuracy of prior KV cache sharing methods while achieving the lowest TTFT under highly concurrent serving. Under controlled serving traces, it provides a 2.0x TTFT speedup over inference without KV cache sharing and reduces peak GPU memory by up to 3.7x relative to a prior KV cache correction method. These results establish KVCMAS as an accurate and scalable KV cache sharing approach for prompt-specialized multi-agent serving.

The Brief

2:50

A short podcast summary of the paper. Written and voiced by AI.

Transcript

KVCMAS. Efficient KV cache Correction for Shared Context in Multi-Agent Systems. By Hyesung Jeon and four others, from Seoul National University. Published on the twenty-eighth of September. Its code repository is worked out: about seventy source files, with a readme.

Some multi-agent systems give every agent the same model and tell them apart only by their prompts, so that each plays a complementary role in solving a complex task. The catch is that each agent's own prefix changes the KV cache produced for the context they all share. As a result every agent prefills the growing context again and builds a separate cache, which costs a great deal of computation and memory. The text they share is identical, but because what comes before it differs, the cached state for that text differs too, and so none of it can simply be handed from one agent to the next.

Existing fixes fall short in different ways. Selective recomputation reduces the redundancy but still leaves substantial model execution. Methods based on delta correction either handle only context relations that recur, or keep memory-hungry online correction states when the context is changing. And when shared context is seen for the first time, these methods build a reference cache outside the agent workflow, while an approximate correction at the first agent then colours the outputs that every later agent receives.

KVCMAS is an online framework for correcting the KV cache. It describes how one agent's cache deviates from another's using compact low-rank states, and it chains those corrections along the agent workflow itself, so no extra reference prefill is needed. Instead of each agent building a whole cache of its own, or a reference cache being built off to the side, the difference between one agent's cache and the next is what gets stored and passed along, in compact form.

Two properties follow from that design. It supports shared context that keeps changing as the task goes on, which the earlier delta methods could only manage with memory-intensive online state, or not at all. And it keeps the first agent's cache exact, so the error that approximate methods introduce at the very start of the chain is not passed down to the agents that follow.

The authors test across several workloads, in language and in vision-language. KVCMAS matches or improves on the accuracy of earlier methods for sharing the KV cache, and it has the lowest time to first token under highly concurrent serving. On controlled serving traces, it is two point zero times faster to first token than inference that shares no cache at all. And it cuts peak GPU memory by up to three point seven times compared with an earlier method for KV cache correction.

The agents behave like a relay team passing one cache along. KVCMAS makes sure the first handoff is exact, and then carries small, low-rank corrections from runner to runner instead of recomputing the whole course each time. The authors present it as an accurate and scalable way to share the KV cache among agents that differ only in their prompts.

Paper Quest · 7 chapters · about 41 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Many agents, one model, one shared conversation, and yet every agent pays to read it again.

You serve a team of agents that all run on one model. Each agent gets its own role prompt, then reads the same growing shared context: the user's query, tool results, earlier agents' outputs.

The road ahead

  1. 1 · The problem ~7 min Agents that share one model but have different role prompts end up with different caches for the same shared text, so each one redoes the work.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Reuse the previous agent's cache, add a small low-rank estimate of how it differs, start from an exact first cache, and chain along the workflow.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Prefill the first agent exactly, then for each next agent estimate a low-rank correction and apply it to the previous agent's cache.
  6. 6 · The experiment ~6 min You’ll guess: At most, by how much did KVCMAS cut peak GPU memory compared with a prior KV cache correction method?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.