Improved IR-based Bug Localization with Intelligent Relevance Feedback
Asif Mohammed Samir, Mohammad Masudur Rahman

TL;DR
This paper introduces BRaIn, a novel bug localization technique using Large Language Models to assess relevance and leverage feedback, significantly outperforming existing IR-based methods in accuracy and bug localization capability.
Contribution
BRaIn is the first approach to incorporate LLM-based relevance assessment and feedback for bug localization, bridging contextual gaps beyond traditional IR methods.
Findings
BRaIn outperforms baseline techniques by up to 89.5% in MAP and MRR.
It localizes 52% more bugs that baseline methods fail to identify.
Experimental results demonstrate significant improvements in bug localization accuracy.
Abstract
Software bugs pose a significant challenge during development and maintenance, and practitioners spend nearly 50% of their time dealing with bugs. Many existing techniques adopt Information Retrieval (IR) to localize a reported bug using textual and semantic relevance between bug reports and source code. However, they often struggle to bridge a critical gap between bug reports and code that requires in-depth contextual understanding, which goes beyond textual or semantic relevance. In this paper, we present a novel technique for bug localization - BRaIn - that addresses the contextual gaps by assessing the relevance between bug reports and code with Large Language Models (LLM). It then leverages the LLM's feedback (a.k.a., Intelligent Relevance Feedback) to reformulate queries and re-rank source documents, improving bug localization. We evaluate BRaIn using a benchmark dataset,…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRobotics and Automated Systems
MethodsADaptive gradient method with the OPTimal convergence rate
