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

MuSc:基于未标记图像互评分的零样本工业异常分类与分割

MuSc: Zero-Shot Industrial Anomaly Classification and Segmentation with Mutual Scoring of the Unlabeled Images

Huazhong University of Science and Technology(华中科技大学);University of Trento(特伦托大学)

Xurui Li, Ziming Huang, Feng Xue, Yu Zhou

AI总结:

针对工业零样本异常分类与分割问题,提出利用未标记图像互评分的MuSc方法,通过多度数局部邻域聚合、互评分机制和约束邻域重评分,在MVTec AD、VisA数据集上实现显著性能提升,无需训练或提示。

摘要:

本文研究工业视觉中的零样本异常分类(AC)与分割(AS)。我们揭示,未标记测试图像中隐含的丰富正常与异常线索可用于异常判定,而这一点被现有方法所忽略。我们的核心观察是:对于工业产品图像,正常图像块能在其他未标记图像中找到数量相对较多的相似块,而异常图像块仅能找到少量相似块。我们利用这一区分性特征,设计了一种基于未标记图像互评分(Mutual Scoring, MuSc)的新型零样本AC/AS方法,该方法无需任何训练或提示。具体而言,我们执行多度数局部邻域聚合(Local Neighborhood Aggregation with Multiple Degrees, LNAMD),以获得能够表征不同尺寸异常的块特征。随后我们提出互评分机制(Mutual Scoring Mechanism, MSM),利用未标记测试图像互相赋予异常分数。此外,我们提出了一种名为约束图像级邻域重评分(Re-scoring with Constrained Image-level Neighborhood, RsCIN)的优化方法,用于图像级异常分类,以抑制正常图像中噪声导致的假阳性。在具有挑战性的MVTec AD和VisA数据集上的优异性能证明了我们方法的有效性。与当前最优的零样本方法相比,MuSc在MVTec AD上实现了21.1%的PRO绝对提升(从72.7%提升至93.8%),在VisA上实现了19.4%的像素AP提升和14.7%的像素AUROC提升。此外,我们的零样本方法性能优于大多数少样本方法,且与部分单类方法相当。代码可在https://github.com/xrli-U/MuSc获取。

英文摘要:

This paper studies zero-shot anomaly classification (AC) and segmentation (AS) in industrial vision. We reveal that the abundant normal and abnormal cues implicit in unlabeled test images can be exploited for anomaly determination, which is ignored by prior methods. Our key observation is that for the industrial product images, the normal image patches could find a relatively large number of similar patches in other unlabeled images, while the abnormal ones only have a few similar patches. We leverage such a discriminative characteristic to design a novel zero-shot AC/AS method by Mutual Scoring (MuSc) of the unlabeled images, which does not need any training or prompts. Specifically, we perform Local Neighborhood Aggregation with Multiple Degrees (LNAMD) to obtain the patch features that are capable of representing anomalies in varying sizes. Then we propose the Mutual Scoring Mechanism (MSM) to leverage the unlabeled test images to assign the anomaly score to each other. Furthermore, we present an optimization approach named Re-scoring with Constrained Image-level Neighborhood (RsCIN) for image-level anomaly classification to suppress the false positives caused by noises in normal images. The superior performance on the challenging MVTec AD and VisA datasets demonstrates the effectiveness of our approach. Compared with the state-of-the-art zero-shot approaches, MuSc achieves a $\textbf{21.1%}$ PRO absolute gain (from 72.7% to 93.8%) on MVTec AD, a $\textbf{19.4%}$ pixel-AP gain and a $\textbf{14.7%}$ pixel-AUROC gain on VisA. In addition, our zero-shot approach outperforms most of the few-shot approaches and is comparable to some one-class methods. Code is available at https://github.com/xrli-U/MuSc.

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

↑