LGGFormer: A dual-branch local-guided global self-attention network for surface defect segmentation

IF 9.9 1区 工程技术 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Advanced Engineering Informatics Pub Date : 2025-03-01 Epub Date: 2025-01-07 DOI:10.1016/j.aei.2024.103099
Gaowei Zhang , Yang Lu , Xiaoheng Jiang , Shaohui Jin , Shupan Li , Mingliang Xu
{"title":"LGGFormer: A dual-branch local-guided global self-attention network for surface defect segmentation","authors":"Gaowei Zhang ,&nbsp;Yang Lu ,&nbsp;Xiaoheng Jiang ,&nbsp;Shaohui Jin ,&nbsp;Shupan Li ,&nbsp;Mingliang Xu","doi":"10.1016/j.aei.2024.103099","DOIUrl":null,"url":null,"abstract":"<div><div>In industrial manufacturing, efficient and accurate surface defect detection is paramount. Recently, CNN-based defect segmentation networks have achieved significant success but have limitations in capturing global contextual information. Although Transformer models excel in global modeling, they often lack sufficient attention to local details. To combine the advantages of CNN and Transformer, this paper proposes a dual-branch local-guided global self-attention network (LGGFormer) for Surface Defect Segmentation. Considering the unique characteristics and computational differences between CNN and Transformer, we propose Local-Guided Global Attention Self-Attention (LGGSA) for extracting global and local information. LGGSA computes localized attention through a sliding window to capture rich contextual details. These local features are then aggregated for global attention computation, enabling the model to focus on areas signified as important by local information. To address the problems of tiny defects and low background contrast, we enhance the learning process by adding supervision to the CNN branch, forcing the branch to learn detailed boundary information. In addition, to take full advantage of the different modeling potentials of CNN and Transformer, we designed the Cross-Branch Feature Interaction Module (CBFI), which achieves a deep interaction between the two features through correlation-weighted integration to optimize feature extraction and representation. Finally, the edge-guided decoder (EGD) utilizes the boundary information extracted by the CNN to guide feature fusion to compensate for the loss of detail information. Experimental results on three public defect datasets demonstrate that our method exhibits promising performance.</div></div>","PeriodicalId":50941,"journal":{"name":"Advanced Engineering Informatics","volume":"64 ","pages":"Article 103099"},"PeriodicalIF":9.9000,"publicationDate":"2025-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advanced Engineering Informatics","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S147403462400750X","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/7 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

In industrial manufacturing, efficient and accurate surface defect detection is paramount. Recently, CNN-based defect segmentation networks have achieved significant success but have limitations in capturing global contextual information. Although Transformer models excel in global modeling, they often lack sufficient attention to local details. To combine the advantages of CNN and Transformer, this paper proposes a dual-branch local-guided global self-attention network (LGGFormer) for Surface Defect Segmentation. Considering the unique characteristics and computational differences between CNN and Transformer, we propose Local-Guided Global Attention Self-Attention (LGGSA) for extracting global and local information. LGGSA computes localized attention through a sliding window to capture rich contextual details. These local features are then aggregated for global attention computation, enabling the model to focus on areas signified as important by local information. To address the problems of tiny defects and low background contrast, we enhance the learning process by adding supervision to the CNN branch, forcing the branch to learn detailed boundary information. In addition, to take full advantage of the different modeling potentials of CNN and Transformer, we designed the Cross-Branch Feature Interaction Module (CBFI), which achieves a deep interaction between the two features through correlation-weighted integration to optimize feature extraction and representation. Finally, the edge-guided decoder (EGD) utilizes the boundary information extracted by the CNN to guide feature fusion to compensate for the loss of detail information. Experimental results on three public defect datasets demonstrate that our method exhibits promising performance.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
LGGFormer:一种用于表面缺陷分割的双分支局部引导全局自关注网络
在工业制造中,高效、准确的表面缺陷检测至关重要。近年来,基于cnn的缺陷分割网络取得了显著的成功,但在捕获全局上下文信息方面存在局限性。尽管Transformer模型擅长全局建模,但它们通常缺乏对局部细节的足够关注。为了结合CNN和Transformer的优点,本文提出了一种用于表面缺陷分割的双分支局部引导全局自关注网络(LGGFormer)。考虑到CNN和Transformer的独特特点和计算差异,我们提出了local - guided Global Attention Self-Attention (LGGSA)来提取全局和局部信息。LGGSA通过滑动窗口计算局部注意力,以捕获丰富的上下文细节。然后将这些局部特征聚合到全局注意力计算中,使模型能够专注于由局部信息表示为重要的区域。为了解决缺陷微小和背景对比度低的问题,我们通过在CNN分支中加入监督来增强学习过程,迫使分支学习详细的边界信息。此外,为了充分利用CNN和Transformer不同的建模潜力,我们设计了跨分支特征交互模块(Cross-Branch Feature Interaction Module, CBFI),通过相关加权集成实现两种特征之间的深度交互,优化特征提取和表征。最后,边缘引导解码器(EGD)利用CNN提取的边界信息指导特征融合,弥补细节信息的损失。在三个公共缺陷数据集上的实验结果表明,该方法具有良好的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Advanced Engineering Informatics
Advanced Engineering Informatics 工程技术-工程:综合
CiteScore
12.40
自引率
18.20%
发文量
292
审稿时长
45 days
期刊介绍: Advanced Engineering Informatics is an international Journal that solicits research papers with an emphasis on 'knowledge' and 'engineering applications'. The Journal seeks original papers that report progress in applying methods of engineering informatics. These papers should have engineering relevance and help provide a scientific base for more reliable, spontaneous, and creative engineering decision-making. Additionally, papers should demonstrate the science of supporting knowledge-intensive engineering tasks and validate the generality, power, and scalability of new methods through rigorous evaluation, preferably both qualitatively and quantitatively. Abstracting and indexing for Advanced Engineering Informatics include Science Citation Index Expanded, Scopus and INSPEC.
期刊最新文献
Synergistic in-domain and out-of-domain learning to strengthen visual scene understanding in data-scarce, imbalanced construction settings Span entropy: A novel time series complexity measurement with a redesigned phase space reconstruction Collaborative planning model for mixed traffic flow in bottleneck zones considering compliance and the impact of human-driven vehicles A method for safety risk dynamic assessment in flight cockpit intelligent human-machine interaction Multi-objective differential evolution algorithm based on partial reinforcement learning intelligence for engineering design problems and physics-informed neural networks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1