论文标题

两阶段神经网络的端到端培训用于缺陷检测

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

论文作者

Božič, Jakob, Tabernik, Domen, Skočaj, Danijel

论文摘要

基于分割的两阶段神经网络在表面缺陷检测中表现出了出色的结果,从而使网络能够从相对较少的样本中学习。在这项工作中,我们介绍了两阶段网络的端到端培训以及培训过程的几个扩展,从而减少了训练时间的量并改善了表面缺陷检测任务的结果。为了实现端到端培训,我们仔细平衡整个学习过程中分割和分类损失的贡献。为了防止不稳定的功能破坏学习,我们将分类从分类到细分网络的梯度流量调整为细分网络。作为学习的额外扩展,我们提出了负面样品的使用频率采样方案,以解决训练期间图像过度采样的问题,同时我们采用了距离转换算法的基于区域的分段掩码作为正像素的权重,对缺乏的领域具有更高的重要性,而无需进行详细的入门介绍。我们演示了端到端训练方案的性能以及三个缺陷检测数据集的拟议扩展-DAGM,Kolektorsdd和Severstal Steel Defect Dataset-我们显示最新结果。在DAGM和KOLEKTORSDD上,我们演示了100 \%的检测率,因此完全求解了数据集。在所有三个数据集上进行的其他消融研究都在定量地证明了对每个提议的扩展的总体结果改进的贡献。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源