arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.09654cs.CVcs.MM
收藏

LLMs理解视觉异常吗?揭示LLM在零样本异常检测中的能力

Do LLMs Understand Visual Anomalies? Uncovering LLM's Capabilities in Zero-shot Anomaly Detection

Beijing Institute of Technology(北京理工大学);National University of Singapore(新加坡国立大学)

Jiaqi Zhu, Shaofeng Cai, Fang Deng, Beng Chin Ooi, Junran Wu

AI总结:

本文提出无需训练的ALFA方法,通过运行时提示适应策略和细粒度对齐器,解决零样本视觉异常检测中静态提示跨语义歧义和局部对齐缺失问题,在MVTec和VisA数据集上PRO指标显著提升。

摘要:

大型视觉语言模型(LVLMs)在自然语言引导下获取视觉表征方面表现出色。近期研究利用LVLMs,通过将图像与指示正常和异常条件的文本描述配对(称为异常提示),来解决零样本视觉异常检测(VAD)挑战。然而,现有方法依赖静态异常提示,容易产生跨语义歧义,且优先考虑全局图像级表征,而忽略了精确异常定位所需的局部像素级图文对齐。本文提出ALFA,一种无需训练的方法,通过统一模型解决这些问题。我们提出运行时提示适应策略,首先生成信息丰富的异常提示以利用大型语言模型(LLM)的能力。该策略通过上下文评分机制增强,实现逐图异常提示适应并缓解跨语义歧义。我们进一步引入细粒度对齐器,通过将图文对齐从全局投影到局部语义空间,融合局部像素级语义以实现精确异常定位。在MVTec和VisA数据集上的广泛评估证实了ALFA在利用语言潜力进行零样本VAD方面的有效性,与最先进方法相比,在MVTec上实现12.1%的PRO提升,在VisA上实现8.9%的PRO提升。

英文摘要:

Large vision-language models (LVLMs) are markedly proficient in deriving visual representations guided by natural language. Recent explorations have utilized LVLMs to tackle zero-shot visual anomaly detection (VAD) challenges by pairing images with textual descriptions indicative of normal and abnormal conditions, referred to as anomaly prompts. However, existing approaches depend on static anomaly prompts that are prone to cross-semantic ambiguity, and prioritize global image-level representations over crucial local pixel-level image-to-text alignment that is necessary for accurate anomaly localization. In this paper, we present ALFA, a training-free approach designed to address these challenges via a unified model. We propose a run-time prompt adaptation strategy, which first generates informative anomaly prompts to leverage the capabilities of a large language model (LLM). This strategy is enhanced by a contextual scoring mechanism for per-image anomaly prompt adaptation and cross-semantic ambiguity mitigation. We further introduce a novel fine-grained aligner to fuse local pixel-level semantics for precise anomaly localization, by projecting the image-text alignment from global to local semantic spaces. Extensive evaluations on MVTec and VisA datasets confirm ALFA's effectiveness in harnessing the language potential for zero-shot VAD, achieving significant PRO improvements of 12.1% on MVTec and 8.9% on VisA compared to state-of-the-art approaches.

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

↑