Few-Shot Defect Image Generation Based on Consistency Modeling

被引:0
|
作者
Shi, Qingfeng [1 ,2 ]
Wei, Jing [1 ,2 ]
Shen, Fei [1 ,2 ,3 ]
Zhang, Zhengtao [1 ,2 ,3 ]
机构
[1] Chinese Acad Sci, Inst Automat, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Sch Artificial Intelligence, Beijing, Peoples R China
[3] CASI Vis Technol CO LTD, Luoyang, Peoples R China
来源
基金
中国国家自然科学基金;
关键词
Diffusion Model; Image Generation; Defect Detection;
D O I
10.1007/978-3-031-73116-7_21
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Image generation can solve insufficient labeled data issues in defect detection. Most defect generation methods are only trained on a single product without considering the consistencies among multiple products, leading to poor quality and diversity of generated results. To address these issues, we propose DefectDiffu, a novel text-guided diffusion method to model both intra-product background consistency and inter-product defect consistency across multiple products and modulate the consistency perturbation directions to control product type and defect strength, achieving diversified defect image generation. Firstly, we leverage a text encoder to separately provide consistency prompts for background, defect, and fusion parts of the disentangled integrated architecture, thereby disentangling defects and normal backgrounds. Secondly, we propose the double-free strategy to generate defect images through two-stage perturbation of consistency direction, thereby controlling product type and defect strength by adjusting the perturbation scale. Besides, DefectDiffu can generate defect mask annotations utilizing cross-attention maps from the defect part. Finally, to improve the generation quality of small defects and masks, we propose the adaptive attention-enhance loss to increase the attention to defects. Experimental results demonstrate that DefectDiffu surpasses state-of-the-art methods in terms of generation quality and diversity, thus effectively improving downstream defection performance. Moreover, defect perturbation directions can be transferred among various products to achieve zeroshot defect generation, which is highly beneficial for addressing insufficient data issues. The code are available at https://github.com/FFDDdiffusion/DefectDiffu.
引用
收藏
页码:360 / 376
页数:17
相关论文
共 50 条
  • [1] Few-Shot Defect Image Generation via Defect-Aware Feature Manipulation
    Duan, Yuxuan
    Hong, Yan
    Niu, Li
    Zhang, Liqing
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 1, 2023, : 571 - 578
  • [2] MATCHINGGAN: MATCHING-BASED FEW-SHOT IMAGE GENERATION
    Hong, Yan
    Niu, Li
    Zhang, Jianfu
    Zhang, Liqing
    2020 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO (ICME), 2020,
  • [3] A Closer Look at Few-shot Image Generation
    Zhao, Yunqing
    Ding, Henghui
    Huang, Houjing
    Cheung, Ngai-Man
    2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2022, : 9130 - 9140
  • [4] Few-shot Fish Image Generation and Classification
    Guo, Zonghui
    Zhang, Liqiang
    Jiang, Yufeng
    Niu, Wenjie
    Gu, Zhaorui
    Zheng, Haiyong
    Wang, Guoyu
    Zheng, Bing
    GLOBAL OCEANS 2020: SINGAPORE - U.S. GULF COAST, 2020,
  • [5] FEW-SHOT GENERATION BY MODELING STEREOSCOPIC PRIORS
    Wang, Yuehui
    Wang, Qing
    Zhang, Dongyu
    2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 2370 - 2374
  • [6] Few-Shot Image Generation with Mixup-Based Distance Learning
    Kong, Chaerin
    Kim, Jeesoo
    Han, Donghoon
    Kwak, Nojun
    COMPUTER VISION - ECCV 2022, PT XV, 2022, 13675 : 563 - 580
  • [7] Few-shot image generation with reverse contrastive learning
    Gou, Yao
    Li, Min
    Zhang, Yusen
    He, Zhuzhen
    He, Yujie
    NEURAL NETWORKS, 2024, 169 : 154 - 164
  • [8] Few-shot defect detection using feature enhancement and image generation for manufacturing quality inspection
    Gong, Yu
    Liu, Mingzhou
    Wang, Xiaoqiao
    Liu, Conghu
    Hu, Jing
    APPLIED INTELLIGENCE, 2024, 54 (01) : 375 - 397
  • [9] Few-shot defect detection using feature enhancement and image generation for manufacturing quality inspection
    Yu Gong
    Mingzhou Liu
    Xiaoqiao Wang
    Conghu Liu
    Jing Hu
    Applied Intelligence, 2024, 54 : 375 - 397
  • [10] Exploring Incompatible Knowledge Transfer in Few-shot Image Generation
    Zhao, Yunqing
    Du, Chao
    Abdollahzadeh, Milad
    Pang, Tianyu
    Lin, Min
    Yan, Shuicheng
    Cheung, Ngai-Man
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR, 2023, : 7380 - 7391