Interpretable intrusion detection for IoT environments using a self-attention-based explainable AI framework

The rapid growth of Internet of Things (IoT) devices has introduced critical cybersecurity challenges due to the large attack surface and diverse interconnected systems. This work proposes a novel self-attention deep neural network (SA-DNN) augmented with a learnable feature gating (LFG) mechanism. The LFG component dynamically emphasizes security-relevant features during training, while suppressing redundant data. This architecture enables seamless, end-to-end feature optimization. It enhances the robustness of the model across varied intrusion scenarios without the need for conventional manual or filter-based feature selection. The self-attention module efficiently captures long-range relationships within network traffic, while the LFG mechanism boosts the adaptability of feature representations. The framework is explainable through shapley additive explanations (SHAP) and local interpretable model-agnostic explanations (LIME) and provides transparency in intrusion detection decisions. Evaluations on IoT datasets BoT-IoT and N-BaIoT show superior performance of the proposed method over baseline and state-of-the-art methods, achieving accuracy values of 99.3% and 99.6%, respectively. Additional experiments on the general network dataset UNSW-NB15 demonstrate strong generalizability with 97.9% accuracy. This confirms the robustness of the model across diverse intrusion scenarios. The proposed approach provides a lightweight, scalable, and interpretable solution with strong generalizability across IoT and broader network security settings.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-11-14
DOI
https://doi.org/10.1038/s41598-025-23750-0
Citations
2
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
2.97
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interpretable intrusion detection for IoT environments using a self-attention-based explainable AI framework

Anupam Yadav, Ayan Bhowmik, Tarak Vora, B. Jayaprakash et al.
2 citations
Scientific Reports
Network Security and Intrusion Detection
2.97
article

Interpretable intrusion detection for IoT environments using a self-attention-based explainable AI framework

Anupam Yadav, Ayan Bhowmik, Tarak Vora, B. Jayaprakash, Tapsi Nagpal, S. Prasad, Aditya Kashyap, Muhammad Abdullah, Sridevi Gutta, Bethelehem Burju Bukate
article en
2 citations

Abstract

The rapid growth of Internet of Things (IoT) devices has introduced critical cybersecurity challenges due to the large attack surface and diverse interconnected systems. This work proposes a novel self-attention deep neural network (SA-DNN) augmented with a learnable feature gating (LFG) mechanism. The LFG component dynamically emphasizes security-relevant features during training, while suppressing redundant data. This architecture enables seamless, end-to-end feature optimization. It enhances the robustness of the model across varied intrusion scenarios without the need for conventional manual or filter-based feature selection. The self-attention module efficiently captures long-range relationships within network traffic, while the LFG mechanism boosts the adaptability of feature representations. The framework is explainable through shapley additive explanations (SHAP) and local interpretable model-agnostic explanations (LIME) and provides transparency in intrusion detection decisions. Evaluations on IoT datasets BoT-IoT and N-BaIoT show superior performance of the proposed method over baseline and state-of-the-art methods, achieving accuracy values of 99.3% and 99.6%, respectively. Additional experiments on the general network dataset UNSW-NB15 demonstrate strong generalizability with 97.9% accuracy. This confirms the robustness of the model across diverse intrusion scenarios. The proposed approach provides a lightweight, scalable, and interpretable solution with strong generalizability across IoT and broader network security settings.

Scientific ReportsVol. 15(1)
Andhra University (IN), Jain University (IN), Lovely Professional University (IN), Management and Science University (MY), Jimma University (ET), Lingaya's Vidyapeeth (IN), Amity University (IN), Marwadi University (IN), King George Hospital (IN), Chitkara University (IN), Sharda University (IN), GLA University (IN), Saveetha University (IN)
Openalex Percentile: Top 7%
Network Security and Intrusion Detection
2.97
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.