An Early-Exit Explainable Intrusion Prevention System with Federated Learning

Intrusion Prevention Systems (IPSs) are designed in order to detect and block malicious traffic with high accuracy, low latency, and limited resource use. Unfortunately, most learning-based solutions often depend on a single deep model or a hybrid cascade that can process every flow through the full pipeline, which is computationally expensive and offers little insight into why a decision was made. To overcome these issues, we propose EENet-IPS, an Early-Exit Explainable Intrusion Prevention System that combines multi-exit deep neural networks, federated training, and exit-specific explainability in a single architecture. A single backbone network exposes three exits (CNN, BiLSTM, and Transformer); confidently classified, simple traffic flows exit at the first exit in order to save time and computation, while ambiguous or complex flows are carefully routed deeper for closer analysis. Each exit has been paired with an exit-appropriate explanation technique, including SHAP, Integrated Gradients, and constrained counterfactuals, respectively, whose output is attached to the decision of a rule-based mitigation policy. To preserve data privacy across heterogeneous networks, the presented backbone is trained with federated learning (FedAvg) on the simulated non-IID clients that send clipped, noise-perturbed, and top-k-sparsified updates. We evaluate the proposed EENet-IPS on three public intrusion datasets— CSE-CIC-IDS2018, UNSW-NB15, and CICIoT2023—under both centralized and federated training, utilizing a leakage-controlled protocol (identifier removal, duplicate removal before splitting, and preprocessing fitted on the training data only) and three repeated runs. The routed system accomplished 99.98%, 95.78%, and 98.79% accuracy on the three datasets, with an AUC of at least 0.991. It resolves 73.9–99.9% of the flows at the first exit and lowers the mean single-flow CPU latency from 2.06–2.28 ms at full depth to 0.55–0.83 ms. In a single federated run (one client partition), the federated training stays within 1.75 percentage points of the centralized training while sending 5.0 times less uplink data than plain FedAvg. Among the recently related IPS/IDS studies that we compare with, none combines early-exit inference, federated training, and per-exit explanations, and the accuracy of EENet-IPS remains competitive with the reported results.

Authors

Institutions

Publication Details

Journal
Network
Published
2026-11-27
DOI
https://doi.org/10.3390/network6040110
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An Early-Exit Explainable Intrusion Prevention System with Federated Learning

Qutaiba Alasad, Shahad Alahmed, Saba Alaa Abdulwahhab, Jiann Shiun Yuan et al.
Network
Network Security and Intrusion Detection
article

An Early-Exit Explainable Intrusion Prevention System with Federated Learning

Qutaiba Alasad, Shahad Alahmed, Saba Alaa Abdulwahhab, Jiann Shiun Yuan, Omer T. Khattab, Meaad Ahmed
article en

Abstract

Intrusion Prevention Systems (IPSs) are designed in order to detect and block malicious traffic with high accuracy, low latency, and limited resource use. Unfortunately, most learning-based solutions often depend on a single deep model or a hybrid cascade that can process every flow through the full pipeline, which is computationally expensive and offers little insight into why a decision was made. To overcome these issues, we propose EENet-IPS, an Early-Exit Explainable Intrusion Prevention System that combines multi-exit deep neural networks, federated training, and exit-specific explainability in a single architecture. A single backbone network exposes three exits (CNN, BiLSTM, and Transformer); confidently classified, simple traffic flows exit at the first exit in order to save time and computation, while ambiguous or complex flows are carefully routed deeper for closer analysis. Each exit has been paired with an exit-appropriate explanation technique, including SHAP, Integrated Gradients, and constrained counterfactuals, respectively, whose output is attached to the decision of a rule-based mitigation policy. To preserve data privacy across heterogeneous networks, the presented backbone is trained with federated learning (FedAvg) on the simulated non-IID clients that send clipped, noise-perturbed, and top-k-sparsified updates. We evaluate the proposed EENet-IPS on three public intrusion datasets— CSE-CIC-IDS2018, UNSW-NB15, and CICIoT2023—under both centralized and federated training, utilizing a leakage-controlled protocol (identifier removal, duplicate removal before splitting, and preprocessing fitted on the training data only) and three repeated runs. The routed system accomplished 99.98%, 95.78%, and 98.79% accuracy on the three datasets, with an AUC of at least 0.991. It resolves 73.9–99.9% of the flows at the first exit and lowers the mean single-flow CPU latency from 2.06–2.28 ms at full depth to 0.55–0.83 ms. In a single federated run (one client partition), the federated training stays within 1.75 percentage points of the centralized training while sending 5.0 times less uplink data than plain FedAvg. Among the recently related IPS/IDS studies that we compare with, none combines early-exit inference, federated training, and per-exit explanations, and the accuracy of EENet-IPS remains competitive with the reported results.

NetworkVol. 6(4)
University of Central Florida (US), Northern Technical University (IQ), University of Tikrit (IQ)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon