GDALR: Global Dual Attention and Local Representations in transformer for surface defect detection

被引:10
作者
Zhou, Xin [1 ]
Zhou, Shihua [1 ]
Zhang, Yongchao [1 ]
Ren, Zhaohui [1 ]
Jiang, Zeyu [1 ]
Luo, Hengfa [1 ]
机构
[1] Northeastern Univ, Sch Mech Engn & Automat, Wenhua Rd, Shenyang 110819, Liaoning, Peoples R China
关键词
Surface defect detection; Semantic segmentation; Vision transformer; Dual-attention; Local transformer;
D O I
10.1016/j.measurement.2024.114398
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Automated surface detection has gradually emerged as a promising and crucial inspection method in the industrial sector, greatly enhancing production quality and efficiency. However, current semantic network models based on Vision Transformers are primarily trained on natural images, which exhibit complex object textures and backgrounds. Additionally, pure Vision Transformers lack the ability to capture local representations, making it challenging to directly apply existing semantic segmentation models to industrial production scenarios. In this paper, we propose a novel transformer segmentation model specifically designed for surface defect detection in industrial settings. Firstly, we employ a Dual -Attention Transformer (DAT) as the backbone of our model. This backbone replaces the generic 2D convolution block with a new self -attention block in the Spatial Reduction Attention module (SRA), enabling the establishment of a global view for each layer. Secondly, we enhance the collection of local information during decoding by initializing the relative position between query and key pixels. Finally, to strengthen the salient defect structure, we utilize Pixel Shuffle to rearrange the Ground Truth (GT) in order to guide the feature maps at each scale. Extensive experiments are conducted on three publicly industrial datasets, and evaluation results describe the outstanding performance of our network in surface defect detection.
引用
收藏
页数:10
相关论文
共 62 条
  • [31] Loshchilov I., 2017, arXiv
  • [32] Luo WJ, 2016, ADV NEUR IN, V29
  • [33] Matsuhira Chihaya, 2023, arXiv, DOI [DOI 10.48550/ARXIV, 10.48550/arxiv]
  • [34] Pang YW, 2020, PROC CVPR IEEE, P9410, DOI 10.1109/CVPR42600.2020.00943
  • [35] Raghu M, 2021, ADV NEUR IN, V34
  • [36] Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
    Ren, Shaoqing
    He, Kaiming
    Girshick, Ross
    Sun, Jian
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2017, 39 (06) : 1137 - 1149
  • [37] Ren SC, 2024, Arxiv, DOI arXiv:2108.02759
  • [38] HOW CONVOLUTIONAL NEURAL NETWORKS DEAL WITH ALIASING
    Ribeiro, Antonio H.
    Schon, Thomas B.
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP 2021), 2021, : 2755 - 2759
  • [39] Defect-aware transformer network for intelligent visual surface defect detection
    Shang, Hongbing
    Sun, Chuang
    Liu, Jinxin
    Chen, Xuefeng
    Yan, Ruqiang
    [J]. ADVANCED ENGINEERING INFORMATICS, 2023, 55
  • [40] Segmentation-based deep-learning approach for surface-defect detection
    Tabernik, Domen
    Sela, Samo
    Skvarc, Jure
    Skocaj, Danijel
    [J]. JOURNAL OF INTELLIGENT MANUFACTURING, 2020, 31 (03) : 759 - 776