{"title":"Hybrid twin attention based convolutional stacked sparse autoencoder for classification of defected weld images","authors":"T. Srikanth , M. Radhika Mani","doi":"10.1016/j.compeleceng.2025.110328","DOIUrl":null,"url":null,"abstract":"<div><div>Welding is an essential joining process in industrial manufacturing. Many deep learning models are introduced to detect welding errors. However, with a shortage of training data samples, most existing models take longer and are less accurate because of limited learning ability and increased computational complexity problems. To address issues with existing methods, this research presents an efficient deep learning model for accurately classifying multiple welding flaws in minimal time. The most crucial steps that are carried out in the proposed welding error detection framework are pre-processing feature extraction and classification. Initially, the input images are collected from the welding defects dataset. To increase the quality of the obtained raw input images, different pre-processing techniques, such as image scaling, image denoising, and image enhancement are applied. After pre-processing, feature extraction is carried out with the help of the discrete wavelet transform (DWT) and the grey-level run length matrix (GLRLM), which helps to reduce the complexity problems. Finally, a Hybrid twin attention-based Convolutional Stacked Sparse Autoencoder (HAT_CS2E) is used to classify multiple weld defects accurately from the given images. The proposed model combines a convolutional neural network (CNN) and a stacked sparse autoencoder network. The integration of these networks helps to learn more spatial and local features that generate high quality feature maps and produce accurate classification outcomes. For simulation, the Welding Defects Dataset is utilized, and several existing approaches are compared with the proposed model in terms of accuracy, precision, recall, F1-score, and calculation time. The proposed model attained an accuracy of 97.01 %, precision of 96.98 %, recall of 95.76 %, F1-score of 95.12 %, and computation time of 0.021 s by altering frame level welding defect recognition. Also, the proposed model achieved superior results in pixel level welding defect detection process compared with existing studies in terms of accuracy at 99.23 %, recall value at 80.3 %, precision value at 68.78 %, and F1-score at 75.91 %.</div></div>","PeriodicalId":50630,"journal":{"name":"Computers & Electrical Engineering","volume":"124 ","pages":"Article 110328"},"PeriodicalIF":4.0000,"publicationDate":"2025-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Electrical Engineering","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S004579062500271X","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
Welding is an essential joining process in industrial manufacturing. Many deep learning models are introduced to detect welding errors. However, with a shortage of training data samples, most existing models take longer and are less accurate because of limited learning ability and increased computational complexity problems. To address issues with existing methods, this research presents an efficient deep learning model for accurately classifying multiple welding flaws in minimal time. The most crucial steps that are carried out in the proposed welding error detection framework are pre-processing feature extraction and classification. Initially, the input images are collected from the welding defects dataset. To increase the quality of the obtained raw input images, different pre-processing techniques, such as image scaling, image denoising, and image enhancement are applied. After pre-processing, feature extraction is carried out with the help of the discrete wavelet transform (DWT) and the grey-level run length matrix (GLRLM), which helps to reduce the complexity problems. Finally, a Hybrid twin attention-based Convolutional Stacked Sparse Autoencoder (HAT_CS2E) is used to classify multiple weld defects accurately from the given images. The proposed model combines a convolutional neural network (CNN) and a stacked sparse autoencoder network. The integration of these networks helps to learn more spatial and local features that generate high quality feature maps and produce accurate classification outcomes. For simulation, the Welding Defects Dataset is utilized, and several existing approaches are compared with the proposed model in terms of accuracy, precision, recall, F1-score, and calculation time. The proposed model attained an accuracy of 97.01 %, precision of 96.98 %, recall of 95.76 %, F1-score of 95.12 %, and computation time of 0.021 s by altering frame level welding defect recognition. Also, the proposed model achieved superior results in pixel level welding defect detection process compared with existing studies in terms of accuracy at 99.23 %, recall value at 80.3 %, precision value at 68.78 %, and F1-score at 75.91 %.
期刊介绍:
The impact of computers has nowhere been more revolutionary than in electrical engineering. The design, analysis, and operation of electrical and electronic systems are now dominated by computers, a transformation that has been motivated by the natural ease of interface between computers and electrical systems, and the promise of spectacular improvements in speed and efficiency.
Published since 1973, Computers & Electrical Engineering provides rapid publication of topical research into the integration of computer technology and computational techniques with electrical and electronic systems. The journal publishes papers featuring novel implementations of computers and computational techniques in areas like signal and image processing, high-performance computing, parallel processing, and communications. Special attention will be paid to papers describing innovative architectures, algorithms, and software tools.