Lightweight DCGAN and MobileNet based model for detecting X-ray welding defects under unbalanced samples
X-ray nondestructive testing technology is widely used for inspecting welds and identifying defects, and is crucial in the manufacturing industry. However, the diversity of welding defects and the imbalanced defect samples reduce defect classification model accuracy and can cause classifier overfitting. This paper proposes an improved DCGAN model for generating welding defect samples by integrating deep convolutional neural networks to enhance the training relationship between the generator and discriminator, thus increasing the number of training samples. We introduce a lightweight DG-MobileNet model to address low accuracy in welding defect identification and poor model convergence. Dilated convolution modules and Squeeze-and-Excitation self-attention mechanisms expand the convolutional receptive field and improve feature extraction capabilities. The fully connected layer is replaced by a global average pooling layer, reducing training parameters and mitigating overfitting. Additionally, combining DropBlock technology with Batch Normalization optimizes the feature extraction process, enhancing generalization ability. The experimental results demonstrate that the proposed model achieves a recognition accuracy of 98.78% and exhibits superior performance in terms of efficiency and lightweight design, highlighting its potential for deployment in real-world industrial applications.
Authors
- Haihong Pan (ORCID: https://orcid.org/0000-0002-7182-0263)
- M. X. Pan (ORCID: https://orcid.org/0000-0002-8204-9312)
- Lin Chen (ORCID: https://orcid.org/0000-0002-6463-3144)
- Bingqi Jia (ORCID: https://orcid.org/0009-0007-0644-6512)
- Lei Zhang (ORCID: https://orcid.org/0000-0001-6226-3066)
- Lulu Li (ORCID: https://orcid.org/0000-0003-1721-1288)
Institutions
- Guangxi University (CN)
- Yulin Normal University (CN)
- Guangxi University of Chinese Medicine (CN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-02-20
- DOI
- https://doi.org/10.1038/s41598-025-89558-0
- Citations
- 9
- Primary Topic
- Welding Techniques and Residual Stresses
- Type
- article
- Field-Weighted Citation Impact
- 6.42
Funders
- National Natural Science Foundation of China
- Middle-aged and Young Teachers' Basic Ability Promotion Project of Guangxi
- Science and Technology Major Project of Guangxi
- Division of Graduate Education