Training-Free Industrial Defect Generation with Diffusion Models

Ru-Yi Xu, Yen-Tzu Chiu, Taicai Chen, Oscar Chew, Yung-Yu Chuang +1 more
1/1/2025
diffusion-flow

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Anomaly generation has become essential in addressing the scarcity of defective samples in industrial anomaly inspection. However, existing training-based methods fail to handle complex anomalies and multiple defects simultaneously, especially when only a single anomaly sample is available per defect type.

Show full abstract

To address this issue, we propose TF-IDG, a novel training-free defect generation framework capable of generating diverse anomaly samples in a one-shot setting. We propose a Feature Alignment strategy that provides fine-grained appearance guidance by minimizing the distributional gap between generated and real defects with high complexity. Additionally, we introduce an Adaptive Anomaly Mask mechanism to mitigate the issue of defects with small regions being ignored during the generation process, enhancing consistency between synthetic defects and their corresponding masks. Finally, we incorporate a Texture Preservation module that extracts background information from anomaly-free images, ensuring that the visual properties of synthetic defects are seamlessly integrated into the image. Extensive experiments demonstrate the effectiveness of our method in generating accurate and diverse anomalies, further leading to superior performance in downstream anomaly inspection tasks.

Semantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2025trainingfree,
  title  = {Training-Free Industrial Defect Generation with Diffusion Models},
  author = {Ru-Yi Xu and Yen-Tzu Chiu and Taicai Chen and Oscar Chew and Yung-Yu Chuang and Wen-Huang Cheng},
  year   = {2025},
  url    = {https://api.semanticscholar.org/CorpusID:f54c8569fa4d308fa1dc4c7cc3c6775efa6423dd},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/f54c8569fa4d308fa1dc4c7cc3c6775efa6423dd.svg)](https://codeofpaper.com/paper/f54c8569fa4d308fa1dc4c7cc3c6775efa6423dd)

Discussion