Cross-project Software Defect Prediction Method Based on Personalized Federated Learning
Author:
Affiliation:

Clc Number:

TP311

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    To address the dual challenges of data privacy and project heterogeneity in cross-project software defect prediction, this study proposes a framework named PRIDE-SDP. The core contribution of the proposed framework lies in the deep integration of three key techniques. First, a personalized federated learning paradigm is adopted to customize dedicated prediction models for heterogeneous projects. Second, an (ε, δ)-differential privacy mechanism with rigorous mathematical guarantees is integrated to ensure that data remains local. Third, a dedicated temporal-contextual fusion network (TCFN) is designed to efficiently capture software metric features. Experiments conducted on six dataset groups covering 27 open-source projects and 3 enterprise projects validate the effectiveness of the proposed framework. Compared with state-of-the-art cross-project defect prediction baselines, PRIDE-SDP achieves an average improvement of 10.7% in AUC and 7.3% in F1-score. More pronounced performance gains are observed on enterprise datasets, where average improvements of 45.2% in MCC, 29.5% in Effort@20%, and 35.4% in F1-score are obtained over all advanced baseline methods. Meanwhile, under strong privacy guarantees, the framework’s average performance retention rate remains above 98% of the optimal performance, and the attack accuracy in membership inference attack experiments is reduced by more than 36% on average. Experimental results demonstrate that PRIDE-SDP effectively balances high predictive performance with privacy protection and personalized adaptation capabilities.

    Reference
    Related
    Cited by
Get Citation

刘子扬,祝义,周湘,李建豪,袁春鸿,郝国生.基于个性化联邦学习的跨项目软件缺陷预测方法.软件学报,2026,37(7):2911-2935

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:September 05,2025
  • Revised:October 20,2025
  • Adopted:
  • Online: December 26,2025
  • Published: July 06,2026
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-4
Address:4# South Fourth Street, Zhong Guan Cun, Beijing 100190,Postal Code:100190
Phone:010-62562563 Fax:010-62562533 Email:jos@iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063