Enhancing Iot Intrusion Detection With Transformer-Based Network Traffic Classification

The fast rise of cyber threats has exposed flaws in traditional intrusion detection systems (IDS), particularly in the Internet of Things (IoT) context. Large language models (LLMs) and other deep learning techniques provide sophisticated skills for recognizing intricate attack patterns, which can enhance IDS capabilities. Using two benchmark datasets, we conducted a comparative analysis of IoT network intrusion detection using encoder-based Transformer models and two baseline deep learning models. Experiments on the NF-BoT-IoT and NF-ToN-IoT datasets showed that the evaluated transformer models (BERT-tiny, Electrasmall, and DistilBERT) performed well in binary and multi-class classification tasks. By utilizing self-attention mechanisms, these models surpass the baseline models in capturing crucial context. According to our experiments, the best binary classification accuracies were 99.38 % and 99.98 % for the NF-BoT-IoT and NF-ToN-IoT datasets, respectively. In multi-class classification, DistilBERT achieved the highest accuracy (84.35 %) on the NF-BoT-IoT dataset, whereas BERT-tiny achieved the highest accuracy (<tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{7 2. 7 \%}$</tex>) on the NF-ToN-IoT dataset. For the Baseline models, multi-layer perceptron (MLP) demonstrated competitive binary classification performance with low processing costs, whereas long short term memory (LSTM) struggled with multiclass classification, highlighting Transformer models' superiority for high-dimensional, multi-class data. Our findings validate Transformer models' suitability for sophisticated intrusion detection systems, providing significant improvements in detection accuracy and overall efficiency across complicated attack scenarios in IoT networks.

Authors

Institutions

Publication Details

Published
2025-04-07
DOI
https://doi.org/10.1109/syscon64521.2025.11014861
Citations
3
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
4.46
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Iot Intrusion Detection With Transformer-Based Network Traffic Classification

Rasha Kashef, Samar AboulEla
3 citations
Network Security and Intrusion Detection
4.46
article

Enhancing Iot Intrusion Detection With Transformer-Based Network Traffic Classification

Rasha Kashef, Samar AboulEla
article en
3 citations

Abstract

The fast rise of cyber threats has exposed flaws in traditional intrusion detection systems (IDS), particularly in the Internet of Things (IoT) context. Large language models (LLMs) and other deep learning techniques provide sophisticated skills for recognizing intricate attack patterns, which can enhance IDS capabilities. Using two benchmark datasets, we conducted a comparative analysis of IoT network intrusion detection using encoder-based Transformer models and two baseline deep learning models. Experiments on the NF-BoT-IoT and NF-ToN-IoT datasets showed that the evaluated transformer models (BERT-tiny, Electrasmall, and DistilBERT) performed well in binary and multi-class classification tasks. By utilizing self-attention mechanisms, these models surpass the baseline models in capturing crucial context. According to our experiments, the best binary classification accuracies were 99.38 % and 99.98 % for the NF-BoT-IoT and NF-ToN-IoT datasets, respectively. In multi-class classification, DistilBERT achieved the highest accuracy (84.35 %) on the NF-BoT-IoT dataset, whereas BERT-tiny achieved the highest accuracy (<tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{7 2. 7 \%}$</tex>) on the NF-ToN-IoT dataset. For the Baseline models, multi-layer perceptron (MLP) demonstrated competitive binary classification performance with low processing costs, whereas long short term memory (LSTM) struggled with multiclass classification, highlighting Transformer models' superiority for high-dimensional, multi-class data. Our findings validate Transformer models' suitability for sophisticated intrusion detection systems, providing significant improvements in detection accuracy and overall efficiency across complicated attack scenarios in IoT networks.

Toronto Metropolitan University (CA)
Openalex Percentile: Top 6%
Network Security and Intrusion Detection
4.46
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.

Enhancing Iot Intrusion Detection With Transformer-Based Network Traffic Classification — Rasha Kashef, Samar AboulEla · (2025) | TGRS Research Map | TGRS