Saved in:
Bibliographic Details
Main Authors: Tebbe, Justin, Tayyub, Jawad
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.04463
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929394975506432
author Tebbe, Justin
Tayyub, Jawad
author_facet Tebbe, Justin
Tayyub, Jawad
contents Diffusion models have found valuable applications in anomaly detection by capturing the nominal data distribution and identifying anomalies via reconstruction. Despite their merits, they struggle to localize anomalies of varying scales, especially larger anomalies such as entire missing components. Addressing this, we present a novel framework that enhances the capability of diffusion models, by extending the previous introduced implicit conditioning approach Meng et al. (2022) in three significant ways. First, we incorporate a dynamic step size computation that allows for variable noising steps in the forward process guided by an initial anomaly prediction. Second, we demonstrate that denoising an only scaled input, without any added noise, outperforms conventional denoising process. Third, we project images in a latent space to abstract away from fine details that interfere with reconstruction of large missing components. Additionally, we propose a fine-tuning mechanism that facilitates the model to effectively grasp the nuances of the target domain. Our method undergoes rigorous evaluation on prominent anomaly detection datasets VisA, BTAD and MVTec yielding strong performance. Importantly, our framework effectively localizes anomalies regardless of their scale, marking a pivotal advancement in diffusion-based anomaly detection.
format Preprint
id arxiv_https___arxiv_org_abs_2401_04463
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Dynamic Addition of Noise in a Diffusion Model for Anomaly Detection
Tebbe, Justin
Tayyub, Jawad
Computer Vision and Pattern Recognition
Diffusion models have found valuable applications in anomaly detection by capturing the nominal data distribution and identifying anomalies via reconstruction. Despite their merits, they struggle to localize anomalies of varying scales, especially larger anomalies such as entire missing components. Addressing this, we present a novel framework that enhances the capability of diffusion models, by extending the previous introduced implicit conditioning approach Meng et al. (2022) in three significant ways. First, we incorporate a dynamic step size computation that allows for variable noising steps in the forward process guided by an initial anomaly prediction. Second, we demonstrate that denoising an only scaled input, without any added noise, outperforms conventional denoising process. Third, we project images in a latent space to abstract away from fine details that interfere with reconstruction of large missing components. Additionally, we propose a fine-tuning mechanism that facilitates the model to effectively grasp the nuances of the target domain. Our method undergoes rigorous evaluation on prominent anomaly detection datasets VisA, BTAD and MVTec yielding strong performance. Importantly, our framework effectively localizes anomalies regardless of their scale, marking a pivotal advancement in diffusion-based anomaly detection.
title Dynamic Addition of Noise in a Diffusion Model for Anomaly Detection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2401.04463