Better Knowledge Enhancement for Privacy-Preserving Cross-Project Defect Prediction

Yuying Wang, Yichen Li, Haozhao Wang, Lei Zhao, Xiaofang Zhang
12/23/2024
cs.LGcs.SE

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Cross-Project Defect Prediction (CPDP) poses a non-trivial challenge to construct a reliable defect predictor by leveraging data from other projects, particularly when data owners are concerned about data privacy. In recent years, Federated Learning (FL) has become an emerging paradigm to guarantee privacy information by collaborative training a global model among multiple parties without sharing raw data. While the direct application of FL to the CPDP task offers a promising solution to address privacy concerns, the data heterogeneity arising from proprietary projects across different companies or organizations will bring troubles for model training. In this paper, we study the privacy-preserving cross-project defect prediction with data heterogeneity under the federated learning framework. To address this problem, we propose a novel knowledge enhancement approach named FedDP with two simple but effective solutions: 1. Local Heterogeneity Awareness and 2. Global Knowledge Distillation. Specifically, we employ open-source project data as the distillation dataset and optimize the global model with the heterogeneity-aware local model ensemble via knowledge distillation. Experimental results on 19 projects from two datasets demonstrate that our method significantly outperforms baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2024better,
  title  = {Better Knowledge Enhancement for Privacy-Preserving Cross-Project Defect Prediction},
  author = {Yuying Wang and Yichen Li and Haozhao Wang and Lei Zhao and Xiaofang Zhang},
  year   = {2024},
  eprint = {2412.17317},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.17317v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.17317.svg)](https://codeofpaper.com/paper/2412.17317)

Discussion