Two-stage coarse-to-fine image anomaly segmentation and detection model

被引:9
作者
Shah, Rizwan Ali [1 ]
Urmonov, Odilbek [2 ]
Kim, Hyungwon [1 ]
机构
[1] Chungbuk Natl Univ, Dept Elect, Cheongju, South Korea
[2] MSISLAB Inc, Image Recognit Div, Cheongju, South Korea
基金
新加坡国家研究基金会;
关键词
Anomaly detection and segmentation; Convolutional neural network; Pseudo anomaly insertion; Superpixel segmentation;
D O I
10.1016/j.imavis.2023.104817
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Existing Convolutional Neural Network (CNN) based anomaly detection and segmentation approaches are overly sensitive or not sensitive enough to noise, resulting in anomaly patterns, partially detected in the testing stage. The previous methods may also differentiate normal and abnormal images, but they cannot identify the location of anomaly presented in test images with high accuracy. To address this issue, we propose a two-stage CNN model for coarse-to-fine anomaly segmentation and detection called (TASAD). In both stages of TASAD, we train our model on a mixture of normal and abnormal training samples. The abnormal images are obtained by inserting pseudo-anomaly patterns that are automatically generated from anomaly source images. We use a novel and sophisticated anomaly insertion technique to generate various anomalous samples. In the first stage, we design a coarse anomaly segmentation (CAS) model that takes a whole image as an input, while in the second stage, we train a fine anomaly segmentation (FAS) model on image patches. FAS model improves detection and segmentation performance by refining anomaly patterns partially detected by CAS model. We train our framework on MVTec dataset and compare it with state-of-the-art (SOTA) methods. The proposed architecture leads to a compact model size - four times smaller than the SOTA method, while exhibiting better pixel-level accuracy. TASAD can also be applied to SOTAs to further improve their anomaly detection performance. Our experiments demonstrate that when applied to the latest SOTAs, TASAD improves the average precision (AP) performance of previous methods by 6.2%. For reproducibility of the results, code is provided at https://github.com/Riz wanAliQau/tasad.git.
引用
收藏
页数:13
相关论文
共 35 条
[1]  
Achanta R., 2010, Technical Report
[2]   Skip-GANomaly: Skip Connected and Adversarially Trained Encoder-Decoder Anomaly Detection [J].
Akcay, Samet ;
Atapour-Abarghouei, Amir ;
Breckon, Toby P. .
2019 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2019,
[3]   GANomaly: Semi-supervised Anomaly Detection via Adversarial Training [J].
Akcay, Samet ;
Atapour-Abarghouei, Amir ;
Breckon, Toby P. .
COMPUTER VISION - ACCV 2018, PT III, 2019, 11363 :622-637
[4]   A Novel text2IMG Mechanism of Credit Card Fraud Detection: A Deep Learning Approach [J].
Alharbi, Abdullah ;
Alshammari, Majid ;
Okon, Ofonime Dominic ;
Alabrah, Amerah ;
Rauf, Hafiz Tayyab ;
Alyami, Hashem ;
Meraj, Talha .
ELECTRONICS, 2022, 11 (05)
[5]  
Bank D., 2020, AutoencodersMachine Learning for Data Science Handbook: Data Mining and Knowledge Discovery Handbook, P353
[6]  
Bergmann P, 2019, Arxiv, DOI [arXiv:1807.02011, DOI 10.48550/ARXIV.1807.02011]
[7]   MVTec AD - A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection [J].
Bergmann, Paul ;
Fauser, Michael ;
Sattlegger, David ;
Steger, Carsten .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :9584-9592
[8]   Mixed supervision for surface-defect detection: From weakly to fully supervised learning [J].
Bozic, Jakob ;
Tabernik, Domen ;
Skocaj, Danijel .
COMPUTERS IN INDUSTRY, 2021, 129
[9]  
Chandan G., 2018, Proc. Int. Conf. Inven. Res. Comput. Appl. ICIRCA, P1305, DOI [DOI 10.1109/ICIRCA.2018.8597266, 10.1109/ICIRCA.2018.859 7266]
[10]   UTRAD: Anomaly detection and localization with U-Transformer [J].
Chen, Liyang ;
You, Zhiyuan ;
Zhang, Nian ;
Xi, Juntong ;
Le, Xinyi .
NEURAL NETWORKS, 2022, 147 :53-62