Graham, MS;
Pinaya, WHL;
Tudosiu, PD;
Nachev, P;
Ourselin, S;
Cardoso, MJ;
(2023)
Denoising diffusion models for out-of-distribution detection.
In:
IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops.
(pp. pp. 2948-2957).
IEEE: Vancouver, BC, Canada.
Preview |
PDF
2211.07740.pdf - Accepted Version Download (1MB) | Preview |
Abstract
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.
Type: | Proceedings paper |
---|---|
Title: | Denoising diffusion models for out-of-distribution detection |
Event: | 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) |
Dates: | 17 Jun 2023 - 24 Jun 2023 |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1109/CVPRW59228.2023.00296 |
Publisher version: | https://doi.org/10.1109/CVPRW59228.2023.00296 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | Computer vision , Current measurement , Noise reduction , Probabilistic logic , Pattern recognition , Image reconstruction , Standards |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Brain Sciences UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Brain Sciences > UCL Queen Square Institute of Neurology UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Brain Sciences > UCL Queen Square Institute of Neurology > Brain Repair and Rehabilitation |
URI: | https://discovery.ucl.ac.uk/id/eprint/10180079 |
Archive Staff Only
View Item |