Vitjan Zavrtanik, Matej Kristan, Danijel Skočaj
The state-of-the-art in discriminative unsupervised surface anomaly detection relies on external datasets for synthesizing anomaly-augmented training images. Such approaches are prone to failure on near-in-distribution anomalies since these are difficult to be synthesized realistically due to their similarity to anomaly-free regions. We propose an architecture based on quantized feature space representation with dual decoders, DSR, that avoids the image-level anomaly synthesis requirement. Without making any assumptions about the visual properties of anomalies, DSR generates the anomalies at the feature level by sampling the learned quantized feature space, which allows a controlled generation of near-in-distribution anomalies. DSR achieves state-of-the-art results on the KSDD2 and MVTec anomaly detection datasets. The experiments on the challenging real-world KSDD2 dataset show that DSR significantly outperforms other unsupervised surface anomaly detection methods, improving the previous top-performing methods by 10% AP in anomaly detection and 35% AP in anomaly localization.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Anomaly Detection | MVTec AD | Detection AUROC | 98.2 | DSR |
| Anomaly Detection | MVTec AD | Segmentation AP | 70.2 | DSR |
| Anomaly Detection | VisA | Segmentation AUPRO (until 30% FPR) | 68.1 | DSR |
| Anomaly Detection | MVTec LOCO AD | Avg. Detection AUROC | 82.6 | DSR |
| Anomaly Detection | MVTec LOCO AD | Detection AUROC (only logical) | 75 | DSR |
| Anomaly Detection | MVTec LOCO AD | Detection AUROC (only structural) | 90.2 | DSR |
| Anomaly Detection | MVTec LOCO AD | Segmentation AU-sPRO (until FPR 5%) | 58.5 | DSR |
| Anomaly Detection | KolektorSDD2 | Detection AP | 87.2 | DSR |
| Anomaly Detection | KolektorSDD2 | Segmentation AP | 61.4 | DSR |
| Unsupervised Anomaly Detection | KolektorSDD2 | Detection AP | 87.2 | DSR |
| Unsupervised Anomaly Detection | KolektorSDD2 | Segmentation AP | 61.4 | DSR |