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

多智能体系统在软件工程数据集适应中的应用:能力、限制与未来方向

Multi-Agent Systems for Dataset Adaptation in Software Engineering: Capabilities, Limitations, and Future Directions

The Hong Kong University of Science and Technology(香港科技大学);University of Science and Technology of China(中国科学技术大学)

Jingyi Chen, Xiaoyan Guo, Songqiang Chen, Shing-Chi Cheung, Jiasi Shen

AI总结:

本文研究了多智能体系统在软件工程数据集适应中的能力与限制,发现提示干预能显著提升适应效果,为未来更可靠的智能体发展提供方向。

摘要:

自动化跨数据集适应软件工程(SE)研究 artifacts 是实现可扩展性和可重复性的重要步骤,但这一领域仍鲜有研究。近年来,基于大型语言模型(LLM)的多智能体系统,如 GitHub Copilot 的 agent 模式,通过协调推理、代码生成和工具交互,有望自动化复杂的开发流程。本文首次对最先进的多智能体系统在数据集适应任务中的表现进行了实证研究。我们评估了 Copilot,结合 GPT-4.1 和 Claude Sonnet 4,在适应基准仓库(如 ROCODE 和 LogHub2.0)中的 SE 研究 artifacts 的能力。通过一个五阶段的评估流程(文件理解、代码编辑、命令生成、验证和最终执行),我们测量了成功率,分析了失败模式,并评估了旨在提升智能体性能的提示基于干预。结果显示,当前系统能够识别关键文件并生成部分适应,但很少产生功能正确的实现。提示层面的干预,尤其是提供执行错误信息和参考代码,显著提高了与真实值的结构相似性(从 7.25% 提高到 67.14%),突显了上下文和反馈驱动指导的重要性。我们的发现揭示了当今多智能体 LLM 系统在数据集适应中的潜力和限制,并提出了未来 SE 研究中构建更可靠、自我纠正智能体的具体方向。

英文摘要:

Automating the adaptation of software engineering (SE) research artifacts across datasets is essential for scalability and reproducibility, yet it remains largely unstudied. Recent advances in large language model (LLM)-based multi-agent systems, such as GitHub Copilot's agent mode, promise to automate complex development workflows through coordinated reasoning, code generation, and tool interaction. This paper presents the first empirical study on how state-of-the-art multi-agent systems perform in dataset adaptation tasks. We evaluate Copilot, backed by GPT-4.1 and Claude Sonnet 4, on adapting SE research artifacts from benchmark repositories including ROCODE and LogHub2.0. Through a five-stage evaluation pipeline (file comprehension, code editing, command generation, validation, and final execution), we measure success rates, analyze failure patterns, and assess prompt-based interventions designed to enhance agent performance. Results show that current systems can identify key files and generate partial adaptations but rarely produce functionally correct implementations. Prompt-level interventions, especially providing execution error messages and reference code, substantially improve structural similarity to ground truth (from 7.25% to 67.14%), highlighting the importance of contextual and feedback-driven guidance. Our findings reveal both the promise and limitations of today's multi-agent LLM systems for dataset adaptation, and suggest concrete directions for building more reliable, self-correcting agents in future SE research.

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

↑