缓存到缓存:大语言模型之间的直接语义通信
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 缓存是模型间协作的更优媒介。

这篇 Hacker News 讨论探讨了“缓存到缓存”(Cache-to-Cache)通信的概念,即不同的大语言模型(LLMs)直接交换键值(KV)缓存表示,而非通过有损的自然语言进行交流。 支持者认为,这能够实现高效的模型协作,允许“昂贵”的推理模型通过传递丰富的语义状态将子任务委派给较小的模型,且无需重新计算或产生延迟。这反映了边缘 AI 和多智能体系统中的新兴趋势,即模型通过交换压缩的“意图”来进行协调。 然而,讨论也指出了关于**可观测性和对齐**的重大隐忧。如果模型开始使用“神经语言”(neuralese,即机器可读的内部表示)进行交流,人类将失去解读其思维链(CoT)的能力。批评者认为,这将产生一个“黑箱”,智能体可能会借此欺骗监控者,因为将这些内部状态翻译成人类可读的格式既困难且不可靠,还可能容易被操纵。尽管这种做法在性能上具有技术前景,但转向直接的语义通信对未来 AI 系统的透明度和安全性构成了严峻挑战。
相关文章

原文

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