Revolutionizing Cyber Threat Detection with Large Language Models: A privacy-preserving BERT-based Lightweight Model for IoT/IIoT Devices
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 10 of its 41 references that are in the map. First posted on arXiv 25 Jun 2023.
Builds on
10 of 41 references.
References · 10
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2020Predicting trends in the quality of state-of-the-art neural networks without access to training or testing datacited by 113
- 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 98
- 2022SecureBERT: A Domain-Specific Language Model for Cybersecuritycited by 60
- 2022Transformer-Based Language Models for Software Vulnerability Detectioncited by 39
- 2022CAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Modelcited by 17
- 2023Generative AI for Cyber Threat-Hunting in 6G-enabled IoT Networkscited by 9
- 2022How Effective is Byte Pair Encoding for Out-Of-Vocabulary Words in Neural Machine Translation?cited by 3
Built on by
Citing papers per year: 2024: 14; 2025: 16; 2026: 8.
38 papers.
Sort:
By area:
- 2024Large Language Model (LLM) for Telecommunications: A Comprehensive Survey on Principles, Key Techniques, and Opportunitiescited by 83
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2024Transformers and Large Language Models for Efficient Intrusion Detection Systems: A Comprehensive Surveycited by 21
- 2024Towards Explainable Network Intrusion Detection using Large Language Modelscited by 12
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2024The Internet of Things in the Era of Generative AI: Vision and Challengescited by 8
- 2024Efficient Federated Intrusion Detection in 5G ecosystem using optimized BERT-based modelcited by 8
- 2024Beyond Detection: Leveraging Large Language Models for Cyber Attack Prediction in IoT Networkscited by 7
- 2024Integrating Large Language Models with Internet of Things Applicationscited by 7
- 2025MoE2: Optimizing Collaborative Inference for Edge Large Language Modelscited by 6
- 2025eX-NIDS: A Framework for Explainable Network Intrusion Detection Leveraging Large Language Modelscited by 5
26 more
- 2024Toward Intelligent and Secure Cloud: Large Language Model Empowered Proactive Defensecited by 4
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
- 2025ChatIoT: Large Language Model-based Security Assistant for Internet of Things with Retrieval-Augmented Generationcited by 4
- 2025Malware Detection at the Edge with Lightweight LLMs: A Performance Evaluationcited by 4
- 2025DFIR-Metric: A Benchmark Dataset for Evaluating Large Language Models in Digital Forensics and Incident Responsecited by 4
- 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuningcited by 3
- 2025Generative Artificial Intelligence for Internet of Things Computing: A Systematic Surveycited by 3
- 2025Evaluating Language Models For Threat Detection in IoT Security Logscited by 3
- 2024Gen-AI for User Safety: A Surveycited by 2
- 2024Blockchain Meets LLMs: A Living Survey on Bidirectional Integrationcited by 2
- 2024A Unified Framework for Context-Aware IoT Management and State-of-the-Art IoT Traffic Anomaly Detectioncited by 2
- 2025Large Language Model-driven Security Assistant for Internet of Things via Chain-of-Thoughtcited by 2
- 2025Self-Supervised Transformer-based Contrastive Learning for Intrusion Detection Systemscited by 2
- 2025Generative AI for Internet of Things Security: Challenges and Opportunitiescited by 1
- 2025Large Language Models powered Malicious Traffic Detection: Architecture, Opportunities and Case Studycited by 1
- 2025Interpretable Anomaly-Based DDoS Detection in AI-RAN with XAI and LLMscited by 1
- 2026LanG -- A Governance-Aware Agentic AI Platform for Unified Security Operationscited by 1
- 2026A-THENA: Early Intrusion Detection for IoT with Time-Aware Hybrid Encoding and Network-Specific Augmentationcited by 1
- 2024Towards Automatic Hands-on-Keyboard Attack Detection Using LLMs in EDR Solutionscited by 0
- 2025The Future of Internet of Things and Multimodal Language Models in 6G Networks: Opportunities and Challengescited by 0
- 2026Cyber Threat Detection and Vulnerability Assessment System using Generative AI and Large Language Modelcited by 0
- 2026From Detection to Response: A Deep Learning and Retrieval-Augmented Generation Framework for Network Intrusion Mitigationcited by 0
- 2026From Chasing Ghosts to Missed Attacks: Perspectives and Perceptions of SOC Practitioners on LLM Integration, Risks, and Readinesscited by 0
- 2026Non-Degenerate Risk Certification for Automated Security Decisions: A Decision-Contract Theory with ATT&CK-Aligned Triage as a Worked Instancecited by 0
- 2026Robust Conformal Intrusion Detection via Traffic-Aware Calibration and Attack-Orbit Invariancecited by 0
- 2026REFINE: A Resilient Evolution Framework for Intelligent Enterprise Alert Triage in Security Operations Centerscited by 0
- 2026REFINE: A Resilient Evolution Framework for Intelligent Enterprise Alert Triage in Security Operations Centers26 Sep 2026
- 2026Non-Degenerate Risk Certification for Automated Security Decisions: A Decision-Contract Theory with ATT&CK-Aligned Triage as a Worked Instance12 Aug 2026
- 2026From Chasing Ghosts to Missed Attacks: Perspectives and Perceptions of SOC Practitioners on LLM Integration, Risks, and Readiness1 Aug 2026
- 2026Robust Conformal Intrusion Detection via Traffic-Aware Calibration and Attack-Orbit Invariance22 Jul 2026
- 2026From Detection to Response: A Deep Learning and Retrieval-Augmented Generation Framework for Network Intrusion Mitigation18 May 2026
- 2026A-THENA: Early Intrusion Detection for IoT with Time-Aware Hybrid Encoding and Network-Specific Augmentation23 Apr 2026
- 2026LanG -- A Governance-Aware Agentic AI Platform for Unified Security Operations7 Apr 2026
- 2026Cyber Threat Detection and Vulnerability Assessment System using Generative AI and Large Language Model8 Jan 2026
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Interpretable Anomaly-Based DDoS Detection in AI-RAN with XAI and LLMs27 Jul 2025
- 2025eX-NIDS: A Framework for Explainable Network Intrusion Detection Leveraging Large Language Models22 Jul 2025
- 2025Evaluating Language Models For Threat Detection in IoT Security Logs3 Jul 2025
26 more
- 2025DFIR-Metric: A Benchmark Dataset for Evaluating Large Language Models in Digital Forensics and Incident Response26 May 2025
- 2025Self-Supervised Transformer-based Contrastive Learning for Intrusion Detection Systems12 May 2025
- 2025Large Language Model-driven Security Assistant for Internet of Things via Chain-of-Thought8 May 2025
- 2025The Future of Internet of Things and Multimodal Language Models in 6G Networks: Opportunities and Challenges17 Apr 2025
- 2025Generative Artificial Intelligence for Internet of Things Computing: A Systematic Survey10 Apr 2025
- 2025Large Language Models powered Malicious Traffic Detection: Architecture, Opportunities and Case Study24 Mar 2025
- 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuning12 Mar 2025
- 2025Malware Detection at the Edge with Lightweight LLMs: A Performance Evaluation6 Mar 2025
- 2025ChatIoT: Large Language Model-based Security Assistant for Internet of Things with Retrieval-Augmented Generation14 Feb 2025
- 2025Generative AI for Internet of Things Security: Challenges and Opportunities13 Feb 2025
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Management12 Feb 2025
- 2025MoE2: Optimizing Collaborative Inference for Edge Large Language Models16 Jan 2025
- 2024Toward Intelligent and Secure Cloud: Large Language Model Empowered Proactive Defense30 Dec 2024
- 2024A Unified Framework for Context-Aware IoT Management and State-of-the-Art IoT Traffic Anomaly Detection19 Dec 2024
- 2024Blockchain Meets LLMs: A Living Survey on Bidirectional Integration25 Nov 2024
- 2024Gen-AI for User Safety: A Survey10 Nov 2024
- 2024Integrating Large Language Models with Internet of Things Applications25 Oct 2024
- 2024Efficient Federated Intrusion Detection in 5G ecosystem using optimized BERT-based model28 Sep 2024
- 2024Beyond Detection: Leveraging Large Language Models for Cyber Attack Prediction in IoT Networks26 Aug 2024
- 2024Transformers and Large Language Models for Efficient Intrusion Detection Systems: A Comprehensive Survey14 Aug 2024
- 2024Towards Explainable Network Intrusion Detection using Large Language Models8 Aug 2024
- 2024Towards Automatic Hands-on-Keyboard Attack Detection Using LLMs in EDR Solutions4 Aug 2024
- 2024Large Language Model (LLM) for Telecommunications: A Comprehensive Survey on Principles, Key Techniques, and Opportunities17 May 2024
- 2024Large Language Models for Cyber Security: A Systematic Literature Review8 May 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024The Internet of Things in the Era of Generative AI: Vision and Challenges3 Jan 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2024Transformers and Large Language Models for Efficient Intrusion Detection Systems: A Comprehensive Surveycited by 21
- 2024Towards Explainable Network Intrusion Detection using Large Language Modelscited by 12
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2024The Internet of Things in the Era of Generative AI: Vision and Challengescited by 8
- 2024Efficient Federated Intrusion Detection in 5G ecosystem using optimized BERT-based modelcited by 8
- 2024Beyond Detection: Leveraging Large Language Models for Cyber Attack Prediction in IoT Networkscited by 7
- 2024Integrating Large Language Models with Internet of Things Applicationscited by 7
- 2025eX-NIDS: A Framework for Explainable Network Intrusion Detection Leveraging Large Language Modelscited by 5
- 2024Toward Intelligent and Secure Cloud: Large Language Model Empowered Proactive Defensecited by 4
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
12 most cited of 33 All 33 (JSON)
- 2026REFINE: A Resilient Evolution Framework for Intelligent Enterprise Alert Triage in Security Operations Centers26 Sep 2026
- 2026Non-Degenerate Risk Certification for Automated Security Decisions: A Decision-Contract Theory with ATT&CK-Aligned Triage as a Worked Instance12 Aug 2026
- 2026From Chasing Ghosts to Missed Attacks: Perspectives and Perceptions of SOC Practitioners on LLM Integration, Risks, and Readiness1 Aug 2026
- 2026Robust Conformal Intrusion Detection via Traffic-Aware Calibration and Attack-Orbit Invariance22 Jul 2026
- 2026A-THENA: Early Intrusion Detection for IoT with Time-Aware Hybrid Encoding and Network-Specific Augmentation23 Apr 2026
- 2026Cyber Threat Detection and Vulnerability Assessment System using Generative AI and Large Language Model8 Jan 2026
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Interpretable Anomaly-Based DDoS Detection in AI-RAN with XAI and LLMs27 Jul 2025
- 2025eX-NIDS: A Framework for Explainable Network Intrusion Detection Leveraging Large Language Models22 Jul 2025
- 2025Evaluating Language Models For Threat Detection in IoT Security Logs3 Jul 2025
- 2025DFIR-Metric: A Benchmark Dataset for Evaluating Large Language Models in Digital Forensics and Incident Response26 May 2025
- 2025Self-Supervised Transformer-based Contrastive Learning for Intrusion Detection Systems12 May 2025
12 newest of 33 All 33 (JSON)