Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

EntroAD: Structural Entropy-Guided Prompt Adaptation for Zero-Shot Anomaly Detection

About

Zero-Shot Anomaly Detection (ZSAD) aims to detect anomalies in unseen domains without target-domain adaptation. Recent CLIP-based methods have shown promising performance by leveraging prompt learning and visual-text alignment. However, most existing approaches rely on a single adaptation pathway, which may be insufficient for heterogeneous anomaly patterns across domains. In practice, anomalies exhibit vastly different characteristics, ranging from salient, localized structural disruptions to subtle, diffuse, and irregular variations. To address this challenge, we propose EntroAD, a structural entropy-guided zero-shot anomaly detection framework. Unlike previous methods, EntroAD introduces a dynamic routing mechanism to process different types of anomalies with specialized adaptation strategies. Specifically, we estimate patch-level structural entropy from self-attention-induced patch relations and use it as a proxy for relational uncertainty to guide anomaly-aware token routing. Based on this routing signal, we construct anomaly-aware routed tokens to better capture anomaly cues with different structural characteristics. We further introduce a confidence-aware dual-branch prompt adaptation module to stabilize visual-text alignment while preserving CLIP's transferable prior. Extensive experiments on 10 industrial and medical benchmarks show that EntroAD achieves state-of-the-art performance in challenging cross-dataset ZSAD settings.

Xinyu Zhao, Qingyun Sun, Jiayi Luo, Jianxin Li• 2026

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionVisA (test)--
148
Anomaly DetectionMPDD (test)--
104
Anomaly DetectionBrainMRI (test)
AUC-ROC0.961
59
Pixel-level Anomaly DetectionMVTec AD
PRO86.2
54
Pixel-level Anomaly DetectionBTAD
AUROC96.1
44
Pixel-level Anomaly DetectionVisA
AUROC94.8
44
Anomaly DetectionBTAD (test)--
43
Anomaly DetectionKvasir
Pixel AUROC85.3
22
Pixel-level Anomaly DetectionEndo
AUROC89.4
20
Pixel-level Anomaly DetectionMPDD
AUROC97.9
19
Showing 10 of 15 rows

Other info

Follow for update