atlas

Research map / Image generation / Autoregressive and latent generation

Out-of-Distribution Detection with a Single Unconditional Diffusion Model

NeurIPS 2024 · Image generation › Autoregressive and latent generation · approach: Reconstruction-based diffusion image detection · 10 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DiffPath, which uses one unconditional diffusion model (ImageNet or CelebA) and scores OOD samples by the rate-of-change and curvature of their DDIM-inverted diffusion paths, achieving competitive AUROC across pairwise OOD tasks with ~10 NFEs.

Problem

Unsupervised OOD detection traditionally requires training a separate generative model per inlier dataset; the paper asks whether a single diffusion model can perform OOD detection across diverse inlier/outlier pairs.

Approach

Measure the norm of the score (first-order, rate-of-change) and of its time derivative (curvature) along the DDIM-inverted probability flow ODE path mapping samples to standard normal, fit a density (KDE or GMM) on inlier statistics, and use it as the OOD score; a 6-D sign-preserving variant resolves symmetric-path failures such as negative CIFAR10.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DiffPath-6D with a CelebA-trained model instead of MSMAOOD detection across the 12 pairwise tasks · 12 pairwise OOD tasks averageAUROC: 0.945 -> 0.931Hurt
Use DiffPath-6D with an ImageNet-trained model instead of LMDOOD detection across the 12 pairwise tasks · 12 pairwise OOD tasks averageAUROC: 0.865 -> 0.850Hurt
Replace the 1D statistic with the 6D statistic (ablation)DiffPath with an ImageNet-trained model · 12 pairwise OOD tasks averageAUROC: 0.806 -> 0.850Helped
Replace the 1D statistic with the 6D statistic (ablation)DiffPath with a CelebA-trained model · 12 pairwise OOD tasks averageAUROC: 0.822 -> 0.931Helped
Train the diffusion model on CelebA rather than CIFAR10 (ablation)DiffPath-6D · 12 pairwise OOD tasks averageAUROC: 0.853 -> 0.931Helped
Train the diffusion model on CelebA rather than SVHN (ablation)DiffPath-6D · 12 pairwise OOD tasks averageAUROC: 0.838 -> 0.931Helped
Train the diffusion model instead of using random initialization (ablation)DiffPath-6D · 12 pairwise OOD tasks averageAUROC: 0.501 -> 0.931Helped
Vary the DDIM integration steps from 10 to 5, 25, or 50 (ablation)DiffPath-6D-CelebA · 12 pairwise OOD tasks averageAUROC: 0.929; 0.931; 0.919; 0.910No clear effect
Use inconsistent resizing instead of consistent resizing (ablation)DiffPath-6D-ImageNet · 12 pairwise OOD tasks averageAUROC: 0.850 -> 0.942Mixed
Use DiffPath-6D rather than DiffPath-1D (ablation)CIFAR10 vs negative CIFAR10 detection · CIFAR10 vs negative CIFAR10AUROC: 0.500 -> 0.994Helped
Use DiffPath-6D for near-OOD detectionNear-OOD detection · CIFAR10 near-OOD average and TinyImageNet near-OOD averageAUROC: 0.607; 0.845Mixed

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 SVHN CelebA ImageNet CIFAR100 Textures

Benchmarks: CIFAR10 vs SVHN CIFAR10 vs CelebA CIFAR10 vs CIFAR100 CIFAR10 vs Textures SVHN vs CIFAR10 SVHN vs CelebA SVHN vs CIFAR100 SVHN vs Textures CelebA vs CIFAR10 CelebA vs SVHN CelebA vs CIFAR100 CelebA vs Textures

Metrics: AUROC NFE

Baselines: IGEBM VAEBM Improved CD DoS WAIC Typicality Test Likelihood Ratio Input Complexity NLL DDPM-OOD LMD MSMA

Builds on: DDIM Improved DDPM MSMA Likelihood Regret

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy