Answers are grounded in this paper and cite their sources.
Machine learning (ML) has markedly improved intrusion detection systems (IDSs), yet benchmarking studies rarely follow a common protocol, and explainability is usually reported for one model on one dataset, so it is unknown whether the features that drive detection are stable across heterogeneous network environments. This study proposes and validates a Unified Benchmarking and Explainability Framework (UBEF) that integrates standardized preprocessing, multi-criteria model ranking, SHapley Additive exPlanations (SHAP) and a new Cross-Dataset Feature Stability Indicator (CDFSI) in a single reproducible workflow for resilient digital infrastructure and sustainable innovation. The study employs three public benchmark datasets, CIC-IDS2017 (enterprise network), UNSW-NB15 (modern network) and IoT-23 (Internet of Things) and six supervised classifiers (Logistic Regression, Decision Tree, Random Forest, XGBoost, LightGBM and CatBoost) trained and tested under identical conditions, complemented by Jaccard similarity and Spearman rank correlation. The results show that LightGBM ranked first on CIC-IDS2017 (Accuracy 99.91%, F1-score 99.76%, average rank 1.43) and on UNSW-NB15 (Accuracy 87.59%, F1-score 89.75%, average rank 1.43), whereas Random Forest ranked first on IoT-23 (Accuracy 99.9987%, F1-score 99.9992%, average rank 1.00); Logistic Regression was weakest on every dataset (F1-scores of 84.76%, 84.42% and 96.11%). SHAP analysis of the highest-ranked models yielded an overall CDFSI of 0.0000, zero pairwise Jaccard similarity and negative Spearman rank correlations (−0.65 to −0.82, p < 0.001). The findings suggest that ensemble learners dominate, but no single classifier is best everywhere. High predictive Accuracy does not translate into transferable explanations: the Top-10 SHAP features of enterprise, modern-network and IoT traffic share no elements. JEL Classification Codes: C45, C52, C63, L86, O33.
No takes yet. Share an insight, caveat, or question.
Ahmad et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: