WMoE-CLIP: Wavelet-Enhanced Mixture-of-Experts Prompt Learning for Zero-Shot Anomaly Detection
Organizations: School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University, Shenzhen
Abstract
Vision-language models have recently shown strong generalization in zero-shot anomaly detection (ZSAD), enabling the detection of unseen anomalies without task-specific supervision. However, existing approaches typically rely on fixed textual prompts, which struggle to capture complex semantics, and focus solely on spatial-domain features, limiting their ability to detect subtle anomalies. To address these challenges, we propose a wavelet-enhanced mixture-of-experts prompt learning method for ZSAD. Specifically, a variational autoencoder is employed to model global semantic representations and integrate them into prompts to enhance adaptability to diverse anomaly patterns. Wavelet decomposition extracts multi-frequency image features that dynamically refine textual embeddings through cross-modal interactions. Furthermore, a semantic-aware mixture-of-experts module is introduced to aggregate contextual information. Extensive experiments on 14 industrial and medical datasets demonstrate the effectiveness of the proposed method.
Figures & tables
| Domain | Metric | Dataset | WinCLIP | CLIP-AD | AnomalyCLIP | Ada-CLIP | AA-CLIP | WMoE-CLIP |
| CVPR2023 | IJCAI2024 | ICLR2024 | ECCV2024 | CVPR2025 | — | |||
| Industrial | Image-level (AUROC,F1-Max, AP) | MVTec-AD | (91.8, 92.9 , 95.1) | (89.8, 91.1, 95.3) | (91.5, 92.8, 96.2) | ( 92.0 , 92.7, 96.4 ) | (90.5, 91.4, 95.6) | ( 92.4 , 93.2 , 96.9 ) |
| VisA | (78.1, 79.0, 77.5) | (79.8, 79.2, 84.3) | (82.1, 80.4, 85.4 ) | (83.0, 81.6 , 84.9) | ( 84.6 , 78.7, 83.4) | ( 87.3 , 84.4 , 90.0 ) | ||
| BTAD | (83.3, 81.0, 84.1) | (85.8, 81.7, 85.2) | (89.1, 86.0, 91.1) | (91.6, 88.9, 92.4) | ( 93.8 , 92.8 , 97.1 ) | ( 92.6 , 95.0 , 97.8 ) | ||
| KSDD2 | (93.5, 71.4, 77.9) | (95.2, 84.4, 88.2) | (92.1, 71.0, 77.8) | ( 95.9 , 84.5, 95.9) | (95.8, 91.4 , 96.8 ) | ( 96.8 , 91.5 , 97.4 ) | ||
| DAGM | (89.6, 86.4, 90.4) | (90.8, 88.4, 90.5) | (95.6, 93.2, 94.6 ) | ( 96.5 , 94.1 , 95.7) | (94.3, 81.7, 84.2) | ( 96.7 , 93.4 , 95.9 ) |
| CTDS | WCMA | SA-MoE | MVTec-AD | VisA | ||
|---|---|---|---|---|---|---|
| I-AUC | P-AUC | I-AUC | P-AUC | |||
| 88.6 | 90.8 | 84.8 | 94.3 | |||
| ✓ | 89.9 | 91.4 | 85.5 | 94.9 | ||
| ✓ | ✓ | 90.9 | 91.8 | 86.1 | 95.3 | |
| ✓ | ✓ | 91.5 | 91.6 | 86.7 | 95.1 | |
| ✓ | ✓ | ✓ | 92.4 | 92.1 | 87.3 | 95.6 |