End-to-end training of a two-stage neural network for defect detection
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 3; 2024: 3; 2025: 1.
12 papers.
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
- 2021Mixed supervision for surface-defect detection: from weakly to fully supervised learningcited by 101
- 2022Omni-frequency Channel-selection Representations for Unsupervised Anomaly Detectioncited by 79
- 2023A Discrepancy Aware Framework for Robust Anomaly Detectioncited by 9
- 2024Self-Supervised Iterative Refinement for Anomaly Detection in Industrial Quality Controlcited by 5
- 2025No Label Left Behind: A Unified Surface Defect Detection Model for all Supervision Regimescited by 4
- 2022Explainable fetal ultrasound quality assessment with progressive concept bottleneck modelscited by 3
- 2023A Review of Benchmarks for Visual Defect Detection in the Manufacturing Industrycited by 1
- 2021A Survey on Proactive Customer Care: Enabling Science and Steps to Realize itcited by 0
- 2023Decision Fusion Network with Perception Fine-tuning for Defect Classificationcited by 0
- 2024Source-Free Test-Time Adaptation For Online Surface-Defect Detectioncited by 0
- 2024Change-Aware Siamese Network for Surface Defects Segmentation under Complex Backgroundcited by 0
- 2025No Label Left Behind: A Unified Surface Defect Detection Model for all Supervision Regimes26 Aug 2025
- 2024Change-Aware Siamese Network for Surface Defects Segmentation under Complex Background1 Sep 2024
- 2024Self-Supervised Iterative Refinement for Anomaly Detection in Industrial Quality Control21 Aug 2024
- 2024Source-Free Test-Time Adaptation For Online Surface-Defect Detection18 Aug 2024
- 2023A Discrepancy Aware Framework for Robust Anomaly Detection11 Oct 2023
- 2023Decision Fusion Network with Perception Fine-tuning for Defect Classification22 Sep 2023
- 2023A Review of Benchmarks for Visual Defect Detection in the Manufacturing Industry5 May 2023
- 2022Explainable fetal ultrasound quality assessment with progressive concept bottleneck models19 Nov 2022
- 2022Omni-frequency Channel-selection Representations for Unsupervised Anomaly Detection1 Mar 2022
- 2021A Survey on Proactive Customer Care: Enabling Science and Steps to Realize it11 Oct 2021
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detection17 Aug 2021
- 2021Mixed supervision for surface-defect detection: from weakly to fully supervised learning13 Apr 2021