Share your thoughts, 1 month free Claude Pro on usSee more
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
534
Anomaly DetectionMVTec-AD (test)--
348
Anomaly DetectionVisA
AUROC97.5
293
Anomaly LocalizationMVTec-AD (test)
Pixel AUROC98.4
211
Anomaly DetectionVisA (test)
I-AUROC97.5
148
Anomaly DetectionCIFAR-10
AUC84.1
132
Anomaly DetectionMVTec AD
Image AUROC0.983
92
Anomaly DetectionBraTS 2018 (test)
AUROC (Image)92.93
88
Anomaly SegmentationMVTec-AD (test)
AUROC (Pixel)98.6
85
Image-level Anomaly DetectionMVTec AD
AUROC98.3
82
Showing 10 of 53 rows

Other info

Code

Follow for update