atlas

Research map / Image generation / Fast diffusion sampling

GOOD: Training-Free Guided Diffusion Sampling for Out-of-Distribution Detection

NeurIPS 2025 · Image generation › Fast diffusion sampling · approach: Diffusion theory and design space · 0 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 GOOD, a training-free method that steers Stable Diffusion sampling toward OOD regions using image-level (free energy) and feature-level (k-NN distance) gradients from an ID classifier, then uses the samples for outlier exposure and a unified OOD score.

Problem

Generating informative and diverse OOD samples for outlier exposure; existing text-conditioned diffusion methods perturb text embeddings, causing semantic instability and limited shift diversity.

Approach

Directly guide the diffusion denoising trajectory in pixel space with gradients of an off-the-shelf ID classifier's free energy and k-NN feature distance (via training-free guidance), and adaptively fuse image-level and feature-level OOD scores using a KL-based weight.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add feature-level guidance during synthesis (ablation)GOOD · ImageNet-100FPR95: 32.23 -> 17.70Helped
add feature-level guidance during synthesis (ablation)GOOD · ImageNet-100AUROC: 92.29 -> 96.28Helped
add image-level guidance during synthesis (ablation)GOOD · ImageNet-100FPR95: 32.93 -> 17.70Helped
add image-level guidance during synthesis (ablation)GOOD · ImageNet-100AUROC: 91.98 -> 96.28Helped
add unified image- and feature-level OOD scoring instead of energy-only detection (ablation)GOOD with both guidance types · ImageNet-100AUROC: 92.81 -> 96.28Helped
use balanced sampling across step sizes rather than a single configuration (ablation)GOOD · ImageNet-100AUROCHelped
increase regularization weight λ (ablation)GOOD outlier-exposure training · ImageNet-100AUROCHelped
increase regularization weight λ (ablation)GOOD outlier-exposure training · ImageNet-100ID accuracyHurt
adaptively set the unified-score weight w using KL divergence (ablation)GOOD · OOD detection across diverse OOD scenariosOOD detection robustnessHelped
vary k from 50 to 500 for k-NN distance (ablation)GOOD feature-level OOD scoring · ImageNet-100AUROC: around 96.2No clear effect
increase Gaussian smoothing strength γ̄ (ablation)GOOD diffusion guidance · ImageNet-100 and CIFAR-100energy-score distribution stabilityMixed
use the 128×128 rather than 512×512 diffusion modelGOOD · CIFAR-100 (average)FPR95: 25.66 -> 19.50Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-100 CIFAR-100 iNaturalist SUN Places Textures SVHN LSUN-R ISUN

Benchmarks: ImageNet-100 OOD (iNaturalist, Places, SUN, Textures) CIFAR-100 OOD (SVHN, Places365, LSUN-R, ISUN, Textures)

Metrics: FPR95 AUROC ID accuracy

Baselines: MSP ODIN Mahalanobis Energy G-ODIN kNN ViM ReAct DICE GAN VOS NPOS

Builds on: Dream-OOD Training-Free Guidance (TFG) Outlier Exposure DDIM Energy-based OOD detection

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