arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.14814cs.CVcs.AIcs.CL
收藏

WinCLIP:零/Few-Shot异常分类和分割

WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentation

AWS AI Labs(AWS人工智能实验室);KAIST(韩国科学技术院)

Jongheon Jeong, Yang Zou, Taewan Kim, Dongqing Zhang, Avinash Ravichandran, Onkar Dabeer

摘要:

视觉异常分类和分割是工业质量检测自动化的关键。该领域先前研究的重点是为每个质量检查任务训练自定义模型,这需要特定于任务的图像和注释。在本文中,我们离开这个制度,解决zero-shot和少数正常的镜头异常分类和分割。最近CLIP,一个视觉语言模型,已经显示出革命性的通用性与竞争力的零/Few-Shot性能相比,全监督。但CLIP在异常分类和分割任务上存在不足。因此,我们提出了基于窗口的CLIP(WinCLIP)(1)状态词和提示模板上的组合集成,以及(2)与文本对齐的窗口/补丁/图像级特征的有效提取和聚合。我们还提出了它的几个正常的镜头扩展WinCLIP+,它使用正常图像的互补信息。在MVTec-AD(和VisA)中,无需进一步调优,WinCLIP在zero-shot异常分类和分割中实现了91.8%/85.1%(78.1%/79.6%)的AUROC,而WinCLIP+在1次正常拍摄中实现了93.1%/95.2%(83.8%/96.4%),大大超过了最先进的水平。

英文摘要:

Visual anomaly classification and segmentation are vital for automating industrial quality inspection. The focus of prior research in the field has been on training custom models for each quality inspection task, which requires task-specific images and annotation. In this paper we move away from this regime, addressing zero-shot and few-normal-shot anomaly classification and segmentation. Recently CLIP, a vision-language model, has shown revolutionary generality with competitive zero-/few-shot performance in comparison to full-supervision. But CLIP falls short on anomaly classification and segmentation tasks. Hence, we propose window-based CLIP (WinCLIP) with (1) a compositional ensemble on state words and prompt templates and (2) efficient extraction and aggregation of window/patch/image-level features aligned with text. We also propose its few-normal-shot extension WinCLIP+, which uses complementary information from normal images. In MVTec-AD (and VisA), without further tuning, WinCLIP achieves 91.8%/85.1% (78.1%/79.6%) AUROC in zero-shot anomaly classification and segmentation while WinCLIP+ does 93.1%/95.2% (83.8%/96.4%) in 1-normal-shot, surpassing state-of-the-art by large margins.

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

↑