arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.05304cs.AI
收藏

智能体应该说什么?面向高效多智能体系统的动作-状态通信

What Should Agents Say? Action-state Communication for Efficient Multi-Agent Systems

Singapore University of Technology and Design(新加坡科技设计大学)

Chen Huang, Yuhao Wu, Wenxuan Zhang

AI总结:

针对多智能体系统中自由形式通信导致令牌膨胀和性能下降的问题,提出PACT协议,将通信视为公共状态更新问题,压缩为紧凑的动作-状态记录,在多种拓扑下实现性能与成本权衡的优化。

摘要:

基于大语言模型的多智能体系统通常围绕角色、流水线和轮次调度进行组织,而智能体之间传递的内容往往被保留为无约束的自然语言。然而,这种自由形式的通信会迅速膨胀令牌使用量,消耗共享上下文窗口,并最终影响系统性能和推理成本。我们分析了两种多智能体系统拓扑中五种常见的智能体间通信策略,发现没有固定策略是普遍最优的。相反,有效的智能体间消息始终保留下游智能体所需的以动作中心的信息。基于此,我们提出了PACT(协议化动作-状态通信与传输),它将智能体间通信视为公共状态更新问题,并在每个原始智能体输出进入共享历史之前将其投影为紧凑的动作-状态记录。在不同的多智能体系统拓扑中,PACT持续改善了性能-成本权衡,以显著更少的令牌实现了相当或更强的任务性能。这些增益扩展到生产编码工具:PACT将OpenHands的解决率提升了-10%的每解决令牌数,并在SWE-agent上保持解决率中性,同时将输入令牌减半。我们的代码公开在https://github.com/iNLP-Lab/PACT。

英文摘要:

Multi-agent systems (MAS) built on large language models are typically organized around roles, pipelines, and turn schedules, while the content that agents pass to one another is often left as unconstrained natural language. However, this free-form communication can rapidly inflate token usage, consume the shared context window, and ultimately affect both system performance and inference cost. We analyze five common inter-agent communication strategies across two MAS topologies, finding that no fixed strategy is universally optimal. Instead, effective inter-agent messages consistently preserve action-centered information needed by downstream agents. Building on this, we propose the PACT (Protocolized Action-state Communication and Transmission), which treats inter-agent communication as a public state-update problem and projects each raw agent output into a compact action-state record before it enters shared history. Across different MAS topologies, PACT consistently improves the performance-cost trade-off, achieving comparable or stronger task performance with substantially fewer tokens. The gains extend to production coding harnesses: PACT lifts OpenHands' resolve rate at -10% tokens-per-resolved, and is resolve-neutral on SWE-agent while halving input tokens. Our code is publicly available at https://github.com/iNLP-Lab/PACT.

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

↑