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 条
  • [41] Semi-supervised Seizure Prediction with Generative Adversarial Networks
    Nhan Duy Truong
    Zhou, Luping
    Kavehei, Omid
    2019 41ST ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY (EMBC), 2019, : 2369 - 2372
  • [42] Heterogeneous Cross-Project Defect Prediction Using Encoder Networks and Transfer Learning
    Haque, Radowanul
    Ali, Aftab
    McClean, Sally
    Cleland, Ian
    Noppen, Joost
    IEEE ACCESS, 2024, 12 : 409 - 419
  • [43] Using active learning selection approach for cross-project software defect prediction
    Mi, Wenbo
    Li, Yong
    Wen, Ming
    Chen, Youren
    CONNECTION SCIENCE, 2022, 34 (01) : 1482 - 1499
  • [44] Cross-project software defect prediction based on domain adaptation learning and optimization
    Jin, Cong
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 171
  • [45] Adversarial semi-supervised learning method for printed circuit board unknown defect detection
    Shi, Wei
    Zhang, Linlin
    Li, Yihui
    Liu, Hong
    JOURNAL OF ENGINEERING-JOE, 2020, 2020 (13): : 505 - 510
  • [46] Cross-Project Transfer Learning on Lightweight Code Semantic Graphs for Defect Prediction
    Fang, Dingbang
    Liu, Shaoying
    Li, Yang
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (07) : 1095 - 1117
  • [47] 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
  • [48] A Novel Cross-Project Software Defect Prediction Algorithm Based on Transfer Learning
    Shiqi Tang
    Song Huang
    Changyou Zheng
    Erhu Liu
    Cheng Zong
    Yixian Ding
    TsinghuaScienceandTechnology, 2022, 27 (01) : 41 - 57
  • [49] A Three-Stage Defect Prediction Model for Cross-Project Defect Prediction
    Huang, Song
    Wu, Yaning
    Ji, Haijin
    Bai, Chengzu
    2017 FOURTH INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND THEIR APPLICATIONS (DSA 2017), 2017, : 169 - 169
  • [50] Graph-Based Feature Learning for Cross-Project Software Defect Prediction
    Abdu, Ahmed
    Zhai, Zhengjun
    Abdo, Hakim A.
    Algabri, Redhwan
    Lee, Sungon
    CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 77 (01): : 161 - 180