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

面向软件开发的自进化多智能体协作网络

Self-Evolving Multi-Agent Collaboration Networks for Software Development

Shanghai Jiao Tong University(上海交通大学);Beihang University(北京航空航天大学);Shanghai AI Laboratory(上海人工智能实验室)

Yue Hu, Yuzhu Cai, Yaxin Du, Xinyu Zhu, Xiangrui Liu, Zijie Yu, Yuchen Hou, Shuo Tang, Siheng Chen

AI总结:

本文提出自进化多智能体协作网络 EvoMAC,通过文本反向传播实现网络自动更新,并构建软件级基准 rSDE-Bench,在函数级和软件级编码任务上均超越现有 SOTA 方法。

摘要:

由大语言模型(LLM)驱动的多智能体协作(MAC)系统已在函数级自动软件开发中展现出令人瞩目的能力。然而,这些系统严重依赖人工设计,限制了其对现实世界软件开发多样化需求的适应性。为克服这一局限,我们提出 EvoMAC,一种面向 MAC 网络的新型自进化范式。受传统神经网络训练启发,EvoMAC 通过将 MAC 网络的输出与目标代理进行比对验证,获取基于文本的环境反馈,并利用一种新颖的文本反向传播来更新网络。为将编码能力从函数级任务扩展到更具挑战性的软件级开发,我们进一步提出 rSDE-Bench,一个面向需求的软件开发基准,其特点是包含复杂多样的软件需求,并对需求正确性进行自动评估。实验结果表明:i)rSDE-Bench 中的自动需求感知评估与人工评估高度一致,验证了其作为软件级编码基准的可靠性;ii)EvoMAC 在软件级 rSDE-Bench 和函数级 HumanEval 基准上均优于此前的 SOTA 方法,体现了其卓越的编码能力。该基准可在 https://yuzhu-cai.github.io/rSDE-Bench/ 下载。

英文摘要:

LLM-driven multi-agent collaboration (MAC) systems have demonstrated impressive capabilities in automatic software development at the function level. However, their heavy reliance on human design limits their adaptability to the diverse demands of real-world software development. To address this limitation, we introduce EvoMAC, a novel self-evolving paradigm for MAC networks. Inspired by traditional neural network training, EvoMAC obtains text-based environmental feedback by verifying the MAC network's output against a target proxy and leverages a novel textual backpropagation to update the network. To extend coding capabilities beyond function-level tasks to more challenging software-level development, we further propose rSDE-Bench, a requirement-oriented software development benchmark, which features complex and diverse software requirements along with automatic evaluation of requirement correctness. Our experiments show that: i) The automatic requirement-aware evaluation in rSDE-Bench closely aligns with human evaluations, validating its reliability as a software-level coding benchmark. ii) EvoMAC outperforms previous SOTA methods on both the software-level rSDE-Bench and the function-level HumanEval benchmarks, reflecting its superior coding capabilities. The benchmark can be downloaded at https://yuzhu-cai.github.io/rSDE-Bench/.

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

↑