A misclassification-aware explainable hybrid CNN-vision transformer framework for radiographic weld inspection

Proper and valid identification of the defects in welding is also essential in the safety-critical manufacturing systems in order to maintain structural integrity. In general, even though deep learning-based inspection methods have demonstrated high classification accuracy, they frequently fail to distinguish similar-looking types of defects and misclassify them at high costs in practice. The paper presented an intelligent weld inspection framework, hybrid Convolutional Neural Network-Vision Transformer (CNN -ViT) architecture, aimed at improving reliability and interpretability, with potential relevance to Industry 5.0-oriented inspection systems. The suggested model was relatively tested against a tailored lightweight CNN baseline, provided that the same training conditions were implemented with the RIAWELC radiographic weld dataset. It is demonstrated that the hybrid CNN-ViT has the highest accuracy of 98.56%, compared to the CNN baseline (97.90%), at a relative difference of about 31% in the misclassification rate. Misclassification-sensitive analysis with confusion matrices aided by explainability methods with Grad-CAM and transformer self-attention maps proves that the global contextual modeling significantly enhances the discrimination of visually similar defects that include cracks, porosity, and absence of penetration. The trained model was also tested on external data (GDXray dataset) collected under different imaging conditions to test its robustness and it was found to perform well on generalization. Moreover, fivefold cross-validation was performed in order to evaluate how the model performs across different data partitions. These findings validate that the suggested hybrid attention-based framework, in addition to the accuracy improvement, leads to the decrease in the misclassification and the availability of the transparent decision explanations. In general, the suggested solution would be a technically robust and explainable framework that may support future Industry 5.0-aligned intelligent weld inspection systems.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-03-22
DOI
https://doi.org/10.1038/s41598-026-44874-x
Primary Topic
Welding Techniques and Residual Stresses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A misclassification-aware explainable hybrid CNN-vision transformer framework for radiographic weld inspection

Terefe Bayisa Ayele, Kamal Upreti, Ramesh Babu P, Rahul Jain et al.
Scientific Reports
Welding Techniques and Residual Stresses
article

A misclassification-aware explainable hybrid CNN-vision transformer framework for radiographic weld inspection

Terefe Bayisa Ayele, Kamal Upreti, Ramesh Babu P, Rahul Jain, Kumar J. Parmar, P. T. Anitha, A. Jayanthi
article en

Abstract

Proper and valid identification of the defects in welding is also essential in the safety-critical manufacturing systems in order to maintain structural integrity. In general, even though deep learning-based inspection methods have demonstrated high classification accuracy, they frequently fail to distinguish similar-looking types of defects and misclassify them at high costs in practice. The paper presented an intelligent weld inspection framework, hybrid Convolutional Neural Network-Vision Transformer (CNN -ViT) architecture, aimed at improving reliability and interpretability, with potential relevance to Industry 5.0-oriented inspection systems. The suggested model was relatively tested against a tailored lightweight CNN baseline, provided that the same training conditions were implemented with the RIAWELC radiographic weld dataset. It is demonstrated that the hybrid CNN-ViT has the highest accuracy of 98.56%, compared to the CNN baseline (97.90%), at a relative difference of about 31% in the misclassification rate. Misclassification-sensitive analysis with confusion matrices aided by explainability methods with Grad-CAM and transformer self-attention maps proves that the global contextual modeling significantly enhances the discrimination of visually similar defects that include cracks, porosity, and absence of penetration. The trained model was also tested on external data (GDXray dataset) collected under different imaging conditions to test its robustness and it was found to perform well on generalization. Moreover, fivefold cross-validation was performed in order to evaluate how the model performs across different data partitions. These findings validate that the suggested hybrid attention-based framework, in addition to the accuracy improvement, leads to the decrease in the misclassification and the availability of the transparent decision explanations. In general, the suggested solution would be a technically robust and explainable framework that may support future Industry 5.0-aligned intelligent weld inspection systems.

Scientific Reports
Acharya N. G. Ranga Agricultural University (IN), Wollega University (ET), Marwadi University (IN), Christ University (IN), Koneru Lakshmaiah Education Foundation (IN)
Peace, Justice and strong institutions
Openalex Percentile: Top 13%
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.