Command Palette
Search for a command to run...
DSR -- A dual subspace re-projection network for surface anomaly detection
Vitjan Zavrtanik Matej Kristan Danijel Skočaj

Abstract
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.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| anomaly-detection-on-mvtec-ad | DSR | Detection AUROC: 98.2 Segmentation AP: 70.2 |
| anomaly-detection-on-mvtec-loco-ad | DSR | Avg. Detection AUROC: 82.6 Detection AUROC (only logical): 75.0 Detection AUROC (only structural): 90.2 Segmentation AU-sPRO (until FPR 5%): 58.5 |
| anomaly-detection-on-visa | DSR | Segmentation AUPRO (until 30% FPR): 68.1 |
| defect-detection-on-kolektorsdd2 | DSR | Average Precision: 95.2 |
| unsupervised-anomaly-detection-on | DSR | Detection AP: 87.2 Segmentation AP: 61.4 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.