A cross-project software defect prediction method based on a twin network
By employing a data migration and differential weight fusion method based on Siamese networks, the problems of data distribution differences and class imbalance in cross-project software defect prediction are addressed, achieving higher prediction accuracy and stability, and enhancing the model's ability to identify defect samples.
Patent Information
- Application Number
- CN202610590216.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-30
- Publication Date
- 2026-07-10
AI Technical Summary
In existing cross-project software defect prediction technologies, there are significant differences in data distribution between the source project and the target project, and a severe imbalance between defect-type samples and non-defect-type samples. This makes it difficult for the model to effectively transfer defect-related features and learn insufficiently from a few defect samples, thus failing to guarantee prediction accuracy and stability.
A twin network-based approach is adopted, which addresses the issues of data distribution differences and class imbalance across projects through data migration, difference weight fusion, and twin network feature encoding, including data normalization, training of a GAN-based software defect data migration model, difference weight calculation, and training of a Deep SVDD defect discriminator.
It improves the accuracy and stability of cross-project software defect prediction by preserving the defect-related features of the source project, enhancing data adaptability, reducing noise risk, mitigating class imbalance, and improving the model's ability to identify defect samples.
Smart Images

Figure CN122364092A_ABST