A Synthetic Defect Image Generation Method for Enhanced Industrial Defect Detection Based on Inpainting Diffusion and Context-aware Mask Generation

Automated visual inspection (AVI) systems increasingly rely on deep learning-based object detection to deliver fast and consistent surface defect identification. However, the scarcity of defect image data and the shift in visual feature distributions caused by product variations remain significant challenges that hinder the practical deployment of deep learning systems. To address these challenges, we propose a synthetic defect generation pipeline based on an inpainting diffusion model. We introduce a Context-Aware Mask Generation (CAMG) module to ensure conforming mask generation required for realistic defect image synthesis. The proposed CAMG module employs a Self-DIstillation with NO labels (DINO) vision foundation model to automatically learn defect placement rules on product images. By synthesizing defects onto the non-defective images of new products via an inpainting approach, our method effectively bridges the distributional gap caused by product variations, enhancing robustness in New Product Introduction (NPI) scenarios. We validate the effectiveness of our method on footwear and printed circuit board (PCB) datasets. The experimental results demonstrate that incorporating the synthetic defect images consistently improves the mean average precision (mAP), precision, and recall performances of various defect detection models, with the most notable gains observed in the challenging NPI scenario.

Authors

Institutions

Publication Details

Journal
Journal of Intelligent Manufacturing
Published
2026-06-26
DOI
https://doi.org/10.1007/s10845-026-02915-2
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Synthetic Defect Image Generation Method for Enhanced Industrial Defect Detection Based on Inpainting Diffusion and Context-aware Mask Generation

Jaebong Cho, Hyunbo Cho, Jihoon Nam, Dohyeon Kong
Journal of Intelligent Manufacturing
Industrial Vision Systems and Defect Detection
article

A Synthetic Defect Image Generation Method for Enhanced Industrial Defect Detection Based on Inpainting Diffusion and Context-aware Mask Generation

Jaebong Cho, Hyunbo Cho, Jihoon Nam, Dohyeon Kong
article en

Abstract

Automated visual inspection (AVI) systems increasingly rely on deep learning-based object detection to deliver fast and consistent surface defect identification. However, the scarcity of defect image data and the shift in visual feature distributions caused by product variations remain significant challenges that hinder the practical deployment of deep learning systems. To address these challenges, we propose a synthetic defect generation pipeline based on an inpainting diffusion model. We introduce a Context-Aware Mask Generation (CAMG) module to ensure conforming mask generation required for realistic defect image synthesis. The proposed CAMG module employs a Self-DIstillation with NO labels (DINO) vision foundation model to automatically learn defect placement rules on product images. By synthesizing defects onto the non-defective images of new products via an inpainting approach, our method effectively bridges the distributional gap caused by product variations, enhancing robustness in New Product Introduction (NPI) scenarios. We validate the effectiveness of our method on footwear and printed circuit board (PCB) datasets. The experimental results demonstrate that incorporating the synthetic defect images consistently improves the mean average precision (mAP), precision, and recall performances of various defect detection models, with the most notable gains observed in the challenging NPI scenario.

Journal of Intelligent Manufacturing
Pohang University of Science and Technology (KR)
Ministry of Education
Industry, innovation and infrastructure
Openalex Percentile: Top 6%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.