Towards a Trustworthy Anomaly Detection for Critical Applications through Approximated Partial AUC Loss
Arnaud Bougaham, Benoît Frénay
TL;DR
This work addresses trustworthy anomaly detection in critical domains by enforcing zero false negatives under a limited false positive rate. It introduces tapAUC, an adaptive partial AUC loss guiding the classifier to achieve high true positive rates while keeping false positives low, with the ZFN threshold kept for test-time evaluation. Evaluations on six datasets spanning industrial, medical, and cybersecurity tasks show a mean TPR of 92.52% at a 20.43% FPR, outperforming related partial AUC methods in the targeted region and enabling an uncertainty interval for human-in-the-loop checks. The approach advances practical trustworthiness for critical anomaly detection systems and suggests avenues for smoother training and end-to-end image integration.
Abstract
Anomaly Detection is a crucial step for critical applications such in the industrial, medical or cybersecurity domains. These sectors share the same requirement of handling differently the different types of classification errors. Indeed, even if false positives are acceptable, false negatives are not, because it would reflect a missed detection of a quality issue, a disease or a cyber threat. To fulfill this requirement, we propose a method that dynamically applies a trustworthy approximated partial AUC ROC loss (tapAUC). A binary classifier is trained to optimize the specific range of the AUC ROC curve that prevents the True Positive Rate (TPR) to reach 100% while minimizing the False Positive Rate (FPR). The optimal threshold that does not trigger any false negative is then kept and used at the test step. The results show a TPR of 92.52% at a 20.43% FPR for an average across 6 datasets, representing a TPR improvement of 4.3% for a FPR cost of 12.2% against other state-of-the-art methods. The code is available at https://github.com/ArnaudBougaham/tapAUC.
