Hybrid Automated Program Repair by Combining Large Language Models and Program Analysis
Fengjie Li, Jiajun Jiang, Jiajun Sun, Hongyu Zhang

TL;DR
This paper presents GIANTREPAIR, a hybrid approach combining large language models and program analysis to improve automated program repair, achieving higher bug repair rates than existing methods.
Contribution
GIANTREPAIR innovatively constructs patch skeletons from LLM-generated patches to guide program-specific patch generation, enhancing repair effectiveness.
Findings
Repairs 27.78% of bugs on Defects4J v1.2
Repairs 23.40% of bugs on Defects4J v2.0
Outperforms state-of-the-art APR methods by at least 42 bugs
Abstract
Automated Program Repair (APR) has garnered significant attention due to its potential to streamline the bug repair process for human developers. Recently, LLM-based APR methods have shown promise in repairing real-world bugs. However, existing APR methods often utilize patches generated by LLMs without further optimization, resulting in reduced effectiveness due to the lack of program-specific knowledge. Furthermore, the evaluations of these APR methods have typically been conducted under the assumption of perfect fault localization, which may not accurately reflect their real-world effectiveness. To address these limitations, this paper introduces an innovative APR approach called GIANTREPAIR. Our approach leverages the insight that LLM-generated patches, although not necessarily correct, offer valuable guidance for the patch generation process. Based on this insight, GIANTREPAIR…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Software Testing and Debugging Techniques · Advanced Malware Detection Techniques
