Back to Search Start Over

An Empirical Study on LLM-based Agents for Automated Bug Fixing

Authors :
Meng, Xiangxin
Ma, Zexiong
Gao, Pengfei
Peng, Chao
Publication Year :
2024

Abstract

Large language models (LLMs) and LLM-based Agents have been applied to fix bugs automatically, demonstrating the capability in addressing software defects by engaging in development environment interaction, iterative validation and code modification. However, systematic analysis of these agent and non-agent systems remain limited, particularly regarding performance variations among top-performing ones. In this paper, we examine seven proprietary and open-source systems on the SWE-bench Lite benchmark for automated bug fixing. We first assess each system's overall performance, noting instances solvable by all or none of these sytems, and explore why some instances are uniquely solved by specific system types. We also compare fault localization accuracy at file and line levels and evaluate bug reproduction capabilities, identifying instances solvable only through dynamic reproduction. Through analysis, we concluded that further optimization is needed in both the LLM itself and the design of Agentic flow to improve the effectiveness of the Agent in bug fixing.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2411.10213
Document Type :
Working Paper