IEEE Access (Jan 2021)
Anomaly Detection Using Autoencoder With Feature Vector Frequency Map
Abstract
Anomaly detection uses various machine learning techniques to identify and classify defective data on the production line. The autoencoder-based anomaly detection method is an unsupervised method that classifies abnormal samples using an autoencoder trained only from normal samples and is useful in environments where it is difficult to obtain abnormal samples. This method uses an abnormal score based on the reconstruction loss function, making it difficult to detect defects, such as stains, having a similar texture to a normal sample. To solve this problem, we propose an anomaly detection method using a vector quantized variational autoencoder and a feature vector frequency map. We use the prototype vector histogram and its frequency for anomaly detection instead of the reconstruction loss function. The prototype vector histogram is obtained from the vector quantized variational autoencoder’s codebook in the training stage. The feature vector frequency map of the input image is generated using the prototype vector histogram in the inference stage. We calculated the abnormal score using the generated frequency map and classified the abnormal samples. The experimental results showed that the proposed method has a higher Area Under Receiver Operating Characteristics (AUROC) than the previous method in stain and scratch defects.
Keywords