Reliability diagnostics for post-hoc explanations in network intrusion detection: a SHAP-LIME agreement study.
Burak Aggul
Department of Database, Network Design, and Management, Plato Vocational School, Istanbul Topkapi University, Istanbul, Türkiye.
Key points
From the paper's conclusion- Introduction High classification performance does not establish the reliability of post-hoc explanations in network intrusion detection.
Abstract
INTRODUCTION: High classification performance does not establish the reliability of post-hoc explanations in network intrusion detection. METHODS: This study evaluates SHAP and LIME by separating agreement between methods from within-method repeatability and prediction changes under feature replacement. Four classifiers are compared on CIC-IDS2017, UNSW-NB15, and NSL-KDD using five training seeds per task. Local explanation analyses focus on five fitted Transformers, with an additional NSL-KDD checkpoint to examine model-seed sensitivity. Shared-reference comparisons, sampling-budget tests, global and different-flow ranking controls, and matched random-feature replacements are used to assess the results. RESULTS: Mean top-five Jaccard agreement ranges from 0.15 to 0.40, while rank-biased overlap ranges from 0.24 to 0.55. However, much of this overlap also occurs between different flows with the same predicted class, limiting evidence of flow-specific agreement. Larger SHAP budgets improve within-method repeatability but do not ensure closer agreement with LIME. Under conditional-donor replacement, removing top-ranked features does not consistently reduce predicted-class probabilities more than random removal. Retaining these features better preserves the probabilities, although weak or unchanged replacements limit the interpretation. DISCUSSION: These findings show that agreement alone is insufficient to establish explanation reliability. For practical use, feature rankings should be evaluated alongside within-method repeatability and perturbation controls that measure actual input changes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Protocol-Aware Auditing of Domain-Blind Feature Attribution in Network Intrusion DetectionarXiv · 2026
- A method for forensic-ready intrusion detection using explainable learning, prediction-aware graph modeling, and counterfactual analysisMethodsX · 2026
- XAI-Driven Intrusion Detection for Internet of Things Networks.Sensors (Basel, Switzerland) · 2026
- A Stacking Ensemble Framework with Mutual Information Feature Selection and SHAP for Explainable Network Intrusion DetectionApplied Science and Engineering Journal for Advanced Research · 2026
- Comparative Evaluation of Explainable AI-Driven Intrusion Detection Systems: Performance, Interpretability, and Scalability AnalysisEPJ Web of Conferences · 2026
- Confusion-Aware Explainable Alert Triage for Network Intrusion DetectionApplied Sciences · 2026