On Diffusion Modeling for Anomaly Detection
Victor Livernoche, Vineet Jain, Yashar Hezaveh, Siamak Ravanbakhsh
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 semisupervised 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). 1 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2c1f8af4-b84c-4f55-bf25-3bc9fefbd111Cited by top-tier papers24
- Out-of-Distribution Detection with a Single Unconditional Diffusion ModelAlvin Heng, Alexandre H. Thiery, Harold SohNeurIPS 2024 · 35 citations
- Scalable, Explainable and Provably Robust Anomaly Detection with One-Step Flow MatchingZhong Li, Qi Huang, Yuxuan Zhu, Lincen Yang et al.NeurIPS 2025 · 16 citations
- One-to-Normal: Anomaly Personalization for Few-shot Anomaly DetectionYiyue Li, Shaoting Zhang, Kang Li, Qicheng LaoNeurIPS 2024 · 14 citations
- EigenScore: OOD Detection using Posterior Covariance in Diffusion ModelsShirin Shoushtari, Yi Wang, Xiao Shi, M. Salman Asif et al.ICLR 2026 · 5 citations
- From Zero to Hero: Advancing Zero-Shot Foundation Models for Tabular Outlier DetectionXueying Ding, Haomin Wen, Simon Klüttermann, Leman AkogluICML 2026 · 5 citations
Builds on13
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Revisiting Deep Learning Models for Tabular DataYury Gorishniy, Ivan Rubachev, Valentin Khrulkov, Artem BabenkoNeurIPS 2021 · 1,847 citations
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
- TabDDPM: Modelling Tabular Data with Diffusion ModelsAkim Kotelnikov, Dmitry Baranchuk, Ivan Rubachev, Artem BabenkoICML 2023 · 518 citations
- Classification-Based Anomaly Detection for General DataLiron Bergman, Yedid HoshenICLR 2020 · 412 citations
Related papers
- InvAD: Inversion-based Reconstruction-Free Anomaly Detection with Diffusion ModelsShunsuke Sakai, Xiangteng He, Chunzhi Gu, Leonid Sigal et al.CVPR 2026 · 3 citations
- Denoising without Diffusion: Fixed-Noise Denoiser Anomaly Detection in Tabular DataManuel Hirth, Lukas Koberg, Nasser Jazdi, Enkelejda KasneciICML 2026
- Feature Prediction Diffusion Model for Video Anomaly DetectionCheng Yan, Shiyu Zhang, Yang Liu, Guansong Pang et al.ICCV 2023 · 76 citations
- DiffGAD: A Diffusion-based Unsupervised Graph Anomaly DetectorJinghan Li, Yuan Gao, Jinda Lu, Junfeng Fang et al.ICLR 2025
- Diffusion-Scheduled Denoising Autoencoders for Anomaly Detection in Tabular DataTimur Sattarov, Marco Schreyer, Damian BorthKDD 2025 · 3 citations
