少而精的潜在信息带来更好的中继:面向潜在多智能体大语言模型协作的信息保持压缩
When Less Latent Leads to Better Relay: Information-Preserving Compression for Latent Multi-Agent LLM Collaboration
AI总结:
本文提出一种信息保持压缩方法,通过引入正交回填机制,在减少通信开销的同时保持信息完整性,提升了多智能体大语言模型协作性能。
摘要:
在基于大语言模型(LLM)的多智能体系统中,通信正从离散标记转向保留更丰富上下文。近期工作如LatentMAS允许智能体通过完整的键值(KV)缓存交换潜在信息。然而,完整的KV中继带来了高内存和通信成本。我们适应了蒸发式KV压缩,并引入正交回填(OBF)以减轻硬性淘汰导致的信息损失。OBF从被丢弃的KV状态中注入低秩正交残差到保留的KV状态中。我们在九个标准基准上评估了所提方法,与完整的KV中继相比,通信成本减少了79.8%至89.4%。OBF进一步提高了性能,在9个基准中的7个上取得了最佳结果。这表明,更多信息并不一定导致更好的通信;保留最有用的信息更重要。我们的代码库在https://github.com/markli404/When-Less-Latent-Leads-to-Better-Relay上公开可用。
英文摘要:
Multi-agent LLM systems are moving beyond discrete-token messages toward richer relays that preserve internal state. Recent work such as LatentMAS transmits full key-value (KV) caches between agents but pays a high memory and communication cost. We adapt KV-cache eviction to this setting and introduce \textbf{Orthogonal BackFill (OBF)}, which injects a low-rank residual from the discarded KV states back into the retained ones, orthogonal to what is already kept. With only $9.9\%$-$20.2\%$ of the prompt KV retained, compressed relay cuts bandwidth by $4.7\times$ and GPU memory by $8\%$ at under $5\%$ wall-clock overhead, and stays close to full relay in accuracy across nine benchmarks, ahead of it on several. OBF matches or improves over headwise eviction on all nine, and its gain is proportional to the accuracy gap eviction opens against full relay ($r{=}0.78$ across three model scales), so it gives back part of what eviction takes. Code is available at https://github.com/markli404/When-Less-Latent-Leads-to-Better-Relay.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。