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

面向Few-Shot异常检测的细粒度视觉-语言对齐方法

Towards Fine-Grained Vision-Language Alignment for Few-Shot Anomaly Detection

Tencent Youtu Lab(腾讯优图实验室)

Yuanting Fan, Jun Liu, Xiaochen Chen, Bin-Bin Gao, Jian Li, Yong Liu, Jinlong Peng, Chengjie Wang

摘要:

Few-Shot异常检测(FSAD)方法识别具有很少已知正常样本的异常区域。大多数现有的方法依赖于预训练的视觉语言模型(VLM)的泛化能力,通过文本描述和图像之间的特征相似性来识别潜在的异常区域。然而,由于缺乏详细的文本描述,这些方法只能预先定义图像级描述来匹配每个视觉块标记,从而识别潜在的异常区域,导致图像描述与块级视觉异常之间的语义错位,定位性能不佳。为了解决上述问题,我们提出了多级细粒度语义说明(MFSC),为现有的异常检测数据集提供多层次和细粒度的文本描述与自动构建管道。基于MFSC,我们提出了一个新的框架名为FineGrainedAD,以提高异常定位性能,它由两个组件:多级可学习提示(MLLP)和多级语义对齐(MLSA)。MLLP通过自动替换和拼接机制将细粒度语义引入到多级可学习提示中,而MLSA则设计了区域聚合策略和多级对齐训练,以帮助可学习提示更好地与相应的视觉区域对齐。实验表明,所提出的FineGrainedAD在MVTec-AD和VisA数据集上的Few-Shot设置中实现了优异的整体性能。

英文摘要:

Few-shot anomaly detection (FSAD) methods identify anomalous regions with few known normal samples. Most existing methods rely on the generalization ability of pre-trained vision-language models (VLMs) to recognize potentially anomalous regions through feature similarity between text descriptions and images. However, due to the lack of detailed textual descriptions, these methods can only pre-define image-level descriptions to match each visual patch token to identify potential anomalous regions, which leads to the semantic misalignment between image descriptions and patch-level visual anomalies, achieving sub-optimal localization performance. To address the above issues, we propose the Multi-Level Fine-Grained Semantic Caption (MFSC) to provide multi-level and fine-grained textual descriptions for existing anomaly detection datasets with automatic construction pipeline. Based on the MFSC, we propose a novel framework named FineGrainedAD to improve anomaly localization performance, which consists of two components: Multi-Level Learnable Prompt (MLLP) and Multi-Level Semantic Alignment (MLSA). MLLP introduces fine-grained semantics into multi-level learnable prompts through automatic replacement and concatenation mechanism, while MLSA designs region aggregation strategy and multi-level alignment training to facilitate learnable prompts better align with corresponding visual regions. Experiments demonstrate that the proposed FineGrainedAD achieves superior overall performance in few-shot settings on MVTec-AD and VisA datasets.

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

↑