A Novel Approach to Industrial Defect Generation through Blended Latent Diffusion Model with Online Adaptation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Li, Hanxi, Zhang, Zhengxun, Chen, Hao, Wu, Lin, Li, Bo, Liu, Deyin, Wang, Mingwen
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913282847145984
author Li, Hanxi
Zhang, Zhengxun
Chen, Hao
Wu, Lin
Li, Bo
Liu, Deyin
Wang, Mingwen
author_facet Li, Hanxi
Zhang, Zhengxun
Chen, Hao
Wu, Lin
Li, Bo
Liu, Deyin
Wang, Mingwen
contents Effectively addressing the challenge of industrial Anomaly Detection (AD) necessitates an ample supply of defective samples, a constraint often hindered by their scarcity in industrial contexts. This paper introduces a novel algorithm designed to augment defective samples, thereby enhancing AD performance. The proposed method tailors the blended latent diffusion model for defect sample generation, employing a diffusion model to generate defective samples in the latent space. A feature editing process, controlled by a ``trimap" mask and text prompts, refines the generated samples. The image generation inference process is structured into three stages: a free diffusion stage, an editing diffusion stage, and an online decoder adaptation stage. This sophisticated inference strategy yields high-quality synthetic defective samples with diverse pattern variations, leading to significantly improved AD accuracies based on the augmented training set. Specifically, on the widely recognized MVTec AD dataset, the proposed method elevates the state-of-the-art (SOTA) performance of AD with augmented data by 1.5%, 1.9%, and 3.1% for AD metrics AP, IAP, and IAP90, respectively. The implementation code of this work can be found at the GitHub repository https://github.com/GrandpaXun242/AdaBLDM.git
format Preprint
id arxiv_https___arxiv_org_abs_2402_19330
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Novel Approach to Industrial Defect Generation through Blended Latent Diffusion Model with Online Adaptation
Li, Hanxi
Zhang, Zhengxun
Chen, Hao
Wu, Lin
Li, Bo
Liu, Deyin
Wang, Mingwen
Computer Vision and Pattern Recognition
Multimedia
Effectively addressing the challenge of industrial Anomaly Detection (AD) necessitates an ample supply of defective samples, a constraint often hindered by their scarcity in industrial contexts. This paper introduces a novel algorithm designed to augment defective samples, thereby enhancing AD performance. The proposed method tailors the blended latent diffusion model for defect sample generation, employing a diffusion model to generate defective samples in the latent space. A feature editing process, controlled by a ``trimap" mask and text prompts, refines the generated samples. The image generation inference process is structured into three stages: a free diffusion stage, an editing diffusion stage, and an online decoder adaptation stage. This sophisticated inference strategy yields high-quality synthetic defective samples with diverse pattern variations, leading to significantly improved AD accuracies based on the augmented training set. Specifically, on the widely recognized MVTec AD dataset, the proposed method elevates the state-of-the-art (SOTA) performance of AD with augmented data by 1.5%, 1.9%, and 3.1% for AD metrics AP, IAP, and IAP90, respectively. The implementation code of this work can be found at the GitHub repository https://github.com/GrandpaXun242/AdaBLDM.git
title A Novel Approach to Industrial Defect Generation through Blended Latent Diffusion Model with Online Adaptation
topic Computer Vision and Pattern Recognition
Multimedia
url https://arxiv.org/abs/2402.19330