On Diffusion Modeling for Anomaly Detection

05/29/2023
by   Victor Livernoche, et al.
0

Known for their impressive performance in generative modeling, diffusion models are attractive candidates for density-based anomaly detection. This paper investigates different variations of diffusion modeling for unsupervised and semi-supervised anomaly detection. In particular, we find that Denoising Diffusion Probability Models (DDPM) are performant on anomaly detection benchmarks yet computationally expensive. By simplifying DDPM in application to anomaly detection, we are naturally led to an alternative approach called Diffusion Time Probabilistic Model (DTPM). DTPM estimates the posterior distribution over diffusion time for a given input, enabling the identification of anomalies due to their higher posterior density at larger timesteps. We derive an analytical form for this posterior density and leverage a deep neural network to improve inference efficiency. Through empirical evaluations on the ADBench benchmark, we demonstrate that all diffusion-based anomaly detection methods perform competitively. Notably, DTPM achieves orders of magnitude faster inference time than DDPM, while outperforming it on this benchmark. These results establish diffusion-based anomaly detection as an interpretable and scalable alternative to traditional methods and recent deep-learning techniques.

READ FULL TEXT

page 8

page 19

research
03/15/2023

DiffusionAD: Denoising Diffusion for Anomaly Detection

Anomaly detection is widely applied due to its remarkable effectiveness ...
research
03/28/2022

FlexFringe: Modeling Software Behavior by Learning Probabilistic Automata

We present the efficient implementations of probabilistic deterministic ...
research
04/12/2023

Exploring Diffusion Models for Unsupervised Video Anomaly Detection

This paper investigates the performance of diffusion models for video an...
research
10/19/2022

Estimating the Contamination Factor's Distribution in Unsupervised Anomaly Detection

Anomaly detection methods identify examples that do not follow the expec...
research
05/31/2023

Mask, Stitch, and Re-Sample: Enhancing Robustness and Generalizability in Anomaly Detection through Automatic Diffusion Models

The introduction of diffusion models in anomaly detection has paved the ...
research
07/14/2023

Multimodal Motion Conditioned Diffusion Model for Skeleton-based Video Anomaly Detection

Anomalies are rare and anomaly detection is often therefore framed as On...
research
01/23/2020

Universal Data Anomaly Detection via Inverse Generative Adversary Network

The problem of detecting data anomaly is considered. Under the null hypo...

Please sign up or login with your details

Forgot password? Click here to reset