CacheBridge: Efficient Cross-Model KV Cache Transfer

📅 2026-09-01
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
针对多模型系统中KV缓存跨模型传输问题,提出CacheBridge方法,通过架构索引映射支持、注意力对齐校准等技术,提高传输效率和质量。
📝 Abstract
Sharing context between LLMs in a multi-model system requires the receiving model to prefill the shared prefix because KV caches are model-specific. Recent closed-form cross-model KV transfer, hereafter Full-Head Mapping, avoids this replay by fitting a training-free affine mapper from source to target caches. However, its full-head design maps each target KV head from every source KV head in the selected layers, making transfer quality sensitive to architectural differences and causing mapper storage and application cost to grow with layer support. To this end, we introduce CacheBridge, which co-designs architecture-indexed mapper support, attention-aligned calibration, and bounded mapper construction while retaining a closed-form affine interface for online deployment. CacheBridge restricts each target head to a matched source head, weights reconstruction errors by causal attention sensitivity, and uses a fused GPU kernel to construct weighted sufficient statistics without materializing full observation tensors. Across three transfer directions, CacheBridge recovers the two Ministral 3 transfer directions where Full-Head Mapping loses substantial accuracy while preserving 99.83\% mean target retention on Qwen3. On Qwen3 $14\mathrm{B}\to32\mathrm{B}$, it reduces mapper storage by $8\times$, accelerates application by up to $3.0\times$, matches \fullhead with one tenth of the calibration data, and reduces 500-sequence construction from 92.63 to 8.63 seconds ($10.7\times$).
Problem

Research questions and friction points this paper is trying to address.

Cross-Model KV Cache Transfer
Multi-Model System
LLMs
KV Caches
Architecture Differences
Innovation

Methods, ideas, or system contributions that make the work stand out.

architecture-indexed mapper support
attention-aligned calibration
bounded mapper construction
fused GPU kernel
🔎 Similar Papers
2024-10-04arXiv.orgCitations: 1