Certified Operating Points for Deep Network Intrusion Detectors: Finite-Sample False-Alarm Control and Precision Guarantees Under Base-Rate Uncertainty
- 1Department of Information Technology, Faculty of Computing and Information Technology, Northern Border University, Arar 91431, Saudi Arabia
Abstract
Deep intrusion detectors are usually compared by accuracy or F1-score at an ad hoc threshold, yet in operation the binding constraint is the false-alarm rate, and the value of an alert depends on how rare attacks are. We give threshold rules for any score-based detector whose guarantees are stated in these operational terms. Building on Neyman–Pearson umbrella classification, we derive the exact law of the false-positive rate (FPR) of order-statistic thresholds, its exact mean and hence the recall given up for the guarantee, and the calibration size needed for a given margin. From this law we construct joint FPR and recall certificates, precision guarantees as a function of prevalence, a selection rule under a budget on the total number of alerts, family-specific thresholds, and an anytime-valid monitor that detects calibration drift from reviewed or unlabeled alerts. On UNSW-NB15, CIC-IDS2017 and TON_IoT the certified rule violated the target FPR in 1.0% to 6.8% of draws, against 31% to 54% for the empirical quantile. At 1% prevalence it reached a precision of 0.50, against 0.034 for the default threshold. After a shift that raised the false-alarm rate several-fold, the monitor alarmed within a median of two windows, and recalibration restored the target.
Related
- Certified Inference and Training for Deep Equilibrium Networks: A Continuation Framework with Polynomial Complexity Guarantees
- Certified by Abstention: Distribution-Free Guarantees for Chain-of-Thought Verifiers at Small Calibration Budgets
- Conformal Uncertainty Quantification Guarantees for Neural Operators
- Pricing rides as option contracts: guarantees and memberships under travel-time uncertainty
- A lightweight blockchain-inspired hybrid intrusion detection system with ensemble learning for tamper-proof auditing
BibTeX
@article{alshammari2026certified,
title = {{Certified Operating Points for Deep Network Intrusion Detectors: Finite-Sample False-Alarm Control and Precision Guarantees Under Base-Rate Uncertainty}},
author = {Muteb Alshammari},
journal = {Mathematics},
year = {2026},
month = nov,
doi = {10.3390/math14234321},
url = {https://www.mdpi.com/2227-7390/14/23/4321},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - Certified Operating Points for Deep Network Intrusion Detectors: Finite-Sample False-Alarm Control and Precision Guarantees Under Base-Rate Uncertainty
AU - Muteb Alshammari
PY - 2026
DA - 2026/11/24
JO - Mathematics
DO - 10.3390/math14234321
UR - https://www.mdpi.com/2227-7390/14/23/4321
AB - Deep intrusion detectors are usually compared by accuracy or F1-score at an ad hoc threshold, yet in operation the binding constraint is the false-alarm rate, and the value of an alert depends on how rare attacks are. We give threshold rules for any score-based detector whose guarantees are stated in these operational terms. Building on Neyman–Pearson umbrella classification, we derive the exact law of the false-positive rate (FPR) of order-statistic thresholds, its exact mean and hence the recall given up for the guarantee, and the calibration size needed for a given margin. From this law we construct joint FPR and recall certificates, precision guarantees as a function of prevalence, a selection rule under a budget on the total number of alerts, family-specific thresholds, and an anytime-valid monitor that detects calibration drift from reviewed or unlabeled alerts. On UNSW-NB15, CIC-IDS2017 and TON_IoT the certified rule violated the target FPR in 1.0% to 6.8% of draws, against 31% to 54% for the empirical quantile. At 1% prevalence it reached a precision of 0.50, against 0.034 for the default threshold. After a shift that raised the false-alarm rate several-fold, the monitor alarmed within a median of two windows, and recalibration restored the target.
SN - 2227-7390
ER -