A lightweight transformer with linear self-attention for defect recognition

IF 0.7 4区 工程技术 Q4 ENGINEERING, ELECTRICAL & ELECTRONIC
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

用于缺陷识别的线性自保持轻型变压器
基于深度学习模型的视觉缺陷识别技术对于现代工业质量检测至关重要。作为缺陷识别模型主要特征提取组件的主干系统尚未得到彻底开发。高性能视觉变换器(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
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信