Dazzle:使用优化的生成对抗网络解决安全数据类不平衡问题
Dazzle: Using Optimized Generative Adversarial Networks to Address Security Data Class Imbalance Issue
摘要:
背景资料:机器学习技术在诸如软件漏洞预测等许多软件安全任务中得到了广泛的应用并表现出良好的性能。然而,软件漏洞数据集内的类比率通常是高度不平衡的(因为观察到的漏洞的百分比通常非常低)。目标:帮助安全从业人员解决软件安全数据类不平衡问题,并进一步帮助使用重新采样的数据集构建更好的预测模型。方法:我们引入了一种称为Dazzle的方法,它是条件Wasserstein生成对抗网络的优化版本。Dazzle使用一种名为贝叶斯优化的新型优化器探索了cWGAN-GP的架构超参数。我们使用Dazzle来生成少数类样本,以重新采样原始的不平衡训练数据集。结果:我们使用三个软件安全数据集评估Dazzle,即,Moodle漏洞文件、Ambari错误报告和JavaScript函数代码。我们表明,Dazzle是实用的,并证明了对现有的最先进的过采样技术,如SMOTE(例如,在所有数据集中,在召回方面平均比SMOTE提高约60%)。结论:基于这项研究,我们建议使用优化的GANs作为安全漏洞数据类不平衡问题的替代方法。
英文摘要:
Background: Machine learning techniques have been widely used and demonstrate promising performance in many software security tasks such as software vulnerability prediction. However, the class ratio within software vulnerability datasets is often highly imbalanced (since the percentage of observed vulnerability is usually very low). Goal: To help security practitioners address software security data class imbalanced issues and further help build better prediction models with resampled datasets. Method: We introduce an approach called Dazzle which is an optimized version of conditional Wasserstein Generative Adversarial Networks with gradient penalty (cWGAN-GP). Dazzle explores the architecture hyperparameters of cWGAN-GP with a novel optimizer called Bayesian Optimization. We use Dazzle to generate minority class samples to resample the original imbalanced training dataset. Results: We evaluate Dazzle with three software security datasets, i.e., Moodle vulnerable files, Ambari bug reports, and JavaScript function code. We show that Dazzle is practical to use and demonstrates promising improvement over existing state-of-the-art oversampling techniques such as SMOTE (e.g., with an average of about 60% improvement rate over SMOTE in recall among all datasets). Conclusion: Based on this study, we would suggest the use of optimized GANs as an alternative method for security vulnerability data class imbalanced issues.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。