An Empirical Study of IR-based Bug Localization for Deep Learning-based Software

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

Abstract

As the impact of deep-learning-based software (DLSW) increases, automatic debugging techniques for guaranteeing DLSW quality are becoming increasingly important. Information-retrieval-based bug localization (IRBL) techniques can aid in debugging by automatically localizing buggy entities (files and functions). The low-cost advantage of IRBL can alleviate the difficulty of identifying bug locations due to the complexity of DLSW. However, there are significant differences between DLSW and traditional software, and these differences lead to differences in search space and query quality for IRBL. That is, IRBL performance must be validated in DLSW. We empirically validated IRBL performance for DLSW from the following four perspectives: 1) similarity model, 2) query generation, 3) ranking model for buggy file localization, and 4) ranking model for buggy function localization. Based on four research questions and a large-scale experiment using 2,365 bug reports from 136 DLSW projects, we confirmed the salient char-acteristics of DLSW from the perspective of IRBL and derived four recommendations for practical IRBL usage in DLSW from the empirical results. Regarding IRBL performance, we validated that IRBL performance with the combination of bug-related features outperformed that of using only file similarity by 15 % and IRBL ranked buggy files and functions on average of 1.6th and 2.9th, respectively. Our study is valuable as a baseline for IRBL researchers and as a guideline for DLSW developers who wish to apply IRBL to ensure DLSW quality.

Original languageEnglish
Title of host publicationProceedings - 2022 IEEE 15th International Conference on Software Testing, Verification and Validation, ICST 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages128-139
Number of pages12
ISBN (Electronic)9781665466790
DOIs
StatePublished - 2022
Event15th IEEE International Conference on Software Testing, Verification and Validation, ICST 2022 - Virtual, Online, Spain
Duration: 4 Apr 202213 Apr 2022

Publication series

NameProceedings - 2022 IEEE 15th International Conference on Software Testing, Verification and Validation, ICST 2022

Conference

Conference15th IEEE International Conference on Software Testing, Verification and Validation, ICST 2022
Country/TerritorySpain
CityVirtual, Online
Period4/04/2213/04/22

Keywords

  • Deep learning-related software
  • Empirical study
  • Information retrieval-based bug localization
  • Python bugs

Fingerprint

Dive into the research topics of 'An Empirical Study of IR-based Bug Localization for Deep Learning-based Software'. Together they form a unique fingerprint.

Cite this