atlas

Research map / Image generation / Autoregressive and latent generation

Diffusion-based Semantic Outlier Generation via Nuisance Awareness for Out-of-Distribution Detection

AAAI 2025 · Image generation › Autoregressive and latent generation · approach: Reconstruction-based diffusion image detection · 2 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 SONA, which generates semantic-discrepant but nuisance-preserving outliers by guiding a Stable Diffusion model with ID images via region-specific (semantic/nuisance) guidance, and trains a ResNet-18 OOD detector with outlier-exposure and mutual-information losses.

Problem

Synthetic outlier generation for OOD detection, especially near-OOD, produces outliers too far from the in-distribution data and fails to capture subtle semantic distinctions; diffusion-based methods are sensitive to generation targets/prompts.

Approach

Starts from pixel-space ID images, partially noises them to an early stop timestep, and denoises with SONA guidance that removes ID semantics in semantic regions, preserves ID nuisance regions, and injects OOD-label semantics in the non-overlapping semantic region, then trains the classifier with CE, outlier-exposure, and a contrastive mutual-information upper-bound loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train the detector with SONA-generated outliers rather than prior methodsResNet-18 OOD detector · ImageNet-200 Near-OOD (Avg)AUROC: 84.84 -> 88.38±0.18Helped
Train the detector with SONA-generated outliers rather than prior methodsResNet-18 OOD detector · ImageNet-200 Far-OOD (Avg)AUROC: 94.49 -> 95.87±0.20Helped
Add ΔID to global guidance (ablation)SONA outlier generation · ImageNet-200 Near-OODAUROC: 82.85 -> 83.74Helped
Add filtered ΔOOD to ΔID guidance (ablation)SONA outlier generation · ImageNet-200 Near-OODAUROC: 83.74 -> 84.56Helped
Use unfiltered ΔOOD instead of nuisance-filtered ΔOOD (ablation)SONA outlier generation · ImageNet-200 Near-OODAUROC: 84.56 -> 82.57Hurt
Add ΔN to ΔID and filtered ΔOOD (ablation)SONA outlier generation · ImageNet-200 Near-OODAUROC: 84.56 -> 88.38Helped
Add LOE to LCE training (ablation)ResNet-18 OOD detector · ImageNet-200 Near-OODAUROC: 82.5 -> 87.19Helped
Add LMI to LCE and LOE training (ablation)ResNet-18 OOD detector · ImageNet-200 Near-OODAUROC: 87.19 -> 88.38Helped
Vary region masking threshold λ and guidance scale s over the tested ranges (ablation)SONA guidance · ImageNet-200AUROCNo clear effect
Randomly select stop timestep T̃ rather than use a fixed timestep (ablation)SONA guidance · ImageNet-200AUROCHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-200 ImageNet-800 (OOD label prompts) CIFAR-100 ImageNet-1k NABirds

Benchmarks: SSB-hard NINCO iNaturalist Textures OpenImage-O TIN MNIST SVHN Place365 ImageNet-1k near/far OOD ImageNet-200 full-spectrum NABirds fine-grained

Metrics: AUROC ID accuracy

Baselines: OpenMax MSP ODIN EBO OpenGAN ReAct KNN DICE OE MCD UDG MixOE

Builds on: Classifier-free diffusion guidance Outlier Exposure DreamOOD Stable Diffusion 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