Bridging Bug Localization and Issue Fixing: A Hierarchical Localization Framework Leveraging Large Language Models
Not on the map. Why?
Abstract (arXiv)
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 designs three customized LLMs at each level using bug reports and contexts to learn the patterns of bugs. Finally, BugCerberus hierarchically searches for bug-related code elements through well-tuned models to localize bugs at three levels. With BugCerberus, we further investigate the impact of bug localization on the issue fixing. We evaluate BugCerberus on the widely-used benchmark SWE-bench-lite. The experimental results demonstrate that BugCerberus outperforms all baselines. Specifically, at the fine-grained statement level, BugCerberus surpasses the state-of-the-art in Top-N (N=1, 3, 5, 10) by 16.5%, 5.4%, 10.2%, and 23.1%, respectively. Moreover, in the issue fixing experiments, BugCerberus improves the fix rate of the existing issue fixing approach Agentless by 17.4% compared to the best baseline, highlighting the significant impact of enhanced bug localization on automated issue fixing.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). First posted on arXiv 21 Feb 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 5; 2026: 6.
11 papers.
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 4
- 2026Engineering Reliable Coding Agents: Evaluating and Operating the System Around the Modelcited by 3
- 2026LIDL: LLM Integration Defect Localization via Knowledge Graph-Enhanced Multi-Agent Analysiscited by 2
- 2025Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architecturescited by 1
- 2025SLICEMATE: Accurate and Scalable Static Program Slicing via LLM-Powered Agentscited by 0
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learningcited by 0
- 2026BLAgent: Agentic RAG for File-Level Bug Localizationcited by 0
- 2026Ekka: Automated Diagnosis of Silent Errors in LLM Inferencecited by 0
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localizationcited by 0
- 2026From Codebase to Culprit (C2C): Reducing the Search Space for Bugs with Semantic Retrieval and Hierarchical Reinforcement Learningcited by 0
- 2026From Codebase to Culprit (C2C): Reducing the Search Space for Bugs with Semantic Retrieval and Hierarchical Reinforcement Learning29 Sep 2026
- 2026Engineering Reliable Coding Agents: Evaluating and Operating the System Around the Model14 Aug 2026
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization13 Jul 2026
- 2026Ekka: Automated Diagnosis of Silent Errors in LLM Inference3 Jun 2026
- 2026BLAgent: Agentic RAG for File-Level Bug Localization18 May 2026
- 2026LIDL: LLM Integration Defect Localization via Knowledge Graph-Enhanced Multi-Agent Analysis9 Jan 2026
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localization27 Dec 2025
- 2025Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures5 Dec 2025
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learning29 Sep 2025
- 2025SLICEMATE: Accurate and Scalable Static Program Slicing via LLM-Powered Agents25 Jul 2025
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searching28 Mar 2025