Image Anomaly Detection Using Normal Data Only by Latent Space Resampling

Author:

Wang LuORCID,Zhang DongkaiORCID,Guo Jiahao,Han YuexingORCID

Abstract

Detecting image anomalies automatically in industrial scenarios can improve economic efficiency, but the scarcity of anomalous samples increases the challenge of the task. Recently, autoencoder has been widely used in image anomaly detection without using anomalous images during training. However, it is hard to determine the proper dimensionality of the latent space, and it often leads to unwanted reconstructions of the anomalous parts. To solve this problem, we propose a novel method based on the autoencoder. In this method, the latent space of the autoencoder is estimated using a discrete probability model. With the estimated probability model, the anomalous components in the latent space can be well excluded and undesirable reconstruction of the anomalous parts can be avoided. Specifically, we first adopt VQ-VAE as the reconstruction model to get a discrete latent space of normal samples. Then, PixelSail, a deep autoregressive model, is used to estimate the probability model of the discrete latent space. In the detection stage, the autoregressive model will determine the parts that deviate from the normal distribution in the input latent space. Then, the deviation code will be resampled from the normal distribution and decoded to yield a restored image, which is closest to the anomaly input. The anomaly is then detected by comparing the difference between the restored image and the anomaly image. Our proposed method is evaluated on the high-resolution industrial inspection image datasets MVTec AD which consist of 15 categories. The results show that the AUROC of the model improves by 15% over autoencoder and also yields competitive performance compared with state-of-the-art methods.

Publisher

MDPI AG

Subject

Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science

Reference42 articles.

1. Image Anomalies: A Review and Synthesis of Detection Methods

2. Deep learning for anomaly detection: A survey;Chalapathy;arXiv,2019

3. Deep Learning for Anomaly Detection: A Review;Pang;arXiv,2020

4. Novelty detection: a review—part 1: statistical approaches

5. Automatic visual inspection and flaw detection in textile materials: past, present and future

Cited by 32 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Robust unsupervised-learning based crack detection for stamped metal products;Journal of Manufacturing Systems;2024-04

2. Deep Industrial Image Anomaly Detection: A Survey;Machine Intelligence Research;2024-01-15

3. MIM-OOD: Generative Masked Image Modelling for Out-of-Distribution Detection in Medical Images;Lecture Notes in Computer Science;2024

4. A Deep Learning Approach for Detection and Localization of Leaf Anomalies;Lecture Notes in Computational Science and Engineering;2024

5. Conditioning Latent-Space Clusters for Real-World Anomaly Classification;2023 IEEE Symposium Series on Computational Intelligence (SSCI);2023-12-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3