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

FADE:基于大型视觉-语言模型的少样本/零样本异常检测引擎

FADE: Few-shot/zero-shot Anomaly Detection Engine using Large Vision-Language Model

Onfido;Entrust

Yuanwei Li, Elizaveta Ivanova, Martins Bruveris

AI总结:

本文提出FADE引擎,通过调整CLIP模型并结合多尺度图像块嵌入、自动文本提示集成及查询-参考图像视觉引导,在零样本和少样本工业异常检测中取得领先性能。

摘要:

自动图像异常检测对于制造业中的质量检测至关重要。通常的无监督异常检测方法是为每个物体类别使用正常样本数据集训练一个模型。然而,一个更现实的问题是零样本/少样本异常检测,即只有零个或仅少量正常样本可用,这使得训练特定于物体的模型变得困难。近年来,大型基础视觉-语言模型在各种下游任务中表现出强大的零样本性能。尽管这些模型已经学习了视觉与语言之间的复杂关系,但它们并非专门为异常检测任务而设计。在本文中,我们提出了少样本/零样本异常检测引擎(FADE),该引擎利用视觉-语言CLIP模型并对其进行调整以用于工业异常检测。具体来说,我们改进了语言引导的异常分割:1)通过调整CLIP以提取与语言更好对齐的多尺度图像块嵌入;2)通过自动生成一组与工业异常检测相关的文本提示集成。3)我们使用来自查询图像和参考图像的额外视觉引导,以进一步提高零样本和少样本异常检测性能。在MVTec-AD(和VisA)数据集上,FADE在异常分割方面优于其他最先进的方法,零样本设置下像素AUROC为89.6%(91.5%),1个正常样本设置下为95.4%(97.5%)。代码可在 https://github.com/BMVC-FADE/BMVC-FADE 获取。

英文摘要:

Automatic image anomaly detection is important for quality inspection in the manufacturing industry. The usual unsupervised anomaly detection approach is to train a model for each object class using a dataset of normal samples. However, a more realistic problem is zero-/few-shot anomaly detection where zero or only a few normal samples are available. This makes the training of object-specific models challenging. Recently, large foundation vision-language models have shown strong zero-shot performance in various downstream tasks. While these models have learned complex relationships between vision and language, they are not specifically designed for the tasks of anomaly detection. In this paper, we propose the Few-shot/zero-shot Anomaly Detection Engine (FADE) which leverages the vision-language CLIP model and adjusts it for the purpose of industrial anomaly detection. Specifically, we improve language-guided anomaly segmentation 1) by adapting CLIP to extract multi-scale image patch embeddings that are better aligned with language and 2) by automatically generating an ensemble of text prompts related to industrial anomaly detection. 3) We use additional vision-based guidance from the query and reference images to further improve both zero-shot and few-shot anomaly detection. On the MVTec-AD (and VisA) dataset, FADE outperforms other state-of-the-art methods in anomaly segmentation with pixel-AUROC of 89.6% (91.5%) in zero-shot and 95.4% (97.5%) in 1-normal-shot. Code is available at https://github.com/BMVC-FADE/BMVC-FADE.

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

↑