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

被引:9
|
作者
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
相关论文
共 50 条
  • [41] CGTD-Net: Channel-Wise Global Transformer-Based Dual-Branch Network for Industrial Strip Steel Surface Defect Detection
    Liu, Huan
    Chen, Chao
    Hu, Ruikuan
    Bin, Junchi
    Dong, Haobin
    Liu, Zheng
    IEEE SENSORS JOURNAL, 2024, 24 (04) : 4863 - 4873
  • [42] Global-Local Self-Attention Based Transformer for Speaker Verification
    Xie, Fei
    Zhang, Dalong
    Liu, Chengming
    APPLIED SCIENCES-BASEL, 2022, 12 (19):
  • [43] Global Transformer and Dual Local Attention Network via Deep-Shallow Hierarchical Feature Fusion for Retinal Vessel Segmentation
    Li, Yang
    Zhang, Yue
    Liu, Jing-Yu
    Wang, Kang
    Zhang, Kai
    Zhang, Gen-Sheng
    Liao, Xiao-Feng
    Yang, Guang
    IEEE TRANSACTIONS ON CYBERNETICS, 2023, 53 (09) : 5826 - 5839
  • [44] Fusion global and local deep representations with neural attention for aesthetic quality assessment
    Zhang, Xiaodan
    Gao, Xinbo
    Lu, Wen
    Yu, Ying
    He, Lihuo
    SIGNAL PROCESSING-IMAGE COMMUNICATION, 2019, 78 : 42 - 50
  • [45] Conformer: Local Features Coupling Global Representations for Recognition and Detection
    Peng, Zhiliang
    Guo, Zonghao
    Huang, Wei
    Wang, Yaowei
    Xie, Lingxi
    Jiao, Jianbin
    Tian, Qi
    Ye, Qixiang
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2023, 45 (08) : 9454 - 9468
  • [46] Constructing Global Coherence Representations: Identifying Interpretability and Coherences of Transformer Attention in Time Series Data
    Schwenke, Leonid
    Atzmueller, Martin
    2021 IEEE 8TH INTERNATIONAL CONFERENCE ON DATA SCIENCE AND ADVANCED ANALYTICS (DSAA), 2021,
  • [47] Segmentation over Detection by Coupled Global and Local Sparse Representations
    Xia, Wei
    Song, Zheng
    Feng, Jiashi
    Cheong, Loong-Fah
    Yan, Shuicheng
    COMPUTER VISION - ECCV 2012, PT V, 2012, 7576 : 662 - 675
  • [48] RADDA-Net: Residual attention-based dual discriminator adversarial network for surface defect detection
    Tian, Sukun
    Ma, Haifeng
    Huang, Pan
    Wang, Xiang
    Li, Tianxiang
    Huang, Renkai
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2024, 136
  • [49] An Automatic Surface Defect Detection Method with Residual Attention Network
    Yang, Lei
    Bai, Suli
    Huang, Hanyun
    Kong, Shuyi
    ARTIFICIAL INTELLIGENCE, CICAI 2022, PT II, 2022, 13605 : 194 - 205
  • [50] Weakly Supervised Surface Defect Detection Based on Attention Mechanism
    Sun, Meijun
    Lyu, Chaozhang
    Han, Yahong
    Li, Sen
    Wang, Zheng
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2021, 33 (06): : 920 - 928