Our new X account is live! Follow @wizwand_team for updates
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 DetectionMVTec-AD (test)
I-AUROC85.8
226
Anomaly DetectionSMD
F1 Score74.38
217
Anomaly DetectionSWaT
F1 Score90.7
174
Anomaly DetectionWBC
ROCAUC0.7706
87
Anomaly SegmentationMVTec-AD (test)
AUROC (Pixel)92.5
85
Tabular Anomaly Detectionpima
AUC ROC0.5938
53
Tabular Anomaly Detectionionosphere
AUC-ROC80.94
50
Tabular Anomaly DetectionBreastW
AUC-ROC0.7296
50
Anomaly ClassificationMVTec-AD (test)
AUROC (Image)85.8
50
Anomaly DetectionMammography
AUC-ROC0.7533
47
Showing 10 of 65 rows

Other info

Code

Follow for update