arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.00542cs.CR
收藏

SF-IDS:一种用于细粒度入侵检测的不平衡半监督学习框架

SF-IDS: An Imbalanced Semi-Supervised Learning Framework for Fine-grained Intrusion Detection

Xinran Zheng, Shuo Yang, Xingjun Wang

AI总结:

本文提出半监督细粒度入侵检测框架SF-IDS,通过RI-1DCNN骨干模型增强特征提取,结合不确定性评估过滤伪标签,并采用混合损失函数缓解类别不平衡,在标签受限下显著提升检测性能。

摘要:

基于深度学习的细粒度网络入侵检测系统(NIDS)借助大规模标签,能够快速且有针对性地响应不同攻击。然而,标注成本导致标注样本不足。同时,真实的细粒度流量呈现长尾分布,存在严重的类别不平衡。这两个问题常同时出现,给细粒度NIDS带来严峻挑战。本文提出一种新颖的半监督细粒度入侵检测框架SF-IDS,以在标签受限且类别高度不平衡的情况下实现攻击分类。我们设计了名为RI-1DCNN的自训练骨干模型,通过将输入样本重构为多通道图像格式来增强特征提取。对生成的伪标签不确定性进行评估,并结合预测概率作为伪标签过滤的参考。为减轻细粒度类别不平衡的影响,我们提出结合监督对比损失和多权重分类损失的混合损失函数,以获得更紧凑的类内特征和更清晰的类间间隔。实验表明,所提出的SF-IDS在两个经典数据集上使用1%标签,分别实现了3.01%和2.71%的Macro-F1提升。

英文摘要:

Deep learning-based fine-grained network intrusion detection systems (NIDS) enable different attacks to be responded to in a fast and targeted manner with the help of large-scale labels. However, the cost of labeling causes insufficient labeled samples. Also, the real fine-grained traffic shows a long-tailed distribution with great class imbalance. These two problems often appear simultaneously, posing serious challenges to fine-grained NIDS. In this work, we propose a novel semi-supervised fine-grained intrusion detection framework, SF-IDS, to achieve attack classification in the label-limited and highly class imbalanced case. We design a self-training backbone model called RI-1DCNN to boost the feature extraction by reconstructing the input samples into a multichannel image format. The uncertainty of the generated pseudo-labels is evaluated and used as a reference for pseudo-label filtering in combination with the prediction probability. To mitigate the effects of fine-grained class imbalance, we propose a hybrid loss function combining supervised contrastive loss and multi-weighted classification loss to obtain more compact intra-class features and clearer inter-class intervals. Experiments show that the proposed SF-IDS achieves 3.01% and 2.71% Marco-F1 improvement on two classical datasets with 1% labeled, respectively.

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

↑