Explainable IoT intrusion detection via bio-inspired encoding and interpretable AI models
Year: 2026
Type: article
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.
Source: Scientific Reports
Institutions: De Montfort University, University of Tartu
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: gold
Estimated APC paid: $2,690
OpenAlex ID: W7233594800
FWCI:
Cites:
Cited by:
Related to:
