arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.17317cs.LGcs.SE
收藏

更好的隐私保护跨项目缺陷预测知识增强

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

School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院)

Yuying Wang, Yichen Li, Haozhao Wang, Lei Zhao, Xiaofang Zhang

AI总结:

本文研究联邦学习框架下具有数据异构性的隐私保护跨项目缺陷预测问题,提出名为FedDP的知识增强方法,通过局部异构性感知和全局知识蒸馏优化模型,在19个项目上显著优于基线。

摘要:

跨项目缺陷预测(CPDP)在利用其他项目数据构建可靠的缺陷预测器时面临重大挑战,尤其是当数据所有者关注数据隐私时。近年来,联邦学习(FL)已成为一种新兴范式,通过在多方之间协作训练全局模型而不共享原始数据来保证隐私信息。虽然将FL直接应用于CPDP任务为解决隐私问题提供了有前景的方案,但不同公司或组织专有项目间的数据异构性会给模型训练带来困难。本文在联邦学习框架下研究具有数据异构性的隐私保护跨项目缺陷预测。为解决该问题,我们提出了一种名为FedDP的新型知识增强方法,包含两个简单但有效的方案:1.局部异构性感知;2.全局知识蒸馏。具体而言,我们采用开源项目数据作为蒸馏数据集,并通过具有异构性感知的局部模型集成结合知识蒸馏来优化全局模型。在两个数据集的19个项目上的实验结果表明,我们的方法显著优于基线方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑