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

KAnoCLIP:通过知识驱动提示学习和增强跨模态整合实现零样本异常检测

KAnoCLIP: Zero-Shot Anomaly Detection through Knowledge-Driven Prompt Learning and Enhanced Cross-Modal Integration

College of Software Engineering, Southeast University(东南大学软件工程学院);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院)

Chengyuan Li, Suyang Zhou, Jieping Kong, Lei Qi, Hui Xue

AI总结:

提出KAnoCLIP框架,通过融合GPT-3.5与Llama3知识的KnPL提示学习及多级跨模态模块,提升CLIP的零样本像素级异常检测能力。

摘要:

零样本异常检测(ZSAD)无需来自目标数据集的训练样本即可识别异常,这对于存在隐私顾虑或数据有限的场景至关重要。CLIP等视觉-语言模型在ZSAD中展现出潜力,但存在局限:依赖人工制作的固定文本描述或异常提示既耗时又容易产生语义歧义,而且CLIP在像素级异常分割方面存在困难,其更关注全局语义而非局部细节。为解决这些局限,我们提出KAnoCLIP,这是一种利用视觉-语言模型的新型ZSAD框架。KAnoCLIP通过知识驱动提示学习(KnPL),结合来自大型语言模型(GPT-3.5)的通用知识与来自视觉问答系统(Llama3)的细粒度、图像特定知识。KnPL使用知识驱动(KD)损失函数来创建可学习的异常提示,消除了对固定文本提示的需求并增强了泛化能力。KAnoCLIP包括带V-V注意力的CLIP视觉编码器(CLIP-VV)、用于多级跨模态交互的双向交叉注意力(Bi-CMCI)以及Conv-Adapter。这些组件保留局部视觉语义、改善局部跨模态融合,并使全局视觉特征与文本信息对齐,从而增强像素级异常检测。KAnoCLIP在12个工业和医学数据集上取得了ZSAD的最先进性能,证明其相较现有方法具有更优的泛化能力。

英文摘要:

Zero-shot anomaly detection (ZSAD) identifies anomalies without needing training samples from the target dataset, essential for scenarios with privacy concerns or limited data. Vision-language models like CLIP show potential in ZSAD but have limitations: relying on manually crafted fixed textual descriptions or anomaly prompts is time-consuming and prone to semantic ambiguity, and CLIP struggles with pixel-level anomaly segmentation, focusing more on global semantics than local details. To address these limitations, We introduce KAnoCLIP, a novel ZSAD framework that leverages vision-language models. KAnoCLIP combines general knowledge from a Large Language Model (GPT-3.5) and fine-grained, image-specific knowledge from a Visual Question Answering system (Llama3) via Knowledge-Driven Prompt Learning (KnPL). KnPL uses a knowledge-driven (KD) loss function to create learnable anomaly prompts, removing the need for fixed text prompts and enhancing generalization. KAnoCLIP includes the CLIP visual encoder with V-V attention (CLIP-VV), Bi-Directional Cross-Attention for Multi-Level Cross-Modal Interaction (Bi-CMCI), and Conv-Adapter. These components preserve local visual semantics, improve local cross-modal fusion, and align global visual features with textual information, enhancing pixel-level anomaly detection. KAnoCLIP achieves state-of-the-art performance in ZSAD across 12 industrial and medical datasets, demonstrating superior generalization compared to existing methods.

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

↑