A transfer cost-sensitive boosting approach for cross-project defect prediction

被引:105
作者
Ryu, Duksan [1 ]
Jang, Jong-In [1 ]
Baik, Jongmoon [1 ]
机构
[1] Korea Adv Inst Sci & Technol, Sch Comp, 291 Daehak Ro,373-1 Guseong Dong, Daejeon 305701, South Korea
基金
新加坡国家研究基金会;
关键词
Boosting; Class imbalance; Cost-sensitive learning; Cross-project defect prediction; Software defect prediction; Transfer learning;
D O I
10.1007/s11219-015-9287-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software defect prediction has been regarded as one of the crucial tasks to improve software quality by effectively allocating valuable resources to fault-prone modules. It is necessary to have a sufficient set of historical data for building a predictor. Without a set of sufficient historical data within a company, cross-project defect prediction (CPDP) can be employed where data from other companies are used to build predictors. In such cases, a transfer learning technique, which extracts common knowledge from source projects and transfers it to a target project, can be used to enhance the prediction performance. There exists the class imbalance problem, which causes difficulties for the learner to predict defects. The main impacts of imbalanced data under cross-project settings have not been investigated in depth. We propose a transfer cost-sensitive boosting method that considers both knowledge transfer and class imbalance for CPDP when given a small amount of labeled target data. The proposed approach performs boosting that assigns weights to the training instances with consideration of both distributional characteristics and the class imbalance. Through comparative experiments with the transfer learning and the class imbalance learning techniques, we show that the proposed model provides significantly higher defect detection accuracy while retaining better overall performance. As a result, a combination of transfer learning and class imbalance learning is highly effective for improving the prediction performance under cross-project settings. The proposed approach will help to design an effective prediction model for CPDP. The improved defect prediction performance could help to direct software quality assurance activities and reduce costs. Consequently, the quality of software can be managed effectively.
引用
收藏
页码:235 / 272
页数:38
相关论文
共 50 条
[41]   Discriminant Subspace Alignment for Cross-project Defect Prediction [J].
Li, Zhiqiang ;
Qi, Chao ;
Zhang, Li ;
Ren, Jie .
2019 IEEE SMARTWORLD, UBIQUITOUS INTELLIGENCE & COMPUTING, ADVANCED & TRUSTED COMPUTING, SCALABLE COMPUTING & COMMUNICATIONS, CLOUD & BIG DATA COMPUTING, INTERNET OF PEOPLE AND SMART CITY INNOVATION (SMARTWORLD/SCALCOM/UIC/ATC/CBDCOM/IOP/SCI 2019), 2019, :1728-1733
[42]   AdaCC: cumulative cost-sensitive boosting for imbalanced classification [J].
Iosifidis, Vasileios ;
Papadopoulos, Symeon ;
Rosenhahn, Bodo ;
Ntoutsi, Eirini .
KNOWLEDGE AND INFORMATION SYSTEMS, 2023, 65 (02) :789-826
[43]   AdaCC: cumulative cost-sensitive boosting for imbalanced classification [J].
Vasileios Iosifidis ;
Symeon Papadopoulos ;
Bodo Rosenhahn ;
Eirini Ntoutsi .
Knowledge and Information Systems, 2023, 65 :789-826
[44]   Cross-project smell-based defect prediction [J].
Bruno Sotto-Mayor ;
Meir Kalech .
Soft Computing, 2021, 25 :14171-14181
[45]   Cross-project smell-based defect prediction [J].
Sotto-Mayor, Bruno ;
Kalech, Meir .
SOFT COMPUTING, 2021, 25 (22) :14171-14181
[46]   Assessing the Effect of Imbalanced Learning on Cross-project Software Defect Prediction [J].
Sohan, Md Fahimuzzman ;
Jabiullah, Md Ismail ;
Rahman, Sheikh Shah Mohammad Motiur ;
Mahmud, S. M. Hasan .
2019 10TH INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND NETWORKING TECHNOLOGIES (ICCCNT), 2019,
[47]   Impact of hyper parameter optimization for cross-project software defect prediction [J].
Qu Y. ;
Chen X. ;
Zhao Y. ;
Ju X. .
International Journal of Performability Engineering, 2018, 14 (06) :1291-1299
[48]   Multi-Objective Cross-Project Defect Prediction [J].
Canfora, Gerardo ;
De Lucia, Andrea ;
Di Penta, Massimiliano ;
Oliveto, Rocco ;
Panichella, Annibale ;
Panichella, Sebastiano .
2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, :252-261
[49]   An Investigation of Cross-Project Learning in Online Just-In-Time Software Defect Prediction [J].
Tabassum, Sadia ;
Minku, Leandro L. ;
Feng, Danyi ;
Cabral, George G. ;
Song, Liyan .
2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, :554-565
[50]   An Abstract Syntax Tree Encoding Method for Cross-Project Defect Prediction [J].
Cai, Ziyi ;
Lu, Lu ;
Qiu, Shaojian .
IEEE ACCESS, 2019, 7 :170844-170853