Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Dream the Impossible: Outlier Imagination with Diffusion Models

About

Utilizing auxiliary outlier datasets to regularize the machine learning model has demonstrated promise for out-of-distribution (OOD) detection and safe prediction. Due to the labor intensity in data collection and cleaning, automating outlier data generation has been a long-desired alternative. Despite the appeal, generating photo-realistic outliers in the high dimensional pixel space has been an open challenge for the field. To tackle the problem, this paper proposes a new framework DREAM-OOD, which enables imagining photo-realistic outliers by way of diffusion models, provided with only the in-distribution (ID) data and classes. Specifically, DREAM-OOD learns a text-conditioned latent space based on ID data, and then samples outliers in the low-likelihood region via the latent, which can be decoded into images by the diffusion model. Different from prior works, DREAM-OOD enables visualizing and understanding the imagined outliers, directly in the pixel space. We conduct comprehensive quantitative and qualitative studies to understand the efficacy of DREAM-OOD, and show that training with the samples generated by DREAM-OOD can benefit OOD detection performance. Code is publicly available at https://github.com/deeplearning-wisc/dream-ood.

Xuefeng Du, Yiyou Sun, Xiaojin Zhu, Yixuan Li• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet V2 (test)
Top-1 Accuracy80.4
181
Image ClassificationImageNet-A (test)--
154
Image ClassificationImageNet-100 (test)
Clean Accuracy88.46
109
Image ClassificationImageNet-100--
84
OOD DetectionCIFAR-100 IND SVHN OOD
AUROC (%)87.01
74
OOD DetectionCIFAR-100 ID Average (OOD)
FPR@9540.31
36
OOD DetectionCIFAR-100
Average FPR9546.6
31
OOD DetectionCIFAR-100 vs Places365 (test)
AUROC79.94
30
OOD DetectionCIFAR-100 vs ISUN (test)
FPR @ 0.05 FNR1.1
27
OOD DetectionCIFAR-100 LSUN IND R OOD
AUROC95.23
24
Showing 10 of 12 rows

Other info

Code

Follow for update