arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.09493cs.CV
收藏

通过适配预训练视觉语言模型进行异常检测

Anomaly Detection by Adapting a pre-trained Vision Language Model

Huazhong University of Science and Technology(华中科技大学);Huazhong Agriculture University(华中农业大学)

Yuxuan Cai, Xinwei He, Dingkang Liang, Ao Tong, Xiang Bai

AI总结:

本文提出CLIP-ADA框架,通过可学习提示与自监督学习适配预训练CLIP模型,并引入异常区域细化策略,在MVTec-AD和VisA上实现最先进的异常检测与定位性能。

摘要:

近年来,大型视觉和语言模型在适配到许多下游任务时已展现出其成功。在本文中,我们提出了一个名为CLIP-ADA的统一框架,用于通过适配预训练的CLIP模型进行异常检测。为此,我们做出了两项重要改进:1)为了在多个类别的工业图像上实现统一的异常检测,我们引入了可学习的提示(prompt),并通过自监督学习将其与异常模式相关联。2)为了充分利用CLIP的表示能力,我们引入了一种异常区域细化策略,以提升定位质量。在测试阶段,通过直接计算可学习提示的表示与图像之间的相似性来定位异常。综合实验证明了我们框架的优越性,例如,在MVTec-AD和VisA数据集上,我们在异常检测和定位方面分别达到了最先进的97.5/55.6和89.3/33.1的性能。此外,所提出的方法在训练数据极少的情况下也取得了令人鼓舞的性能,这更具挑战性。

英文摘要:

Recently, large vision and language models have shown their success when adapting them to many downstream tasks. In this paper, we present a unified framework named CLIP-ADA for Anomaly Detection by Adapting a pre-trained CLIP model. To this end, we make two important improvements: 1) To acquire unified anomaly detection across industrial images of multiple categories, we introduce the learnable prompt and propose to associate it with abnormal patterns through self-supervised learning. 2) To fully exploit the representation power of CLIP, we introduce an anomaly region refinement strategy to refine the localization quality. During testing, the anomalies are localized by directly calculating the similarity between the representation of the learnable prompt and the image. Comprehensive experiments demonstrate the superiority of our framework, e.g., we achieve the state-of-the-art 97.5/55.6 and 89.3/33.1 on MVTec-AD and VisA for anomaly detection and localization. In addition, the proposed method also achieves encouraging performance with marginal training data, which is more challenging.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑