缓存到缓存:大语言模型之间的直接语义通信
Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)

原始链接: https://arxiv.org/abs/2510.03215

“缓存到缓存”(C2C)是一种旨在通过绕过基于文本的通信限制来改进多大模型(Multi-LLM)系统的新范式。传统的多模型架构依赖于将内部表示转换为文本,这会导致信息丢失和显著的延迟。 相比之下,C2C 通过使用神经网络将源模型的 KV 缓存映射并融合到目标模型中,实现了直接的语义迁移。一种可学习的门控机制会动态选择进行此迁移的最佳目标层,从而在没有生成 Token 开销的情况下保留深层的语义细微差别。 实验结果表明,C2C 比现有方法更准确、更高效。它比单个模型提高了 6.4%–14.2% 的准确率,并比传统的文本式通信高出 3.1%–5.4%。此外,由于无需中间文本生成,C2C 的延迟平均缩短了 2.5 倍。这种方法证明了 KV 缓存是模型间协作的更优媒介。

抱歉。
相关文章

原文

View a PDF of the paper titled Cache-to-Cache: Direct Semantic Communication Between Large Language Models, by Tianyu Fu and 6 other authors

View PDF HTML (experimental)
Abstract:Multi-LLM systems harness the complementary strengths of diverse Large Language Models, achieving performance and efficiency gains that are not attainable by a single model. In existing designs, LLMs communicate through text, forcing internal representations to be transformed into output token sequences. This process both loses rich semantic information and incurs token-by-token generation latency. Motivated by these limitations, we ask: Can LLMs communicate beyond text? Oracle experiments show that enriching the KV-Cache semantics can improve response quality without increasing cache size, supporting KV-Cache as an effective medium for inter-model communication. Thus, we propose Cache-to-Cache (C2C), a new paradigm for direct semantic communication between LLMs. C2C uses a neural network to project and fuse the source model's KV-cache with that of the target model to enable direct semantic transfer. A learnable gating mechanism selects the target layers that benefit from cache communication. Compared with text communication, C2C utilizes the deep, specialized semantics from both models, while avoiding explicit intermediate text generation. Experiments show that C2C achieves 6.4-14.2% higher average accuracy than individual models. It further outperforms the text communication paradigm by approximately 3.1-5.4%, while delivering an average 2.5x speedup in latency. Our code is available at this https URL.
From: Tianyu Fu [view email]
[v1] Fri, 3 Oct 2025 17:52:32 UTC (484 KB)
[v2] Mon, 2 Mar 2026 19:24:02 UTC (546 KB)
联系我们 contact @ memedata.com