Unsupervised 3D out-of-distribution detection with latent diffusion models

Mark S. Graham, Walter Hugo Lopez Pinaya, Paul Wright, Petru-Daniel Tudosiu, Yee H. Mah +6 more
7/7/2023
32 citations
cs.CV
diffusion-flow

Official code: marksgraham/ddpm-ood (53 stars, Python, PyTorch, last commit 2024-06-09).

Abstract

Methods for out-of-distribution (OOD) detection that scale to 3D data are crucial components of any real-world clinical deep learning system. Classic denoising diffusion probabilistic models (DDPMs) have been recently proposed as a robust way to perform reconstruction-based OOD detection on 2D datasets, but do not trivially scale to 3D data.

Show full abstract

In this work, we propose to use Latent Diffusion Models (LDMs), which enable the scaling of DDPMs to high-resolution 3D medical data. We validate the proposed approach on near- and far-OOD datasets and compare it to a recently proposed, 3D-enabled approach using Latent Transformer Models (LTMs). Not only does the proposed LDM-based approach achieve statistically significant better performance, it also shows less sensitivity to the underlying latent representation, more favourable memory scaling, and produces better spatial anomaly maps. Code is available at https://github.com/marksgraham/ddpm-ood

View on arXivView PDF

Code Implementations(1)

PyTorch

Official PyTorch code for "Out-of-distribution detection with denoising diffusion models"

537Python, ShellNov 15, 20222 years agoNOASSERTION
diffusion-modelsout-of-distribution-detectionpytorch

Similar Papers

Cite this paper

@article{graham2023unsupervised,
  title  = {Unsupervised 3D out-of-distribution detection with latent diffusion models},
  author = {Mark S. Graham and Walter Hugo Lopez Pinaya and Paul Wright and Petru-Daniel Tudosiu and Yee H. Mah and James T. Teo and H. Rolf Jäger and David Werring and Parashkev Nachev and Sebastien Ourselin and M. Jorge Cardoso},
  year   = {2023},
  eprint = {2307.03777},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.03777v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.03777.svg)](https://codeofpaper.com/paper/2307.03777)

Discussion