HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Dynamic Addition of Noise in a Diffusion Model for Anomaly Detection

Justin Tebbe Jawad Tayyub

Dynamic Addition of Noise in a Diffusion Model for Anomaly Detection

Abstract

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.

Code Repositories

JustinTebbe/D3AD
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-btadD3AD
Detection AUROC: 95.2
Segmentation AUPRO: 83.2
anomaly-detection-on-visaD3AD
Detection AUROC: 96.0
Segmentation AUPRO (until 30% FPR): 94.1
Segmentation AUROC: 97.9

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Dynamic Addition of Noise in a Diffusion Model for Anomaly Detection | Papers | HyperAI