VAPU:用于自主遗留代码现代化的系统
VAPU: System for Autonomous Legacy Code Modernization
AI总结:
本文提出多智能体系统VAPU,通过分阶段模拟软件开发角色自主现代化遗留代码,并在五个LLM、20个Python项目上验证其相较ZSL/OSL提示可提升需求完成率。
摘要:
在本研究中,我们提出了一种用于遗留应用现代化的解决方案;在代码生成这一领域,基于LLM的多智能体系统正被证明对复杂的多阶段任务至关重要。遗留应用通常包含已弃用的组件,这些组件会带来兼容性、安全性和可靠性风险,但高昂的资源成本使企业不愿进行更新。我们向前迈出一步,将基于LLM的多智能体系统集成到遗留Web应用更新中,以提供一种具有成本效益的方案来自主更新遗留应用。我们提出了一个名为Verifying Agent Pipeline Updater(VAPU)的多智能体系统,该系统旨在分阶段更新代码文件,同时模拟软件开发团队中的不同角色。在此前的研究中,我们通过使用6个遗留Web应用视图文件,依据产生的错误和完成的需求,评估了该系统用于遗留版本更新的表现。本研究扩展了此前对多智能体流水线系统的评估,将VAPU的评估从单个LLM扩展到五个LLM,并在0和1两种设置下使用temperature参数。此外,我们使用20个开源Python GitHub项目测试了该系统。评估结果与Zero-Shot Learning(ZSL)和One-Shot Learning(OSL)提示进行了比较。对VAPU的扩展评估表明,特别是在低temperature条件下,VAPU可以获得与ZSL/OSL提示相近水平的错误数量,但其已满足需求的水平更高,具体取决于LLM。与ZSL/OSL提示相比,VAPU在成功完成Python文件更新需求方面最多提升了22.5%。研究表明,基于LLM的多智能体系统是一种能够自主更新遗留应用组件的有效解决方案。
英文摘要:
In this study, we present a solution for the modernization of legacy applications, an area of code generation where LLM-based multi-agent systems are proving essential for complex multi-phased tasks. Legacy applications often contain deprecated components that create compatibility, security, and reliability risks, but high resource costs make companies hesitate to update. We take a step forward to integrate an LLM-based multi-agent system as part of a legacy web application update to provide a cost-effective solution to update legacy applications autonomously. We propose a multi-agent system named a Verifying Agent Pipeline Updater (VAPU), which is designed to update code files in phases while simulating different roles in a software development team. In our previous study, we evaluated the system for legacy version updates by using six legacy web application view files by resulting errors and accomplished requirements. This study extends the previous evaluation of a multi-agent pipeline system by extending the evaluation of VAPU from a single LLM to five LLMs and using the temperature parameter in both 0 to 1 settings. Additionally, we tested the system with 20 open-source Python GitHub projects. The results of the evaluation were compared to Zero-Shot Learning (ZSL) and One-Shot Learning (OSL) prompts. The extended evaluation of VAPU showed that particularly in a low-temperature VAPU can get similar level of error count compared to the ZSL/OSL prompts but with a higher level of fulfilled requirements, depending on the LLM. VAPU showed up to 22.5% increase in the succeeding Python file update requirements compared to ZSL/OSL prompts. The study indicates that an LLM-based multi-agent system is a capable solution to update components of a legacy application autonomously.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。