arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.22863cs.LG
收藏

潜在缓存流:无需文本的模型间通信

Latent Cache Flow: Model-to-Model Communication Without Text

University of California, Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学)

Maximillian Rossi, Prajwal Raghunath, Eugene Wu

AI总结:

提出潜在缓存流(LCF)方法,通过联合翻译和压缩键值缓存实现高效模型间通信,在上下文不同场景下比基于文本的通信准确率提高23%、速度提升8.5倍。

摘要:

当今的LLM智能体通过文本进行通信,由于需要自回归解码共享模型的状态并在接收模型处编码,这会导致显著的延迟和信息损失。最近的工作如Cache-to-Cache(C2C;Fu等人,2026)试图通过学习适配器来交换KV缓存,该适配器将共享者的KV矩阵转换为接收者模型。然而,这些适配器体积庞大且训练成本高,并且逐词翻译,要求目标上下文完全相同。这对于LLM具有不同上下文的智能体通信来说是不合适的。我们引入了潜在缓存流(LCF)。为了解决效率问题,我们观察到键和值可以联合翻译和压缩,将适配器大小减少到C2C的约4%。为了解决上下文不同的问题,我们设计了适配器来传输目标模型所没有的新信息的摘要。我们的初步实验表明,在共享上下文设置中,一个13 MB的LCF适配器可以比956 MB的C2C适配器更准确;对于不同上下文,LCF比基于文本的通信准确率提高23%,速度提升8.5倍。

英文摘要:

LLM agents today communicate via text, which incurs considerable latency and information loss due to the need to autoregressively decode the sharer model's state and encode at the receiver model. Recent work such as Cache-to-Cache (C2C; Fu et al., 2026) seeks to exchange KV caches by learning adapters that translate sharer KV matrices to the receiver model. However, the adapters are large and expensive to train, and translate individual tokens, which requires the target context to be identical. This is unsuitable for agent communication, where the LLMs have differing context. We introduce Latent Cache Flow (LCF). To address efficiency, we observe that keys and values can be jointly translated and compressed, reducing the adapter to about 4% of C2C's size. To address differing context, we design the adapter to transmit a summary of new information that the target model does not have. Our early experiments show that a pruned 13 MB LCF adapter can be more accurate than C2C at 956 MB in shared-context settings; for different contexts, LCF improves F1 by 7.5% and Exact Match by 23% while 8.5 times faster than text-based communication.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑