A versatile XAI-based framework for efficient and explainable intrusion detection systems
Open Access
- 29 September 2025
- journal article
- research article
- Published by Springer Nature in Annals of Telecommunications
- Vol. 80 (11-12) , 1095-1120
Abstract
Artificial intelligence (AI)-based intrusion detection systems (IDSs) markedly advance network security by leveraging machine learning (ML) and deep learning (DL) models for accurate, adaptive threat detection. Their main drawback, however, is an inherent “black-box” character that impedes trust, traceability, and regulatory compliance. To overcome this limitation, we propose an efficient explainable-AI (XAI) framework that enhances both robustness and interpretability. The two-stage process first couples a statistical selector (ANOVA) with global SHAP scores to retain only the ten most informative features, an approximately 70% dimensionality reduction, then retrains a lightweight XGBoost detector whose decisions are explained locally by SHAP and LIME. Cross-validating the two explanation modalities adds a reliability check absent from earlier hybrids, while the inclusion of a time-efficiency evaluation for explanation generation provides a new performance dimension that prior XAI-IDS studies have not addressed. To our knowledge, this is the first framework to jointly apply dual-stage statistical–model-based feature selection and SHAP–LIME cross-validation in IDS, enabling near-real-time explainability without sacrificing accuracy. Comprehensive experiments on three representative traces, CIC-DDoS2019 (legacy IP DDoS), CICIoT2023 (IoT malware), and 5 G PFCP (control-plane attacks), confirm the framework’s versatility: it sustains an F1 Score of at least 99 % while accelerating LIME explanation time from 36 to 4.9 s, an 87 % speed-up. These results demonstrate that high detection accuracy and transparent, near-real-time interpretability can be achieved simultaneously in modern IDS deployments.Keywords
Funding Information
- Technische Universität Chemnitz
This publication has 34 references indexed in Scilit:
- Optimized intrusion predictions through feature selection methodsComputers & Security, 2025
- Explainable artificial intelligence for feature selection in network traffic classification: A comparative studyTransactions on Emerging Telecommunications Technologies, 2024
- Network Intrusion Detection Based on Explainable Artificial IntelligenceWireless Personal Communications, 2023
- Explainable Intrusion Detection Systems (X-IDS): A Survey of Current Methods, Challenges, and OpportunitiesIEEE Access, 2022
- Explainable Artificial Intelligence Applications in Cyber Security: State-of-the-Art in ResearchIEEE Access, 2022
- XSRU-IoMT: Explainable simple recurrent units for threat detection in Internet of Medical Things networksFuture Generation Computer Systems, 2022
- Explanation Framework for Intrusion Detection2020
- Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AIInformation Fusion, 2020
- Can we open the black box of AI?Nature, 2016
- Analysis of variance (ANOVA)Chemometrics and Intelligent Laboratory Systems, 1989