用一步扩散模型提升工业异常检测速度与精度
One-Step Diffusion with Inverse Residual Fields for Unsupervised Industrial Anomaly Detection

- 通过逆残差场实现单步扩散,避免迭代采样
- 在三个基准上达到领先或相当的检测性能
- 适合需要快速推理的工业异常检测场景
扩散模型在无监督工业异常检测(uIAD)中表现优异,其核心假设是异常数据难以生成,从而在数据空间中产生更大重构误差或在可计算的潜在空间中具有更低概率密度。然而,其迭代去噪和加噪过程导致推理缓慢。本文提出OSD-IRF,一种基于逆残差场的一步扩散方法,以解决该问题。首先在正常数据上训练深度扩散概率模型(DDPM),不依赖任何条件。测试时,利用训练好的参数化噪声函数估计噪声,并预测样本的逆残差场(IRF)。随后通过评估IRF在高斯分布下的概率密度并与阈值比较,完成异常检测。关键发现是:在逆残差场空间中,异常数据更易区分,这一现象此前较少被研究。由于逆残差场在去噪过程任意相邻时间步均成立,OSD-IRF仅需单步扩散即可完成检测。在三个广泛使用的uIAD基准上的大量实验表明,本方法在六项指标上达到最优或具有竞争力,且无需蒸馏即实现约2倍推理加速。
原文摘要 · Abstract (English)
Diffusion models have achieved outstanding performance in unsupervised industrial anomaly detection (uIAD) by learning a manifold of normal data under the common assumption that off-manifold anomalies are harder to generate, resulting in larger reconstruction errors in data space or lower probability densities in the tractable latent space. However, their iterative denoising and noising nature leads to slow inference. In this paper, we propose OSD-IRF, a novel one-step diffusion with inverse residual fields, to address this limitation for uIAD task. We first train a deep diffusion probabilistic model (DDPM) on normal data without any conditioning. Then, for a test sample, we predict its inverse residual fields (IRF) based on the noise estimated by the well-trained parametric noise function of the DDPM. Finally, uIAD is performed by evaluating the probability density of the IRF under a Gaussian distribution and comparing it with a threshold. Our key observation is that anomalies become distinguishable in this IRF space, a finding that has seldom been reported in prior works. Moreover, OSD-IRF requires only single step diffusion for uIAD, thanks to the property that IRF holds for any neighboring time step in the denoising process. Extensive experiments on three widely used uIAD benchmarks show that our model achieves SOTA or competitive performance across six metrics, along with roughly a 2X inference speedup without distillation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。