Anomaly detection in images plays a significant role for many applications across all industries, such as disease diagnosis in healthcare or quality assurance in manufacturing. Manual inspection of images, when extended over a monotonously repetitive period of time is very time consuming and can lead to anomalies being overlooked.Artificial neural networks have proven themselves very successful on simple, repetitive tasks, in some cases even outperforming humans. Therefore, in this paper we investigate different methods of deep learning, including supervised and unsupervised learning, for anomaly detection applied to a quality assurance use case. We utilize the MVTec anomaly dataset and develop three different models, a CNN for supervised anomaly detection, KD-CAE for autoencoder anomaly detection, NI-CAE for noise induced anomaly detection and a DCGAN for generating reconstructed images. By experiments, we found that KD-CAE performs better on the anomaly datasets compared to CNN and NI-CAE, with NI-CAE performing the best on the Transistor dataset. We also implemented a DCGAN for the creation of new training data but due to computational limitation and lack of extrapolating the mechanics of AnoGAN, we restricted ourselves just to the generation of GAN based images. We conclude that unsupervised methods are more powerful for anomaly detection in images, especially in a setting where only a small amount of anomalous data is available, or the data is unlabeled.
翻译:图像中的异常探测在所有行业的许多应用中都起着重要作用,例如医疗护理或生产质量保证中的疾病诊断; 人工图像检查,如果在单重复的一段时间里延长,则需要花费很多时间,并可能导致忽视异常现象。 人工神经网络证明自己在简单重复的任务方面非常成功,在某些情况下甚至表现优异的人。 因此,在本文件中,我们调查了深度学习的不同方法,包括监督和不受监督的学习,以便在质量保证使用的情况下应用异常现象检测。 我们还利用MVTec异常数据集,开发了三种不同的模型,即CNN用于监管异常检测的CNN、KD-CAE用于自动编码异常检测的KD-CAE、NI-CAE用于噪音诱发异常检测的NI-CAE和DCGAN用于生成重建图像的DCGAN。我们通过实验发现KD-CAE在异常数据集上的表现比CNN和NI-CAAE更好地表现,NICE在透明数据集中做得最好。 我们还安装了DCGAN来创建新的培训数据,但是由于计算出不严格的限制和缺乏超强的GAN图像。