Lune

ICLR2024Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

25 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • EigenScore: OOD Detection using Posterior Covariance in Diffusion Models cites Out-of-Distribution Detection with a Single Unconditional Diffusion Model
  • EigenScore: OOD Detection using Posterior Covariance in Diffusion Models cites Classification-Based Anomaly Detection for General Data
  • EigenScore: OOD Detection using Posterior Covariance in Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Scalable, Explainable and Provably Robust Anomaly Detection with One-Step Flow Matching cites Classification-Based Anomaly Detection for General Data
  • Scalable, Explainable and Provably Robust Anomaly Detection with One-Step Flow Matching cites Denoising Diffusion Probabilistic Models
  • Out-of-Distribution Detection with a Single Unconditional Diffusion Model cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Out-of-Distribution Detection with a Single Unconditional Diffusion Model cites Denoising Diffusion Probabilistic Models
  • One-to-Normal: Anomaly Personalization for Few-shot Anomaly Detection cites Denoising Diffusion Probabilistic Models
  • TabDDPM: Modelling Tabular Data with Diffusion Models cites Revisiting Deep Learning Models for Tabular Data
  • TabDDPM: Modelling Tabular Data with Diffusion Models cites Denoising Diffusion Probabilistic Models
  • From Zero to Hero: Advancing Zero-Shot Foundation Models for Tabular Outlier Detection cites Classification-Based Anomaly Detection for General Data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. Out-of-Distribution Detection with a Single Unconditional Diffusion ModelAlvin Heng, Alexandre H. Thiery, Harold SohNeurIPS 2024 · 35 citations
  2. 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
  3. One-to-Normal: Anomaly Personalization for Few-shot Anomaly DetectionYiyue Li, Shaoting Zhang, Kang Li, Qicheng LaoNeurIPS 2024 · 14 citations
  4. EigenScore: OOD Detection using Posterior Covariance in Diffusion ModelsShirin Shoushtari, Yi Wang, Xiao Shi, M. Salman Asif et al.ICLR 2026 · 5 citations
  5. 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

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Revisiting Deep Learning Models for Tabular DataYury Gorishniy, Ivan Rubachev, Valentin Khrulkov, Artem BabenkoNeurIPS 2021 · 1,847 citations
  3. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
  4. TabDDPM: Modelling Tabular Data with Diffusion ModelsAkim Kotelnikov, Dmitry Baranchuk, Ivan Rubachev, Artem BabenkoICML 2023 · 518 citations
  5. Classification-Based Anomaly Detection for General DataLiron Bergman, Yedid HoshenICLR 2020 · 412 citations

Related papers

  1. InvAD: Inversion-based Reconstruction-Free Anomaly Detection with Diffusion ModelsShunsuke Sakai, Xiangteng He, Chunzhi Gu, Leonid Sigal et al.CVPR 2026 · 3 citations
  2. Denoising without Diffusion: Fixed-Noise Denoiser Anomaly Detection in Tabular DataManuel Hirth, Lukas Koberg, Nasser Jazdi, Enkelejda KasneciICML 2026
  3. Feature Prediction Diffusion Model for Video Anomaly DetectionCheng Yan, Shiyu Zhang, Yang Liu, Guansong Pang et al.ICCV 2023 · 76 citations
  4. DiffGAD: A Diffusion-based Unsupervised Graph Anomaly DetectorJinghan Li, Yuan Gao, Jinda Lu, Junfeng Fang et al.ICLR 2025
  5. Diffusion-Scheduled Denoising Autoencoders for Anomaly Detection in Tabular DataTimur Sattarov, Marco Schreyer, Damian BorthKDD 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines