HED-ID: a federated expert system for interpretable and resource-adaptive intrusion detection on edge devices.
Kushboo Nasir, Sahar K Badri, Asad Khattak, Daniyal M Alghazzawi, Mohammed Yahya Alghamdi, Mona Alkhozae, Abeer Almakky, Rania M Alhazmi,
Gomal Research Institute of Computing (GRIC), Faculty of Computing, Gomal University, D.I.Khan (KP), Pakistan. · Department of Information Systems, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah, Saudi Arabia. Badriskbadri@kau.edu.sa.
Key points
From the paper's conclusion- The paper presents HED-ID, a federated expert system for real-time, edge-oriented anomaly detection combining a stacked bidirectional GRU (BiGRU) architecture with hybrid temporal-spatial attention, a resource-adaptive Grey Wolf Optimizer (A-GWO), federated SHAP for consistent global attributions, a multi-objective fitness function, and SHAP-guided iterative pruning.
- Empirical evaluation on CICIDS-2017, UNSW-NB15, ToN-IoT, and a noisy-edge variant showed 95.6% accuracy in cloud-like conditions and 93.8% on Raspberry Pi 4 before pruning, with inference latency within 18-22 ms. Post-pruning, memory usage decreased from 92 to 115 MB to 78-96 MB with ≤ 1.1% accuracy degradation.
- The system effectively detects anomalies in edge devices with reduced computational overhead while preserving model fidelity, reducing retraining interventions in a simulated 50-device edge environment.
Abstract
The proliferation of edge computing in industrial and IoT networks necessitates expert systems that support accurate, interpretable, and resource-efficient intrusion detection under strict privacy and computational constraints. This paper presents HED-ID, a fully integrated federated expert system designed for real-time, edge-oriented anomaly detection. The system combines: (i) a stacked bidirectional GRU (BiGRU) architecture with hybrid temporal-spatial attention for sequential and feature-level anomaly modeling, (ii) a resource-adaptive Grey Wolf Optimizer (A-GWO) that modulates exploration-exploitation behavior based on real-time CPU utilization and Bayesian epistemic uncertainty, with formal convergence proof under bounded resource shifts (Appendix A), (iii) federated SHAP, which aggregates local explanations using weighted averaging to produce consistent global attributions without sharing raw data, (iv) a multi-objective fitness function that simultaneously considers accuracy, model complexity, and predictive uncertainty, and (v) SHAP-guided iterative pruning for reducing computational overhead while preserving model fidelity. Empirical evaluation on CICIDS-2017, UNSW-NB15, ToN-IoT, and a noisy-edge variant of ToN-IoT (10-20% controlled packet loss and jitter) demonstrates 95.6% accuracy in cloud-like conditions and 93.8% on Raspberry Pi 4 (4 GB RAM) before pruning, with inference latency maintained within 18-22 ms. Post-pruning, memory usage decreases from 92 to 115 MB to 78-96 MB, with ≤ 1.1% accuracy degradation. To support deployment, Docker orchestration templates, pruning threshold configurations, and Grafana-based monitoring are provided-reducing retraining interventions from 11 to 4 per year in a simulated 50-device edge environment.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- The paper presents HED-ID, a federated expert system for real-time, edge-oriented anomaly detection combining a stacked bidirectional GRU (BiGRU) architecture with hybrid temporal-spatial attention, a resource-adaptive Grey Wolf Optimizer (A-GWO), federated SHAP for consistent global attributions, a multi-objective fitness function, and SHAP-guided iterative pruning.
- Empirical evaluation on CICIDS-2017, UNSW-NB15, ToN-IoT, and a noisy-edge variant showed 95.6% accuracy in cloud-like conditions and 93.8% on Raspberry Pi 4 before pruning, with inference latency within 18-22 ms. Post-pruning, memory usage decreased from 92 to 115 MB to 78-96 MB with ≤ 1.1% accuracy degradation.
- The system effectively detects anomalies in edge devices with reduced computational overhead while preserving model fidelity, reducing retraining interventions in a simulated 50-device edge environment.
Readers' thoughts
No reader thoughts yet.
Related papers
- FLEX-IDS: A secure and explainable federated intrusion detection framework for Edge-of-Things environments under adversarial conditionsComputers & Electrical Engineering · 2025
- Deployment-aware acceleration boundaries for Edge-IoT intrusion detection on Raspberry Pi 5 and Hailo-8Discover Internet of Things · 2026
- ExLightNet: A Lightweight and Explainable 1D-CNN for Real-Time Intrusion Detection in Resource-Constrained IoT Sensor Networks.Sensors (Basel, Switzerland) · 2026
- Federated Attention‐Augmented Hybrid Framework for Real‐Time Intrusion Detection in Cloud Environments: Integrating Transformer‐Enhanced Convolutional Networks With Privacy‐Preserving Stochastic OptimizationComputational Intelligence · 2026
- An adaptive federated deep learning approach for efficient DDoS detection in IoT edge networksScientific Reports · 2026
- Spectre-Fed: Evolving Federated Edge Intelligence From FedEdge-ID to Robust-Private IoT Intrusion Detection via Hybrid Adversarial TrainingIEEE Open Journal of the Communications Society · 2026