Anomaly Detection by Effectively Leveraging Synthetic Images

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kang, Sungho, Park, Hyunkyu, Lee, Yeonho, Lee, Hanbyul, Jeong, Mijoo, Park, YeongHyeon, Lee, Injae, Yi, Juneho
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915697977720832
author Kang, Sungho
Park, Hyunkyu
Lee, Yeonho
Lee, Hanbyul
Jeong, Mijoo
Park, YeongHyeon
Lee, Injae
Yi, Juneho
author_facet Kang, Sungho
Park, Hyunkyu
Lee, Yeonho
Lee, Hanbyul
Jeong, Mijoo
Park, YeongHyeon
Lee, Injae
Yi, Juneho
contents Anomaly detection plays a vital role in industrial manufacturing. Due to the scarcity of real defect images, unsupervised approaches that rely solely on normal images have been extensively studied. Recently, diffusion-based generative models brought attention to training data synthesis as an alternative solution. In this work, we focus on a strategy to effectively leverage synthetic images to maximize the anomaly detection performance. Previous synthesis strategies are broadly categorized into two groups, presenting a clear trade-off. Rule-based synthesis, such as injecting noise or pasting patches, is cost-effective but often fails to produce realistic defect images. On the other hand, generative model-based synthesis can create high-quality defect images but requires substantial cost. To address this problem, we propose a novel framework that leverages a pre-trained text-guided image-to-image translation model and image retrieval model to efficiently generate synthetic defect images. Specifically, the image retrieval model assesses the similarity of the generated images to real normal images and filters out irrelevant outputs, thereby enhancing the quality and relevance of the generated defect images. To effectively leverage synthetic images, we also introduce a two stage training strategy. In this strategy, the model is first pre-trained on a large volume of images from rule-based synthesis and then fine-tuned on a smaller set of high-quality images. This method significantly reduces the cost for data collection while improving the anomaly detection performance. Experiments on the MVTec AD dataset demonstrate the effectiveness of our approach.
format Preprint
id arxiv_https___arxiv_org_abs_2512_23227
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Anomaly Detection by Effectively Leveraging Synthetic Images
Kang, Sungho
Park, Hyunkyu
Lee, Yeonho
Lee, Hanbyul
Jeong, Mijoo
Park, YeongHyeon
Lee, Injae
Yi, Juneho
Computer Vision and Pattern Recognition
Artificial Intelligence
Anomaly detection plays a vital role in industrial manufacturing. Due to the scarcity of real defect images, unsupervised approaches that rely solely on normal images have been extensively studied. Recently, diffusion-based generative models brought attention to training data synthesis as an alternative solution. In this work, we focus on a strategy to effectively leverage synthetic images to maximize the anomaly detection performance. Previous synthesis strategies are broadly categorized into two groups, presenting a clear trade-off. Rule-based synthesis, such as injecting noise or pasting patches, is cost-effective but often fails to produce realistic defect images. On the other hand, generative model-based synthesis can create high-quality defect images but requires substantial cost. To address this problem, we propose a novel framework that leverages a pre-trained text-guided image-to-image translation model and image retrieval model to efficiently generate synthetic defect images. Specifically, the image retrieval model assesses the similarity of the generated images to real normal images and filters out irrelevant outputs, thereby enhancing the quality and relevance of the generated defect images. To effectively leverage synthetic images, we also introduce a two stage training strategy. In this strategy, the model is first pre-trained on a large volume of images from rule-based synthesis and then fine-tuned on a smaller set of high-quality images. This method significantly reduces the cost for data collection while improving the anomaly detection performance. Experiments on the MVTec AD dataset demonstrate the effectiveness of our approach.
title Anomaly Detection by Effectively Leveraging Synthetic Images
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2512.23227