{"title":"On the effect of the attention mechanism for automatic welding defects detection based on deep learning","authors":"Xiaopeng Wang , Salvatore D’Avella , Zhimin Liang , Baoxin Zhang , Juntao Wu , Uwe Zscherpel , Paolo Tripicchio , Xinghua Yu","doi":"10.1016/j.eswa.2025.126386","DOIUrl":null,"url":null,"abstract":"<div><div>Attention mechanism has been widely used deep learning applications for automatic welding defect detection. Literature suggested that the attention mechanism slightly improved defect detection accuracy. In most cases, it was used along with other strategies, such as transfer learning and data augmentation. However, the solo effect of the attention mechanism on the automatic welding defects detection has not been thoroughly examined. Therefore, this study considers two attention mechanisms, including channel attention mechanism and spatial attention mechanism, into the basis of binary classification network to analyze and compare their effect. The analysis is conducted from three aspects: (i) visualizing and quantifying the extracted feature, (ii) tracking the salient pixels of welding defects, and (iii) comparing the clusters of defective and non-defective features. The results suggest the spatial attention mechanism improves the information entropy of extracted features, enhance the model to focus on the salient pixels of welding defects, and prompt the separation of the defective and non-defective features clusters.</div></div>","PeriodicalId":50461,"journal":{"name":"Expert Systems with Applications","volume":"268 ","pages":"Article 126386"},"PeriodicalIF":7.5000,"publicationDate":"2025-01-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems with Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0957417425000089","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Attention mechanism has been widely used deep learning applications for automatic welding defect detection. Literature suggested that the attention mechanism slightly improved defect detection accuracy. In most cases, it was used along with other strategies, such as transfer learning and data augmentation. However, the solo effect of the attention mechanism on the automatic welding defects detection has not been thoroughly examined. Therefore, this study considers two attention mechanisms, including channel attention mechanism and spatial attention mechanism, into the basis of binary classification network to analyze and compare their effect. The analysis is conducted from three aspects: (i) visualizing and quantifying the extracted feature, (ii) tracking the salient pixels of welding defects, and (iii) comparing the clusters of defective and non-defective features. The results suggest the spatial attention mechanism improves the information entropy of extracted features, enhance the model to focus on the salient pixels of welding defects, and prompt the separation of the defective and non-defective features clusters.
期刊介绍:
Expert Systems With Applications is an international journal dedicated to the exchange of information on expert and intelligent systems used globally in industry, government, and universities. The journal emphasizes original papers covering the design, development, testing, implementation, and management of these systems, offering practical guidelines. It spans various sectors such as finance, engineering, marketing, law, project management, information management, medicine, and more. The journal also welcomes papers on multi-agent systems, knowledge management, neural networks, knowledge discovery, data mining, and other related areas, excluding applications to military/defense systems.