PofoliaDaily literature tracker

ACM Transactions on Software Engineering and Methodology· 2026Q1

LLM4FL: Multi-Agent Fault Localization via Graph Navigation and Verbal Reasoning

Md Nakhla Rafi, Dong Jae Kim, Tse-Hsun Peter Chen, Shaowei Wang

Short summary

LLM4FL, a multi-LLM-agent system, improves software fault localization accuracy by 14.5% over prior LLM-based methods by using specialized agents for context extraction, graph-based navigation, and iterative verbal reasoning.

AI-generated from the title and abstract; the full text is not read.

Key points

  • LLM4FL utilizes three specialized LLM agents for fault localization: Context Extraction, Debugger, and Reviewer.
  • The system employs graph-based retrieval and iterative self-refinement with verbal reasoning to improve accuracy.
  • LLM4FL achieved a 14.5% improvement in Top-1 accuracy over prior LLM-based methods on the Defects4J benchmark.
  • Failure reason generation improved Top-1 performance by 12.5%, and order-aware division by 18.07% in ablation studies.

AI-generated from the title and abstract; the full text is not read.

Abstract

Locating and fixing software faults is challenging. Traditional Spectrum-Based Fault Localization (SBFL) uses test coverage and failure data but often suffers from low accuracy due to a lack of semantic understanding of code. Deep-learning approaches can improve localization, but require extensive training data and computational resources. Recent Large Language Models (LLMs) offer a promising alternative with stronger code reasoning capabilities. However, existing LLM-based fault localization techniques still struggle at the repository level due to large context windows and positional bias, in which important debugging signals may be buried in large contexts. In this work, we introduce LLM4FL , a multi-LLM-agent-based fault localization technique designed to address these challenges. LLM4FL uses three specialized agents. The Context Extraction Agent divides and prioritizes covered methods into token-fitting groups using an order-aware strategy based on Ochiai suspiciousness scores. The Debugger Agent navigates the repository through graph-based retrieval to generate failure reasoning and rank suspicious methods. The Reviewer Agent then re-evaluates and re-ranks the results through iterative self-refinement and verbal reasoning. Evaluated on Defects4J, LLM4FL improves Top-1 accuracy over prior LLM-based approaches, including AutoFL and SoapFL , by 14.5% and 4.58%, respectively. Our ablation study further highlights the importance of LLM4FL's design choices, with failure reason generation improving Top-1 performance by 12.5% and order-aware division substantially improving localization accuracy by 18.07%.

The authors' abstract, as published at the source. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗

TakeawaysPremium Ask the paperFree account

Continue with a free account

Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Software

SoftwareComputer Science