Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

A Hierarchical Transformation-Discriminating Generative Model for Few Shot Anomaly Detection

About

Anomaly detection, the task of identifying unusual samples in data, often relies on a large set of training samples. In this work, we consider the setting of few-shot anomaly detection in images, where only a few images are given at training. We devise a hierarchical generative model that captures the multi-scale patch distribution of each training image. We further enhance the representation of our model by using image transformations and optimize scale-specific patch-discriminators to distinguish between real and fake patches of the image, as well as between different transformations applied to those patches. The anomaly score is obtained by aggregating the patch-based votes of the correct transformation across scales and image regions. We demonstrate the superiority of our method on both the one-shot and few-shot settings, on the datasets of Paris, CIFAR10, MNIST and FashionMNIST as well as in the setting of defect detection on MVTec. In all cases, our method outperforms the recent baseline methods.

Shelly Sheynin, Sagie Benaim, Lior Wolf• 2021

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionMVTec AD
AUROC0.752
33
Image-level Anomaly DetectionMVTec (test)
AUROC78
10
Anomaly DetectionMVTec 1.0 (full)
Bottle AUROC70.3
9
Anomaly DetectionMPDD k=2 (test)
Bracket Black46.4
3
Anomaly DetectionMPDD k=4 (test)
AUC (bracket black)48.8
3
Anomaly DetectionMPDD k=8 (test)
Bracket Black Score51
3
Showing 6 of 6 rows

Other info

Follow for update