Unlock instant, AI-driven research and patent intelligence for your innovation.

Unsupervised learning image anomaly detection method based on auto-encoder

An unsupervised learning and autoencoder technology, which is applied to instruments, biological neural network models, calculations, etc., can solve the problem of not fully utilizing the potential space of the autoencoder

Active Publication Date: 2020-12-18
SOUTHEAST UNIV
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This type of method basically focuses on the reconstruction error to make the reconstruction result of the sample closer to the input sample, and does not make full use of the characteristics of the latent space of the autoencoder.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Unsupervised learning image anomaly detection method based on auto-encoder
  • Unsupervised learning image anomaly detection method based on auto-encoder
  • Unsupervised learning image anomaly detection method based on auto-encoder

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0070] The method of unsupervised learning image anomaly detection based on autoencoder of the present invention divides abnormal image detection into two stages of model training and model testing, and its flow charts are respectively as follows figure 1 and figure 2 As shown, the specific steps in the training phase are as follows:

[0071] Use the transforms class in the PyTorch framework to preprocess the data, where the transforms.Resize() method is used to adjust the sample to 32×32; the transforms.Grayscale() method is used to convert the single-channel sample to three channels; use the transforms.RandomHorizontalFlip() The method randomly flips the sample horizontally.

[0072] The data set is divided into training set and test set according to categories, where there are no abnormal samples in the training set, and the test set con...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an unsupervised learning image anomaly detection method based on an auto-encoder. The method comprises the steps: dividing samples into a training sample and a test sample, respectively carrying out preprocessing of the training sample and the test sample, inputting the preprocessed training sample / test sample into the auto-encoder for reconstruction, and obtaining a reconstruction result; respectively calculating reconstruction loss, weighted feature consistency loss, feature discrimination loss and adversarial loss between corresponding layers of an encoder and a decoder in the reconstruction process; carrying out weighted summation on the losses to serve as a total loss function; and finally, calculating the abnormal score of the test sample. Then the abnormal score of each sample is mapped to [0, 1] by using feature normalization, and the area under the receiver operation feature curve is received to serve as an evaluation index. According to the method, theaccuracy of unsupervised anomaly detection is improved by utilizing the auto-encoder and the discriminated potential spatial features, and the method is applied to industries, security and protectionor other unsupervised environments.

Description

technical field [0001] The invention relates to an unsupervised learning image anomaly detection method based on an autoencoder, and belongs to the technical field of visual anomaly detection. Background technique [0002] Anomaly detection is the discovery of data in data that does not conform to expected patterns of behavior, hence the name outlier detection. Anomaly detection is an important field in machine learning, involving practical applications in many fields, such as network intrusion detection, security inspection, medical diagnosis, and video surveillance. In many applications, there is a lack of labeled data to distinguish outliers from normal ones, and they need to be detected in an unsupervised or semi-supervised manner. [0003] An autoencoder is an unsupervised representation learning model consisting of an encoder and a decoder that can be used for data compression and feature extraction. The idea is to map the input data to a latent feature space through...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06K9/62G06N3/04
CPCG06N3/045G06F18/2433G06F18/214
Inventor 李俊唐伟
Owner SOUTHEAST UNIV