Diffusion-Based Semantic-Discrepant Outlier Generation for Out-of-Distribution Detection

Abstract

Out-of-distribution (OOD) detection, which determines whether a given sample is part of the training distribution, has recently shown promising results by training with synthetic OOD datasets. The important properties for effective synthetic OOD datasets are two-fold: (i) the OOD sample should be close to in-distribution (ID), but (ii) represents semantic-wise shifted information. To achieve this, we introduce a novel framework that consists of Semantic-Discrepant (SD) Outlier generation and an advanced OOD detection method. For SD outlier generation, we utilize a conditional diffusion model trained with pseudo-labels. Then, we propose a simple yet effective method, semantic-discrepant guidance, allowing model to generate realistic outliers that contain incoherent semantic shift while preserving nuisance information (e.g., background). Furthermore, we suggest SD outlier-aware OOD detector training and scoring methods. Our experiments demonstrate the effectiveness of our framework on CIFAR-10 dataset. We achieve AUROC of 98% when CIFAR-100 are given as OOD. The SD outlier dataset on CIFAR-10 is available at https://zenodo.org/record/8394847.

Cite

Text

Yoon et al. "Diffusion-Based Semantic-Discrepant Outlier Generation for Out-of-Distribution Detection." NeurIPS 2023 Workshops: SyntheticData4ML, 2023.

Markdown

[Yoon et al. "Diffusion-Based Semantic-Discrepant Outlier Generation for Out-of-Distribution Detection." NeurIPS 2023 Workshops: SyntheticData4ML, 2023.](https://mlanthology.org/neuripsw/2023/yoon2023neuripsw-diffusionbased/)

BibTeX

@inproceedings{yoon2023neuripsw-diffusionbased,
  title     = {{Diffusion-Based Semantic-Discrepant Outlier Generation for Out-of-Distribution Detection}},
  author    = {Yoon, Suhee and Yoon, Sanghyu and Lee, Hankook and Han, Sangjun and Sim, Ye Seul and Lee, Kyungeun and Cho, Hyeseung and Lim, Woohyung},
  booktitle = {NeurIPS 2023 Workshops: SyntheticData4ML},
  year      = {2023},
  url       = {https://mlanthology.org/neuripsw/2023/yoon2023neuripsw-diffusionbased/}
}