AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detection

Association for Artificial Intelligence, Yuezhi Cai, Bin-Bin Gao, Jun Liu, Yong Liu, Lei Wang, Chengjie Wang, Meng Wang, Jiangtao Yan, Weixi Zhang, Yue ZhouUnderline 2026 · OpenAlex

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 fine-tuning on target domains, resulting in limited flexibility. In this work, we present a simple yet effective 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. AdaptCLIP 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.
BibTeX
@inproceedings{intelligence2026adaptclip,
  author = {Association for Artificial Intelligence and Yuezhi Cai and Bin-Bin Gao and Jun Liu and Yong Liu and Lei Wang and Chengjie Wang and Meng Wang and Jiangtao Yan and Weixi Zhang and Yue Zhou},
  title = {{AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detection}},
  booktitle = {Underline},
  year = {2026},
  doi = {10.48448/71rd-cy10},
}

Loading related content...

Figure