Cross Project Defect Prediction via Balanced Distribution Adaptation Based Transfer Learning

被引:0
|
作者
Zhou Xu
Shuai Pang
Tao Zhang
Xia-Pu Luo
Jin Liu
Yu-Tian Tang
Xiao Yu
Lei Xue
机构
[1] Harbin Engineering University,College of Computer Science and Technology
[2] Wuhan University,School of Computer Science
[3] The Hong Kong Polytechnic University,Department of Computing
[4] Chinese Academy of Sciences,Key Laboratory of Network Assessment Technology, Institute of Information Engineering
[5] Guilin University of Electronic Technology,Guangxi Key Laboratory of Trusted Software
[6] City University of Hong Kong,Department of Computer Science
关键词
cross-project defect prediction; transfer learning; balancing distribution; effort-aware indicator;
D O I
暂无
中图分类号
学科分类号
摘要
Defect prediction assists the rational allocation of testing resources by detecting the potentially defective software modules before releasing products. When a project has no historical labeled defect data, cross project defect prediction (CPDP) is an alternative technique for this scenario. CPDP utilizes labeled defect data of an external project to construct a classification model to predict the module labels of the current project. Transfer learning based CPDP methods are the current mainstream. In general, such methods aim to minimize the distribution differences between the data of the two projects. However, previous methods mainly focus on the marginal distribution difference but ignore the conditional distribution difference, which will lead to unsatisfactory performance. In this work, we use a novel balanced distribution adaptation (BDA) based transfer learning method to narrow this gap. BDA simultaneously considers the two kinds of distribution differences and adaptively assigns different weights to them. To evaluate the effectiveness of BDA for CPDP performance, we conduct experiments on 18 projects from four datasets using six indicators (i.e., F-measure, g-means, Balance, AUC, EARecall, and EAF-measure). Compared with 12 baseline methods, BDA achieves average improvements of 23.8%, 12.5%, 11.5%, 4.7%, 34.2%, and 33.7% in terms of the six indicators respectively over four datasets.
引用
收藏
页码:1039 / 1062
页数:23
相关论文
共 50 条
  • [31] ALTRA: Cross-Project Software Defect Prediction via Active Learning and Tradaboost
    Yuan, Zhidan
    Chen, Xiang
    Cui, Zhanqi
    Mu, Yanzhou
    IEEE ACCESS, 2020, 8 : 30037 - 30049
  • [32] MSCPDPLab: A MATLAB toolbox for transfer learning based multi-source cross-project defect prediction
    Zou, Jiaqi
    Li, Zonghao
    Liu, Xuanying
    Tong, Haonan
    SOFTWAREX, 2023, 21
  • [33] MSCPDPLab: A MATLAB toolbox for transfer learning based multi-source cross-project defect prediction
    Zou, Jiaqi
    Li, Zonghao
    Liu, Xuanying
    Tong, Haonan
    SOFTWAREX, 2023, 21
  • [34] Research on Cross-Project Software Defect Prediction Based on Machine Learning
    Wang, Baoping
    Wang, Wennan
    Zhu, Linkai
    Liu, Wenjian
    ADVANCES IN WEB-BASED LEARNING - ICWL 2021, 2021, 13103 : 160 - 165
  • [35] Software Defect Prediction via Transfer Learning based Neural Network
    Cao, Qimeng
    Sun, Qing
    Cao, Qinghua
    Tan, Huobin
    PROCEEDINGS OF THE 2015 FIRST INTERNATIONAL CONFERENCE ON RELIABILITY SYSTEMS ENGINEERING 2015 ICRSE, 2015,
  • [36] Cross-project bug type prediction based on transfer learning
    Xiaoting Du
    Zenghui Zhou
    Beibei Yin
    Guanping Xiao
    Software Quality Journal, 2020, 28 : 39 - 57
  • [37] Cross-project bug type prediction based on transfer learning
    Du, Xiaoting
    Zhou, Zenghui
    Yin, Beibei
    Xiao, Guanping
    SOFTWARE QUALITY JOURNAL, 2020, 28 (01) : 39 - 57
  • [38] Domain Adaptation Approach for Cross-project Software Defect Prediction
    Chen S.
    Ye J.-M.
    Liu T.
    Ruan Jian Xue Bao/Journal of Software, 2020, 31 (02): : 266 - 281
  • [39] Improve cross-project just-in-time defect prediction with dynamic transfer learning
    Dai, Hongming
    Xi, Jianqing
    Dai, Hong-Liang
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 219
  • [40] An Empirical Study on Combining Source Selection and Transfer Learning for Cross-Project Defect Prediction
    Wen, Wanzhi
    Zhang, Bin
    Gu, Xiang
    Ju, Xiaolin
    2019 IEEE 1ST INTERNATIONAL WORKSHOP ON INTELLIGENT BUG FIXING (IBF '19), 2019, : 29 - 38