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

用于分布外检测的去噪扩散模型

Denoising diffusion models for out-of-distribution detection

King’s College London(伦敦国王学院);University College London(伦敦大学学院)

Mark S. Graham, Walter H. L. Pinaya, Petru-Daniel Tudosiu, Parashkev Nachev, Sebastien Ourselin, M. Jorge Cardoso

AI总结:

本文提出利用 DDPM 在多种噪声水平下重构输入,并以多维重构误差进行无监督分布外检测,在视觉和医学数据集上超过重构式及当前最优生成式方法。

摘要:

分布外检测对于机器学习系统的安全部署至关重要。目前,无监督分布外检测主要由基于生成的方法主导,这些方法利用来自生成模型的似然估计或其他度量。基于重构的方法提供了另一种途径,即使用重构误差度量来判断样本是否分布外。然而,基于重构的方法不太受青睐,因为它们需要仔细调节模型的信息瓶颈(例如隐空间维度大小)才能取得良好效果。在本工作中,我们利用去噪扩散概率模型(DDPM)可视为去噪自编码器这一观点,其中瓶颈通过所施加的噪声量从外部控制。我们提出使用 DDPM 重构被添加到一系列噪声水平的输入,并利用由此产生的多维重构误差对分布外输入进行分类。我们在标准计算机视觉数据集和更高维的医学数据集上验证了该方法。我们的方法不仅优于基于重构的方法,也优于最先进的基于生成的方法。代码可在 https://github.com/marksgraham/ddpm-ood 获取。

英文摘要:

Out-of-distribution detection is crucial to the safe deployment of machine learning systems. Currently, unsupervised out-of-distribution detection is dominated by generative-based approaches that make use of estimates of the likelihood or other measurements from a generative model. Reconstruction-based methods offer an alternative approach, in which a measure of reconstruction error is used to determine if a sample is out-of-distribution. However, reconstruction-based approaches are less favoured, as they require careful tuning of the model's information bottleneck - such as the size of the latent dimension - to produce good results. In this work, we exploit the view of denoising diffusion probabilistic models (DDPM) as denoising autoencoders where the bottleneck is controlled externally, by means of the amount of noise applied. We propose to use DDPMs to reconstruct an input that has been noised to a range of noise levels, and use the resulting multi-dimensional reconstruction error to classify out-of-distribution inputs. We validate our approach both on standard computer-vision datasets and on higher dimension medical datasets. Our approach outperforms not only reconstruction-based methods, but also state-of-the-art generative-based approaches. Code is available at https://github.com/marksgraham/ddpm-ood.

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

↑