Erasing-inpainting-based data augmentation using denoising diffusion probabilistic models with limited samples for generalized surface defect inspection

被引:12
|
作者
Tao, Huanjie [1 ,2 ,3 ]
机构
[1] Northwestern Polytech Univ, Sch Comp Sci, Xian 710129, Peoples R China
[2] Minist Educ, Engn Res Ctr Embedded Syst Integrat, Xian 710129, Peoples R China
[3] Natl Engn Lab Integrated Aerosp Ground Ocean Big D, Xian 710129, Peoples R China
基金
中国国家自然科学基金;
关键词
Data augmentation; Defect generation; Defect classification; Defect segmentation; Denoising diffusion probabilistic model;
D O I
10.1016/j.ymssp.2023.111082
中图分类号
TH [机械、仪表工业];
学科分类号
0802 ;
摘要
Surface defect inspection aims to identify defective regions in product surface images to ensure product quality. Existing deep learning methods have developed rapidly on surface defect inspection. However, their excellent performances rely on a large number of training samples, which are hard to acquire in practical industrial scenarios due to the continuous improvements of the production line. To solve this issue, we propose an erasing-inpainting-based data augmentation method using a denoising diffusion probabilistic model (DDPM) with limited samples for generalized surface defect inspection. Our method is based on the idea that a defect image is difficult to recover to its previous state after undergoing a large-scale erasure operation, thus diverse defect images can be generated using different settings in the inpainting model. Specifically, we first train a DDPM model using limited defective images. Then, we erase large-scale parts of an input image to obtain a degraded image and restore the erased areas using the trained DDPM. Finally, the repaired images are further used for updating the DDPM. The main advantage of our method is to generate diverse images by only being trained using limited training samples. On the one hand, our method fundamentally avoids the dimension inconsistency between the sampled noise and the generated image by sampling from a two-dimensional noise map with the same resolution as the output image based on DDPM. On the other hand, the proposed erasing-inpainting operation promotes the recombination of the real features from the training set and the learned features from the trained DDPM to fully use the limited defective samples and the easily obtainable defect-free samples. Extensive experiments demonstrated the effectiveness and advantages of our model on data augmentation for generalized surface defect inspection.
引用
收藏
页数:19
相关论文
共 15 条
  • [1] RePaint: Inpainting using Denoising Diffusion Probabilistic Models
    Lugmayr, Andreas
    Danelljan, Martin
    Romero, Andres
    Yu, Fisher
    Timofte, Radu
    Van Gool, Luc
    2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2022, : 11451 - 11461
  • [2] Steel Surface Defect Detection Based on Denoising Diffusion Implicit Models with Data Augmentation
    Hong, Yuhang
    Wang, Ziwen
    Wu, Wenzhen
    Liu, Zhenbing
    Tan, Benying
    Chen, Guangxi
    Li, Yujie
    2024 8TH INTERNATIONAL CONFERENCE ON IMAGING, SIGNAL PROCESSING AND COMMUNICATIONS, ICISPC 2024, 2024, : 15 - 19
  • [3] Data augmentation of dynamic responses for structural health monitoring using denoising diffusion probabilistic models
    Zheng, Wenhao
    Li, Jun
    Hao, Hong
    ENGINEERING STRUCTURES, 2025, 328
  • [4] Using Diffusion Models for Data Augmentation on Limited Rodent OCT Datasets
    Garcia-Torres, Fernando
    del Amor, Roefo
    Morales-Martinez, Sandra
    Barroso, Alvaro
    Kemper, Bjoern
    Schnekeriburger, Jurgen
    Naranjo, Valery
    INTELLIGENT DATA ENGINEERING AND AUTOMATED LEARNING - IDEAL 2024, PT I, 2025, 15346 : 313 - 324
  • [5] Using denoising diffusion probabilistic models to enhance quality of limited-view photoacoustic tomography
    De Santi, Bruno
    Awasthi, Navchetan
    Manohar, Srirang
    PHOTONS PLUS ULTRASOUND: IMAGING AND SENSING 2024, 2024, 12842
  • [6] A Novel Data Augmentation Method Based on Denoising Diffusion Probabilistic Model for Fault Diagnosis Under Imbalanced Data
    Yang, Xiongyan
    Ye, Tianyi
    Yuan, Xianfeng
    Zhu, Weijie
    Mei, Xiaoxue
    Zhou, Fengyu
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2024, 20 (05) : 7820 - 7831
  • [7] Human-Guided Data Augmentation via Diffusion Model for Surface Defect Recognition Under Limited Data
    Fang, Tiyu
    Zhang, Mingxin
    Song, Ran
    Li, Xiaolei
    Wei, Zhiyuan
    Zhang, Wei
    IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2025, 74
  • [8] Neurophysiological data augmentation for EEG-fNIRS multimodal features based on a denoising diffusion probabilistic model
    Chen, Li
    Yin, Zhong
    Gu, Xuelin
    Zhang, Xiaowen
    Cao, Xueshan
    Zhang, Chaojing
    Li, Xiaoou
    COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE, 2025, 261
  • [9] Aircraft skin defect detection based on Fourier GAN data augmentation under limited samples
    Li, Huipeng
    Wang, Congqing
    Liu, Yang
    MEASUREMENT, 2025, 245
  • [10] Mask2Defect: A Prior Knowledge-Based Data Augmentation Method for Metal Surface Defect Inspection
    Yang, Benyi
    Liu, Zhenyu
    Duan, Guifang
    Tan, Jianrong
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2022, 18 (10) : 6743 - 6755