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.

Highlights

  • The method of distinguishing abnormal samples in a data set is known as anomaly detection

  • This paper proposes an anomaly detection method based on a prototype vector histogram and a feature vector frequency map

  • Focusing on the above facts, we propose a prototype vector histogram extracted based on the number of times the prototype vector is selected as the nearest prototype vector and a feature vector frequency map extracted based on prototype vector histogram

Read more

Summary

INTRODUCTION

The method of distinguishing abnormal samples in a data set is known as anomaly detection. It uses a data set consisting only of normal samples, which is its deep learning network training data instead of an abnormal sample to construct a detection model This method classifies an abnormal sample using the difference in a loss function or mutual information between normal sample and abnormal sample. The autoencoderbased anomaly detection method has higher learning stability than the GAN-based method, making it possible to classify abnormal samples by reconstructing the input image and the output image. In the autoencoder-based anomaly detection method, the L1 and L2 reconstruction loss values in the 2D image are compared with the normal sample’s values to determine an abnormal sample. We calculate abnormal score from feature vector frequency map of the input image in the inspection stage and use it as a measure for anomaly detection. The L2-distance loss function for input image x and output image xcan be expressed as

INSPECTION STAGE
SYSTEM STRUCTURE
PROTOTYPE VECTOR HISTOGRAM
FEATURE VECTOR FREQUENCY MAP
ANORMALY DETECTION WITH FEATURE VECTOR FREQUENCY MAP
Findings
CONCLUSION
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call