A New Contrastive GAN With Data Augmentation for Surface Defect Recognition Under Limited Data
- 27 December 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Instrumentation and Measurement
- Vol. 72 (00189456) , 1-13
Abstract
Surface defect recognition (SDC) is essential in intelligent manufacturing. Deep Learning (DL) is a research hotspot in SDC. Limited defective samples are available in most real-world cases, which poses challenges for DL methods. Given such circumstances, generating defective samples by generative adversarial networks (GAN) is applied. However, insufficient samples and high-frequency texture details in defects make GANs very hard to train, yield mode collapse and poor image quality, which can further impact SDC. To solve these problems, this paper proposes a new generative adversarial network called Contrastive GAN, which can be trained to generate diverse defects with only extremely limited samples. Specifically, a Shared Data Augmentation (SDA) module is proposed for avoiding overfitting. Then, a Feature Attention Matching (FAM) module is proposed to align features for improving the quality of generated images. Finally, a Contrastive Loss based on Hyper Sphere is employed to constrain GAN to generate images differ from traditional transform. Experiments show that the proposed GAN generates defective images with higher quality and lower variance between real defects compared to other GANs. Synthetic images contribute to pre-trained DL networks with accuracies of up to 95.00%-99.56% for NEU datasets of different sizes and 91.84% for PCB cases, which proves the effectiveness of the proposed method.Keywords
Funding Information
- National Natural Science Foundation of China (52188102, U21B2029)
This publication has 27 references indexed in Scilit:
- A semi-supervised convolutional neural network-based method for steel surface defect recognitionRobotics and Computer-Integrated Manufacturing, 2020
- A deep-learning-based approach for fast and robust steel surface defects classificationOptics and Lasers in Engineering, 2019
- Generalized Completed Local Binary Patterns for Time-Efficient Steel Surface Defect ClassificationIEEE Transactions on Instrumentation and Measurement, 2018
- Least Squares Generative Adversarial Networks2017
- Unpaired Image-to-Image Translation Using Cycle-Consistent Adversarial Networks2017
- A Generic Deep-Learning-Based Approach for Automated Surface InspectionIEEE Transactions on Cybernetics, 2017
- Deep Residual Learning for Image Recognition2016
- FaceNet: A unified embedding for face recognition and clustering2015
- A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defectsApplied Surface Science, 2013
- A vision inspection system for the surface defects of strongly reflected metal based on multi-class SVMExpert Systems with Applications, 2011