研究工业缺陷分割中卷积神经网络的移位等价性
Investigating Shift Equivalence of Convolutional Neural Networks in Industrial Defect Segmentation
AI总结:
针对工业缺陷分割中CNN对输入移位敏感、边界变化被忽视的问题,提出CAPS下/上采样层,通过自适应加窗与组件注意力提升移位等价性和分割性能。
摘要:
在工业缺陷分割任务中,虽然像素准确率和交并比(IoU)通常被用作评估分割性能的指标,但模型的输出一致性(也称为等价性)却常常被忽视。即使输入图像发生微小移位,也可能导致分割结果出现显著波动。现有方法主要通过数据增强或抗锯齿来提升网络对平移变换的鲁棒性,但其移位等价性在测试集上表现不佳,或容易受到非线性激活函数的影响。此外,输入图像平移所导致的边界变化一直被忽视,从而进一步限制了移位等价性。针对这一特定挑战,本文提出了一对名为组件注意力多相采样(CAPS)的新型下采样/上采样层,用以替代CNN中的传统采样层。为缓解图像边界变化对等价性的影响,CAPS中设计了自适应加窗模块,以自适应方式滤除图像的边界像素。此外,还提出了一个组件注意力模块,用于融合所有下采样特征,以提升分割性能。在微型表面缺陷(MSD)数据集和四个真实工业缺陷数据集上的实验结果表明,与其他最先进方法相比,所提方法具有更高的等价性和分割性能。我们的代码将在 https://github.com/xiaozhen228/CAPS 提供。
英文摘要:
In industrial defect segmentation tasks, while pixel accuracy and Intersection over Union (IoU) are commonly employed metrics to assess segmentation performance, the output consistency (also referred to equivalence) of the model is often overlooked. Even a small shift in the input image can yield significant fluctuations in the segmentation results. Existing methodologies primarily focus on data augmentation or anti-aliasing to enhance the network's robustness against translational transformations, but their shift equivalence performs poorly on the test set or is susceptible to nonlinear activation functions. Additionally, the variations in boundaries resulting from the translation of input images are consistently disregarded, thus imposing further limitations on the shift equivalence. In response to this particular challenge, a novel pair of down/upsampling layers called component attention polyphase sampling (CAPS) is proposed as a replacement for the conventional sampling layers in CNNs. To mitigate the effect of image boundary variations on the equivalence, an adaptive windowing module is designed in CAPS to adaptively filter out the border pixels of the image. Furthermore, a component attention module is proposed to fuse all downsampled features to improve the segmentation performance. The experimental results on the micro surface defect (MSD) dataset and four real-world industrial defect datasets demonstrate that the proposed method exhibits higher equivalence and segmentation performance compared to other state-of-the-art methods.Our code will be available at https://github.com/xiaozhen228/CAPS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。