Cross-Project Software Defect Prediction Using Differential Perception Combined with Inheritance Federated Learning

Cross-project software defect prediction (CPDP) refers to the construction of defect prediction models by collecting multi-source project data, but the heterogeneity of data among projects and the modern problem of “data islands” hinder its development. In response to these challenges, we propose a CPDP algorithm based on differential perception combined with inheritance federated learning (FedDPI). Firstly, we design an efficient data preprocessing scheme, which lays a reliable data foundation for federated learning by integrating oversampling and optimal feature selection methods. Secondly, a two-stage collaborative optimization mechanism is proposed in the federated learning framework: the inheritance private model (IPM) is introduced in the local training stage, and the differential perception algorithm is used in the global aggregation stage to dynamically allocate aggregation weights, forming positive feedback for training to overcome the negative impact of data heterogeneity. In addition, we utilize the Ranger optimization algorithm to improve the convergence speed and privacy security of the model through its irreversible mixed optimization operation. The experimental results show that FedDPI significantly improves predictive performance in various defect item data combination experiments. Compared with different deep learning and federated learning algorithms, the average improvement in AUC and G-mean indicators is 0.2783 and 0.2673, respectively, verifying the practicality and effectiveness of federated learning and two-stage collaborative optimization mechanisms in the field of CPDP.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2024-12-11
DOI
https://doi.org/10.3390/electronics13244893
Citations
3
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
2.34

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cross-Project Software Defect Prediction Using Differential Perception Combined with Inheritance Federated Learning

Y. T. Feng, H X Chen, Haibin Wu, Mingji Yang et al.
3 citations
Electronics
Software Engineering Research
2.34
article

Cross-Project Software Defect Prediction Using Differential Perception Combined with Inheritance Federated Learning

Y. T. Feng, H X Chen, Haibin Wu, Mingji Yang, Aili Wang, Yuji Iwahori
article en
3 citations

Abstract

Cross-project software defect prediction (CPDP) refers to the construction of defect prediction models by collecting multi-source project data, but the heterogeneity of data among projects and the modern problem of “data islands” hinder its development. In response to these challenges, we propose a CPDP algorithm based on differential perception combined with inheritance federated learning (FedDPI). Firstly, we design an efficient data preprocessing scheme, which lays a reliable data foundation for federated learning by integrating oversampling and optimal feature selection methods. Secondly, a two-stage collaborative optimization mechanism is proposed in the federated learning framework: the inheritance private model (IPM) is introduced in the local training stage, and the differential perception algorithm is used in the global aggregation stage to dynamically allocate aggregation weights, forming positive feedback for training to overcome the negative impact of data heterogeneity. In addition, we utilize the Ranger optimization algorithm to improve the convergence speed and privacy security of the model through its irreversible mixed optimization operation. The experimental results show that FedDPI significantly improves predictive performance in various defect item data combination experiments. Compared with different deep learning and federated learning algorithms, the average improvement in AUC and G-mean indicators is 0.2783 and 0.2673, respectively, verifying the practicality and effectiveness of federated learning and two-stage collaborative optimization mechanisms in the field of CPDP.

ElectronicsVol. 13(24)
Harbin University of Science and Technology (CN), Shenzhen Polytechnic University (CN), Chubu University (JP)
U.S. Department of Transportation, Shenzhen Polytechnic, Chubu University, Natural Science Foundation of Heilongjiang Province, Japan Society for the Promotion of Science
Partnerships for the goals
Openalex Percentile: Top 8%
Software Engineering Research
2.34
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.