An Imbalanced Deep Learning Model for Bug Localization

被引:2
作者
Bui Thi Mai Anh [1 ]
Nguyen Viet Luyen [1 ]
机构
[1] Hanoi Univ Sci & Technol, Sch Informat & Commun Technol, Lab Intelligent Software Engn, Hanoi, Vietnam
来源
2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW 2021) | 2021年
关键词
bug localization; deep neural network; imbalanced data-set; bootstrapping;
D O I
10.1109/APSECW53869.2021.00017
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Debugging and locating faulty source files are tedious and time-consuming tasks. To improve the productivity and to help developers focus on crucial files, automated bug localization models have been proposed for years. These models recommend buggy source files by ranking them according to their relevance to a given bug report. There are two significant challenges in this research field: (i) narrowing the lexical gap between bug reports which are typically described using natural languages and source files written in programming languages; (ii) reducing the impact of imbalanced data distribution in model training as a far fewer of source files relate to a given bug report while the majority of them are not relevant. In this paper, we propose a deep neural network model to investigate essential information hidden within bug reports and source files through capturing not only lexical relations but also semantic details as well as domain knowledge features such as historical bug fixings, code change history. To address the skewed class distribution, we apply a focal loss function combining with a bootstrapping method to rectify samples of the minority class within iterative training batches to our proposed model. We assessed the performance of our approach over six large scale Java open-source projects. The empirical results have showed that the proposed method outperformed other state-of-the-art models by improving the Mean Average Precision (MAP) and Mean Reciprocal Rank (MRR) scores from 3% to 11% and from 2% to 14%, respectively.
引用
收藏
页码:32 / 40
页数:9
相关论文
共 50 条
[31]   Enhancing Bug Localization through Bug Report Summarization [J].
Zhang, Xia ;
Zhu, Ziye ;
Li, Yun .
23RD IEEE INTERNATIONAL CONFERENCE ON DATA MINING, ICDM 2023, 2023, :1541-1546
[32]   Augmented Bug Localization Using Past Bug Information [J].
Nichols, Brent D. .
PROCEEDINGS OF THE 48TH ANNUAL SOUTHEAST REGIONAL CONFERENCE (ACM SE 10), 2010, :306-311
[33]   An approach for bug localization in models using two levels: model and metamodel [J].
Arcega, Lorena ;
Font, Jaime ;
Haugen, Oystein ;
Cetina, Carlos .
SOFTWARE AND SYSTEMS MODELING, 2019, 18 (06) :3551-3576
[34]   An approach for bug localization in models using two levels: model and metamodel [J].
Lorena Arcega ;
Jaime Font ;
Øystein Haugen ;
Carlos Cetina .
Software and Systems Modeling, 2019, 18 :3551-3576
[35]   IncBL: Incremental Bug Localization [J].
Yang, Zhou ;
Shi, Jieke ;
Wang, Shaowei ;
Lo, David .
2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, :1223-1226
[36]   Bug Localization Based on Code Change Histories and Bug Reports [J].
Youm, Klaus Changsun ;
Ahn, June ;
Kim, Jeongho ;
Lee, Eunseok .
2015 22ND ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2015), 2015, :190-197
[37]   Data Mining Diagnostics and Bug MRIs for HW Bug Localization [J].
Farkash, Monica ;
Hickerson, Bryan ;
Samynathan, Balavinayagam .
2015 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2015, :79-84
[38]   On the Value of Bug Reports for Retrieval-based Bug Localization [J].
Lawrie, Dawn ;
Binkley, Dave .
PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, :524-528
[39]   Source Code Retrieval for Bug Localization using Bug Report [J].
Swe, Kyaw Ei Ei ;
Oo, Hnin Min .
2019 IEEE 15TH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTER COMMUNICATION AND PROCESSING (ICCP 2019), 2019, :241-247
[40]   Deep Learning-Based Imbalanced Classification With Fuzzy Support Vector Machine [J].
Wang, Ke-Fan ;
An, Jing ;
Wei, Zhen ;
Cui, Can ;
Ma, Xiang-Hua ;
Ma, Chao ;
Bao, Han-Qiu .
FRONTIERS IN BIOENGINEERING AND BIOTECHNOLOGY, 2022, 9