End-to-end training of a two-stage neural network for defect detection

被引:45
作者
Bozic, Jakob [1 ]
Tabernik, Domen [1 ]
Skocaj, Danijel [1 ]
机构
[1] Univ Ljubljana, Fac Comp & Informat Sci, Vecna Pot 113, Ljubljana 1000, Slovenia
来源
2020 25TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR) | 2021年
关键词
D O I
10.1109/ICPR48806.2021.9412092
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Segmentation-based, two-stage neural network has shown excellent results in the surface defect detection, enabling the network to learn from a relatively small number of samples. In this work, we introduce end-to-end training of the two-stage network together with several extensions to the training process, which reduce the amount of training time and improve the results on the surface defect detection tasks. To enable end-to-end training we carefully balance the contributions of both the segmentation and the classification loss throughout the learning. We adjust the gradient flow from the classification into the segmentation network in order to prevent the unstable features from corrupting the learning. As an additional extension to the learning, we propose frequency-of-use sampling scheme of negative samples to address the issue of over- and under-sampling of images during the training, while we employ the distance transform algorithm on the region-based segmentation masks as weights for positive pixels, giving greater importance to areas with higher probability of presence of defect without requiring a detailed annotation. We demonstrate the performance of the end-to-end training scheme and the proposed extensions on three defect detection datasets-DAGM, KolektorSDD and Severstal Steel defect dataset- where we show state-of-the-art results. On the DAGM and the KolektorSDD we demonstrate 100% detection rate, therefore completely solving the datasets. Additional ablation study performed on all three datasets quantitatively demonstrates the contribution to the overall result improvements for each of the proposed extensions.
引用
收藏
页码:5619 / 5626
页数:8
相关论文
共 13 条
[1]  
Chen J., 2017, P IEEE INT C COMM IC, P1, DOI [DOI 10.1109/ICC.2017.7997333, 10.1109/ICC.2017.7997333]
[2]  
Huang YQ, 2020, IEEE SENSOR
[3]  
Kim S, 2017, IEEE IJCNN, P2517, DOI 10.1109/IJCNN.2017.7966162
[4]   Waste shipments for energy recovery as a waste treatment strategy for small islands: the case of Kinmen, Taiwan [J].
Lin, Hsin-Tien ;
Yamasue, Eiji ;
Ishihara, Keiichi N. ;
Okumura, Hideyuki .
JOURNAL OF MATERIAL CYCLES AND WASTE MANAGEMENT, 2019, 21 (01) :44-56
[5]  
Masci J, 2012, IEEE IJCNN
[6]   A compact convolutional neural network for textured surface anomaly detection [J].
Racki, Domen ;
Tomazevic, Dejan ;
Skocaj, Danijel .
2018 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV 2018), 2018, :1331-1339
[7]   U-Net: Convolutional Networks for Biomedical Image Segmentation [J].
Ronneberger, Olaf ;
Fischer, Philipp ;
Brox, Thomas .
MEDICAL IMAGE COMPUTING AND COMPUTER-ASSISTED INTERVENTION, PT III, 2015, 9351 :234-241
[8]  
Tabernik Domen, 2019, Journal of Intelligent Manufacturing
[9]  
TIMM F, 2011, P SOC PHOTO-OPT INS, V7877
[10]   Learning defect classifiers for textured surfaces using neural networks and statistical feature representations [J].
Weimer, D. ;
Thamer, H. ;
Scholz-Reiter, B. .
FORTY SIXTH CIRP CONFERENCE ON MANUFACTURING SYSTEMS 2013, 2013, 7 :347-352