Few-shot Defect Image Generation based on Consistency Modeling
Qingfeng Shi, Jing Wei, Fei Shen, Zhengtao Zhang

TL;DR
This paper introduces DefectDiffu, a text-guided diffusion model that enhances defect image generation by modeling intra- and inter-product consistencies, enabling high-quality, diverse, and zero-shot defect synthesis for improved defect detection.
Contribution
The paper presents a novel diffusion-based method with disentangled architecture and double-free strategy for controlled, diversified defect image generation across multiple products.
Findings
Outperforms state-of-the-art in quality and diversity of defect images
Enables zero-shot defect generation across different products
Improves downstream defect detection performance
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsIndustrial Vision Systems and Defect Detection · Image Processing Techniques and Applications · Image and Object Detection Techniques
MethodsSoftmax · Attention Is All You Need · Diffusion
