PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents
Summary
PhoenixRepair is a novel multi-agent framework designed to enhance automated issue resolution by addressing the limitations of existing Large Language Model-based agents in exploring repair strategies. Current methods exhibit insufficient exploration of both potential edit locations and repair attempts at each location. PhoenixRepair tackles this by systematically exploring multiple candidate edit locations and employing iterative reflection and refinement during patch generation, thereby expanding the search space. Its process involves multi-location sampling, optionally augmented with graph-based localization for complex tasks, followed by iterative patch refinement, and a final generation phase guided by historical insights. Experiments on SWE-bench-Verified demonstrate PhoenixRepair's effectiveness, achieving a 7.8% relative improvement over SWE-agent with DeepSeek-V3.1 and a 76.0% Pass@1 resolved rate using MiniMax-M2.5, alongside improved fault localization accuracy.
Key takeaway
For Machine Learning Engineers or Software Engineers developing automated code repair agents, PhoenixRepair demonstrates that current LLM-based methods often fail due to insufficient exploration of repair strategies. Your teams should consider adopting multi-agent frameworks that systematically explore multiple edit locations and incorporate iterative reflection and refinement for patch generation. This approach, which achieved a 7.8% relative improvement over SWE-agent, can significantly enhance the resolved rate and fault localization accuracy of your automated bug-fixing solutions.
Key insights
PhoenixRepair enhances software agent repair by systematically exploring multiple edit locations and iteratively refining patch generation.
Principles
- Systematic exploration of edit locations
- Iterative reflection refines patch generation
- Distilled insights guide final repair attempts
Method
PhoenixRepair employs multi-location sampling, optionally augmented with graph-based localization, followed by iterative reflection and refinement for patch generation, culminating in a final round guided by historical attempts.
In practice
- Integrate multi-agent exploration for code repair
- Implement iterative reflection for patch improvement
- Apply graph-based localization for difficult bugs
Topics
- Software Agents
- Automated Code Repair
- Large Language Models
- Multi-agent Systems
- Fault Localization
- SWE-bench-Verified
Code references
Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, Software Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.