arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.04112cs.NIcs.CRcs.LG
收藏

基于机器学习的网络入侵检测系统的泛化性研究

On Generalisability of Machine Learning-based Network Intrusion Detection Systems

University of Queensland(昆士兰大学)

Siamak Layeghy, Marius Portmann

AI总结:

本研究通过评估七种监督与无监督模型在四个基准数据集上的表现,发现基于ML的NIDSs泛化性差且不对称,无监督方法更优,SHAP分析揭示特征与类别对应关系缺失是主因。

摘要:

许多提出的基于机器学习(ML)的网络入侵检测系统(NIDSs)在合成基准数据集上评估时,能达到近乎完美的检测性能。然而,目前尚无记录表明这些结果是否以及如何泛化到其他网络场景,特别是真实世界的网络。在本文中,我们通过广泛评估七种监督和无监督学习模型在四个最近发布的基准NIDS数据集上的表现,来研究基于ML的NIDSs的泛化性。我们的调查表明,所考虑的模型均无法在所有研究的数据集上实现泛化。有趣的是,我们的结果还表明,泛化性具有高度的不对称性,即交换源域和目标域可以显著改变分类性能。我们的调查还表明,总体而言,在我们考虑的场景中,无监督学习方法比监督学习模型具有更好的泛化性。使用SHAP值来解释这些结果表明,缺乏泛化性主要是由于在一个数据集-模型组合中,一个或多个特征的值与攻击/良性类别之间存在强对应关系,而在具有不同特征分布的其他数据集中这种对应关系缺失。

英文摘要:

Many of the proposed machine learning (ML) based network intrusion detection systems (NIDSs) achieve near perfect detection performance when evaluated on synthetic benchmark datasets. Though, there is no record of if and how these results generalise to other network scenarios, in particular to real-world networks. In this paper, we investigate the generalisability property of ML-based NIDSs by extensively evaluating seven supervised and unsupervised learning models on four recently published benchmark NIDS datasets. Our investigation indicates that none of the considered models is able to generalise over all studied datasets. Interestingly, our results also indicate that the generalisability has a high degree of asymmetry, i.e., swapping the source and target domains can significantly change the classification performance. Our investigation also indicates that overall, unsupervised learning methods generalise better than supervised learning models in our considered scenarios. Using SHAP values to explain these results indicates that the lack of generalisability is mainly due to the presence of strong correspondence between the values of one or more features and Attack/Benign classes in one dataset-model combination and its absence in other datasets that have different feature distributions.

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

↑