HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

DSR -- A dual subspace re-projection network for surface anomaly detection

Vitjan Zavrtanik Matej Kristan Danijel Skočaj

DSR -- A dual subspace re-projection network for surface anomaly detection

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

BenchmarkMethodologyMetrics
anomaly-detection-on-mvtec-adDSR
Detection AUROC: 98.2
Segmentation AP: 70.2
anomaly-detection-on-mvtec-loco-adDSR
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-visaDSR
Segmentation AUPRO (until 30% FPR): 68.1
defect-detection-on-kolektorsdd2DSR
Average Precision: 95.2
unsupervised-anomaly-detection-onDSR
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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
DSR -- A dual subspace re-projection network for surface anomaly detection | Papers | HyperAI