Prefill-Free Cross-Family KV Cache Transfer for Heterogeneous Multi-Agent LLMs
cs.AI, cs.LG, cs.MA
Submitted: 2026-09-26
Updated: 2026-09-29
Code: https://github.com/huggingface/open-r1
License: http://creativecommons.org/licenses/by/4.0/
The gist: Recent multi-agent LLM systems increasingly combine heterogeneous models for specialized agent roles.
Terminology
Abstract
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 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 to 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.
Sources
- Multi-Agent Consensus Seeking via Large Language Models
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- The Llama 3 Herd of Models
- Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse
- Robust Multi-Agent LLMs under Byzantine Faults
- Evaluating Very Long-Term Conversational Memory of LLM Agents
- RoFormer: Enhanced Transformer with Rotary Position Embedding
- Mixture-of-Agents Enhances Large Language Model Capabilities
- PrefillShare: A Shared Prefill Module for KV Reuse in Multi-LLM Disaggregated Serving
- Qwen3 Technical Report
- Recursive Multi-Agent Systems
- X-MAS: Towards Building Multi-Agent Systems with Heterogeneous LLMs
- Output-Aware Rotation for INT2 KV-Cache Quantization
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems