
摘要
工业视觉检测旨在在制造过程中检测产品表面的缺陷。尽管现有的异常检测模型在许多公开基准测试中表现出色,但其调整能力有限且难以检测逻辑异常,这限制了它们在实际应用中的广泛使用。为此,本文提出了一种新的组件感知异常检测框架(ComAD),该框架能够在工业场景中同时实现可调性和逻辑异常检测。具体而言,我们提出了一种基于轻量级且几乎无需训练的无监督语义分割模型的方法,将图像分割为多个组件。然后,通过建模每个组件的计量特征及其相互关系,设计了一个可解释的逻辑异常检测模型。尽管我们的框架简单,但在图像级别的逻辑异常检测方面达到了最先进的性能。同时,将产品图像分割为多个组件为工业视觉检测提供了一种新的视角,展示了在模型定制、抗噪能力和异常分类方面的巨大潜力。代码将在 https://github.com/liutongkun/ComAD 上提供。
代码仓库
liutongkun/comad
官方
pytorch
GitHub 中提及
基准测试
| 基准 | 方法 | 指标 |
|---|---|---|
| anomaly-detection-on-mvtec-loco-ad | ComAD+AST | Avg. Detection AUROC: 89.8 Detection AUROC (only logical): 90.1 Detection AUROC (only structural): 89.4 |
| anomaly-detection-on-mvtec-loco-ad | ComAD | Avg. Detection AUROC: 81.2 Detection AUROC (only logical): 87.7 Detection AUROC (only structural): 74.6 |
| anomaly-detection-on-mvtec-loco-ad | ComAD+RD4AD | Avg. Detection AUROC: 88.2 Detection AUROC (only logical): 87.5 Detection AUROC (only structural): 88.8 |
| anomaly-detection-on-mvtec-loco-ad | ComAD+PatchCore | Avg. Detection AUROC: 90.1 Detection AUROC (only logical): 89.4 Detection AUROC (only structural): 90.9 |
| anomaly-detection-on-mvtec-loco-ad | ComAD+DRAEM | Avg. Detection AUROC: 87.9 Detection AUROC (only logical): 85.9 Detection AUROC (only structural): 89.9 |