TY - JOUR
T1 - Joint Instance and Feature Adaptation for Heterogeneous Defect Prediction
AU - Ren, Yujie
AU - Liu, Bin
AU - Wang, Shihai
N1 - Publisher Copyright:
© 1963-2012 IEEE.
PY - 2024/3/1
Y1 - 2024/3/1
N2 - Heterogeneous defect prediction (HDP) predicts defects for the current project (target) using heterogeneous data from other projects (source), which can improve software quality effectively. The ability to reduce the distribution divergence between the source and target project is crucial to the performance of HDP. Existing HDP methods address this issue only by using feature adaptation techniques, i.e., feature matching and feature transformation. However, without considering instance adaptability differences, they cannot fully exploit the potential of instance adaptation and thus cannot make the source and target distribution completely matched. To address this problem, we propose a novel HDP approach called joint instance and feature adaptation (JIFA) combining both instance adaptation and feature adaptation to narrow the gap between projects. Making joint use of both adaptation techniques, JIFA not only further reduces the distribution discrepancy but also enhances its robustness to abnormal outliers. Besides, discriminant information is also preserved in JIFA so that a better classification boundary can be obtained. Particularly, JIFA applies to both heterogeneous and homogeneous cross-project defect prediction (CPDP) tasks. The experimental results from 22 projects indicate that JIFA outperforms a range of advanced heterogeneous and homogeneous CPDP approaches.
AB - Heterogeneous defect prediction (HDP) predicts defects for the current project (target) using heterogeneous data from other projects (source), which can improve software quality effectively. The ability to reduce the distribution divergence between the source and target project is crucial to the performance of HDP. Existing HDP methods address this issue only by using feature adaptation techniques, i.e., feature matching and feature transformation. However, without considering instance adaptability differences, they cannot fully exploit the potential of instance adaptation and thus cannot make the source and target distribution completely matched. To address this problem, we propose a novel HDP approach called joint instance and feature adaptation (JIFA) combining both instance adaptation and feature adaptation to narrow the gap between projects. Making joint use of both adaptation techniques, JIFA not only further reduces the distribution discrepancy but also enhances its robustness to abnormal outliers. Besides, discriminant information is also preserved in JIFA so that a better classification boundary can be obtained. Particularly, JIFA applies to both heterogeneous and homogeneous cross-project defect prediction (CPDP) tasks. The experimental results from 22 projects indicate that JIFA outperforms a range of advanced heterogeneous and homogeneous CPDP approaches.
KW - Domain adaptation (DA)
KW - feature adaptation
KW - heterogeneous defect prediction (HDP)
KW - instance adaptation
KW - software defect prediction (SDP)
UR - https://www.scopus.com/pages/publications/85174800623
U2 - 10.1109/TR.2023.3305356
DO - 10.1109/TR.2023.3305356
M3 - 文章
AN - SCOPUS:85174800623
SN - 0018-9529
VL - 73
SP - 741
EP - 756
JO - IEEE Transactions on Reliability
JF - IEEE Transactions on Reliability
IS - 1
ER -