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

利用大型语言模型革新网络威胁检测:面向IoT/IIoT设备的隐私保护型轻量级BERT模型

Revolutionizing Cyber Threat Detection with Large Language Models: A privacy-preserving BERT-based Lightweight Model for IoT/IIoT Devices

Technology Innovation Institute(技术创新研究院)

Mohamed Amine Ferrag, Mthandazo Ndhlovu, Norbert Tihanyi, Lucas C. Cordeiro, Merouane Debbah, Thierry Lestable, Narinderjit Singh Thandi

AI总结:

本文提出SecurityBERT,一种结合隐私保护定长编码与BERT的轻量级模型,在Edge-IIoTset数据集上以98.2%准确率识别十四种攻击,推理时间小于0.15秒,模型仅16.7MB,适用于资源受限的IoT设备。

摘要:

自然语言处理(NLP)领域目前正经历一场由基于开创性Transformer架构的预训练大型语言模型(LLMs)所驱动的革命性变革。随着网络安全攻击的频率和多样性持续上升,事件检测的重要性显著增强。物联网(IoT)设备正在快速扩展,导致对高效技术的需求日益增长,这些技术需要能够在IoT网络中自主识别基于网络的攻击,同时具备高精度和极低计算需求。本文提出了SecurityBERT,一种新颖的架构,利用来自Transformer的双向编码器表示(BERT)模型进行IoT网络中的网络威胁检测。在SecurityBERT的训练过程中,我们引入了一种新颖的隐私保护编码技术,称为隐私保护定长编码(PPFLE)。通过将PPFLE与字节级字节对编码器(BBPE)分词器相结合,我们有效地将网络流量数据表示为结构化格式。我们的研究表明,在网络威胁检测中,SecurityBERT优于传统的机器学习(ML)和深度学习(DL)方法,如卷积神经网络(CNN)或循环神经网络(RNN)。使用Edge-IIoTset网络安全数据集,我们的实验分析显示,SecurityBERT在识别十四种不同攻击类型方面达到了令人印象深刻的98.2%总体准确率,超越了此前由混合解决方案(如基于GAN-Transformer的架构和CNN-LSTM模型)创下的记录。凭借在普通CPU上不到0.15秒的推理时间和仅16.7MB的紧凑模型大小,SecurityBERT非常适合实际流量分析,并且是部署在资源受限的IoT设备上的合适选择。

英文摘要:

The field of Natural Language Processing (NLP) is currently undergoing a revolutionary transformation driven by the power of pre-trained Large Language Models (LLMs) based on groundbreaking Transformer architectures. As the frequency and diversity of cybersecurity attacks continue to rise, the importance of incident detection has significantly increased. IoT devices are expanding rapidly, resulting in a growing need for efficient techniques to autonomously identify network-based attacks in IoT networks with both high precision and minimal computational requirements. This paper presents SecurityBERT, a novel architecture that leverages the Bidirectional Encoder Representations from Transformers (BERT) model for cyber threat detection in IoT networks. During the training of SecurityBERT, we incorporated a novel privacy-preserving encoding technique called Privacy-Preserving Fixed-Length Encoding (PPFLE). We effectively represented network traffic data in a structured format by combining PPFLE with the Byte-level Byte-Pair Encoder (BBPE) Tokenizer. Our research demonstrates that SecurityBERT outperforms traditional Machine Learning (ML) and Deep Learning (DL) methods, such as Convolutional Neural Networks (CNNs) or Recurrent Neural Networks (RNNs), in cyber threat detection. Employing the Edge-IIoTset cybersecurity dataset, our experimental analysis shows that SecurityBERT achieved an impressive 98.2% overall accuracy in identifying fourteen distinct attack types, surpassing previous records set by hybrid solutions such as GAN-Transformer-based architectures and CNN-LSTM models. With an inference time of less than 0.15 seconds on an average CPU and a compact model size of just 16.7MB, SecurityBERT is ideally suited for real-life traffic analysis and a suitable choice for deployment on resource-constrained IoT devices.

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

↑