Fine-Tuning-Free Reference-Guided Diffusion for Structure-Preserving Elongated Fabric Defect Generation.
Qiang Wu, Hedong Yang, Wensheng Ding, Zhong Xiang, Jinling Yao
School of Mechanical Engineering, Zhejiang Sci-Tech University, Hangzhou 310018, China. · China Textile Machinery Association, Beijing 100028, China.
Key points
From the paper's conclusion- To address this issue, we propose the Shape-Aware Implicitly Anchored Industrial Defect Generation (SLAID) framework, a reference-image-guided synthesis framework for elongated fabric defects that is fine-tuning-free.
Abstract
In industrial anomaly detection, anomaly generation helps reduce reliance on scarce real defect samples. However, for elongated fabric defects where morphology is highly coupled with background texture, maintaining the realism of the defects remains a challenge. To address this issue, we propose the Shape-Aware Implicitly Anchored Industrial Defect Generation (SLAID) framework, a reference-image-guided synthesis framework for elongated fabric defects that is fine-tuning-free. Within this framework, we introduce Shape-Sensitive Sliding-Window Reference Modeling (SSRM) to preserve the geometric structure of long-span defects. Additionally, we incorporate Adaptive High-Frequency Guidance (AHFG) to enhance fine edges and textural features. Finally, we propose Target-Domain Latent Anchoring (TLA) to constrain target-background consistency in non-edited regions. SLAID generates structurally continuous defects while preserving the target fabric background, without additional fine-tuning. In a data augmentation experiment on a dataset comprising five categories of elongated textile defects, SLAID improved the mAP@0.5 of YOLOv8 from 0.616 to 0.817. Furthermore, SLAID achieved a mean MMD2 of 0.0435 for defect-distribution consistency, a mean LPIPS of 0.0739 for defect-level perceptual similarity, and a full-image SSIM of 0.9754 for target-background preservation. Cross-dataset evaluation on the MHPSD steel-surface defect dataset provides preliminary evidence of the applicability of the proposed inference-stage generation strategy to the evaluated steel-surface defect categories.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GAN-PD: generative adversarial networks for fabric defect generation towards precise detectionScientific Reports · 2026
- REDiff-AD: No Training and No Target Masks for Industrial Anomaly Image Generation via Diversity-Driven In-Context MMDiTarXiv · 2026
- FLASH: A "Generate Once, Synthesize Many" Framework for Synthetic Anomaly Generation in Industrial Anomaly DetectionarXiv · 2026
- Industrial Product Surface Defect Detection via Memory-Bank Feature Matching and Lightweight Diffusion ReconstructionProcesses · 2026
- MaskFused‐DynamicPerception Generative Adversarial Network (MF‐DPGAN): High‐Quality Fabric Defect Samples Synthesis Algorithm for Improving Visual‐Based Detection PerformanceInternational Journal of Intelligent Systems · 2026
- Industrial defect image generation via structured latent-space interpolationScientific Reports · 2026