A New Contrastive GAN With Data Augmentation for Surface Defect Recognition Under Limited Data

被引:27
作者
Du, Zongwei [1 ]
Gao, Liang [1 ]
Li, Xinyu [1 ]
机构
[1] Huazhong Univ Sci & Technol, Sch Mech Sci & Engn, State Key Lab Digital Mfg Equipment & Technol, Wuhan 430074, Peoples R China
基金
中国国家自然科学基金;
关键词
Data augmentation; defect image generation; generative adversarial network (GAN); limited data; surface defect recognition; LEARNING-BASED APPROACH; LOCAL BINARY PATTERNS; INSPECTION SYSTEM;
D O I
10.1109/TIM.2022.3232649
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
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 (GANs) 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 article proposes a new GAN 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 hypersphere is employed to constrain GANs to generate images that differ from the 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 pretrained DL networks with accuracies of up to 95.00%-99.56% for Northeastern University (NEU) datasets of different sizes and 91.84% for printed circuit board (PCB) cases, which proves the effectiveness of the proposed method.
引用
收藏
页数:13
相关论文
共 42 条
  • [21] Deep Adversarial Data Augmentation for Fabric Defect Classification With Scarce Defect Data
    Lu, Bingyu
    Zhang, Meng
    Huang, Biqing
    [J]. IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2022, 71
  • [22] Generalized Completed Local Binary Patterns for Time-Efficient Steel Surface Defect Classification
    Luo, Qiwu
    Sun, Yichuang
    Li, Pengcheng
    Simpson, Oluyomi
    Tian, Lu
    He, Yigang
    [J]. IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2019, 68 (03) : 667 - 679
  • [23] Least Squares Generative Adversarial Networks
    Mao, Xudong
    Li, Qing
    Xie, Haoran
    Lau, Raymond Y. K.
    Wang, Zhen
    Smolley, Stephen Paul
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, : 2813 - 2821
  • [24] Region- and Strength-Controllable GAN for Defect Generation and Segmentation in Industrial Images
    Niu, Shuanlong
    Li, Bin
    Wang, Xinggang
    Peng, Yaru
    [J]. IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2022, 18 (07) : 4531 - 4541
  • [25] Defect Image Sample Generation With GAN for Improving Defect Recognition
    Niu, Shuanlong
    Li, Bin
    Wang, Xinggang
    Lin, Hui
    [J]. IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, 2020, 17 (03) : 1611 - 1622
  • [26] Sphere Generative Adversarial Network Based on Geometric Moment Matching
    Park, Sung Woo
    Kwon, Junseok
    [J]. 2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 4287 - 4296
  • [27] Petzka H, 2018, Arxiv, DOI arXiv:1709.08894
  • [28] Radford A, 2016, Arxiv, DOI [arXiv:1511.06434, 10.48550/arXiv.1511.06434, DOI 10.48550/ARXIV.1511.06434]
  • [29] A Generic Deep-Learning-Based Approach for Automated Surface Inspection
    Ren, Ruoxu
    Hung, Terence
    Tan, Kay Chen
    [J]. IEEE TRANSACTIONS ON CYBERNETICS, 2018, 48 (03) : 929 - 940
  • [30] Schroff F, 2015, PROC CVPR IEEE, P815, DOI 10.1109/CVPR.2015.7298682