arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2506.22752cs.SE
收藏

缺陷严重性预测的隐私保护方法

Privacy-Preserving Methods for Bug Severity Prediction

Havvanur Dervişoğlu, Ruşen Halepmollası, Elif Eyvaz

AI总结:

本研究针对工业界数据共享受限问题,利用源代码度量和LLM进行方法级缺陷严重性预测,对比了集中式学习、联邦学习与合成数据生成方法,发现联邦学习与合成数据在无需共享数据时即可达到与集中训练相当的预测效果。

摘要:

缺陷严重性预测是软件工程中的一项关键任务,因为它能够实现软件维护中更高效的资源分配和优先级排序。尽管基于AI的分析和模型显著需要访问广泛的数据集,但由于数据共享限制和标记数据的可用性有限,工业应用面临挑战。在本研究中,我们使用源代码度量和大型语言模型(LLMs)以及两个广泛使用的数据集,研究了方法级别的缺陷严重性预测。我们比较了使用集中式学习、联邦学习和合成数据生成训练的模型的性能。我们使用两个广泛认可的软件缺陷数据集获得的实验结果表明,使用联邦学习和合成数据训练的模型在不共享数据的情况下取得了与集中训练模型相当的结果。我们的发现突出了联邦学习和合成数据生成等隐私保护方法的潜力,以在数据共享是主要挑战的工业环境中实现有效的缺陷严重性预测。源代码和数据集可在我们的GitHub仓库获取:https://github.com/drvshavva/EASE2025-Privacy-Preserving-Methods-for-Bug-Severity-Prediction。

英文摘要:

Bug severity prediction is a critical task in software engineering as it enables more efficient resource allocation and prioritization in software maintenance. While AI-based analyses and models significantly require access to extensive datasets, industrial applications face challenges due to data-sharing constraints and the limited availability of labeled data. In this study, we investigate method-level bug severity prediction using source code metrics and Large Language Models (LLMs) with two widely used datasets. We compare the performance of models trained using centralized learning, federated learning, and synthetic data generation. Our experimental results, obtained using two widely recognized software defect datasets, indicate that models trained with federated learning and synthetic data achieve comparable results to centrally trained models without data sharing. Our finding highlights the potential of privacy-preserving approaches such as federated learning and synthetic data generation to enable effective bug severity prediction in industrial context where data sharing is a major challenge. The source code and dataset are available at our GitHub repository: https://github.com/drvshavva/EASE2025-Privacy-Preserving-Methods-for-Bug-Severity-Prediction.

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

↑