接收器条件潜在通信实现94%的CacheBack

·

研究论文 · 2026/10/05

多智能体系统将大型上下文分布到多个智能体上,通过通信协作完成任务。文本消息紧凑但需要解码,且可能遗漏接收智能体所需的证据。最近的潜在通信转而传输KV缓存,避免了文本生成,并能提高准确性和降低延迟。然而,完整的KV缓存随单个智能体处理的上下文和协作智能体数量线性增长,导致内存和上下文成本增加,往往远超可用的GPU资源和上下文窗口大小。我们的关键观察是,智能体只需发送接收智能体为其本地任务所需的内容——我们称之为接收者条件通信。接收智能体向发送方传递其信息需求的小描述,用于过滤和压缩发送方的KV缓存。CacheBack是一种简单、鲁棒、无需训练的接收者条件实例,基于发送方的注意力权重。在FanOutQA上,使用Qwen 3的CacheBack移除了智能体原本将接收的75%的状态,相比文本通信,准确率提高了14.7个百分点,任务完成中位延迟降低了3.2倍。我们在密集Transformer、Mamba-注意力混合和滑动窗口注意力等模型家族中展示了类似的改进。

该研究提出了一种高效的潜在通信方法,显著降低了多智能体系统的内存和延迟成本,同时提升了准确性,且无需训练,适用于多种模型架构,具有很高的实用价值。

Multi-agent systems distribute large contexts across agents that communicate to solve a task. Text messages are compact but require decoding and may omit evidence the receiving agent needs. Recent latent communication instead transfers KV caches. This avoids text generation and can improve accuracy and latency. However, a full KV cache grows linearly with both the context an individual agent processes, and the number of agents that coordinate together. This raises memory and context costs, often far exceeding available GPU resources and context window sizes. Our key observation is that agents need only send what the receiving agent requires for its local task -- which we call receiver-conditioned communication. The receiver agent passes the sender a small description of its information needs, which serves to filter and compress the sender agent's KV cache. CacheBack is a simple, robust, training-free instance of receiver conditioning based on the sender's attention weights. On FanOutQA, CacheBack with Qwen 3 removes 75% of the state the agent would otherwise receive, improving accuracy by 14.7 percentage points and reducing median task-completion latency by 3.2x relative to text communication. We show comparable improvements across model families that span dense Transformers, Mamba-attention hybrids, and sliding-window attention.

阅读原文

参与讨论