A hybrid Swin–DeiT transformer framework for automated welding defect detection in radiographic images

• Swin Transformer backbone integrated with DeiT classification head. • Image-level split with 224 × 224 patches prevents data leakage. • SWRD dataset (3675 X-ray images, 7 defect classes) utilized. • Achieved 99.55% binary and 98.36% multi-class accuracy. • Ablation, cross-validation, and complexity analysis validate model. . Weld defect detection involves identifying issues such as pores, lack of fusion, and cracks in welded joints to ensure structures are safe and strong. In industries, using image classification to automatically detect these problems helps to reduce human errors, improve quality checks, and increase accuracy. It is necessary to improve safety, reliability, and productivity in automatic welding inspection systems. This research aims to build a smart and reliable system for detecting weld defects using image classification. This study uses deep learning models called Swin Transformer and DeiT (Data-efficient Image Transformer). The research uses the SWRD (Seam Weld for Defect Detection) dataset, which has images of major weld defect types. The aim is to obtain the best results in both multi-class and binary classification. To make the images clearer and better for training, preprocessing steps like image denoising and image enhancement are applied. Tests were done using the SWRD dataset for both multi-class and binary tasks. In binary classification, the model achieved 99.55% accuracy, 99.43% precision, 99.29% recall, and a 99.38% F1-score. In multi-class classification, it reached 98.36% accuracy, 98.4% precision, 98.3% recall, and a 98.3% F1-score. These results demonstrate the efficacy of the developed method for identifying common weld defects.

Authors

Institutions

Publication Details

Journal
Computers & Electrical Engineering
Published
2026-04-01
DOI
https://doi.org/10.1016/j.compeleceng.2026.111135
Primary Topic
Welding Techniques and Residual Stresses
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A hybrid Swin–DeiT transformer framework for automated welding defect detection in radiographic images

S. Lakshmi, Kiruthika Balakrishnan, Dr Rajendran T, Mohammad Arif et al.
Computers & Electrical Engineering
Welding Techniques and Residual Stresses
article

A hybrid Swin–DeiT transformer framework for automated welding defect detection in radiographic images

S. Lakshmi, Kiruthika Balakrishnan, Dr Rajendran T, Mohammad Arif, M․Siva Ramkumar, D. Kavitha, M. Sivaramkrishnan, Narmatha C
article en

Abstract

• Swin Transformer backbone integrated with DeiT classification head. • Image-level split with 224 × 224 patches prevents data leakage. • SWRD dataset (3675 X-ray images, 7 defect classes) utilized. • Achieved 99.55% binary and 98.36% multi-class accuracy. • Ablation, cross-validation, and complexity analysis validate model. . Weld defect detection involves identifying issues such as pores, lack of fusion, and cracks in welded joints to ensure structures are safe and strong. In industries, using image classification to automatically detect these problems helps to reduce human errors, improve quality checks, and increase accuracy. It is necessary to improve safety, reliability, and productivity in automatic welding inspection systems. This research aims to build a smart and reliable system for detecting weld defects using image classification. This study uses deep learning models called Swin Transformer and DeiT (Data-efficient Image Transformer). The research uses the SWRD (Seam Weld for Defect Detection) dataset, which has images of major weld defect types. The aim is to obtain the best results in both multi-class and binary classification. To make the images clearer and better for training, preprocessing steps like image denoising and image enhancement are applied. Tests were done using the SWRD dataset for both multi-class and binary tasks. In binary classification, the model achieved 99.55% accuracy, 99.43% precision, 99.29% recall, and a 99.38% F1-score. In multi-class classification, it reached 98.36% accuracy, 98.4% precision, 98.3% recall, and a 98.3% F1-score. These results demonstrate the efficacy of the developed method for identifying common weld defects.

Computers & Electrical EngineeringVol. 134
Electronics Corporation of India (IN), University of Illinois Chicago, Rockford campus (US), Parul University (IN), Aditya Birla (India) (IN), JCT College Of Engineering And Technology, Karpagam Academy of Higher Education (IN), University of Tabuk (SA), Oceaneering International (United States) (US), Saveetha University (IN)
University of Illinois at Chicago
Openalex Percentile: Top 27%
Welding Techniques and Residual Stresses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.