CORAL-IDS: A Calibrated Risk Layer for Explainable, Open-world Intrusion Detection
Abstract
Deep-learning intrusion detection systems (IDS) tend to accumulate architectural components faster than evidence that those components help. This paper takes the opposite route: starting from a rich candidate pipeline, additional retain only what survives paired statistical testing across five seeds, and report every rejected addition alongside its measured effect. The result, CORAL-IDS, is a plain 73.518K-parameter temporal Transformer wrapped in a Calibrated Operational Risk-Assessment Layer: a class-mean prototype memory that signals embedding-space novelty, Monte Carlo Dropout predictive uncertainty, and a three-term auditable risk score, with escalation thresholds calibrated as percentiles of verified-benign validation traffic; SHapley Additive explanations (SHAP) accompany every alert as explanation only, without entering the decision path. Six candidate additions (isolation-forest noise filtering, adaptive feature refinement, joint feature-and-temporal attention on raw features, prototype-contrastive training, extreme-value recalibration, and tenfold rare-class oversampling) were each fully implemented and evaluated: none improved closed-set performance; joint feature-and-temporal attention consistently degraded it across all five paired seeds, and rare-class oversampling lowered R2L recall. On NSL-KDD, the minimal detector reaches competitive accuracy and ranking quality under two disclosed evaluation protocols, at sub-millisecond CPU inference; more importantly, the operational layer whose gains are deterministic for a fixed classifier recovers more than half of the attacks the classifier silently misses, at a precision where the majority of resulting escalations are genuine attacks. External validation on UNSW-NB15 shows the learned representation transfers well by ranking quality even as classification accuracy degrades under measured distribution shift, which this paper converts into a concrete deployment recalibration protocol.
// Source
Authors: Sarah Hikmat Khaled, Russl Hussein Hasan, Ali Talib Mohan, Ali saif aldeen Aubaid Khioon
Institutions: University of Baghdad, Ministry of Higher Education and Scientific Research