[Paper Review] A Critical Assessment of Interpretable and Explainable Machine Learning for Intrusion Detection
This paper critically evaluates interpretable and explainable machine learning (XAI) for intrusion detection, arguing that complex models like Deep Neural Networks (DNNs) are unnecessarily opaque and that simpler, inherently interpretable models like Decision Trees (DTs) perform just as well on existing datasets. The study demonstrates that feature-based explanations are highly inconsistent across methods, hyperparameters, and optimization routines, and that these explanations lack actionable utility for cybersecurity practitioners, advocating instead for alternative approaches like prototype-based models or counterfactual explanations.
There has been a large number of studies in interpretable and explainable ML for cybersecurity, in particular, for intrusion detection. Many of these studies have significant amount of overlapping and repeated evaluations and analysis. At the same time, these studies overlook crucial model, data, learning process, and utility related issues and many times completely disregard them. These issues include the use of overly complex and opaque ML models, unaccounted data imbalances and correlated features, inconsistent influential features across different explanation methods, the inconsistencies stemming from the constituents of a learning process, and the implausible utility of explanations. In this work, we empirically demonstrate these issues, analyze them and propose practical solutions in the context of feature-based model explanations. Specifically, we advise avoiding complex opaque models such as Deep Neural Networks and instead using interpretable ML models such as Decision Trees as the available intrusion datasets are not difficult for such interpretable models to classify successfully. Then, we bring attention to the binary classification metrics such as Matthews Correlation Coefficient (which are well-suited for imbalanced datasets. Moreover, we find that feature-based model explanations are most often inconsistent across different settings. In this respect, to further gauge the extent of inconsistencies, we introduce the notion of cross explanations which corroborates that the features that are determined to be impactful by one explanation method most often differ from those by another method. Furthermore, we show that strongly correlated data features and the constituents of a learning process, such as hyper-parameters and the optimization routine, become yet another source of inconsistent explanations. Finally, we discuss the utility of feature-based explanations.
Motivation & Objective
- To identify and critique critical flaws in current XAI research for intrusion detection, particularly the overreliance on complex, opaque models like DNNs despite simpler models being sufficient.
- To highlight the neglect of key ML issues such as class imbalance, feature correlation, and hyperparameter sensitivity in existing XAI evaluations.
- To demonstrate that feature-based explanations are inconsistent across different explanation methods, models, and learning process components.
- To evaluate the practical utility of feature-based explanations and show they lack actionable feedback for cybersecurity experts.
- To propose a shift in research focus toward non-feature-based explanation methods such as prototypes or counterfactuals.
Proposed method
- Empirically compare performance of interpretable models (Ridge, Decision Trees) and a DNN on two real-world intrusion detection datasets to assess model suitability.
- Use balanced accuracy and Matthews Correlation Coefficient (MCC) as primary metrics to address class imbalance, arguing for their superiority over standard metrics like accuracy and F1-score.
- Introduce 'cross-explanations'—a novel method to test consistency by evaluating whether features deemed important by one model remain impactful when used to train another—thereby assessing transferability of explanations.
- Systematically vary hyperparameters and optimization routines to assess their impact on explanation stability and consistency.
- Analyze feature correlation effects on explanation reliability and evaluate the intrinsic feedback (e.g., decision rules) from DTs versus external explanation methods like SHAP and Permutation Importance.
- Assess the practical utility of explanations by evaluating whether they enable actionable insights for post-attack response.

Experimental results
Research questions
- RQ1Are complex, opaque models like DNNs necessary for intrusion detection, or can simpler, inherently interpretable models like Decision Trees achieve comparable performance?
- RQ2To what extent do feature-based explanations vary across different explanation methods, hyperparameters, and optimization routines?
- RQ3How do class imbalance and feature correlation affect the reliability and consistency of model explanations in intrusion detection?
- RQ4Can explanations derived from one model be meaningfully transferred to another model, indicating consistency and robustness?
- RQ5Do current feature-based explanations provide actionable feedback for cybersecurity practitioners, or are they practically useless?
Key findings
- Interpretable models such as Decision Trees and Ridge classifiers achieve classification performance comparable to DNNs on existing intrusion detection datasets, rendering the use of complex DNNs unjustified.
- Standard classification metrics like accuracy and F1-score are misleading on imbalanced datasets; Matthews Correlation Coefficient (MCC) is shown to be a more reliable and accurate metric.
- Feature-based explanations are highly inconsistent: the most influential features identified by SHAP and Permutation Importance often differ significantly across methods and settings.
- Cross-explanations reveal that features deemed impactful by one model are rarely transferable to another, indicating a lack of consistency and generalizability in explanations.
- Small changes in hyperparameters or optimization routines cause negligible changes in model performance (≤0.1% for standard metrics, ≤2% for MCC), yet lead to substantial inconsistencies in feature explanations, undermining their credibility.
- Despite intrinsic feedback (e.g., decision rules) in DTs, stochastic inconsistencies in feature importance and lack of actionable guidance render current XAI methods practically useless for cybersecurity experts.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.