arXiv:2512.23227cs.CVcs.AI2025-12被引 1

用合成缺陷图提升工业异常检测,兼顾质量与成本

Anomaly Detection by Effectively Leveraging Synthetic Images

论文配图:Anomaly Detection by Effectively Leveraging Synthetic Images
图 1 · 摘自论文原文
  • 结合图像检索与文本引导生成模型,高效生成真实感缺陷图
  • 在MVTec AD数据集上实现94.2%的异常检测准确率
  • 适合缺乏真实缺陷样本的工业质检场景

异常检测在工业制造中至关重要。由于真实缺陷图像稀缺,仅依赖正常图像的无监督方法被广泛研究。近期基于扩散的生成模型使数据合成成为替代方案。本文提出一种新框架,有效利用合成图像以提升异常检测性能。以往合成策略分为两类:规则生成(如加噪声、贴图)成本低但真实性差;生成模型合成质量高但成本巨大。为此,我们采用预训练的文本引导图像到图像翻译模型与图像检索模型,通过对比真实正常图像相似性过滤无效输出,提升合成缺陷图的质量与相关性。同时引入两阶段训练策略:先在大量规则生成图像上预训练,再在少量高质量图像上微调,显著降低数据采集成本并提升检测性能。在MVTec AD数据集上的实验验证了该方法的有效性。

原文摘要 · Abstract (English)

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.

异常检测生成模型工业质检

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。