Explainable IoT intrusion detection via bio-inspired encoding and interpretable AI models
Thaer AL Ibaisi, Muhammad Kazim, Mujeeb Ur Rehman, Mustafa Kaiiali, Stefan Kuhn
Key points
From the paper's conclusion- We introduce an explainable Internet of Things (IoT) intrusion detection framework built on a bio-inspired Amino Acid encoding of network flows.
Abstract
We introduce an explainable Internet of Things (IoT) intrusion detection framework built on a bio-inspired Amino Acid encoding of network flows. The flow features are first transformed with the Yeo–Johnson transformation, the most informative ones are selected, and their values are encoded as Amino Acid sequences, which are then summarized by ten protein structural properties (e.g., $$\beta $$ -Turn, Isoelectric Point and Molecular Weight). In this way every flow is described by the same compact set of ten properties, whatever the feature set of the original dataset. The models are explained with SHAP, LIME and ELI5, complemented by Captum Integrated Gradients and Alibi anchors for the neural models, and the attributions are linked back to the raw traffic features through measured correlations. On a balanced 50,000-flow subset of CICIoT2023 that covers all 33 attack classes, most of the 12 classical and 5 deep models reach 98.4–98.5% accuracy on a held-out test set (MCC up to 0.97). The recurrent neural network (RNN), used for the in-depth explainability study, reaches 98.5% accuracy with a false-alarm rate of 0.02%, has fewer than 15,000 parameters and needs about 0.1 ms per flow on a CPU. An ablation experiment shows that encoding the selected features keeps detection close to the full 39-feature raw representation (MCC 0.970 against 0.979), while giving a fixed ten-property input that can be explained. All explanation methods agree that $$\beta $$ -Turn and Isoelectric Point drive most decisions, and both properties correlate strongly with the packet count and packet size of the flows.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Data-Adaptive Explainable Intrusion Detection Framework for IoMT Using Sampling Strategy Search and Ensemble Learning.Sensors (Basel, Switzerland) · 2026
- ExLightNet: A Lightweight and Explainable 1D-CNN for Real-Time Intrusion Detection in Resource-Constrained IoT Sensor Networks.Sensors (Basel, Switzerland) · 2026
- Towards Lightweight IoT Intrusion Detection: Feature Optimization and Explainable Machine Learning for Resource-Constrained EnvironmentarXiv · 2026
- XAI-Driven Intrusion Detection for Internet of Things Networks.Sensors (Basel, Switzerland) · 2026
- LEAF: A Lightweight, Explainable, and Federated Attention Model for Trustworthy 5G Intrusion Detection Under a Leakage-Aware BenchmarkJournal of Cybersecurity and Privacy · 2026
- Federated autoencoder IDS for IoT: A Fed-ANIDS approach using CICIoT2023Systems and Soft Computing · 2026