Balanced Adversarial Tight Matching for Cross-Project Defect Prediction

Cross-project defect prediction (CPDP) is an attractive research area in software testing. It identifies defects in projects with limited labeled data (target projects) by utilizing predictive models from data-rich projects (source projects). Existing CPDP methods based on transfer learning mainly r...

Full description

Saved in:
Bibliographic Details
Main Authors: Siyu Jiang, Jiapeng Zhang, Feng Guo, Teng Ouyang, Jing Li
Format: Article
Language:English
Published: Wiley 2024-01-01
Series:IET Software
Online Access:http://dx.doi.org/10.1049/2024/1561351
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850174476187074560
author Siyu Jiang
Jiapeng Zhang
Feng Guo
Teng Ouyang
Jing Li
author_facet Siyu Jiang
Jiapeng Zhang
Feng Guo
Teng Ouyang
Jing Li
author_sort Siyu Jiang
collection DOAJ
description Cross-project defect prediction (CPDP) is an attractive research area in software testing. It identifies defects in projects with limited labeled data (target projects) by utilizing predictive models from data-rich projects (source projects). Existing CPDP methods based on transfer learning mainly rely on the assumption of a unimodal distribution and consider the case where the feature distribution has one obvious peak. However, in actual situations, the feature distribution of project samples often exhibits multiple peaks that cannot be ignored. It manifests as a multimodal distribution, making it challenging to align distributions between different projects. To address this issue, we propose a balanced adversarial tight-matching model for CPDP. Specifically, this method employs multilinear conditioning to obtain the cross-covariance of both features and classifier predictions, capturing the multimodal distribution of the feature. When reducing the captured multimodal distribution differences, pseudo-labels are needed, but pseudo-labels have uncertainty. Therefore, we additionally add an auxiliary classifier and attempt to generate pseudo-labels using a pseudo-label strategy with less uncertainty. Finally, the feature generator and two classifiers undergo adversarial training to align the multimodal distributions of different projects. This method outperforms the state-of-the-art CPDP model used on the benchmark dataset.
format Article
id doaj-art-d558e873944f4e6eb8b2f8b0e5c5f9e1
institution OA Journals
issn 1751-8814
language English
publishDate 2024-01-01
publisher Wiley
record_format Article
series IET Software
spelling doaj-art-d558e873944f4e6eb8b2f8b0e5c5f9e12025-08-20T02:19:38ZengWileyIET Software1751-88142024-01-01202410.1049/2024/1561351Balanced Adversarial Tight Matching for Cross-Project Defect PredictionSiyu Jiang0Jiapeng Zhang1Feng Guo2Teng Ouyang3Jing Li4School of Information Science and TechnologySchool of Information Science and TechnologySchool of Information Science and TechnologySchool of Information Science and TechnologyGuangzhou City University of TechnologyCross-project defect prediction (CPDP) is an attractive research area in software testing. It identifies defects in projects with limited labeled data (target projects) by utilizing predictive models from data-rich projects (source projects). Existing CPDP methods based on transfer learning mainly rely on the assumption of a unimodal distribution and consider the case where the feature distribution has one obvious peak. However, in actual situations, the feature distribution of project samples often exhibits multiple peaks that cannot be ignored. It manifests as a multimodal distribution, making it challenging to align distributions between different projects. To address this issue, we propose a balanced adversarial tight-matching model for CPDP. Specifically, this method employs multilinear conditioning to obtain the cross-covariance of both features and classifier predictions, capturing the multimodal distribution of the feature. When reducing the captured multimodal distribution differences, pseudo-labels are needed, but pseudo-labels have uncertainty. Therefore, we additionally add an auxiliary classifier and attempt to generate pseudo-labels using a pseudo-label strategy with less uncertainty. Finally, the feature generator and two classifiers undergo adversarial training to align the multimodal distributions of different projects. This method outperforms the state-of-the-art CPDP model used on the benchmark dataset.http://dx.doi.org/10.1049/2024/1561351
spellingShingle Siyu Jiang
Jiapeng Zhang
Feng Guo
Teng Ouyang
Jing Li
Balanced Adversarial Tight Matching for Cross-Project Defect Prediction
IET Software
title Balanced Adversarial Tight Matching for Cross-Project Defect Prediction
title_full Balanced Adversarial Tight Matching for Cross-Project Defect Prediction
title_fullStr Balanced Adversarial Tight Matching for Cross-Project Defect Prediction
title_full_unstemmed Balanced Adversarial Tight Matching for Cross-Project Defect Prediction
title_short Balanced Adversarial Tight Matching for Cross-Project Defect Prediction
title_sort balanced adversarial tight matching for cross project defect prediction
url http://dx.doi.org/10.1049/2024/1561351
work_keys_str_mv AT siyujiang balancedadversarialtightmatchingforcrossprojectdefectprediction
AT jiapengzhang balancedadversarialtightmatchingforcrossprojectdefectprediction
AT fengguo balancedadversarialtightmatchingforcrossprojectdefectprediction
AT tengouyang balancedadversarialtightmatchingforcrossprojectdefectprediction
AT jingli balancedadversarialtightmatchingforcrossprojectdefectprediction