arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.00665cs.CRcs.SE
收藏

降低训练安全分类器的成本(通过优化的半监督学习)

Reducing the Cost of Training Security Classifier (via Optimized Semi-Supervised Learning)

Rui Shu, Tianpei Xia, Huy Tu, Laurie Williams, Tim Menzies

摘要:

背景资料:大多数现有的用于安全任务(例如垃圾邮件检测、恶意软件检测或网络入侵检测)的机器学习模型都是建立在监督机器学习算法上的。在这样的范例中,模型需要大量的标记数据来学习所选特征和目标类之间的有用关系。然而,这种标记的数据可能是稀缺的,并且获取起来昂贵。目标:当有标签的训练数据较少而无标签的训练数据较多时,帮助安全从业人员训练有用的安全分类模型。方法:我们提出了一个称为Dapper的自适应框架,它优化了1)半监督学习算法,以在传播范式中为未标记的数据分配伪标签,以及2)机器学习分类器(即,随机森林)。当数据集类高度不平衡时,Dapper会自适应地集成和优化一种名为SMOTE的数据过采样方法。我们使用新的贝叶斯优化搜索这些调整目标的一个大的超参数空间。结果:我们用三个安全数据集评估Dapper,即,Twitter垃圾邮件数据集、恶意软件URL数据集和CIC-IDS-2017数据集。实验结果表明,我们可以使用低至10%的原始标记数据,但实现接近或甚至更好的分类性能比使用100%的标记数据在监督的方式。结论:基于这些结果,我们建议使用超参数优化与半监督学习时,处理标记的安全数据的短缺。

英文摘要:

Background: Most of the existing machine learning models for security tasks, such as spam detection, malware detection, or network intrusion detection, are built on supervised machine learning algorithms. In such a paradigm, models need a large amount of labeled data to learn the useful relationships between selected features and the target class. However, such labeled data can be scarce and expensive to acquire. Goal: To help security practitioners train useful security classification models when few labeled training data and many unlabeled training data are available. Method: We propose an adaptive framework called Dapper, which optimizes 1) semi-supervised learning algorithms to assign pseudo-labels to unlabeled data in a propagation paradigm and 2) the machine learning classifier (i.e., random forest). When the dataset class is highly imbalanced, Dapper then adaptively integrates and optimizes a data oversampling method called SMOTE. We use the novel Bayesian Optimization to search a large hyperparameter space of these tuning targets. Result: We evaluate Dapper with three security datasets, i.e., the Twitter spam dataset, the malware URLs dataset, and the CIC-IDS-2017 dataset. Experimental results indicate that we can use as low as 10% of original labeled data but achieve close or even better classification performance than using 100% labeled data in a supervised way. Conclusion: Based on those results, we would recommend using hyperparameter optimization with semi-supervised learning when dealing with shortages of labeled security data.

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

↑