Explainable Hierarchical Mamba for Edge-Based IoT Traffic Classification
Authors:
- Jiangyong YuJYJiangyong Yu
- Chuanping HuCHChuanping Hu
- Runnan WangRWRunnan Wang
Open Access
- 1 January 2026
- journal article
- Published by Tech Science Press in Computers, Materials & Continua
- Vol. 88 (2) , 1-10
Abstract
With the proliferation of Internet of Things (IoT) devices, accurate device fingerprinting of highly encrypted traffic has emerged as a critical challenge for ensuring network security. Existing deep learning models are either difficult to deploy in real-time due to excessive computational complexity (e.g., Transformers) or are limited in performance because their structure does not match the inherent hierarchy of traffic data (e.g., flattened state space models). Furthermore, a general lack of transparency in their decision-making processes restricts their trustworthiness in security-critical scenarios. To address these challenges, this paper proposes a Hierarchical Mamba with Gated Attribution Fingerprinting (HMX-GAF) framework. The framework explicitly models the intrinsic hierarchical structure of traffic data via a bespoke packet-flow dual-layer Mamba encoder, resolving the issue of architectural mismatch. Concurrently, it pioneers a zero-overhead Gated Attribution Fingerprinting (GAF) mechanism by leveraging the internal gating signals of the Mamba model, achieving high-fidelity intrinsic explainability. Comprehensive experiments on the CIC-IoT-2024 dataset demonstrate that HMX-GAF significantly outperforms current state-of-the-art models in both device identification and anomaly detection tasks, while maintaining the millisecond-level inference efficiency required for edge deployment.Keywords
This publication has 29 references indexed in Scilit:
- Device Identification and Anomaly Detection in IoT EnvironmentsIEEE Internet of Things Journal, 2024
- Netmamba: Efficient Network Traffic Classification Via Pre-Training Unidirectional Mamba2024
- Explainable artificial intelligence for feature selection in network traffic classification: A comparative studyTransactions on Emerging Telecommunications Technologies, 2024
- Explainable AI for Intrusion Detection Systems: LIME and SHAP Applicability on Multi-Layer PerceptronIEEE Access, 2024
- Radio frequency fingerprint identification for Internet of Things: A surveySecurity and Safety, 2023
- Deep packet: a novel approach for encrypted traffic classification using deep learningSoft Computing, 2019
- Deep Learning for Encrypted Traffic Classification: An OverviewIEEE Communications Magazine, 2019
- End-to-end encrypted traffic classification with one-dimensional convolution neural networks2017
- IoT SENTINEL: Automated Device-Type Identification for Security Enforcement in IoT2017
- Remote Physical Device FingerprintingIEEE Transactions on Dependable and Secure Computing, 2005