arXiv:2611.05314cs.SENov 2026

Manuscript Offprint

arXiv:2611.05314

Noisy Issues, Noisy Results: Mislabeling in Information Retrieval-based Bug Localization

Moumita Asad, Rafed Muhammad Yasir, Yirui He, Ziyao He, Sam Malek

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Moumita Asad, Rafed Muhammad Yasir, Yirui He, Ziyao He, and Sam Malek

Abstract—Information Retrieval-based Bug Localization (IRBL) leverages bug reports to identify faulty source files. Evaluations of IRBL approaches primarily rely on labeled issues from issue tracking systems. However, prior research has shown that issue labels are frequently incorrect in open-source projects, threatening the validity of IRBL evaluations. Existing studies have primarily examined traditional IRBL techniques on small datasets, overlooking modern approaches and the partial overlap between noisy and cleaned datasets. In this paper, we conduct a large-scale empirical study to investigate the prevalence and impact of mislabeled issues in IRBL benchmarks. We analyze five benchmark datasets comprising over 55,000 issue reports and find that, on average, 34.82% of issues are mislabeled. We further evaluate six IRBL techniques, spanning traditional, deep learning-based, and large language model-based approaches using the widely adopted Ye et al. benchmark and statistical methods that account for dataset overlap. Our results show that removing mislabeled issues from evaluation datasets significantly reduces measured performance across all six techniques, with Mean Reciprocal Rank decreasing by 4.68%–21.74%. Although mislabeling does not change the relative ranking of techniques, it affects the magnitude of their performance differences. These findings highlight the importance of reliable evaluation data for ensuring valid and meaningful comparisons of IRBL techniques.

Index Terms—Bug Localization, Dataset Noise, Large Language Model, Information Retrieval

I. INTRODUCTION

Issue reports are critical artifacts in software engineering projects, serving as documented records of bugs, enhancement requests, and other development tasks [1]. These reports are generally managed through Issue Tracking Systems (ITSs), where users and contributors can submit, track, and resolve issues. Among various types of issue reports, bug reports are particularly important as unresolved bugs can compromise the reliability, performance and security of software systems [2]. However, modern software projects often receive a large volume of bug reports, making it challenging for developers to manage them. For example, the Eclipse project received over 4,400 bug reports in 2009 alone [3]. Addressing each report requires developers to reproduce the bug, identify its root cause and locate the relevant source code entities, a process that is both time-consuming and labor-intensive [4].

To assist developers in this process, various Information Retrieval-based Bug Localization (IRBL) techniques have been proposed. These approaches formulate bug localization as a document retrieval task, where the bug report serves as a query and the source files as documents. Given a bug report, these techniques generate a ranked list of source files based on their likelihood of containing the fault [5]. The goal is to rank the buggy files as high as possible. To calculate the similarity between bug reports and the source files, existing techniques use approaches ranging from traditional models such as the Vector Space Model (VSM) [6] and Topic Modeling [7], [8] to advanced methods based on Deep Learning [5], [9]–[14] and Large Language Models (LLMs) [15]–[17].

To evaluate the effectiveness of these techniques, several benchmark datasets have been constructed from ITSs. These datasets generally collect fixed issues labeled "bugs", assuming that these labels are correct [18]. However, a study by Herzig et al. found that approximately 33.8% of the bug reports are misclassified (i.e., these issues do not actually describe bugs) [19]. This finding raises concerns about the quality of IRBL benchmark datasets and the validity of performance evaluations conducted using them. Since IRBL techniques are designed for bug reports, the inclusion of non-bug issues may introduce bias into their evaluation [1].

Despite the importance of this problem, only a few studies have examined the impact of mislabeled issues on IRBL performance. Kochhar et al. first examined this problem using VSM-based bug localization [1], [2], while Widyasari et al. subsequently investigated two traditional approaches, VSM and BugLocator [20]. However, as summarized in Table I, these studies have several limitations. First, they focused on traditional IRBL techniques, leaving the impact of mislabeling on more advanced deep learning and LLM-based approaches (e.g., DreamLoc [5], GenLoc [17]) largely unexplored. Second, their analyses were conducted on small datasets and did not extend to established IRBL benchmark datasets (e.g., Ye et al. dataset [21], Bench4BL [18]). Third, their evaluations were limited to intra-technique comparisons (i.e., analyzing how the performance of individual techniques changes between noisy and clean datasets) without performing inter-technique comparisons, which assess how mislabeled issues affect the comparative performance of different techniques. Finally, they overlooked the partially overlapping nature of the data in which the clean dataset is a subset of the original noisy dataset. Consequently, they applied statistical tests that assume data independence, which may lead to misleading conclusions. As a result, the validity of prior findings remains uncertain.

In this study, we address these limitations through a comprehensive empirical investigation of the prevalence of mislabeled issues and their impact on IRBL performance. We extend prior work by examining established IRBL benchmarks and modern localization techniques, evaluating the effects of mislabeling

Moumita Asad, Rafed Muhammad Yasir, Yirui He, Ziyao He, and Sam Malek are with the University of California, Irvine, Irvine, CA, USA (e-mail: {moumitaa, ryasir, yiruih, ziyaoh5, malek}@uci.edu).

TABLE I COMPARISON WITH PRIOR STUDIES INVESTIGATING MISLABELED ISSUES IN IRBL.

Comparison CriteriaKochhar et al.Widyasari et al.Our Study
Established IRBL BenchmarksXX✓
DL/LLM TechniquesXX✓
Intra-Technique Comparison✓✓✓
Inter-Technique ComparisonXX✓
Partial-Overlap Aware AnalysisXX✓

on both individual and comparative performance, and employing statistical methods that account for dataset overlap. In particular, we investigate the following two research questions:

RQ1. How prevalent are mislabeled issues in IRBL benchmark datasets?

RQ2. How do mislabeled issues impact the performance of IRBL techniques?

To address RQ1 (Section II), we investigate five IRBL benchmark datasets, including three widely used datasets (Zhou et al. [3], Ye et al. [21] and Bench4BL [18]) and two recently introduced datasets (GHRB (GitHub Recent Bugs) [22] and BeetleBox [23]). Together, these benchmarks contain more than 55,000 issue reports spanning over a decade of IRBL research. To identify mislabeled issues at scale, we develop GenTag, an LLM-based issue classifier that achieves a weighted F1-score of 90% while maintaining an affordable cost of $0.0003 per issue. Applying GenTag to these datasets reveals that mislabeled reports are widespread, accounting for 29.01% to 44.01% of the issues across the five benchmarks, with an average of 34.82%, highlighting persistent limitations in benchmark label quality.

To address RQ2 (Section III), we evaluate six representative IRBL techniques, namely VSM [1], BugLocator [3], BLUiR [24], BRTracer [25], DreamLoc [5], and GenLoc [17]. These techniques span traditional retrieval, heuristic-enhanced, deep learning-based, and LLM-based approaches. Using the widely adopted Ye et al. dataset [21], we investigate the effects of mislabeled issues in both evaluation and historical/training data. We conduct intra-technique comparisons to assess how mislabeling affects individual techniques and inter-technique comparisons to examine its influence on their relative performance. Our statistical analyses account for the overlapping nature of the evaluated datasets. Our results show that removing mislabeled issues from the evaluation data consistently reduces the measured performance of all six techniques, with statistically significant differences. In contrast, cleaning historical/training data has varying effects depending on the technique. Furthermore, although mislabeling does not change the overall ordering of techniques, it influences the magnitude of performance differences between them. These findings highlight the importance of dataset quality for fair and accurate evaluation in IRBL research.

In summary, this paper makes the following contributions:

  • Large-scale analysis of issue mislabeling: We investigate the prevalence of issue mislabeling across five IRBL benchmarks comprising over 55,000 issue reports using a validated LLM-based classifier.

  • Impact on intra-technique comparisons: We systemati-

cally evaluate the effects of mislabeling in evaluation and historical/training data on the performance of six IRBL techniques, spanning traditional, deep learning-based, and LLM-based approaches.

  • Impact on inter-technique comparisons: We examine how issue mislabeling affects the relative performance and statistical comparisons among IRBL techniques.

  • Replication package: We release a replication package [26] to facilitate reproducibility and support future research.

References (100)

Couldn't load all references. Reload the page to try again.