Related Experiment Video
Updated: Jan 12, 2026

Author Spotlight: Enhancement of Salient Object Detection for Smart Grid Applications
Published on: December 15, 2023
Evaluating large transformer models for anomaly detection of resource-constrained IoT devices for intrusion detection
Ahmad Almadhor1, Shtwai Alsubai2, Natalia Kryvinska3
1Department of Computer Engineering and Networks, College of Computer and Information Sciences, Jouf University, 72388, Sakaka, Saudi Arabia.
None:
The rapid growth of the Internet of Things (IoT) has revolutionised industries but also introduced critical security threats, making robust Intrusion Detection Systems (IDS) essential. Traditional signature-based IDS struggles with evolving threats, while AI-driven approaches, such as machine learning (ML) and deep learning (DL), show promise but face challenges in terms of scalability and adaptability. Large Transformer Models (LTMs) offer a novel solution by enhancing anomaly detection, automating threat analysis, and improving real-time IoT security through advanced contextual understanding. In this research, we propose an LTM-based IDS for real-time detection of IoT attacks. Integrating LTMs into IoT security can improve intelligence, automation, and threat mitigation. We propose transformer-based deep learning models such as Fine-Tuned Bidirectional Encoder Representations from Transformers Model (BERT), Distilled Bidirectional Encoder Representations from Transformers (DistilBERT), and Robustly Optimised BERT Pretraining (RoBERTa). Attack categories in the RT_IoT2022 dataset were encoded into numerical labels, followed by comprehensive data preprocessing, including random sampling and handling of missing values. To improve interpretability, the data was transformed into text format to ensure compatibility with BERT-based models. Subsequently, the dataset was split and converted into the Hugging Face Dataset format, allowing for seamless integration with Natural Language Processing (NLP) models for IoT attack detection. Then, we apply fine-tuning multiple transformer architectures, including BERT, DistilBERT, and RoBERTa, for IoT attack classification, optimising hyperparameters for efficient learning. The BERT model demonstrated strong performance, achieving its lowest training loss of 0.0211 at [Formula: see text] epoch and the lowest validation loss of 0.0677 at [Formula: see text] epoch. These results indicate effective learning and good generalisation capability.
Related Concept Videos
Transformers in Distribution System
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
Transformers with Off-Nominal Turns Ratios
Instrument Transformers
Energy Losses in Transformers
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the...
Power System Three-Phase Short Circuits
Transformers
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
