Uncertainty and Explainability-Gated Intrusion Detection for Zero-Trust: A Reproducible Hybrid Framework Beyond Benchmark Accuracy
Keywords:
intrusion detection, explainable artificial intelligence, uncertainty quantification, probability calibration, selective prediction, conformal prediction, zero-trust architectureAbstract
Machine-learning intrusion detection systems often report near-perfect performance under random, within-dataset splits, although reliability may deteriorate under temporal drift, cross-network transfer, class imbalance and previously unseen attacks. Existing studies also tend to treat explainability as a post-hoc visual aid rather than as evidence that should constrain automated response. This article presents UREX-ZT-IDS, an uncertainty-aware, risk-calibrated and explanation-gated hybrid intrusion detection framework for Zero-Trust enforcement. The framework integrates heterogeneous tabular and temporal learners, probability calibration, ensemble disagreement, event-level out-of-distribution detection, selective prediction, SHAP explanation consistency, asset criticality and identity/session context. Automated containment is permitted only when attack risk is high and evidence quality satisfies explicit probability, uncertainty and explanation-stability thresholds; ambiguous events are rejected or routed to an analyst. The revised methodology specifies leakage-controlled temporal and cross-dataset evaluation on CICIDS2017, CSE-CIC-IDS2018 and UNSW-NB15, complete model configurations, calibration procedures, statistical tests, latency measurement, operational subgroup analysis and reproducibility controls. To avoid fabricating benchmark findings, the numerical section is a transparently labelled synthetic protocol validation rather than an empirical claim about the named datasets. In that constructed evaluation, the full framework achieved mean temporal macro-F1 of 0.919, expected calibration error of 0.025 and lower incorrect automated-containment rate than probability-only policy, while incurring a mean end-to-end decision latency of 6.50 ms. The study therefore contributes a complete, falsifiable and auditable pathway from benchmark machine learning to deployment-oriented intrusion detection, while making the remaining requirement for raw-dataset and live shadow validation explicit.

