ConFL: Explainable Concurrent Fault Localization via Hierarchy-Guided LLM Reasoning
Shuai Shao, Dingbang Wang, Yiming Zeng, Tingting Yu
Key points
From the paper's conclusion- We propose ConFL, an explainable concurrent fault localization framework that augments LLM reasoning with structured concurrency knowledge.
Abstract
Localizing concurrent bugs from bug reports alone is challenging due to incomplete information, misleading program-entity mentions, and complex cross-thread interactions, causing existing LLM-based approaches to suffer from unstable reasoning and limited explainability. We propose ConFL, an explainable concurrent fault localization framework that augments LLM reasoning with structured concurrency knowledge. ConFL constructs a Concurrent Knowledge Base (CKB) from source code and performs LLM-guided hierarchical retrieval to progressively narrow the search space from components to interaction-level concurrency contexts. An interaction-level DSL explicitly encodes cross-thread interactions over shared resources, enabling focused reasoning without traversing deep call chains. Experiments on real-world concurrent bugs from eight large-scale Java projects show that ConFL significantly outperforms state-of-the-art IR-based and LLM-based baselines, achieving an MRR of 0.503 and a MAP of 0.486, while remaining robust to noisy bug reports, unseen bugs, and different LLM backbones.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CONCUR: Benchmarking LLMs for Concurrent Code GenerationProceedings of the ACM on Software Engineering · 2026
- LLM4FL: Multi-Agent Fault Localization via Graph Navigation and Verbal ReasoningACM Transactions on Software Engineering and Methodology · 2026
- Towards Explorative IRBL: Combining Semantic Retrieval with LLM-Driven Iterative Code ExplorationProceedings of the ACM on software engineering. · 2026
- REINS: Agent-guided Thread Scheduling for Concurrency Bug Detection and ReproductionarXiv · 2026
- Inquest: Log-Guided Root-Cause Code Localization with a Staged AgentarXiv · 2026
- Where LLM Agents Get Stuck Debugging Databases: Access More Than ReasoningarXiv · 2026