Investigating Shift Equivalence of Convolutional Neural Networks in Industrial Defect Segmentation

Zhen Qu, Xian Tao, Fei Shen, Zhengtao Zhang, Tao Li
9/29/2023
cs.CV

Official code: xiaozhen228/CAPS (3 stars, last commit 2023-09-14).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

xiaozhen228/CAPSOfficial100%

the code of "Investigating Shift Equivalence of Convolutional Neural Networks in Industrial Defect Segmentation"

30PythonJul 18, 20233 years ago

Similar Papers

Cite this paper

@article{qu2023investigating,
  title  = {Investigating Shift Equivalence of Convolutional Neural Networks in Industrial Defect Segmentation},
  author = {Zhen Qu and Xian Tao and Fei Shen and Zhengtao Zhang and Tao Li},
  year   = {2023},
  eprint = {2309.16902},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.16902v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.16902.svg)](https://codeofpaper.com/paper/2309.16902)

Discussion