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

AnomalyNCD:面向工业场景的新颖异常类别发现

AnomalyNCD: Towards Novel Anomaly Class Discovery in Industrial Scenarios

School of Electronic Information and Communications, Huazhong University of Science and Technology(华中科技大学电子信息与通信学院);Artificial Intelligence Research Institute, Wuhan JingCe Electronic Group Co., LTD(武汉精测电子集团股份有限公司人工智能研究院);Department of Information Engineering and Computer Science, University of Trento(特伦托大学信息工程与计算机科学系)

Ziming Huang, Xurui Li, Haotian Liu, Feng Xue, Yuzhe Wang, Yu Zhou

AI总结:

提出AnomalyNCD,通过主元素二值化、掩码引导学习和区域合并策略,解决异常不显著和弱语义问题,实现多类异常分类,在MVTec AD和MTD上取得显著性能提升。

摘要:

近年来,多类异常分类日益受到关注。以往的方法直接对异常进行聚类,但往往因缺乏异常先验知识而难以奏效。获取这种知识面临两个问题:异常的不显著性和弱语义性。在本文中,我们提出了AnomalyNCD,一种兼容不同异常检测方法的多类异常分类网络。为了解决异常的不显著性问题,我们设计了主元素二值化(MEBin)来获得以异常为中心的图像,确保异常被学习,同时避免错误检测的影响。接下来,为了学习具有弱语义的异常,我们设计了掩码引导的表示学习,该方法在掩码的引导下关注孤立的异常,并通过修正的伪标签减少错误输入带来的混淆。最后,为了实现区域和图像层面的灵活分类,我们开发了一种区域合并策略,根据分类的异常区域确定整体图像类别。我们的方法在MVTec AD和MTD数据集上优于最先进的工作。与当前方法相比,AnomalyNCD结合零样本异常检测方法在MVTec AD上实现了10.8%的F1提升、8.8%的NMI提升和9.5%的ARI提升,在MTD上实现了12.8%的F1提升、5.7%的NMI提升和10.8%的ARI提升。代码可在https://github.com/HUST-SLOW/AnomalyNCD获取。

英文摘要:

Recently, multi-class anomaly classification has garnered increasing attention. Previous methods directly cluster anomalies but often struggle due to the lack of anomaly-prior knowledge. Acquiring this knowledge faces two issues: the non-prominent and weak-semantics anomalies. In this paper, we propose AnomalyNCD, a multi-class anomaly classification network compatible with different anomaly detection methods. To address the non-prominence of anomalies, we design main element binarization (MEBin) to obtain anomaly-centered images, ensuring anomalies are learned while avoiding the impact of incorrect detections. Next, to learn anomalies with weak semantics, we design mask-guided representation learning, which focuses on isolated anomalies guided by masks and reduces confusion from erroneous inputs through corrected pseudo labels. Finally, to enable flexible classification at both region and image levels, we develop a region merging strategy that determines the overall image category based on the classified anomaly regions. Our method outperforms the state-of-the-art works on the MVTec AD and MTD datasets. Compared with the current methods, AnomalyNCD combined with zero-shot anomaly detection method achieves a 10.8% $F_1$ gain, 8.8% NMI gain, and 9.5% ARI gain on MVTec AD, and 12.8% $F_1$ gain, 5.7% NMI gain, and 10.8% ARI gain on MTD. Code is available at https://github.com/HUST-SLOW/AnomalyNCD.

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

↑