Software Defect Prediction via Generative Adversarial Networks and Pre-Trained Model

被引:0
|
作者
Song, Wei [1 ]
Gan, Lu [1 ]
Bao, Tie [1 ]
机构
[1] College of Computer Science and Technology, Jilin University, Changchun,130012, China
关键词
Codes (symbols) - Computer software selection and evaluation - Deep learning - Defects - Generative adversarial networks - Learning systems - Semantics - Software design;
D O I
10.14569/IJACSA.2024.01503119
中图分类号
学科分类号
摘要
Software defect prediction, which aims to predict defective modules during software development, has been implemented to assist developers in identifying defects and ensure software quality. Traditional defect prediction methods utilize manually designed features such as Lines Of Code that fail to capture the syntactic and semantic structures of code. Moreover, the high cost and difficulty of building the training set lead to insufficient data, which poses a significant challenge for training deep learning models, particularly for new projects. To overcome the practical challenge of data limitation and improve predictive capacity, this paper presents DP-GANPT, a novel defect prediction model that integrates generative adversarial networks and state-of-the-art code pre-trained models, employing a novel bi-modal code-prompt input representation. The proposed approach explores the use of code pre-trained model as autoencoders and employs generative adversarial networks algorithms and semi-supervised learning techniques for optimization. To facilitate effective training and evaluation, a new software defect prediction dataset is constructed based on the existing PROMISE dataset and its associated engineering files. Extensive experiments are performed on both within-project and cross-project defect prediction tasks to evaluate the effectiveness of DP-GANPT. The results reveal that DP-GANPT outperforms all the state-of-theart baselines, and achieves performance comparable to them with significantly less labeled data. © (2024), (Science and Information Organization). All Rights Reserved.
引用
收藏
页码:1196 / 1209
相关论文
共 50 条
  • [1] Pre-trained language model-enhanced conditional generative adversarial networks for intrusion detection
    Fang Li
    Hang Shen
    Jieai Mai
    Tianjing Wang
    Yuanfei Dai
    Xiaodong Miao
    [J]. Peer-to-Peer Networking and Applications, 2024, 17 : 227 - 245
  • [2] Pre-trained language model-enhanced conditional generative adversarial networks for intrusion detection
    Li, Fang
    Shen, Hang
    Mai, Jieai
    Wang, Tianjing
    Dai, Yuanfei
    Miao, Xiaodong
    [J]. PEER-TO-PEER NETWORKING AND APPLICATIONS, 2024, 17 (01) : 227 - 245
  • [3] Survey on leveraging pre-trained generative adversarial networks for image editing and restoration
    Liu, Ming
    Wei, Yuxiang
    Wu, Xiaohe
    Zuo, Wangmeng
    Zhang, Lei
    [J]. SCIENCE CHINA-INFORMATION SCIENCES, 2023, 66 (05)
  • [4] Survey on leveraging pre-trained generative adversarial networks for image editing and restoration
    Ming LIU
    Yuxiang WEI
    Xiaohe WU
    Wangmeng ZUO
    Lei ZHANG
    [J]. Science China(Information Sciences), 2023, 66 (05) : 28 - 55
  • [5] DaDL-SChlo: protein subchloroplast localization prediction based on generative adversarial networks and pre-trained protein language model
    Wang, Xiao
    Han, Lijun
    Wang, Rong
    Chen, Haoran
    [J]. BRIEFINGS IN BIOINFORMATICS, 2023, 24 (03)
  • [6] A General Endoscopic Image Enhancement Method Based on Pre-trained Generative Adversarial Networks
    Li, Yating
    Fan, Jingfan
    Ai, Danni
    Song, Hong
    Wang, Yongtian
    Yang, Jian
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON BIOINFORMATICS AND BIOMEDICINE, 2020, : 2403 - 2408
  • [7] Pre-trained Model-based Software Defect Prediction for Edge-cloud Systems
    Kwon, Sunjae
    Lee, Sungu
    Ryu, Duksan
    Baik, Jongmoon
    [J]. JOURNAL OF WEB ENGINEERING, 2023, 22 (02): : 255 - 278
  • [8] Wearing myopia glasses on GANs: Mitigating bias for pre-trained Generative Adversarial Networks via online prior perturbation
    Chen, Qiuling
    Ye, Ayong
    Ye, Guohua
    Huang, Chuan
    [J]. APPLIED SOFT COMPUTING, 2024, 166
  • [9] Pre-trained Adversarial Perturbations
    Ban, Yuanhao
    Dong, Yinpeng
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [10] EAPT: An encrypted traffic classification model via adversarial pre-trained transformers
    Zhan, Mingming
    Yang, Jin
    Jia, Dongqing
    Fu, Geyuan
    [J]. Computer Networks, 2025, 257