Please use this identifier to cite or link to this item: https://elib.vku.udn.vn/handle/123456789/6208
Title: A Hybrid Approach to Fault Localization: Integrating LLMs with IR-Based Methods
Authors: Nguyen, Thanh Binh
Cao, Thi Nham
Nguyen, Van Tien
Nguyen, Nhut Tien
Keywords: Fault localization
Large language models
Information retrieval
Semantic similarity
Issue Date: Jan-2026
Publisher: Springer Nature
Abstract: Fault localization aims to automatically localize buggy files, a key step in debugging tasks. Traditional Information-Retrieval-based fault localization (IRFL) methods often struggle due to the lexical gap between bug reports and source code. Inspired by the ability of Large Language Models (LLMs) to process both natural language and programming language, we propose a hybrid fault localization approach that integrates LLM-driven information extraction, semantic search, and relevance-matching techniques to improve fault localization accuracy. Our method utilizes LLMs to extract key information from bug reports, including keywords (variable names, function names, class names), error message verbatims, and technical descriptions. With the extracted keywords, we compute lexical similarity scores between bug reports and source code files and then rank the source code files accordingly. We also utilize text embedding models to encode the extracted bug reports and source code files and compute their semantic similarity to construct a ranked list of suspected buggy files. This semantic ranking is combined with lexical ranking based on the best-rank selection strategy to achieve the final list. Our approach is evaluated on six real-world Java projects from the Bench4BL dataset. Experimental results demonstrate that our approach outperforms the baseline methods by a substantial margin in terms of Top-K, Mean Reciprocal Rank (MRR), and Mean Average Precision (MAP) metrics.
Description: Lecture Notes in Networks and Systems (LNNS,volume 1581); The 14th Conference on Information Technology and Its Applications (CITA 2025) ; pp: 359-371
URI: https://doi.org/10.1007/978-3-032-00972-2_27
https://elib.vku.udn.vn/handle/123456789/6208
ISBN: 978-3-032-00971-5 (p)
978-3-032-00972-2 (e)
Appears in Collections:CITA 2025 (International)

Files in This Item:

 Sign in to read



Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.