journal article·2026-02-12Open access

DCS: A Zero-Shot Anomaly Detection Framework with DINO-CLIP-SAM Integration

Yan Wan, Yingqi Lang, Li Yao

Applied Sciences· Volume 16· Issue 4

Abstract

Recently, the progress of foundation models such as CLIP and SAM has shown the great potential of zero-shot anomaly detection tasks. However, existing methods usually rely on general descriptions such as “abnormal”, and the semantic coverage is insufficient, making it difficult to express fine-grained anomaly semantics. In addition, CLIP primarily performs global-level alignment, and it is difficult to accurately locate minor defects, while the segmentation quality of SAM is highly dependent on prompt constraints. In order to solve these problems, we proposed DCS, a unified framework that integrates Grounding DINO, CLIP and SAM through three key innovations. First of all, we introduced FinePrompt for adaptive learning, which significantly enhanced the modeling ability of exception semantics by building a fine-grained exception description library and adopting learnable text embeddings. Secondly, we have designed an Adaptive Dual-path Cross-modal Interaction (ADCI) module to achieve more effective cross-modal information exchange through dual-path fusion. Finally, we proposed a Box-Point Prompt Combiner (BPPC), which combines box prior information provided by DINO with the point prompt generated by CLIP, so as to guide SAM to generate finer and more complete segmentation results. A large number of experiments have proved the effectiveness of our method. On the MVTec-AD and VisA datasets, DCS has achieved the most state-of-the-art zero-shot anomaly detection results.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Anomaly Detection Techniques and Applications · Domain Adaptation and Few-Shot Learning · Topic Modeling

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Information and Intelligent Sciences, Donghua University, Shanghai 201620, China

References (24)

Show source-provided references
1. Defard, T., Setkov, A., Loesch, A., and Audigier, R. (2021). Padim: A patch distribution modeling framework for anomaly detection and localization. Proceedings of the International Conference on Pattern Recognition, Virtual Event, 10–15 January 2021, Springer International Publishing.10.1007/978-3-030-68799-1_35 ↗
2. Deng, H., and Li, X. (2022, January 18–24). Anomaly detection via reverse distillation from one-class embedding. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.00951 ↗
3. Roth, K., Pemula, L., Zepeda, J., Schölkopf, B., Brox, T., and Gehler, P. (2022, January 18–24). Towards total recall in industrial anomaly detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01392 ↗
4. A unified model for multi-class anomaly detection
5. Jeong, J., Zou, Y., Kim, T., Zhang, D., Ravichandran, A., and Dabeer, O. (2023, January 17–24). Winclip: Zero-/few-shot anomaly classification and segmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.01878 ↗
6. Radford, A., Kim, J.W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., and Clark, J. (2021, January 18–24). Learning transferable visual models from natural language supervision. Proceedings of the 38th International Conference on Machine Learning, PmLR, Virtual.
7. Chen, X., Han, Y., and Zhang, J. (2023). A zero-/few-shot anomaly classification and segmentation method for CVPR 2023 (VAND) workshop challenge tracks 1 & 2. 1st Place on Zero-shot AD and 4th Place on Few-shot AD. arXiv.
8. Anomalygpt: Detecting industrial anomalies using large vision-language models10.1609/aaai.v38i3.27963 ↗
9. ClipSAM: CLIP and SAM collaboration for zero-shot anomaly segmentation10.1016/j.neucom.2024.129122 ↗
10. Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A.C., and Lo, W.-Y. (2023, January 2–3). Segment anything. Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France.10.1109/ICCV51070.2023.00371 ↗
11. Liu, S., Zeng, Z., Ren, T., Li, F., Zhang, H., Yang, J., Jiang, Q., Li, C., Yang, J., and Su, H. (2024). Grounding dino: Marrying dino with grounded pre-training for open-set object detection. Proceedings of the European Conference on Computer Vision, Milan, Italy, 29 September–4 October 2024, Springer Nature.10.1007/978-3-031-72970-6_3 ↗
12. Bergmann, P., Fauser, M., Sattlegger, D., and Steger, C. (2019, January 15–20). MVTec AD–A comprehensive real-world dataset for unsupervised anomaly detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00982 ↗
13. Zhou, Q., Pang, G., Tian, Y., He, S., and Chen, J. (2023). Anomalyclip: Object-agnostic prompt learning for zero-shot anomaly detection. arXiv.
14. Cao, Y., Xu, X., Sun, C., Cheng, Y., Du, Z., Gao, L., and Shen, W. (2023). Segment any anomaly without training via hybrid prompt regularization. arXiv.
15. Hu, R., Rohrbach, M., and Darrell, T. (2016). Segmentation from natural language expressions. Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands, 8–16 October 2016, Springer International Publishing.10.1007/978-3-319-46448-0_7 ↗
16. Chen, D.J., Jia, S., Lo, Y.C., Chen, H.T., and Liu, T.L. (November, January 27). See-through-text grouping for referring image segmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
17. Bidirectional relationship inferring network for referring image localization and segmentation10.1109/TNNLS.2021.3106153 ↗
18. Kumar, D., Pawar, P.P., Addula, S.R., Meesala, M.K., Oni, O., Cheema, Q.N., Haq, A.U., and Sajja, G.S. (2025). AI-Powered security for IoT ecosystems: A hybrid deep learning approach to anomaly detection. J. Cybersecur. Priv., 5.10.3390/jcp5040090 ↗
19. Deng, H., Zhang, Z., Bao, J., and Li, X.A. (2023). Adapting Vision-Language Models for Unified Zero-Shot Anomaly Localization. arXiv.
20. Zhu, J., Cai, S., Deng, F., Ooi, B.C., and Wu, J. (November, January 28). Do LLMs Understand Visual Anomalies? Uncovering LLM’s Capabilities in Zero-shot Anomaly Detection. Proceedings of the 32nd ACM International Conference on Multimedia, Melbourne, VIC, Australia.
21. Zou, Y., Jeong, J., Pemula, L., Zhang, D., and Dabeer, O. (2022). Spot-the-difference self-supervised pre-training for anomaly detection and segmentation. Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022, Springer Nature.10.1007/978-3-031-20056-4_23 ↗
22. Loshchilov, I., and Hutter, F. (2024). Decoupled weight decay regularization. arXiv.
23. Chen, X., Zhang, J., Tian, G., He, H., Zhang, W., Wang, Y., Wang, C., and Liu, Y. (2024). Clip-ad: A language-guided staged dual-path model for zero-shot anomaly detection. Proceedings of the International Joint Conference on Artificial Intelligence, Jeju, Republic of Korea, 2–8 August 2024, Springer Nature.10.1007/978-981-97-9003-6_2 ↗
24. Cao, Y., Zhang, J., Frittoli, L., Cheng, Y., Shen, W., and Boracchi, G. (2024). Adaclip: Adapting clip with hybrid learnable prompts for zero-shot anomaly detection. Proceedings of the European Conference on Computer Vision, Milan, Italy, 29 September–4 October 2024, Springer Nature.10.1007/978-3-031-72761-0_4 ↗