Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Zero-Shot Anomaly Detection via Batch Normalization

About

Anomaly detection (AD) plays a crucial role in many safety-critical application domains. The challenge of adapting an anomaly detector to drift in the normal data distribution, especially when no training data is available for the "new normal," has led to the development of zero-shot AD techniques. In this paper, we propose a simple yet effective method called Adaptive Centered Representations (ACR) for zero-shot batch-level AD. Our approach trains off-the-shelf deep anomaly detectors (such as deep SVDD) to adapt to a set of inter-related training data distributions in combination with batch normalization, enabling automatic zero-shot generalization for unseen AD tasks. This simple recipe, batch normalization plus meta-training, is a highly effective and versatile tool. Our theoretical results guarantee the zero-shot generalization for unseen AD tasks; our empirical results demonstrate the first zero-shot AD results for tabular data and outperform existing methods in zero-shot anomaly detection and segmentation on image data from specialized domains. Code is at https://github.com/aodongli/zero-shot-ad-via-batch-norm

Aodong Li, Chen Qiu, Marius Kloft, Padhraic Smyth, Maja Rudolph, Stephan Mandt• 2023

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionSMD
F1 Score74.38
375
Anomaly DetectionSWaT
F1 Score90.7
348
Anomaly DetectionMVTec-AD (test)
I-AUROC85.8
348
Anomaly DetectionWBC
ROCAUC0.7706
132
Tabular Anomaly Detectionpima
AUC ROC0.5938
86
Anomaly SegmentationMVTec-AD (test)
AUROC (Pixel)92.5
85
Tabular Anomaly DetectionBreastW
AUC-ROC0.7296
83
Tabular Anomaly DetectionWine
AUC-ROC0.8884
72
Tabular Anomaly Detectionpendigits
AUC-ROC73.83
72
Tabular Anomaly Detectionionosphere
AUC-ROC80.94
66
Showing 10 of 66 rows

Other info

Code

Follow for update