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

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

TL;DR

KVCMAS is a new framework that slashes the overhead of serving multi-agent LLM systems by efficiently sharing KV caches across agents with different roles. By representing cache deviations in a compact low-rank form and "chaining" corrections directly along the agent workflow, it achieves a 2.0× speedup in Time-to-First-Token (TTFT) and reduces peak GPU memory by up to 3.7× compared to previous state-of-the-art methods.

What Problem Does This Paper Address?

In modern LLM applications, multi-agent systems (MAS) coordinate specialized roles—like a "Planner," "Coder," and "Critic"—to solve complex tasks. Often, these agents share the same underlying model weights but use different system prompts (prefixes) to define their roles.

The challenge lies in the Key-Value (KV) cache. While agents share a massive amount of context (the conversation history, retrieved documents, or video frames), their unique role-specific prefixes change the hidden states generated for that shared context. This means you can't simply reuse Agent A's cache for Agent B without significant accuracy loss. Currently, developers either recompute the entire context for every agent (slow and expensive) or store massive "delta" corrections for every possible agent transition (memory-intensive).

Methods

The authors introduce KVCMAS, which stands for KV Cache Correction for Multi-Agent Systems. It relies on two primary innovations:

  1. Compact Low-Rank Anchor Pools: The researchers observed that the deviations in KV caches caused by different prefixes are not high-dimensional noise. Instead, they occupy a low-dimensional feature space. KVCMAS uses truncated Singular Value Decomposition (SVD) to store these deviations as compact low-rank states (rank $r=32$), drastically reducing memory usage.
  2. Chained Correction: Traditional methods often compare an agent's cache to a "context-free" reference, which requires an extra prefill step outside the actual workflow. KVCMAS instead "chains" the correction: it uses the materialized cache from the previous agent in the workflow as the reference for the next one. This eliminates redundant prefills and reduces the accumulation of approximation errors.
Figure 1: Overview of the context sharing convention and KVCMAS on an agent workflow edge from agent i to agent j. (a) Agent trajectories interleave agent-specific prefix segments (PF) with shared context segments (PH). KVCMAS reuses the preceding agent’s KV cache for a PH segment when its correction is reliable and otherwise falls back to dense prefill. (b) KVCMAS matches the current cache representation to the online anchors of the corresponding shared segment and estimates the required KV cache correction by combining their low-rank corrections with similarity- based weights. (c) The corrected cache becomes the reference for the next workflow edge, chaining corrections along the agent workflow without constructing a separate context-free reference cache.

Datasets

The framework was evaluated across a diverse set of language and vision-language benchmarks to ensure robustness:

  • LLM Workloads: MMLU (general knowledge), GSM8K (math reasoning), and HumanEval (coding).
  • VLM Workloads: MathVista (visual math) and Video-MME (long-video understanding).
  • Models: Llama-3.1-8B, Qwen2.5-Coder-7B, and LLaVA-OneVision-7B.

Key Insights and Ideas

  • The Low-Rank Discovery: As shown in Figure 2, the "effective rank" of cache deviations is remarkably low (often < 32), even when the full feature dimension is 512 or 1024. This is the "aha moment" that enables massive compression without losing accuracy.
  • Error Propagation Matters: By using an exact cache for the first agent and chaining subsequent corrections, KVCMAS prevents the "early error" problem where a small approximation at the start of a workflow ruins the outputs of all downstream agents.
  • Dynamic Context Handling: Unlike prior works that only handle recurring, static context, KVCMAS uses an online "anchor pool" that can adapt to new user queries and agent outputs on the fly.
Figure 2: Effective rank of the base cache and delta correction across layers and workloads. Effec- tive rank is defined as the minimum rank retaining 90% of the singular-value energy. The annotated values report the effective rank averaged across layers, and the dotted line marks rank 32.

Key Results

KVCMAS sets a new bar for efficiency in multi-agent serving:

  • Speed: It achieves a 2.0× TTFT speedup over standard inference (no cache sharing) and is significantly faster than selective recomputation methods like CacheBlend or RelayCaching at high request rates.
  • Memory: It reduces peak GPU memory by up to 3.7× compared to KVComm, the previous leading delta-correction method. This allows it to handle 32K-token contexts that cause other methods to crash with Out-of-Memory (OOM) errors.
  • Accuracy: Across all benchmarks, KVCMAS matches or exceeds the accuracy of existing KV cache sharing methods, proving that its compression doesn't come at the cost of intelligence.

Limitations and Future Work

While KVCMAS is highly effective, the authors note a few areas for further exploration:

  • Reliability Gate: The system uses an entropy-based "reliability gate" to decide when to reuse a cache versus when to fall back to a full prefill. If the shared context changes too drastically and no good "anchor" exists, the system loses its speed advantage for that specific turn.
  • Factorization Overhead: While the low-rank representation saves memory, the initial SVD factorization adds a small amount of compute overhead during the "anchor construction" phase, though this is excluded from TTFT by design.
  • Future Directions: The authors suggest that combining KVCMAS with system-level optimizations (like PagedAttention) could further push the boundaries of concurrent multi-agent serving.

Summary updated

BibTeX
@misc{jeon2026kvcmas,
  author = {Hyesung Jeon and Hyeongju Ha and Seoyoung Lee and Beomseok Kang and Jae-Joon Kim},
  title = {{KVCMAS: Efficient KV cache Correction for Shared Context in Multi-Agent Systems}},
  year = {2026},
  eprint = {2609.34060},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.34060},
}
Figure