arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.15382cs.LGcs.AIcs.NI
收藏

用于入侵检测的基于对比预训练的特征分布偏移缓解

Feature Distribution Shift Mitigation with Contrastive Pretraining for Intrusion Detection

Hasso Plattner Institut (HPI)(哈索·普拉特纳研究所);Technical University of Munich (TUM)(慕尼黑工业大学);University of the Bundeswehr Munich(慕尼黑联邦国防军大学)

Weixing Wang, Haojin Yang, Christoph Meinel, Hasan Yagiz Özkan, Cristian Bermudez Serna, Carmen Mas-Machuca

AI总结:

针对网络入侵检测中的特征分布偏移问题,提出对比预训练模型SwapCon,通过压缩平移不变特征和优化数值嵌入策略,显著提升了模型鲁棒性并大幅优于XGBoost和KNN。

摘要:

近年来,使用机器学习(ML),特别是深度学习(DL)解决网络入侵检测(NID)问题的兴趣日益增长。然而,特征分布偏移问题仍然是一个难点,因为特征分布随时间的变化会对模型性能产生负面影响。作为一种有前景的解决方案,模型预训练作为一种新颖的训练范式应运而生,它带来了针对特征分布偏移的鲁棒性,并已在计算机视觉(CV)和自然语言处理(NLP)领域证明是成功的。为了验证该范式是否对NID问题有益,我们提出了SwapCon,这是NID背景下的一个ML模型,它在预训练阶段压缩平移不变特征信息,并在微调阶段进行细化。我们使用Kyoto2006+数据集展示了特征分布偏移的证据。我们证明了使用适当规模预训练模型如何将针对特征分布偏移的鲁棒性提高8%以上。此外,我们展示了适当的数值嵌入策略如何增强预训练模型的性能。进一步的实验表明,提出的SwapCon模型也大幅优于基于eXtreme Gradient Boosting(XGBoost)和K-Nearest Neighbor(KNN)的模型。

英文摘要:

In recent years, there has been a growing interest in using Machine Learning (ML), especially Deep Learning (DL) to solve Network Intrusion Detection (NID) problems. However, the feature distribution shift problem remains a difficulty, because the change in features' distributions over time negatively impacts the model's performance. As one promising solution, model pretraining has emerged as a novel training paradigm, which brings robustness against feature distribution shift and has proven to be successful in Computer Vision (CV) and Natural Language Processing (NLP). To verify whether this paradigm is beneficial for NID problem, we propose SwapCon, a ML model in the context of NID, which compresses shift-invariant feature information during the pretraining stage and refines during the finetuning stage. We exemplify the evidence of feature distribution shift using the Kyoto2006+ dataset. We demonstrate how pretraining a model with the proper size can increase robustness against feature distribution shifts by over 8%. Moreover, we show how an adequate numerical embedding strategy also enhances the performance of pretrained models. Further experiments show that the proposed SwapCon model also outperforms eXtreme Gradient Boosting (XGBoost) and K-Nearest Neighbor (KNN) based models by a large margin.

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

↑