pith. sign in

arxiv: 2305.18593 · v3 · submitted 2023-05-29 · 💻 cs.LG · cs.AI

On Diffusion Modeling for Anomaly Detection

classification 💻 cs.LG cs.AI
keywords anomalydetectiondiffusionddpmmodelingsemi-supervisedtimeunsupervised
0
0 comments X
read the original abstract

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 Estimation (DTE). DTE estimates the distribution over diffusion time for a given input and uses the mode or mean of this distribution as the anomaly score. We derive an analytical form for this 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 for both semi-supervised and unsupervised settings. Notably, DTE achieves orders of magnitude faster inference time than DDPM, while outperforming it on this benchmark. These results establish diffusion-based anomaly detection as a scalable alternative to traditional methods and recent deep-learning techniques for standard unsupervised and semi-supervised anomaly detection settings.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Beyond Binary Out-of-Distribution Detection: Characterizing Distributional Shifts with Multi-Statistic Diffusion Trajectories

    cs.LG 2025-10 unverdicted novelty 7.0

    DISC extracts multi-statistic trajectories from diffusion denoising to both detect and classify types of distributional shifts in OOD data.

  2. uLEAD-TabPFN: Uncertainty-aware Dependency-based Anomaly Detection with TabPFN

    cs.LG 2026-04 unverdicted novelty 6.0

    uLEAD-TabPFN detects anomalies in tabular data by scoring violations of conditional dependencies estimated via frozen PFNs with uncertainty awareness, achieving top average rank and up to 20% ROC-AUC gains on high-dim...