一个保护隐私的联合元学习框架,用于跨项目在软件系统中的缺陷预测
Jhansi Lakshmi Potharlanka1, Kareena Yashmin Shaik2, Bharath Kumar N3
1Department of Computer Science and Engineering, Vignan's Foundation for Science Technology and Research, Guntur, 522213, India. laxmi.jhansi@gmail.com.
Scientific reports
|November 18, 2025
概括
高效通信联合元学习 (ECFML) 框架通过使用紧,高效的模型来改进软件缺陷预测. 它在保持隐私和减少联合学习环境中的通信开销的同时,实现了竞争力的结果.
科学领域:
- 软件工程 软件工程 软件工程
- 机器学习 机器学习
- 数据 隐私 数据 隐私 数据
背景情况:
- 软件缺陷预测 (SDP) 对于早期识别故障模块至关重要.
- 跨项目缺陷预测 (CPDP) 面临的挑战是数据异质性和隐私问题.
- 现有的方法经常在联合环境中与计算和通信开销作斗争.
研究的目的:
- 引入有效通信联合元学习 (ECFML) 框架,以保护隐私的CPDP.
- 为软件指标表示学习开发一种轻量级但有效的模型.
- 评估ECFML的性能,隐私保证和联合设置中的效率.
主要方法:
- 在ECFML中,MAML集成了以移动视觉变压器 (MobileViT) 为灵感的骨干,用于表式软件指标.
- 特征向量被转换成由1D卷积和变压器层处理的标记序列.
- 拉普拉斯差分隐私被用来确保联邦学习过程中的隐私保证.
主要成果:
- 在AEEEM基准 (EQ,JDT,PDE) 上,ECFML显示出与ResNet-18和U-Net相比具有竞争力或优异的性能.
- 该框架在EQ数据集上的F1分数和AUC上取得了显著的收益,并在PDE上取得了持续的改进.
- 在异质项目中,ECFML表现出稳定的泛化,并在某些噪音和对抗性干扰下保持性能.
结论:
- 对于联合的SDP,ECFML提供了预测准确性,隐私保护和通信效率之间的有效平衡.
- 紧的模型设计 (∼142k参数,∼0.54MB) 减少了计算和通信开销.
- 对于需要强大的缺陷预测的对隐私敏感的软件存储库来说,ECFML提供了一个可行的解决方案.
相关概念视频
Uncertainty: Overview
In analytical chemistry, we often perform repetitive measurements to detect and minimize inaccuracies caused by both determinate and indeterminate errors. Despite the cares we take, the presence of random errors means that repeated measurements almost never have exactly the same magnitude. The collective difference between these measurements - observed values - and the estimated or expected value is called uncertainty. Uncertainty is conventionally written after the estimated or expected value.
Propagation of Uncertainty from Random Error
An experiment often consists of more than a single step. In this case, measurements at each step give rise to uncertainty. Because the measurements occur in successive steps, the uncertainty in one step necessarily contributes to that in the subsequent step. As we perform statistical analysis on these types of experiments, we must learn to account for the propagation of uncertainty from one step to the next. The propagation of uncertainty depends on the type of arithmetic operation performed on...
Censoring Survival Data
Survival analysis is a statistical method used to analyze time-to-event data, often employed in fields such as medicine, engineering, and social sciences. One of the key challenges in survival analysis is dealing with incomplete data, a phenomenon known as "censoring." Censoring occurs when the event of interest (such as death, relapse, or system failure) has not occurred for some individuals by the end of the study period or is otherwise unobservable, and it might have many different reasons...
