Skip to main navigation Skip to search Skip to main content

The impact of mislabelling on the performance and interpretation of defect prediction models

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

The reliability of a prediction model depends on the quality of the data from which it was trained. Therefore, defect prediction models may be unreliable if they are trained using noisy data. Recent research suggests that randomly-injected noise that changes the classification (label) of software modules from defective to clean (and vice versa) can impact the performance of defect models. Yet, in reality, incorrectly labelled (i.e., mislabelled) issue reports are likely non-random. In this paper, we study whether mislabelling is random, and the impact that realistic mislabelling has on the performance and interpretation of defect models. Through a case study of 3,931 manually-curated issue reports from the Apache Jackrabbit and Lucene systems, we find that: (1) issue report mislabelling is not random; (2) precision is rarely impacted by mislabelled issue reports, suggesting that practitioners can rely on the accuracy of modules labelled as defective by models that are trained using noisy data; (3) however, models trained on noisy data typically achieve 56%-68% of the recall of models trained on clean data; and (4) only the metrics in top influence rank of our defect models are robust to the noise introduced by mislabelling, suggesting that the less influential metrics of models that are trained on noisy data should not be interpreted or used to make decisions.

Original languageEnglish
Title of host publicationProceedings
Subtitle of host publication2015 IEEE/ACM 37th IEEE International Conference on Software Engineering - ICSE 2015
EditorsSebastian Elbaum, Gerardo Canfora
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages812-823
Number of pages12
Volume1
ISBN (Electronic)9781479919345
DOIs
Publication statusPublished - 2015
Externally publishedYes
EventInternational Conference on Software Engineering 2015 - Florence, Italy
Duration: 16 May 201524 May 2015
Conference number: 37th
http://2015.icse-conferences.org/
https://ieeexplore.ieee.org/xpl/conhome/7174815/proceeding?isnumber=7194545 (Proceedings)

Conference

ConferenceInternational Conference on Software Engineering 2015
Abbreviated titleICSE 2015
Country/TerritoryItaly
CityFlorence
Period16/05/1524/05/15
Internet address

Cite this