Bridging Bug Localization and Issue Fixing: A Hierarchical Localization Framework Leveraging Large Language Models
Jianming Chang, Xin Zhou, Lulu Wang, David Lo, Bixin Li

TL;DR
This paper introduces BugCerberus, a hierarchical bug localization framework using customized large language models at multiple code levels, significantly improving bug localization accuracy and enhancing automated issue fixing effectiveness.
Contribution
The paper presents the first hierarchical bug localization framework leveraging three specialized large language models for multi-level bug detection in large-scale projects.
Findings
Outperforms all baselines in bug localization accuracy.
Improves fix rate of existing issue fixing approach by 17.4%.
Demonstrates the impact of precise bug localization on automated fixing.
Abstract
Automated issue fixing is a critical task in software debugging and has recently garnered significant attention from academia and industry. However, existing fixing techniques predominantly focus on the repair phase, often overlooking the importance of improving the preceding bug localization phase. As a foundational step in issue fixing, bug localization plays a pivotal role in determining the overall effectiveness of the entire process. To enhance the precision of issue fixing by accurately identifying bug locations in large-scale projects, this paper presents BugCerberus, the first hierarchical bug localization framework powered by three customized large language models. First, BugCerberus analyzes intermediate representations of bug-related programs at file, function, and statement levels and extracts bug-related contextual information from the representations. Second, BugCerberus…
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.
