Network

An Early-Exit Explainable Intrusion Prevention System with Federated Learning

Saba Alaa Abdulwahhab, Qutaiba Alasad, Shahad Alahmed, Omer T. Khattab, Meaad Ahmed, Jiann-Shuin Yuan

Computational

Key points

From the paper's conclusion
  • 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.

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.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

An Early-Exit Explainable Intrusion Prevention System with Federated Learning — Science Skim