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

ReContrast: Domain-Specific Anomaly Detection via Contrastive Reconstruction

About

Most advanced unsupervised anomaly detection (UAD) methods rely on modeling feature representations of frozen encoder networks pre-trained on large-scale datasets, e.g. ImageNet. However, the features extracted from the encoders that are borrowed from natural image domains coincide little with the features required in the target UAD domain, such as industrial inspection and medical imaging. In this paper, we propose a novel epistemic UAD method, namely ReContrast, which optimizes the entire network to reduce biases towards the pre-trained image domain and orients the network in the target domain. We start with a feature reconstruction approach that detects anomalies from errors. Essentially, the elements of contrastive learning are elegantly embedded in feature reconstruction to prevent the network from training instability, pattern collapse, and identical shortcut, while simultaneously optimizing both the encoder and decoder on the target domain. To demonstrate our transfer ability on various image domains, we conduct extensive experiments across two popular industrial defect detection benchmarks and three medical image UAD tasks, which shows our superiority over current state-of-the-art methods.

Jia Guo, Shuai Lu, Lize Jia, Weihang Zhang, Huiqi Li• 2023

Related benchmarks

TaskDatasetResultRank
Anomaly LocalizationMVTec AD
Pixel AUROC98.4
369
Anomaly DetectionMVTec-AD (test)--
226
Anomaly DetectionVisA
AUROC97.5
199
Anomaly LocalizationMVTec-AD (test)
Pixel AUROC98.4
181
Anomaly DetectionCIFAR-10
AUC84.1
120
Anomaly DetectionVisA (test)
I-AUROC97.5
91
Anomaly DetectionBraTS 2018 (test)
AUROC (Image)92.93
88
Anomaly SegmentationMVTec-AD (test)
AUROC (Pixel)98.6
85
Anomaly DetectionCIFAR-100
AUROC83
72
Anomaly DetectionMPDD
Clean AUROC0.946
62
Showing 10 of 33 rows

Other info

Code

Follow for update