Skip to content
Open access

Resilient federated intrusion detection with explainable AI: a robust CNN-LSTM architecture for extreme non-IID data distributions.

Jul 2026 · Scientific Reports · 0 citations
Medicine

TL;DR

A novel CNN-LSTM architecture is proposed that is equipped with Explainable AI (XAI) to handle extreme cases of heterogeneous data in Federated Learning-based intrusion detection, demonstrating a highly stable detection is achieved for network-layer attacks, whereas application-layer intrusions suffer severe degradation.

Abstract

The rapid proliferation of Internet of Things (IoT) devices has led to a significant rise in security issues, as traditional centralized intrusion detection systems face difficulties in handling issues such as privacy concerns, communication bottlenecks, and heterogeneous data. Federated Learning (FL) is a new paradigm for collaborative learning that can be used to train intrusion detection systems without compromising user privacy. However, it is challenged by critical issues such as handling highly non-independent and identically distributed (non-IID) data, a common problem in heterogeneous IoT networks such as healthcare networks, financial networks, and industrial networks. In this paper, a novel CNN-LSTM architecture is proposed that is equipped with Explainable AI (XAI) to handle extreme cases of heterogeneous data in Federated Learning-based intrusion detection. Using the CIC-IDS2017 dataset and Dirichlet-based partitioning ([Formula: see text] our optimized CNN-LSTM model achieves a 97.36% centralized F1-score. We demonstrate that while architectural design provides highly stable robustness under moderate data heterogeneity ([Formula: see text]), extreme non-IID conditions ([Formula: see text]) trigger severe weight washing, dropping FedAvg performance to 71.53%. Through a comprehensive hyperparameter sweep, we prove that applying FedProx with a strong proximal penalty ([Formula: see text]) successfully mitigates this client drift, recovering the F1-score to 78.27%. Using SHAP, LIME, t-SNE, and PCA, we reveal that our model learns universal protocol-level features (Init_Win_bytes_forward, ACK Flag Count, and Fwd Packet Length Min) that remain invariant across heterogeneous networks. Finally, we demonstrate a highly stable detection is achieved for network-layer attacks, whereas application-layer intrusions (Web Attacks) suffer severe degradation, proving the fundamental limitations of flow-based features for payload-driven attacks.

Read PDF

Similar papers

Open access Aug 2026

BBFS-LSTM-AE: An Optimized Intrusion Detection Model for Securing IoT Networks

A novel intelligent IDS system using the Feature Selection technique inspired by Bowerbird Courtship and Long Short-Term Memory Autoencoder and Long Short-Term Memory Autoencoder using Seagull Optimizer is introduced to build an effective and scalable IDS that can perform efficient feature selection, learn deep tempora...

Nancy Thomas, R. Gunasundari · 0 citations
Open access Aug 2026

Explainable Deep Learning Intrusion Detection Framework for Securing IoT Environment

A new explainable hybrid IDS architecture for IoT environments named XABiL-IDS (Explainable Attention-based Bi LSTM-Intrusion Detection System) in response to this challenge, which uses a robust hybrid architecture to detect attacks effectively.

Ravi Patni, Gurvinder Singh · 0 citations
#federated learning Open access Sep 2026

Privacy-preserving intrusion detection in IoT smart homes using a federated hybrid 1D-CNN–LSTM model with explainable AI

FedShield-IDS is proposed, a novel federated intrusion detection framework that integrates a hybrid one-dimensional Convolutional Neural Network with Long Short-Term Memory units to simultaneously capture spatial traffic fingerprints and long-range temporal attack dynamics across IoT edge devices.

Ghada Abdelhady, Karim Wael Hussein, Islam Anwar Ali Gad · 0 citations
#federated learning Open access Aug 2026

Privacy-Enhancing Federated Learning Models for Cybersecurity in IoT Networks

Federated Learning is investigated as a decentralized approach to intrusion detection that enables local model training on IoT edge devices while transmitting only encrypted model updates to a central server, thereby preserving data privacy and reducing communication overhead.

Mohammed Ajuji, Y. M. Malgwi, A. Ahmadu et al. · 0 citations
Open access Aug 2026

AI-Driven Security: Detecting Cyber Attacks in IoT Networks

LSTM had good detection for frequent attacks and slow-changing patterns, which shows its capacity in learning long-lasting dependencies, which shows its capacity in learning long-lasting dependencies.

Jawad Hussain Awan, Misbah Safdar, Muhammad Ayaz Shirazi et al. · 0 citations
Conference Aug 2026

Framework for Intrusion Detection in IoT Networks: A Lightweight Soft-Voting Ensemble of XGBoost and LightGBM with Explainable AI

The rapid propagation of Internet of Things (IoT) devices has significantly expanded the cyber-attack surface, particularly in essential infrastructure sectors such as energy, water, and healthcare. Machine learning (ML) based intrusion detection systems (IDS) offer a promising defense, but their real-world deployment...

Nooruddine F. Assarwie, F. Alqasemi, Tasnim M. Al-Khawlani et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.