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

利用大语言模型在物联网网络中检测未知攻击:一种稳健且数据高效的方案

Data-Efficient Unknown Attack Detection in IoT Networks Using Pretrained Language Models

University of Ottawa(渥太华大学);School of Electrical Engineering and Computer Science, University of Ottawa(渥太华大学电气与计算机工程学院);Research Ireland Lero Centre, University of Limerick(利默里克大学爱尔兰研究Lero中心)

Shan Ali, Feifei Niu, Paria Shirani, Lionel C. Briand

AI总结:

本文提出SiamXBERT,一种基于Transformer语言模型的元学习框架,用于在物联网网络中高效检测未知攻击,通过双模态特征表示和元学习技术,在数据稀缺情况下实现显著的性能提升。

摘要:

随着网络攻击的迅速发展,未知(零日)威胁的出现持续推动着网络入侵检测系统在物联网(IoT)网络中的挑战。现有的机器学习和深度学习方法通常依赖于大规模标注数据集、流量检查或封闭集分类,这在数据稀缺、加密流量和分布偏移的情况下限制了其有效性。因此,在现实的物联网部署中检测未知攻击仍然困难。为了解决这些限制,我们提出了SiamXBERT,一种稳健且数据高效的Siamese元学习框架,该框架通过基于Transformer的语言模型来实现未知攻击检测。所提出的方法通过整合流量层面和数据包层面的信息,构建双模态特征表示,从而实现更丰富的行为建模,同时保持对加密流量的兼容性。通过元学习,模型能够仅使用少量标注样本快速适应新的攻击类型,并泛化到之前未见过的行为。在具有代表性的物联网入侵数据集上进行的广泛实验表明,SiamXBERT在同数据集和跨数据集设置下均优于最先进的基线方法,同时需要显著较少的训练数据,实现了未知F1分数的最高78.8%的提升。这些结果突显了SiamXBERT在现实物联网环境中的实用价值。

英文摘要:

The rapid evolution of cyberattacks continues to drive the emergence of unknown (zero-day) threats, posing significant challenges for network intrusion detection systems in Internet of Things (IoT) networks. Existing machine learning and deep learning approaches typically rely on large labeled datasets, payload inspection, or closed-set classification, limiting their effectiveness under data scarcity, encrypted traffic, and distribution shifts. To address these limitations, we propose SiamXBERT, a data-efficient, open-set Siamese meta-learning framework built on a pretrained language model for unknown-attack detection. The framework constructs a dual-modality feature representation by integrating flow-level and packet-level information, enabling richer behavioral modeling while remaining compatible with encrypted traffic. The model learns similarity patterns for known benign and attack classes using 100 labeled samples per class. It flags traffic that does not sufficiently match any known class as potentially unknown, using a threshold set without unknown-attack data. We evaluate SiamXBERT on two IoT intrusion detection datasets against five state-of-the-art detection methods. When training and testing are performed on the same dataset at this labeling budget, SiamXBERT attains the highest unknown F1-score, exceeding the strongest competing method on each dataset by 84.8% and 37.4%; the improvement is statistically significant against all five methods on one dataset and against four of the five on the other. When a model trained on one dataset is tested on another, SiamXBERT transfers effectively in one direction but degrades in the reverse, reflecting the rejection behavior learned from the source traffic rather than the choice of threshold. These results highlight the practicality of SiamXBERT for data-efficient unknown attack detection in real-world IoT environments.

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

↑