Deep Learning Approach for Defective Spot Welds Classification Using Small and Class-Imbalanced Datasets.

Wei Dai,Dayong Li,Ding Tang,Huamiao Wang,Yinghong Peng
DOI: https://doi.org/10.1016/j.neucom.2022.01.004
IF: 6
2022-01-01
Neurocomputing
Abstract:Availability of large-scale annotated and class-balanced datasets is of great importance for deep learning based computer vision tasks like spot welds detection. However, it is extremely time and cost consuming to collect sufficient image data of spot welding defects. Severe class-imbalance of image datasets will deteriorate the performance of deep learning algorithms. Generative adversarial networks (GANs) provide an effective method to generate artificial data samples for minor classes. In this work, a framework for improving performance of spot welding defects classification by using GAN-based data augmentation is proposed. Traditional GANs are not suitable to generate minority-class images in a highly class-imbalanced dataset. Balancing GAN and gradient penalty (BAGAN-GP) is utilized herein to generate diverse minority-class images, even in extreme cases where the number of minority-class samples is very small. Then, an image classifier is constructed with the pre-trained deep neural network that employs a transfer learning method. The generated images by the BAGAN-GP are added to the training dataset to improve the classifier for better classification performance. Extensive experiments showed that the proposed approach can generate spot welds defect images efficiently, and improve performance of the classification for industrial inspection with annotation-lack or class-imbalanced dataset. This work provides a valuable reference for industry defect image analysis based on deep learning.The code is available: https://github.com/daiwei9501/Defective-spot-welding.
What problem does this paper attempt to address?