Search papers, labs, and topics across Lattice.
This paper introduces HeteroFold, a novel method for prefill-free cross-family KV cache transfer in heterogeneous multi-agent LLM systems, enabling efficient reuse of sender context without receiver prefilling. HeteroFold addresses challenges in tokenization, model depth, and KV representation differences by aligning structures, mapping caches, and calibrating them to preserve receiver behavior, all while keeping models frozen. The method demonstrates superior performance across multiple benchmarks and transfer directions, significantly outperforming existing baselines in speed and matching text-based communication efficiency.
HeteroFold unlocks $10.7\times$ faster cross-family KV cache transfer for LLMs, eliminating receiver prefill and matching text-based communication performance.
Recent multi-agent LLM systems increasingly combine heterogeneous models for specialized agent roles. However, text-based communication requires each receiver to prefill shared context already processed by the sender. Reusing the sender's key-value (KV) cache avoids this redundancy, but prefill-free transfer across model families must handle differences in tokenization, model depth, and KV representations. To address these issues, we propose \textit{HeteroFold}, a prefill-free cross-family KV cache transfer method that keeps both the sender and receiver frozen. HeteroFold aligns model structures, maps the sender cache into the receiver space, and calibrates it to preserve receiver behavior. Across six transfer directions, HeteroFold achieves the best cache-transfer performance on all four long-context benchmarks and most short-context settings. It also matches text-based communication on the multi-agent benchmark. At 32K context length, Llama-3.1-8B$\rightarrow$Ministral-3-14B transfer is $10.7\times$ faster than Native Prefill and $1.18$--$1.47\times$ faster than the state-of-the-art prefill-free baselines, Dense Latent and KV Ridge. These results show that HeteroFold enables efficient cross-family KV reuse without receiver prefill.