arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.00314cs.AIcs.CLcs.MA
收藏

共享代码库中的去中心化多智能体协调与通信

Decentralized Multi-Agent Coordination and Communication in Shared Codebases

The University of Texas at Austin(得克萨斯大学奥斯汀分校);NVIDIA(英伟达)

Rishabh Mediratta, Lingyun Xiao, Peter Stone, Joydeep Biswas, Elias Stengel-Eskin

AI总结:

该研究推出无协调器多智能体编码基准ParallACT,发现多智能体编码任务中并行智能体表现远逊于单智能体神谕,通信通道仅能小幅恢复性能且有额外token开销。

摘要:

在共享代码仓库中工作的编码智能体可能会收到人类开发者提出的独立、动机各异的请求,由此形成了一种必然的多智能体场景。当这种情况发生时,各智能体的单独实现可能各自可行,但组合后会产生冲突。为研究该场景,我们推出了ParallACT,这是一个无协调器的多智能体编码任务基准。ParallACT包含互补和矛盾两类任务:在互补任务中,每个智能体的任务单独有用,且实现必须共享接口才能有效组合;在矛盾任务对中,两个智能体的任务都需要以不兼容的方式编辑同一代码,直接组合独立解决方案无法生成有用的实现。我们将获得组合任务集的单智能体“神谕”,与执行顺序、可见性、对其他智能体的感知及通信通道访问权限各不相同的多智能体设置进行对比。研究发现,神谕可解决大多数任务,而并行智能体的表现则明显更差;互补任务的性能下降已很显著,矛盾任务的下降尤为剧烈(例如,使用Claude Opus 4.8的Claude Code性能从62%降至16%),此时合并代码通常仅满足一个规范,且在将两个智能体框架与三个开放权重模型配对的全部六个额外配置中,均存在相同差距。仅告知智能体存在对等智能体并无显著帮助,为智能体提供通信通道仅能恢复部分性能,且会产生额外的token开销。因此,ParallACT识别并分离了一个核心挑战——随着独立主体开展多智能体编码成为常态,该挑战将愈发普遍,同时它还提供了受控测试,以验证哪些协调策略有效、成本如何。

英文摘要:

Coding agents working in shared repositories may receive separate, independently-motivated requests from human developers, creating a setting that is multi-agent by necessity. When this scenario happens, their individual implementations may work separately but conflict when combined. To study this setting, we introduce ParallACT, a benchmark of orchestrator-free multi-agent coding tasks. ParallACT contains both complementary and contradictory tasks. In complementary tasks, each agent's task is separately useful and implementations must share an interface to be productively combined. In contradictory pairs, both agents' tasks require editing the same code in incompatible ways, and naively combining independent solutions fails to produce a useful implementation. We compare a single-agent oracle given the combined set of tasks against multi-agent settings that vary execution order, visibility, awareness of other agents, and access to a communication channel. We find that the oracle solves most tasks while parallel agents perform substantially worse. Their performance drop is notable for complementary tasks, and particularly sharp for contradictory tasks (e.g., from 62% to 16% for Claude Code with Claude Opus 4.8) where merged code typically satisfies only one specification, and the same gap appears in all six further configurations pairing two agent harnesses with three open-weight models. Simply telling an agent that a peer exists does not help significantly, and giving agents access to a communication channel recovers only a small part of the performance, at an additional token cost. ParallACT thus identifies and isolates a core challenge that will become more common as multi-agent coding by independent principals becomes standard, and provides a controlled test of which coordination strategies help, and at what cost.

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

↑