缓解软件漏洞评估中的数据不平衡问题:数据增强是否有效?
Mitigating Data Imbalance for Software Vulnerability Assessment: Does Data Augmentation Help?
AI总结:
该研究针对软件漏洞评估中CVSS类别数据不平衡的问题,采用9种数据增强技术开展大规模实验,验证了缓解数据不平衡可显著提升模型预测性能,为该领域提供了首个有效的解决方案参考。
摘要:
研究背景:软件漏洞(Software Vulnerability,SV)评估正被越来越多地用于应对数量与复杂度持续增长的软件漏洞。数据驱动方法已被广泛应用于自动化软件漏洞评估任务,尤其是对通用漏洞评分系统(Common Vulnerability Scoring System,CVSS)指标(如可利用性、影响范围和严重程度)的预测。软件漏洞评估受困于CVSS类别的不平衡分布,但现有文献对这类数据不平衡问题的理解和解决都十分有限。研究目标:我们开展了一项大规模研究,量化数据不平衡的影响,并通过数据增强技术缓解软件漏洞评估中的这一问题。研究方法:我们采用9种数据增强技术来平衡CVSS指标的类别分布,随后对比了使用和不使用增强数据时软件漏洞评估模型的性能。研究结果:通过在18万余个真实世界软件漏洞上开展的大量实验,我们发现缓解数据不平衡可显著提升模型在所有CVSS任务上的预测性能,马修斯相关系数(Matthews Correlation Coefficient)最高可提升31.8%。我们还发现,结合随机文本插入、删除和替换的简单文本增强方法,在所有任务上的表现都优于基线模型。研究结论:我们的研究为解决软件漏洞评估中的数据不平衡问题提供了研究动机,也迈出了具有前景的第一步。
英文摘要:
Background: Software Vulnerability (SV) assessment is increasingly adopted to address the ever-increasing volume and complexity of SVs. Data-driven approaches have been widely used to automate SV assessment tasks, particularly the prediction of the Common Vulnerability Scoring System (CVSS) metrics such as exploitability, impact, and severity. SV assessment suffers from the imbalanced distributions of the CVSS classes, but such data imbalance has been hardly understood and addressed in the literature. Aims: We conduct a large-scale study to quantify the impacts of data imbalance and mitigate the issue for SV assessment through the use of data augmentation. Method: We leverage nine data augmentation techniques to balance the class distributions of the CVSS metrics. We then compare the performance of SV assessment models with and without leveraging the augmented data. Results: Through extensive experiments on 180k+ real-world SVs, we show that mitigating data imbalance can significantly improve the predictive performance of models for all the CVSS tasks, by up to 31.8% in Matthews Correlation Coefficient. We also discover that simple text augmentation like combining random text insertion, deletion, and replacement can outperform the baseline across the board. Conclusions: Our study provides the motivation and the first promising step toward tackling data imbalance for effective SV assessment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。