Anomaly detection is an important problem in computer vision; however, the scarcity of anomalous samples makes this task difficult. Thus, recent anomaly detection methods have used only normal images with no abnormal areas for training. In this work, a powerful anomaly detection method is proposed based on student-teacher feature pyramid matching (STPM), which consists of a student and teacher network. Generative models are another approach to anomaly detection. They reconstruct normal images from an input and compute the difference between the predicted normal and the input. Unfortunately, STPM does not have the ability to generate normal images. To improve the accuracy of STPM, this work uses a student network, as in generative models, to reconstruct normal features. This improves the accuracy; however, the anomaly maps for normal images are not clean because STPM does not use anomaly images for training, which decreases the accuracy of the image-level anomaly detection. To further improve accuracy, a discriminative network trained with pseudo-anomalies from anomaly maps is used in our method, which consists of two pairs of student-teacher networks and a discriminative network. The method displayed high accuracy on the MVTec anomaly detection dataset.
翻译:异常检测是计算机视觉中的一个重要问题;然而,异常样本的稀缺使得这项任务难以完成。因此,最近的异常检测方法只使用正常图像,而没有异常地区进行培训。在这项工作中,根据学生-教师金字塔特征匹配(STPM),提出了由学生和教师网络组成的强力异常检测方法。生成模型是异常检测的另一种方法。它们从输入中重建正常图像,并计算预测正常和输入之间的差别。不幸的是,STPM不具备生成正常图像的能力。为了提高STPM的准确性,这项工作使用了学生网络,如基因模型中的学生网络来重建正常特征。这提高了准确性;然而,正常图像异常映图并不干净,因为STPM没有使用异常图像进行培训,从而降低了图像级别异常检测的准确性。为了进一步提高准确性,我们的方法中使用了一种从异常地图中接受假冒异常特征培训的歧视性网络,由两对学生-教师网络和歧视性网络组成。这种方法在MV Tec异常检测数据中显示高度准确性。