AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detection
Bin-Bin Gao, Yue Zhou, Jiangtao Yan, Yuezhi Cai, Weixi Zhang, Meng Wang, Jun Liu, Yong Liu, Lei Wang, Chengjie Wang
Abstract
Universal visual anomaly detection aims to identify anomalies from novel or unseen vision domains without additional fine-tuning, which is critical in open scenarios. Recent studies have demonstrated that pre-trained vision-language models like CLIP exhibit strong generalization with just zero or a few normal images. However, existing methods struggle with designing prompt templates, complex token interactions, or requiring additional fine-tuning, resulting in limited flexibility. In this work, we present a simple yet effective method called AdaptCLIP based on two key insights. First, adaptive visual and textual representations should be learned alternately rather than jointly. Second, comparative learning between query and normal image prompt should incorporate both contextual and aligned residual features, rather than relying solely on residual features. AdaptCLIP treats CLIP models as a foundational service, adding only three simple adapters, visual adapter, textual adapter, and prompt-query adapter, at its input or output ends. AdaptCLIP supports zero-/few-shot generalization across domains and possesses a training-free manner on target domains once trained on a base dataset. Adapt-CLIP achieves state-of-the-art performance on 12 anomaly detection benchmarks from industrial and medical domains, significantly outperforming existing competitive methods. We will make the code and model of AdaptCLIP available at https://github.com/gaobb/AdaptCLIP .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors cites Towards Total Recall in Industrial Anomaly Detection
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors cites AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors cites Learning Transferable Visual Models From Natural Language Supervision
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors cites A Unified Model for Multi-class Anomaly Detection
- FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement cites Towards Total Recall in Industrial Anomaly Detection
- FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement cites AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection
- FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement cites Learning Transferable Visual Models From Natural Language Supervision
- FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement cites A Unified Model for Multi-class Anomaly Detection
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Learning Transferable Visual Models From Natural Language Supervision
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites A Unified Model for Multi-class Anomaly Detection
- VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer cites Towards Total Recall in Industrial Anomaly Detection
- VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer cites AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection
- VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer cites Learning Transferable Visual Models From Natural Language Supervision
- A Unified Model for Multi-class Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- Beyond Blind Noising: Disentangled Visual Rectification for Hallucination Mitigation in MLLMs cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers4
- VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision TransformerYanning Hou, Peiyuan Li, Zirui Liu, Yitong Wang et al.CVPR 2026 · 14 citations
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly DetectorsGuangyao Zhai, Yue Zhou, Xinyan Deng, Lars Heckler-Kram et al.ICLR 2026 · 9 citations
- FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background DisentanglementMing Hu, Yongsheng Huo, Mingyu Dou, Jianfu Yin et al.CVPR 2026 · 2 citations
- Beyond Blind Noising: Disentangled Visual Rectification for Hallucination Mitigation in MLLMsYujia Chen, Rui Sun, Bingzhou Wang, Huayu Mai et al.ICML 2026
Builds on29
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
- Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations
- A Unified Model for Multi-class Anomaly DetectionZhiyuan You, Lei Cui, Yujun Shen, Kai Yang et al.NeurIPS 2022 · 585 citations
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly DetectionQihang Zhou, Guansong Pang, Yu Tian, Shibo He et al.ICLR 2024 · 380 citations
Related papers
- SimCLIP: Refining Image-Text Alignment with Simple Prompts for Zero-/Few-shot Anomaly DetectionChenghao Deng, Haote Xu, Xiaolu Chen, Haodi Xu et al.ACM MM 2024 · 10 citations
- Adapting Visual-Language Models for Generalizable Anomaly Detection in Medical ImagesChaoqin Huang, Aofan Jiang, Jinghao Feng, Ya Zhang et al.CVPR 2024
- Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample PromptsJiawen Zhu, Guansong PangCVPR 2024 · 43 citations
- AF-CLIP: Zero-Shot Anomaly Detection via Anomaly-Focused CLIP AdaptationQingqing Fang, Wenxi Lv, Qinliang SuACM MM 2025 · 17 citations
- Aligning and Prompting Anything for Zero-Shot Generalized Anomaly DetectionJitao Ma, Weiying Xie, Hangyu Ye, Daixun Li et al.AAAI 2025 · 3 citations
