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

CLIP-AD: A Language-Guided Staged Dual-Path Model for Zero-shot Anomaly Detection

About

This paper considers zero-shot Anomaly Detection (AD), performing AD without reference images of the test objects. We propose a framework called CLIP-AD to leverage the zero-shot capabilities of the large vision-language model CLIP. Firstly, we reinterpret the text prompts design from a distributional perspective and propose a Representative Vector Selection (RVS) paradigm to obtain improved text features. Secondly, we note opposite predictions and irrelevant highlights in the direct computation of the anomaly maps. To address these issues, we introduce a Staged Dual-Path model (SDP) that leverages features from various levels and applies architecture and feature surgery. Lastly, delving deeply into the two phenomena, we point out that the image and text features are not aligned in the joint embedding space. Thus, we introduce a fine-tuning strategy by adding linear layers and construct an extended model SDP+, further enhancing the performance. Abundant experiments demonstrate the effectiveness of our approach, e.g., on MVTec-AD, SDP outperforms the SOTA WinCLIP by +4.2/+10.7 in segmentation metrics F1-max/PRO, while SDP+ achieves +8.3/+20.5 improvements.

Xuhai Chen, Jiangning Zhang, Guanzhong Tian, Haoyang He, Wuhao Zhang, Yabiao Wang, Chengjie Wang, Yong Liu• 2023

Related benchmarks

TaskDatasetResultRank
Anomaly SegmentationMVTec-AD (test)--
85
Anomaly SegmentationVisA (test)
P-AUROC95.2
51
Anomaly DetectionMVTec AD
I-AUROC89.8
43
Image-level Anomaly DetectionBTAD
AUROC85.8
39
Anomaly SegmentationMVTec AD
AUROC (Pixelwise)0.898
33
Pixel-level Anomaly DetectionBTAD
AUROC93.1
30
Pixel-level Anomaly DetectionVisA
AUROC95
30
Image-level Anomaly DetectionMVTec AD
AUROC89.8
28
Image-level Anomaly DetectionDAGM
AUROC90.8
28
Anomaly SegmentationDAGM
AUROC99
27
Showing 10 of 25 rows

Other info

Follow for update