CNN-Vit: A Hybrid CNN–Vision Transformer Framework for Accurate and Real-Time Welding Defect Classification With GAN-Based Data Augmentation
Summary
No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.
Summarise with VIRAT Free to try with your Science Catalogs account.Abstract
Deep learning–based welding defect classification often faces challenges such as limited training data, class imbalance, and high model complexity, which restrict real-time industrial applications. To address these issues, this paper proposes a hybrid CNN–Vision Transformer framework with GAN-based data augmentation for welding defect classification. First, welding images acquired using a wide dynamic range visual sensor are preprocessed through binarization, median filtering, morphological dilation, and cropping to enhance defect features. A Generative Adversarial Network (GAN) is then employed to generate synthetic samples and alleviate dataset imbalance. A lightweight CNN extracts local spatial features and reduces feature dimensionality, after which the resulting feature maps are converted into tokens and processed by a Vision Transformer encoder to capture global contextual relationships via self-attention. The proposed model classifies welding images into four categories: normal, burn-through, undercut, and welding collapse. Experimental results demonstrate that the hybrid architecture achieves improved classification accuracy and computational efficiency compared with conventional lightweight CNN models. In addition, the model attains 98.25% accuracy on the MNIST dataset, validating the effectiveness of the proposed framework.
Fields of Study & Subjects
Industrial Vision Systems and Defect Detection
Advanced Neural Network Applications
Non-Destructive Testing Techniques
Publication details
- Journal / source
- The American Journal of Engineering And Technology
- Volume
- 08
- Issue
- 04
- Pages
- 1–11
- Publication date
- 10 April 2026
- Language
- EN