A lightweight transformer with linear self-attention for defect recognition

IF 0.7 4区 工程技术 Q4 ENGINEERING, ELECTRICAL & ELECTRONIC Electronics Letters Pub Date : 2024-09-10 DOI:10.1049/ell2.13292
Yuwen Zhai, Xinyu Li, Liang Gao, Yiping Gao
{"title":"A lightweight transformer with linear self-attention for defect recognition","authors":"Yuwen Zhai,&nbsp;Xinyu Li,&nbsp;Liang Gao,&nbsp;Yiping Gao","doi":"10.1049/ell2.13292","DOIUrl":null,"url":null,"abstract":"<p>Visual defect recognition techniques based on deep learning models are crucial for modern industrial quality inspection. The backbone, serving as the primary feature extraction component of the defect recognition model, has not been thoroughly exploited. High-performance vision transformer (ViT) is less adopted due to high computational complexity and limitations of computational resources and storage hardware in industrial scenarios. This paper presents LSA-Former, a lightweight transformer architectural backbone that integrates the benefits of convolution and ViT. LSA-Former proposes a novel self-attention with linear computational complexity, enabling it to capture local and global semantic features with fewer parameters. LSA-Former is pre-trained on ImageNet-1K and surpasses state-of-the-art methods. LSA-Former is employed as the backbone for various detectors, evaluated specifically on the PCB defect detection task. The proposed method reduces at least 18M parameters and exceeds the baseline by more than 2.2 mAP.</p>","PeriodicalId":11556,"journal":{"name":"Electronics Letters","volume":null,"pages":null},"PeriodicalIF":0.7000,"publicationDate":"2024-09-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1049/ell2.13292","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Electronics Letters","FirstCategoryId":"5","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1049/ell2.13292","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0

Abstract

Visual defect recognition techniques based on deep learning models are crucial for modern industrial quality inspection. The backbone, serving as the primary feature extraction component of the defect recognition model, has not been thoroughly exploited. High-performance vision transformer (ViT) is less adopted due to high computational complexity and limitations of computational resources and storage hardware in industrial scenarios. This paper presents LSA-Former, a lightweight transformer architectural backbone that integrates the benefits of convolution and ViT. LSA-Former proposes a novel self-attention with linear computational complexity, enabling it to capture local and global semantic features with fewer parameters. LSA-Former is pre-trained on ImageNet-1K and surpasses state-of-the-art methods. LSA-Former is employed as the backbone for various detectors, evaluated specifically on the PCB defect detection task. The proposed method reduces at least 18M parameters and exceeds the baseline by more than 2.2 mAP.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于缺陷识别的线性自保持轻型变压器
基于深度学习模型的视觉缺陷识别技术对于现代工业质量检测至关重要。作为缺陷识别模型主要特征提取组件的主干系统尚未得到彻底开发。高性能视觉变换器(ViT)由于计算复杂度高、工业场景中计算资源和存储硬件的限制而较少被采用。本文介绍了 LSA-Former,一种整合了卷积和 ViT 优点的轻量级变换器架构骨干。LSA-Former 提出了一种具有线性计算复杂度的新型自注意,使其能够以较少的参数捕捉局部和全局语义特征。LSA-Former 在 ImageNet-1K 上进行了预训练,并超越了最先进的方法。LSA-Former 被用作各种检测器的主干,特别是在 PCB 缺陷检测任务中进行了评估。所提出的方法至少减少了 1800 万个参数,比基线方法高出 2.2 mAP 以上。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Electronics Letters
Electronics Letters 工程技术-工程:电子与电气
CiteScore
2.70
自引率
0.00%
发文量
268
审稿时长
3.6 months
期刊介绍: Electronics Letters is an internationally renowned peer-reviewed rapid-communication journal that publishes short original research papers every two weeks. Its broad and interdisciplinary scope covers the latest developments in all electronic engineering related fields including communication, biomedical, optical and device technologies. Electronics Letters also provides further insight into some of the latest developments through special features and interviews. Scope As a journal at the forefront of its field, Electronics Letters publishes papers covering all themes of electronic and electrical engineering. The major themes of the journal are listed below. Antennas and Propagation Biomedical and Bioinspired Technologies, Signal Processing and Applications Control Engineering Electromagnetism: Theory, Materials and Devices Electronic Circuits and Systems Image, Video and Vision Processing and Applications Information, Computing and Communications Instrumentation and Measurement Microwave Technology Optical Communications Photonics and Opto-Electronics Power Electronics, Energy and Sustainability Radar, Sonar and Navigation Semiconductor Technology Signal Processing MIMO
期刊最新文献
U-ONet: Remote sensing image semantic labelling based on octave convolution and coordination attention in U-shape deep neural network Active learning for efficient data selection in radio-signal-based positioning via deep learning Decoding microwave modulation transfer: The impact of dissipation through stochastic processes End-to-end speech-denoising deep neural network based on residual-attention gated linear units Dynamic pricing-based integration for non-cooperative ubiquitous sensing and communication network
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1