arXiv:2510.10456cs.CVstat.AP2025-10被引 5

解决工业缺陷检测中重复出现的异常问题,提升零样本检测准确率。

On the Problem of Consistent Anomalies in Zero-Shot Industrial Anomaly Detection

  • 构建图像级图结构,通过邻居耗尽现象识别重复异常
  • 在MVTec数据集上达成98.3%的分类AUROC,分割性能提升超5%
  • 适用于无训练数据的工业质检,对不同模型架构均有效

零样本图像异常分类(AC)和分割(AS)对工业质量控制至关重要,可在无先验训练数据情况下检测缺陷。现有基于表示的方法通过比较图像块特征与未标记测试图像中的最近邻进行检测,但对重复出现的异常(即多个图像中相似缺陷)表现不佳,导致性能下降。本文提出一致异常检测图(CoDeGraph),通过识别并过滤相似性计算中的一致异常来改进。核心洞察是:正常图像块在测试图像间表现出稳定、渐进增加的相似性,而一致异常块在有限匹配后会出现突增的相似性峰值,称为“邻居耗尽”。CoDeGraph构建图像级图,以图像为节点,连接具有相同一致异常模式的图像,利用社区检测方法过滤异常。我们基于极值理论提供理论支撑。在使用ViT-L-14-336主干网络的MVTec AD数据集上,实现98.3%的分类AUROC,分割F1提升4.2%至66.8%,AP提升5.4%至68.1%;采用DINOv2主干进一步提升分割性能,达到69.1%(+6.5%)F1和71.9%(+9.2%)AP,证明方法对多种架构的鲁棒性。

原文摘要 · Abstract (English)

Zero-shot image anomaly classification (AC) and segmentation (AS) are vital for industrial quality control, detecting defects without prior training data. Existing representation-based methods compare patch features with nearest neighbors in unlabeled test images but struggle with consistent anomalies -- similar defects recurring across multiple images -- resulting in poor AC/AS performance. We introduce Consistent-Anomaly Detection Graph (CoDeGraph), a novel algorithm that identifies and filters consistent anomalies from similarity computations. Our key insight is that normal patches in industrial images show stable, gradually increasing similarity to other test images, while consistent-anomaly patches exhibit abrupt similarity spikes after exhausting a limited set of similar matches, a phenomenon we term ``neighbor-burnout.'' CoDeGraph constructs an image-level graph, with images as nodes and edges connecting those with shared consistent-anomaly patterns, using community detection to filter these anomalies. We provide a theoretical foundation using Extreme Value Theory to explain the effectiveness of our approach. Experiments on MVTec AD with the ViT-L-14-336 backbone achieve 98.3% AUROC for AC and AS performance of 66.8% (+4.2%) F1 and 68.1% (+5.4%) AP over state-of-the-art zero-shot methods. Using the DINOv2 backbone further improves segmentation, yielding 69.1% (+6.5%) F1 and 71.9% (+9.2%) AP, demonstrating robustness across architectures.

异常检测零样本工业质检图神经网络

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。