Joint Instance and Feature Adaptation for Heterogeneous Defect Prediction

Yujie Ren,Bin Liu,Shihai Wang
DOI: https://doi.org/10.1109/tr.2023.3305356
IF: 5.883
2023-01-01
IEEE Transactions on Reliability
Abstract: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.
engineering, electrical & electronic,computer science, software engineering, hardware & architecture
What problem does this paper attempt to address?