软件开发智能体的经验式协同学习
Experiential Co-Learning of Software-Developing Agents
AI总结:
针对LLM软件开发智能体因缺乏经验导致重复犯错的问题,提出Experiential Co-Learning框架,通过指导者与助手智能体从历史轨迹中提取并复用快捷经验,有效提升了处理未见任务的能力。
摘要:
大型语言模型(LLMs)的最新进展给各个领域带来了重大变化,尤其是通过LLM驱动的自主智能体。一个具有代表性的场景是在软件开发中,LLM智能体展示了高效的协作、任务划分和软件质量保证,显著减少了对人工干预的需求。然而,这些智能体经常独立执行各种任务,无法从过去的经验中受益,这导致在多步任务执行中重复犯错和低效尝试。为此,我们引入了Experiential Co-Learning,一种新颖的LLM智能体学习框架,其中指导者和助手智能体从其历史轨迹中收集面向快捷方式的经验,并将这些过往经验用于未来的任务执行。大量实验表明,该框架使智能体能够更有效地处理未见的软件开发任务。我们期望我们的见解将引导LLM智能体走向更高的自主性,并促进其在协作学习中的进化式成长。代码和数据可在https://github.com/OpenBMB/ChatDev获取。
英文摘要:
Recent advancements in large language models (LLMs) have brought significant changes to various domains, especially through LLM-driven autonomous agents. A representative scenario is in software development, where LLM agents demonstrate efficient collaboration, task division, and assurance of software quality, markedly reducing the need for manual involvement. However, these agents frequently perform a variety of tasks independently, without benefiting from past experiences, which leads to repeated mistakes and inefficient attempts in multi-step task execution. To this end, we introduce Experiential Co-Learning, a novel LLM-agent learning framework in which instructor and assistant agents gather shortcut-oriented experiences from their historical trajectories and use these past experiences for future task execution. The extensive experiments demonstrate that the framework enables agents to tackle unseen software-developing tasks more effectively. We anticipate that our insights will guide LLM agents towards enhanced autonomy and contribute to their evolutionary growth in cooperative learning. The code and data are available at https://github.com/OpenBMB/ChatDev.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。