Skip to content
Open access

Reliability auditing of explanations for machine-learning-based intrusion detection systems

Aug 2026 · Journal of Computer Virology and Hacking Techniques · Vol 22 · 0 citations · 29 references

TL;DR

Among the high-performing models, XGBoost provided the strongest balance on IoT-ToN, while Random Forest provided the strongest balance on UNSW-NB15, and the reliability results show that high predictive performance does not automatically imply trustworthy explanations.

Abstract

Machine-learning-based intrusion detection systems can learn nonlinear and interaction-based traffic patterns that are difficult to capture using static rules, but their predictions remain difficult to interpret reliably in analyst-facing cybersecurity workflows. This paper proposes a unified quantitative framework for auditing the reliability of Explainable Artificial Intelligence (XAI) in intrusion detection systems. The framework combines SHAP attributions with permutation-based functional importance, SHAP-permutation rank agreement, sufficiency and comprehensiveness retraining tests, retraining-stability analysis, spurious-feature injection, and a composite XAI reliability radar profile. The framework is evaluated on UNSW-NB15 and IoT-ToN using XGBoost, Logistic Regression, and Random Forest. Final performance is reported on untouched test dataset after training-only cross-validation and model selection. On UNSW-NB15, Random Forest and XGBoost achieved comparable held-out performance, with ROC AUC, PR AUC, and F1-scores of 0.9862, 0.9934, and 0.9231 for Random Forest, and 0.9858, 0.9932, and 0.9217 for XGBoost. Logistic Regression performed lower, with scores of 0.9695, 0.9774, and 0.9037. On IoT-ToN, XGBoost and Random Forest achieved near-ceiling performance, with ROC AUC values of 0.9994 and F1-scores of 0.9867 and 0.9879, respectively, while Logistic Regression degraded substantially, with ROC AUC of 0.8502 and F1-score of 0.6081. The reliability results show that high predictive performance does not automatically imply trustworthy explanations. Logistic Regression produced the most stable explanations, but its weaker detection performance limited its practical suitability. Among the high-performing models, XGBoost provided the strongest balance on IoT-ToN, while Random Forest provided the strongest balance on UNSW-NB15. These findings demonstrate the need to evaluate XAI-enabled intrusion detection using both predictive metrics and quantitative explanation-reliability diagnostics.

Read PDF

Similar papers

Open access Sep 2026

Towards Trustworthy Intrusion Detection: A Calibration-Aware and Explainable Classical-ML Pipeline on NSL-KDD

Existing assessments of machine-learning-based intrusion detection systems (IDSs) often consider each of accuracy, reliability of probability outputs, and transparency of decisions separately. Few attempt to combine all three dimensions in a single assessment. This paper provides a reproducible IDS pipeline that satisf...

Zainab Qahtan Mohammed · 0 citations
Open access 2026

Bias and False Positive Challenges in AI-Based Intrusion Detection Systems under Extreme Class Imbalance

: Artificial intelligence (AI)-based intrusion detection systems (IDS) have evolved to be fundamental in detecting cyberattacks in contemporary networks. Unfortunately, the significant class imbalance present in cyberse-curity datasets may introduce unfair biases during model learning, producing unpredictable predictio...

John Ojo Ajayi, Grace Egenti · 0 citations
Open access Aug 2026

Enhancing cybersecurity with Explainable Artificial Intelligence: technical framework and applications in training labs

This paper discusses how explanation outputs can be operationalized in cybersecurity training labs through auditable “rationale artifacts,” while clarifying that any observed reduction in false positives should be interpreted as the outcome of explanation-guided interventions (e.g., threshold tuning and triage rule adj...

Ahmad Almufarreh, Ashfaq Ahmad, Muhammad Arshad et al. · 0 citations
Review Open access Sep 2026

Explainable and Analyst-Driven Random Forest for Intrusion Detection

Random Forest and other tree-ensemble classifiers achieve high accuracy in network intrusion detection; however, their aggregate decision logic prevents analysts from auditing or deploying individual predictions as operational rules. Post hoc explanation methods introduce latencies incompatible with security operation...

Saloua Bellouch, Mostapha Zbakh, S. Aouad et al. · 0 citations
Open access Oct 2026

Automated Intrusion Detection and Prevention System using Machine Learning

Cyberspace is becoming a growing arena of threats and intrusion detection systems have become an important challenge in the network. Conventional signature-based solutions are no longer sufficient to cope with this increasing complexity. This paper introduces an Automated Intrusion Detection and Prevention System (AIDP...

Pratham Akangire, U. Pujeri · 0 citations
Conference Sep 2026

A Robust Ensemble-Learning Framework for Intrusion Detection on CICIDS2017

Network intrusion detection systems (IDS) continue to struggle with redundant records, imbalanced attack classes, and limited model transparency. This paper presents a robust ensemble-learning framework for intrusion detection built on the CICIDS2017 dataset, and it incorporates removal of duplicate flows, handling of...

Anas Muhammad, Zhong-Sheng Wang, Talha Bin Shakeel · 0 citations

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