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

VCP-CLIP:用于零样本异常分割的视觉上下文提示模型

VCP-CLIP: A visual context prompting model for zero-shot anomaly segmentation

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);CASI Vision Technology CO., LTD.(中智视觉科技有限公司);University of Technology Sydney(悉尼科技大学);Hangzhou Dianzi University(杭州电子科技大学);Tsinghua University(清华大学)

Zhen Qu, Xian Tao, Mukesh Prasad, Fei Shen, Zhengtao Zhang, Xinyi Gong, Guiguang Ding

AI总结:

提出VCP-CLIP模型,通过视觉上下文提示激活CLIP的异常感知能力,无需产品特定文本提示,在10个工业数据集上实现零样本异常分割的最先进性能。

摘要:

近年来,诸如CLIP等大规模视觉-语言模型在零样本异常分割(ZSAS)任务中展现出巨大潜力,利用统一模型通过精心设计的文本提示直接检测任何未见产品上的异常。然而,现有方法通常假设待检测的产品类别是已知的,从而设置特定于产品的文本提示,这在数据隐私场景中难以实现。此外,即使同一类型的产品,由于具体组件和生产过程中的差异,也表现出显著不同,这对文本提示的设计构成了重大挑战。为此,我们提出了一种基于CLIP的视觉上下文提示模型(VCP-CLIP)用于ZSAS任务。VCP-CLIP背后的洞察是利用视觉上下文提示来激活CLIP的异常语义感知能力。具体而言,我们首先设计了一个Pre-VCP模块,将全局视觉信息嵌入到文本提示中,从而消除了对特定产品提示的需求。然后,我们提出了一种新颖的Post-VCP模块,利用图像的细粒度特征调整文本嵌入。在10个真实世界工业异常分割数据集上进行的大量实验中,VCP-CLIP在ZSAS任务中取得了最先进的性能。代码可在https://github.com/xiaozhen228/VCP-CLIP获取。

英文摘要:

Recently, large-scale vision-language models such as CLIP have demonstrated immense potential in zero-shot anomaly segmentation (ZSAS) task, utilizing a unified model to directly detect anomalies on any unseen product with painstakingly crafted text prompts. However, existing methods often assume that the product category to be inspected is known, thus setting product-specific text prompts, which is difficult to achieve in the data privacy scenarios. Moreover, even the same type of product exhibits significant differences due to specific components and variations in the production process, posing significant challenges to the design of text prompts. In this end, we propose a visual context prompting model (VCP-CLIP) for ZSAS task based on CLIP. The insight behind VCP-CLIP is to employ visual context prompting to activate CLIP's anomalous semantic perception ability. In specific, we first design a Pre-VCP module to embed global visual information into the text prompt, thus eliminating the necessity for product-specific prompts. Then, we propose a novel Post-VCP module, that adjusts the text embeddings utilizing the fine-grained features of the images. In extensive experiments conducted on 10 real-world industrial anomaly segmentation datasets, VCP-CLIP achieved state-of-the-art performance in ZSAS task. The code is available at https://github.com/xiaozhen228/VCP-CLIP.

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

↑