Visual surface anomaly detection aims to detect local image regions that significantly deviate from normal appearance. Recent surface anomaly detection methods rely on generative models to accurately reconstruct the normal areas and to fail on anomalies. These methods are trained only on anomaly-free images, and often require hand-crafted post-processing steps to localize the anomalies, which prohibits optimizing the feature extraction for maximal detection capability. In addition to reconstructive approach, we cast surface anomaly detection primarily as a discriminative problem and propose a discriminatively trained reconstruction anomaly embedding model (DRAEM). The proposed method learns a joint representation of an anomalous image and its anomaly-free reconstruction, while simultaneously learning a decision boundary between normal and anomalous examples. The method enables direct anomaly localization without the need for additional complicated post-processing of the network output and can be trained using simple and general anomaly simulations. On the challenging MVTec anomaly detection dataset, DRAEM outperforms the current state-of-the-art unsupervised methods by a large margin and even delivers detection performance close to the fully-supervised methods on the widely used DAGM surface-defect detection dataset, while substantially outperforming them in localization accuracy.
翻译:视觉表面异常现象的探测旨在探测明显偏离正常外观的当地图像区域。最近表面异常现象的检测方法依靠基因模型来精确地重建正常区域,并导致异常情况失效。这些方法仅就无异常图像进行培训,往往需要手工制作的处理后步骤来将异常情况本地化,禁止优化地貌提取,以达到最大程度的检测能力。除了重建方法外,我们将表面异常检测主要作为一个歧视问题,并提议一个经过有区别地训练的重建异常情况嵌入模型(DRAEM )。拟议方法学习异常情况图像及其无异常情况重建的联合表现,同时学习正常和异常情况实例之间的决定界限。这种方法使得直接出现异常现象的地方化,无需对网络输出进行额外的复杂处理,并且可以使用简单和一般的异常模拟来进行培训。关于MVTec异常现象检测数据集,DRAEM以大范围边缘值取代目前状态的未受监测的不监测方法,甚至提供接近广泛使用的DGMGM的地面检测数据精确性。