Adversarial Learning for Cross-Project Semi-Supervised Defect Prediction

被引:12
|
作者
Sun, Ying [1 ]
Jing, Xiao-Yuan [1 ,2 ,3 ]
Wu, Fei [2 ]
Li, Juanjuan [2 ]
Xing, Danlei [1 ]
Chen, Haowen [3 ]
Sun, Yanfei [2 ]
机构
[1] Nanjing Univ Posts & Telecommun, Sch Comp Sci, Nanjing 210023, Peoples R China
[2] Nanjing Univ Posts & Telecommun, Coll Automat, Nanjing 210023, Peoples R China
[3] Wuhan Univ, Sch Comp Sci, Wuhan 430072, Peoples R China
基金
中国博士后科学基金; 中国国家自然科学基金;
关键词
Data models; Predictive models; Machine learning; Correlation; Sun; Gallium nitride; Prediction algorithms; Cross-project defect prediction; adversarial learning; semi-supervised learning; NEURAL-NETWORKS; FRAMEWORK; MODELS; CODE;
D O I
10.1109/ACCESS.2020.2974527
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Cross-project defect prediction (CPDP) aims to build a prediction model on existing source projects and predict the labels of target project. The data distribution difference between different projects makes CPDP very challenging. Besides, most existing CPDP methods usually require sufficient and labeled data. However, acquiring lots of labeled data for a new project is difficult while obtaining the unlabeled data is relatively easy. A desirable approach is building a prediction model on unlabeled data and labeled data. CPDP in this scenario is called cross-project semi-supervised defect prediction (CSDP). Recently, generative adversarial networks have achieved impressive results with these strong ability of learning data distribution and discriminative representation. For effectively learning the discriminative features of data from different projects, we propose a Discriminative Adversarial Feature Learning (DAFL) approach for CSDP. DAFL consists of feature transformer and project discriminator, which compete with each other. A feature transformer tries to generate feature representation, which learns the discriminant information and preserves intrinsic structure inferred from both labeled and unlabeled data. A project discriminator tries to discriminate source and target instances on the generated representation. Experiments on 16 projects show that DAFL performs significantly better than baselines.
引用
收藏
页码:32674 / 32687
页数:14
相关论文
共 50 条
  • [1] Cross-Project Defect Prediction via Semi-Supervised Discriminative Feature Learning
    Xing, Danlei
    Wu, Fei
    Sun, Ying
    Jing, Xiao-Yuan
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2020, E103D (10) : 2237 - 2240
  • [2] Cross-project Defect Prediction Method Using Adversarial Learning
    Xing Y.
    Qian X.-M.
    Guan Y.
    Zhang S.-H.
    Zhao M.-C.
    Lin W.-T.
    Ruan Jian Xue Bao/Journal of Software, 2022, 33 (06): : 2097 - 2112
  • [3] Cross-project and Within-project Semi-supervised Software Defect Prediction Problems Study Using a Unified Solution
    Wu, Fei
    Jing, Xiao-Yuan
    Dong, Xiwei
    Cao, Jicheng
    Xu, Mingwei
    Zhang, Hongyu
    Ying, Shi
    Xu, Baowen
    PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 195 - 197
  • [4] Adversarial domain adaptation for cross-project defect prediction
    Hengjie Song
    Guobin Wu
    Le Ma
    Yufei Pan
    Qingan Huang
    Siyu Jiang
    Empirical Software Engineering, 2023, 28
  • [5] Adversarial domain adaptation for cross-project defect prediction
    Song, Hengjie
    Wu, Guobin
    Ma, Le
    Pan, Yufei
    Huang, Qingan
    Jiang, Siyu
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (05)
  • [6] Balanced Adversarial Tight Matching for Cross-Project Defect Prediction
    Jiang, Siyu
    Zhang, Jiapeng
    Guo, Feng
    Ouyang, Teng
    Li, Jing
    IET SOFTWARE, 2024, 2024
  • [7] Semi-Supervised Dose Prediction with Generative Adversarial Learning
    Lam, D.
    Sun, B.
    MEDICAL PHYSICS, 2019, 46 (06) : E418 - E418
  • [8] Manifold Learning for Cross-project Software Defect Prediction
    Sun, Jing
    Jing, Xiaoyuan
    Dong, Xiwei
    PROCEEDINGS OF 2018 5TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS (CCIS), 2018, : 567 - 571
  • [9] A Survey on Transfer Learning for Cross-Project Defect Prediction
    Sotto-Mayor, Bruno
    Kalech, Meir
    IEEE ACCESS, 2024, 12 : 93398 - 93425
  • [10] Cross-project defect prediction based on autoencoder with dynamic adversarial adaptation
    Zhang, Wen
    Zhao, Jiangpeng
    Qin, Guangjie
    Wang, Song
    APPLIED INTELLIGENCE, 2025, 55 (05)