Answers are grounded in this paper and cite their sources.
Evaluates explainable network intrusion detection in diverse environments, highlighting critical gaps.
Modern network intrusion detection systems (IDS) achieve high accuracy on benchmark datasets but often fail in real-world deployments due to domain shift and a lack of interpretability. We present a comprehensive framework that addresses both challenges. First, we design a leakage-free, multi-class IDS pipeline using class-weighted ensemble models, feature ablation, and SHAP explainability. Evaluated on CIC-IDS2017, our Random Forest model attains 98.83% accuracy (macro F1 0.826) and provides interpretable explanations for rare attack classes such as Web Attack, which achieves a precision-recall AUC of 1.000. Cross-dataset testing on UNSW-NB15 reveals a catastrophic collapse (31.9% accuracy, 0% attack recall), confirming severe domain shift formally characterised as covariate and concept shift. Our experiments show that the model is profoundly overconfident on out-of-domain data: even at a 0.90 threshold, 93% of UNSW-NB15 samples are still predicted with high confidence while accuracy drops to 30.6%. Platt scaling improves out-of-domain accuracy to 68.1%, yet confidence-based filtering remains ineffective. XGBoost exhibits even stronger overconfidence, retaining 98% of samples at 0.95 confidence with only 31.4% accuracy. These findings demonstrate that trustworthy AI-driven network security requires both explainability and robust domain adaptation.
No takes yet. Share an insight, caveat, or question.
Vinay Kumar Mandadi (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: