AutoCodeRover: Autonomous Program Improvement
摘要
Researchers have made significant progress in automating the software development process in the past decades. Automated techniques for issue summarization, bug reproduction, fault localization, and program repair have been built to ease the workload of developers. Recent progress in Large Language Models (LLMs) has significantly impacted the development process, where developers can use LLM-based programming assistants to achieve automated coding. Nevertheless, software engineering involves the process of program improvement apart from coding, specifically to enable software maintenance (e.g. program repair to fix bugs) and software evolution (e.g. feature additions). In this paper, we propose an automated approach for solving Github issues to autonomously achieve program improvement. In our approach called AutoCodeRover, LLMs are combined with sophisticated code search capabilities, ultimately leading to a program modification or patch. In contrast to recent LLM agent approaches from AI researchers and practitioners, our outlook is more software engineering oriented. We work on a program representation (abstract syntax tree) as opposed to viewing a software project as a mere collection of files. Our code search exploits the program structure in the form of classes/methods to enhance LLM’s understanding of the issue’s root cause, and effectively retrieve a context via iterative search. The use of spectrum-based fault localization using tests, further sharpens the context, as long as a test-suite is available. Experiments on the recently proposed SWE-bench-lite (300 real-life Github issues) show increased efficacy in solving Github issues (19% on SWE-bench-lite), which is higher than the efficacy of the recently reported Swe-agent. Interestingly, our approach resolved 57 GitHub issues in about 4 minutes each (pass@1), whereas developers spent more than 2.68 days on average. In addition, AutoCodeRover achieved this efficacy with significantly lower cost (on average, $0.43 USD), compared to other baselines. We posit that our workflow enables autonomous software engineering, where, in future, auto-generated code from LLMs can be autonomously improved.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 124 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based Agents 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
- SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based Agents 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
- Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
- SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution 引用了 Automated Program Repair in the Era of Large Pre-trained Language Models
- RepairAgent: An Autonomous, LLM-Based Agent for Program Repair 引用了 CoCoNuT: combining context-aware neural translation models using ensemble for program repair
- RepairAgent: An Autonomous, LLM-Based Agent for Program Repair 引用了 SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- RepairAgent: An Autonomous, LLM-Based Agent for Program Repair 引用了 A syntax-guided edit decoder for neural program repair
- RepairAgent: An Autonomous, LLM-Based Agent for Program Repair 引用了 Automated Program Repair in the Era of Large Pre-trained Language Models
- MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution 引用了 RepairAgent: An Autonomous, LLM-Based Agent for Program Repair
- MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
- MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution 引用了 Automated Program Repair in the Era of Large Pre-trained Language Models
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering 引用了 SWE-bench: Can Language Models Resolve Real-world Github Issues?
- A syntax-guided edit decoder for neural program repair 引用了 CoCoNuT: combining context-aware neural translation models using ensemble for program repair
- Automated Program Repair in the Era of Large Pre-trained Language Models 引用了 CoCoNuT: combining context-aware neural translation models using ensemble for program repair
- Automated Program Repair in the Era of Large Pre-trained Language Models 引用了 A syntax-guided edit decoder for neural program repair
引用它的顶会 Paper124
- SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software EvolutionYuxiang Wei, Olivier Duchenne, Jade Copet, Quentin Carbonneaux 等NeurIPS 2025 · 291 次引用
- MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue ResolutionWei Tao, Yucheng Zhou, Yanlin Wang, Wenqiang Zhang 等NeurIPS 2024 · 210 次引用
- Darwin Gödel Machine: Open-Ended Evolution of Self-Improving AgentsJenny Zhang, Shengran Hu, Cong Lu, Robert Tjarko Lange 等ICLR 2026 · 101 次引用
- SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based AgentsYifu Guo, Jiaye Lin, Huacan Wang, Yuzhen Han 等NeurIPS 2025 · 73 次引用
- RepairAgent: An Autonomous, LLM-Based Agent for Program RepairIslem Bouzenia, Premkumar T. Devanbu, Michael PradelICSE 2025 · 54 次引用
它引用的 Paper14
- SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao 等ICLR 2024 · 2,082 次引用
- SWE-agent: Agent-Computer Interfaces Enable Automated Software EngineeringJohn Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret 等NeurIPS 2024 · 2,059 次引用
- CoCoNuT: combining context-aware neural translation models using ensemble for program repairThibaud Lutellier, Hung Viet Pham, Lawrence Pang, Yitong Li 等ISSTA 2020 · 325 次引用
- Automated Program Repair in the Era of Large Pre-trained Language ModelsChunqiu Steven Xia, Yuxiang Wei, Lingming ZhangICSE 2023 · 321 次引用
- A syntax-guided edit decoder for neural program repairQihao Zhu, Zeyu Sun, Yuan-an Xiao, Wenjie Zhang 等FSE 2021 · 214 次引用
相关 Paper
- SpecRover: Code Intent Extraction via LLMsHaifeng Ruan, Yuntong Zhang, Abhik RoychoudhuryICSE 2025 · 12 次引用
- SWE-GPT: A Process-Centric Language Model for Automated Software ImprovementYingwei Ma, Rongyu Cao, Yongchang Cao, Yue Zhang 等ISSTA 2025 · 1 次引用
- OrcaLoca: An LLM Agent Framework for Software Issue LocalizationZhongming Yu, Hejia Zhang, Yujie Zhao, Hanxian Huang 等ICML 2025
- SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue ResolutionChengxing Xie, Bowen Li, Chang Gao, He Du 等ACL Findings 2025 · 10 次引用
- Unified Software Engineering Agent as AI Software EngineerLeonhard Applis, Yuntong Zhang, Shanchao Liang, Nan Jiang 等ICSE 2026
