paper-with-me

Papers

Few-shot Defect Image Generation based on Consistency Modeling

2024-08-01 · Qingfeng Shi, Jing Wei, Fei Shen, Zhengtao Zhang

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 zero-shot defect generation, which is highly beneficial for addressing insufficient data issues. The code are available at https://github.com/FFDD-diffusion/DefectDiffu.

📄 PDF Abstract BibTeX arXiv:2408.00372

Code (1)

ffdd-diffusion/defectdiffu 공식 구현 pytorch

Tasks

Defect DetectionDiversityImage Generation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Large-Scale Universal Defect Generation: Foundation Models and Datasets

2026-04-10 · Yuanting Fan, Jun Liu, Bin-Bin Gao, Xiaochen Chen 외 arxiv

Existing defect/anomaly generation methods often rely on few-shot learning, which overfits to specific defect categories due to the lack of large-scale paired defect editing data. This issue is aggravated by substantial …

Multi-class Anomaly DetectionFew-Shot Learning

Few-Shot Defect Image Generation via Defect-Aware Feature Manipulation

2023-03-04 · Yuxuan Duan, Yan Hong, Li Niu, Liqing Zhang

The performances of defect inspection have been severely hindered by insufficient defect images in industries, which can be alleviated by generating more samples as data augmentation. We propose the first defect image ge…

Data AugmentationImage Generation

Knowledge-Embedded and Hypernetwork-Guided Few-Shot Substation Meter Defect Image Generation Method

2026-01-14 · Jackie Alex, Justin Petter arxiv

Substation meters play a critical role in monitoring and ensuring the stable operation of power grids, yet their detection of cracks and other physical defects is often hampered by a severe scarcity of annotated samples.…

Image Generation

SIGAN: A Novel Image Generation Method for Solar Cell Defect Segmentation and Augmentation

2021-04-11 · Binyi Su, Zhong Zhou, Haiyong Chen, Xiaochun Cao

Solar cell electroluminescence (EL) defect segmentation is an interesting and challenging topic. Many methods have been proposed for EL defect detection, but these methods are still unsatisfactory due to the diversity of…

Defect DetectionGenerative Adversarial NetworkImage GenerationSegmentation

A Survey on Foundation-Model-Based Industrial Defect Detection

2025-02-26 · Tianle Yang, Luyao Chang, Jiadong Yan, Juntao Li 외

As industrial products become abundant and sophisticated, visual industrial defect detection receives much attention, including two-dimensional and three-dimensional visual feature modeling. Traditional methods use stati…

Defect DetectionSurveyZero-Shot Learning