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 条
  • [1] Cross Project Defect Prediction via Balanced Distribution Adaptation Based Transfer Learning
    Xu, Zhou
    Pang, Shuai
    Zhang, Tao
    Luo, Xia-Pu
    Liu, Jin
    Tang, Yu-Tian
    Yu, Xiao
    Xue, Lei
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2019, 34 (05) : 1039 - 1062
  • [2] Research on Cross - project Software Defect Prediction Based on Transfer Learning
    Chen, Ya
    Ding, Xiaoming
    ADVANCES IN MATERIALS, MACHINERY, ELECTRONICS II, 2018, 1955
  • [3] Few-Shot Learning Based Balanced Distribution Adaptation for Heterogeneous Defect Prediction
    Wang, Aili
    Zhang, Yutong
    Wu, Haibin
    Jiang, Kaiyuan
    Wang, Minhui
    IEEE ACCESS, 2020, 8 : 32989 - 33001
  • [4] Source selection and transfer defect learning based cross-project defect prediction
    Wen, Wanzhi
    Zhu, Ningbo
    Ye, Bingqing
    Li, Xikai
    Wang, Chuyue
    Chu, Jiawei
    Li, Yuehua
    INTERNATIONAL JOURNAL OF COMPUTING SCIENCE AND MATHEMATICS, 2022, 16 (03) : 195 - 207
  • [5] HDA: Cross-Project Defect Prediction via Heterogeneous Domain Adaptation With Dictionary Learning
    Xu, Zhou
    Yuan, Peipei
    Zhang, Tao
    Tang, Yutian
    Li, Shuai
    Xia, Zhen
    IEEE ACCESS, 2018, 6 : 57597 - 57613
  • [6] Cross-project software defect prediction based on domain adaptation learning and optimization
    Jin, Cong
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 171
  • [7] Manifold embedded distribution adaptation for cross-project defect prediction
    Sun, Ying
    Jing, Xiao-Yuan
    Wu, Fei
    Sun, Yanfei
    IET SOFTWARE, 2020, 14 (07) : 825 - 838
  • [8] Balanced Distribution Adaptation for Transfer Learning
    Wang, Jindong
    Chen, Yiqiang
    Hao, Shuji
    Feng, Wenjie
    Shen, Zhiqi
    2017 17TH IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2017, : 1129 - 1134
  • [9] A Survey on Transfer Learning for Cross-Project Defect Prediction
    Sotto-Mayor, Bruno
    Kalech, Meir
    IEEE ACCESS, 2024, 12 : 93398 - 93425
  • [10] Joint distribution matching model for distribution-adaptation-based cross-project defect prediction
    Qiu, Shaojian
    Lu, Lu
    Jiang, Siyu
    IET SOFTWARE, 2019, 13 (05) : 393 - 402