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

面向少样本异常检测的核感知图提示学习

Kernel-Aware Graph Prompt Learning for Few-Shot Anomaly Detection

School of Computer Science and Engineering, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院);School of Intelligence Science and Technology, Nanjing University(南京大学智能科学与技术学院)

Fenfang Tao, Guo-Sen Xie, Fang Zhao, Xiangbo Shu

AI总结:

针对少样本异常检测忽略视觉特征跨层交互的问题,提出核感知图提示学习框架KAG-prompt,构建层次图捕捉跨层信息并结合多级融合评分,在MVTecAD和VisA数据集上取得最优结果。

摘要:

少样本异常检测(FSAD)旨在借助来自同一类别的极少量正常支持图像的引导,检测未见过的异常区域。现有FSAD方法通常在主流大视觉语言模型范式下,通过直接设计复杂文本提示使其与视觉特征对齐来发现异常。然而,这些方法几乎总是忽略视觉特征中的内在上下文信息,例如不同视觉层之间的交互关系,而这是全面检测异常的重要线索。为此,我们提出一种核感知图提示学习框架,称为KAG-prompt,通过推理视觉特征间的跨层关系来解决FSAD问题。具体而言,构建核感知层次图,将聚焦于不同大小异常区域的不同层特征作为节点,同时任意节点对之间的关系作为图的边。通过在该图上进行消息传递,KAG-prompt能够捕捉跨层上下文信息,从而实现更准确的异常预测。此外,为整合预测图中多个重要异常信号的信息,我们提出一种基于多级信息融合的新型图像级评分方法。在MVTecAD和VisA数据集上的大量实验表明,KAG-prompt在图像级/像素级异常检测中取得了最先进的FSAD结果。代码可在https://github.com/CVL-hub/KAG-prompt.git获取。

英文摘要:

Few-shot anomaly detection (FSAD) aims to detect unseen anomaly regions with the guidance of very few normal support images from the same class. Existing FSAD methods usually find anomalies by directly designing complex text prompts to align them with visual features under the prevailing large vision-language model paradigm. However, these methods, almost always, neglect intrinsic contextual information in visual features, e.g., the interaction relationships between different vision layers, which is an important clue for detecting anomalies comprehensively. To this end, we propose a kernel-aware graph prompt learning framework, termed as KAG-prompt, by reasoning the cross-layer relations among visual features for FSAD. Specifically, a kernel-aware hierarchical graph is built by taking the different layer features focusing on anomalous regions of different sizes as nodes, meanwhile, the relationships between arbitrary pairs of nodes stand for the edges of the graph. By message passing over this graph, KAG-prompt can capture cross-layer contextual information, thus leading to more accurate anomaly prediction. Moreover, to integrate the information of multiple important anomaly signals in the prediction map, we propose a novel image-level scoring method based on multi-level information fusion. Extensive experiments on MVTecAD and VisA datasets show that KAG-prompt achieves state-of-the-art FSAD results for image-level/pixel-level anomaly detection. Code is available at https://github.com/CVL-hub/KAG-prompt.git.

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

↑