DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detection

17 Aug 2021  ·  Vitjan Zavrtanik, Matej Kristan, Danijel Skočaj ·

Visual surface anomaly detection aims to detect local image regions that significantly deviate from normal appearance. Recent surface anomaly detection methods rely on generative models to accurately reconstruct the normal areas and to fail on anomalies. These methods are trained only on anomaly-free images, and often require hand-crafted post-processing steps to localize the anomalies, which prohibits optimizing the feature extraction for maximal detection capability. In addition to reconstructive approach, we cast surface anomaly detection primarily as a discriminative problem and propose a discriminatively trained reconstruction anomaly embedding model (DRAEM). The proposed method learns a joint representation of an anomalous image and its anomaly-free reconstruction, while simultaneously learning a decision boundary between normal and anomalous examples. The method enables direct anomaly localization without the need for additional complicated post-processing of the network output and can be trained using simple and general anomaly simulations. On the challenging MVTec anomaly detection dataset, DRAEM outperforms the current state-of-the-art unsupervised methods by a large margin and even delivers detection performance close to the fully-supervised methods on the widely used DAGM surface-defect detection dataset, while substantially outperforming them in localization accuracy.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Anomaly Detection MVTec AD DRAEM Detection AUROC 98.0 # 44
Segmentation AUROC 97.3 # 47
Segmentation AP 68.4 # 10
Anomaly Detection MVTec LOCO AD DRAEM Avg. Detection AUROC 73.6 # 28
Detection AUROC (only logical) 72.8 # 25
Detection AUROC (only structural) 74.4 # 28
Segmentation AU-sPRO (until FPR 5%) 42.6 # 14
Anomaly Detection VisA DRAEM Segmentation AUPRO (until 30% FPR) 73.1 # 15

Methods


No methods listed for this paper. Add relevant methods here