An intrusion detection system based on lightweight BERT with meta-classifier for internet of things environments

The rapid increase in Internet of Things (IoT) devices has significantly transformed modern technological environments. However, this growth has also introduced numerous security vulnerabilities and various attacks. Traditional Machine Learning (ML) and Deep Learning (DL) have been intensively utilized in Intrusion Detection Systems (IDSs) implementation to detect and classify cyberattacks in an IoT environment. ML relies on a feature engineering approach for selecting optimal features, and DL requires high computational resources to achieve adequate classification accuracy. Therefore, this study proposes an IDS model implemented based on lightweight Bidirectional Encoder Representations from Transformers (BERT) models integrated with a meta‐classifier. This is accomplished by employing three lightweight models named DistilBERT, MobileBERT, and TinyBERT as base models, with their outputs combined by a Random Forest (RF)-based meta-classifier to achieve robust detection and classification accuracy while using a lightweight architecture. The proposed model was evaluated on three diverse IoT datasets: ToN_IoT, Edge-IIoTset, and X-IIoTID to demonstrate its effectiveness in detecting and classifying cyberattacks in IoT environments. In addition, the results were compared with existing benchmark IDS models. The experiments confirm the robustness of integrating lightweight BERT models with a meta-classifier for the IoT IDS field.

Authors

Publication Details

Journal
PeerJ Computer Science
Published
2026-02-25
DOI
https://doi.org/10.7717/peerj-cs.3590
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An intrusion detection system based on lightweight BERT with meta-classifier for internet of things environments

Musaad Darwish AlGarni, Rayed Alakhtar, Badraddin Alturki, Rayan A. Alsemmeari et al.
PeerJ Computer Science
Network Security and Intrusion Detection
article

An intrusion detection system based on lightweight BERT with meta-classifier for internet of things environments

Musaad Darwish AlGarni, Rayed Alakhtar, Badraddin Alturki, Rayan A. Alsemmeari, Abdulaziz A. Alsulami, Mohamed Y. Dahab, Bandar M. Alghamdi
article en

Abstract

The rapid increase in Internet of Things (IoT) devices has significantly transformed modern technological environments. However, this growth has also introduced numerous security vulnerabilities and various attacks. Traditional Machine Learning (ML) and Deep Learning (DL) have been intensively utilized in Intrusion Detection Systems (IDSs) implementation to detect and classify cyberattacks in an IoT environment. ML relies on a feature engineering approach for selecting optimal features, and DL requires high computational resources to achieve adequate classification accuracy. Therefore, this study proposes an IDS model implemented based on lightweight Bidirectional Encoder Representations from Transformers (BERT) models integrated with a meta‐classifier. This is accomplished by employing three lightweight models named DistilBERT, MobileBERT, and TinyBERT as base models, with their outputs combined by a Random Forest (RF)-based meta-classifier to achieve robust detection and classification accuracy while using a lightweight architecture. The proposed model was evaluated on three diverse IoT datasets: ToN_IoT, Edge-IIoTset, and X-IIoTID to demonstrate its effectiveness in detecting and classifying cyberattacks in IoT environments. In addition, the results were compared with existing benchmark IDS models. The experiments confirm the robustness of integrating lightweight BERT models with a meta-classifier for the IoT IDS field.

PeerJ Computer ScienceVol. 12
Openalex Percentile: Top 52%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.