Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flows

被引:286
作者
Rudolph, Marco [1 ]
Wandt, Bastian [1 ]
Rosenhahn, Bodo [1 ]
机构
[1] Leibniz Univ Hannover, Hannover, Germany
来源
2021 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV 2021) | 2021年
关键词
D O I
10.1109/WACV48630.2021.00195
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The detection of manufacturing errors is crucial in fabrication processes to ensure product quality and safety standards. Since many defects occur very rarely and their characteristics are mostly unknown a priori, their detection is still an open research question. To this end, we propose DifferNet: It leverages the descriptiveness of features extracted by convolutional neural networks to estimate their density using normalizing flows. Normalizing flows are well-suited to deal with low dimensional data distributions. However, they struggle with the high dimensionality of images. Therefore, we employ a multi-scale feature extractor which enables the normalizing flow to assign meaningful likelihoods to the images. Based on these likelihoods we develop a scoring function that indicates defects. Moreover, propagating the score back to the image enables pixel-wise localization. To achieve a high robustness and performance we exploit multiple transformations in training and evaluation. In contrast to most other methods, ours does not require a large number of training samples and performs well with as low as 16 images. We demonstrate the superior performance over existing approaches on the challenging and newly proposed MVTec AD [4] and Magnetic Tile Defects [14] datasets.
引用
收藏
页码:1906 / 1915
页数:10
相关论文
共 30 条
[1]   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
[2]  
Andrews Jerone, 2016, JMLR
[3]  
Ardizzone L., 2019, ARXIV190702392
[4]  
Bergmann P., 2018, arXiv preprint arXiv:1807.02011
[5]   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
[6]  
Cheng HQ, 2020, PROCEEDINGS OF 2020 IEEE 4TH INFORMATION TECHNOLOGY, NETWORKING, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (ITNEC 2020), P987, DOI [10.1109/ITNEC48623.2020.9085163, 10.1109/itnec48623.2020.9085163]
[7]   Anomaly Detection in Trajectory Data with Normalizing Flows [J].
Dias, Madson L. D. ;
Mattos, Cesar Lincoln C. ;
da Silva, Ticiana L. C. ;
de Macedo, Jose Antonio F. ;
Silva, Wellington C. P. .
2020 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2020,
[8]  
Dinh Laurent, 2016, ICLR, DOI DOI 10.48550/ARXIV.1605,08803
[9]  
Germain M, 2015, PR MACH LEARN RES, V37, P881
[10]  
Golan I, 2018, 32 C NEURAL INFORM P, V31