English

CLIP Meets Diffusion: A Synergistic Approach to Anomaly Detection

Computer Vision and Pattern Recognition 2025-11-06 v3 Machine Learning

Abstract

Anomaly detection is a complex problem due to the ambiguity in defining anomalies, the diversity of anomaly types (e.g., local and global defect), and the scarcity of training data. As such, it necessitates a comprehensive model capable of capturing both low-level and high-level features, even with limited data. To address this, we propose CLIPFUSION, a method that leverages both discriminative and generative foundation models. Specifically, the CLIP-based discriminative model excels at capturing global features, while the diffusion-based generative model effectively captures local details, creating a synergistic and complementary approach. Notably, we introduce a methodology for utilizing cross-attention maps and feature maps extracted from diffusion models specifically for anomaly detection. Experimental results on benchmark datasets (MVTec-AD, VisA) demonstrate that CLIPFUSION consistently outperforms baseline methods, achieving outstanding performance in both anomaly segmentation and classification. We believe that our method underscores the effectiveness of multi-modal and multi-model fusion in tackling the multifaceted challenges of anomaly detection, providing a scalable solution for real-world applications.

Keywords

Cite

@article{arxiv.2506.11772,
  title  = {CLIP Meets Diffusion: A Synergistic Approach to Anomaly Detection},
  author = {Byeongchan Lee and John Won and Seunghyun Lee and Jinwoo Shin},
  journal= {arXiv preprint arXiv:2506.11772},
  year   = {2025}
}

Comments

Accepted at TMLR 2025

R2 v1 2026-07-01T03:15:48.735Z