arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.18593cs.LGcs.AI
收藏

关于扩散模型在异常检测中的应用

On Diffusion Modeling for Anomaly Detection

School of Computer Science, McGill University(麦吉尔大学计算机科学学院);Department of Physics, University of Montreal(蒙特利尔大学物理系);Mila - Quebec AI Institute(魁北克人工智能研究所)

Victor Livernoche, Vineet Jain, Yashar Hezaveh, Siamak Ravanbakhsh

AI总结:

本文探讨了扩散模型在无监督和半监督异常检测中的不同变体,提出扩散时间估计方法,在保持性能的同时显著提升推理效率。

摘要:

基于生成模型的出色表现,扩散模型在基于密度的异常检测中具有吸引力。本文探讨了扩散建模在无监督和半监督异常检测中的不同变体。特别地,我们发现去噪扩散概率模型(DDPM)在异常检测基准上表现良好,但计算成本高。通过在异常检测中简化DDPM,我们自然地得出了一种替代方法,称为扩散时间估计(DTE)。DTE估计给定输入的扩散时间分布,并使用该分布的模式或均值作为异常分数。我们推导了该密度的解析形式,并利用深度神经网络来提高推理效率。通过在ADBench基准上的实证评估,我们证明所有基于扩散的异常检测方法在半监督和无监督设置中均具有竞争力。值得注意的是,DTE的推理时间比DDPM快几个数量级,同时在该基准上优于DDPM。这些结果确立了基于扩散的异常检测作为传统方法和最新深度学习技术的可扩展替代方案。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑