Dataset driven cross project defect prediction using enhanced transfer learning

(1) Lian Haihua Mail (Department of Software Engineering and Information System, Faculty of Computer Science and Information Technology, Universiti Putra Malaysia, Malaysia)
(2) * Rodziah Atan Mail (Dept. of Software Engineering and Information Systems, Faculty of Computer Science and Information Technology, Universiti Putra Malaysia, Malaysia)
(3) Suleimenova Laura Mail (Department of Computer Science, Faculty of Physics and Mathematics, South Kazakhstan Pedagogical University named after Ozbekali Zhanibekov, Kazakhstan)
(4) Kalikulov Nurzan Mail (Department of Computer Science, Faculty of Physics and Mathematics, South Kazakhstan Pedagogical University named after Ozbekali Zhanibekov, Kazakhstan)
(5) Zhamalova Kamshat Mail (Department of Computer Science, Faculty of Physics and Mathematics, South Kazakhstan Pedagogical University named after Ozbekali Zhanibekov, Kazakhstan)
*corresponding author

Abstract


This study introduces a two-stage framework for Cross-Project Defect Prediction (CPDP) with the objective of improving the detection of defective software modules using enhanced transfer learning. The research employs publicly available software defect datasets containing both source and target domains. In the first stage, feature extraction and representation learning are conducted through two distinct encoders designed to generate domain-specific representations. To reduce distribution discrepancies, the framework applies advanced preprocessing methods such as standardization, Principal Component Analysis (PCA), and Generative Adversarial Training. This combination enhances feature comparability and strengthens the basis for effective transfer across projects. The second stage implements transfer learning strategies to adapt the learned features to the target project. In order to improve predictive robustness, joint learning and fine-tuning are applied, while the Class Imbalance Problem (CIP) is addressed using the Synthetic Minority Over-sampling Technique (SMOTE). This ensures balanced classification and increases sensitivity to minority defect classes, which are often overlooked in traditional CPDP approaches. Experimental results demonstrate that the proposed framework consistently achieves higher prediction accuracy and generalizability than conventional CPDP methods. The findings suggest that incorporating adversarial training into transfer learning offers a promising pathway toward more reliable and scalable defect prediction models. For future research, the framework can be extended by integrating hybrid deep learning architectures and validating performance on large-scale industrial software systems, impactful to academic advances and practical applications in software engineering.

Keywords


Cross project software; Defect patterns; Generative adversarial learning; Transfer learning; Software defect prediction

   

DOI

https://doi.org/10.26555/ijain.v12i4.2257
      

Article metrics

Abstract views : 11

   

Cite

   


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

___________________________________________________________
International Journal of Advances in Intelligent Informatics
ISSN 2442-6571  (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
W: http://ijain.org
E: info@ijain.org (paper handling issues)
 andri.pranolo.id@ieee.org (publication issues)

View IJAIN Stats

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0