DOG: Diffusion-based Outlier Generation for Out-of-Distribution Detection
Abstract
\textit{Out-of-distribution} (OOD) detection is essential for neural networks to ensure reliable predictions in open-world machine learning. Previous approaches have shown that suitable surrogate outlier data are helpful in training OOD detection models. However, obtaining appropriate surrogate outliers presents several substantial challenges, including difficulties in collecting surrogate datasets and confusion of selecting the appropriate outlier data. In this paper, we propose a novel framework called \textit{Diffusion-Based Outlier Generation} (\texttt{DOG}), which synthesizes surrogate outlier data using a large-scale pre-trained diffusion model. \texttt{DOG} generates surrogate outliers using only the \textit{in-distribution} (ID) data, which are subsequently used to further fine-tune the OOD detection model. Compared to previous methods that only use visual or text category information to synthesize outliers, our implementation combines both of them to generate outliers for downstream fine-tuning tasks. Specifically, our method reconstructs images with a diffusion model conditioned on the text category, which utilizes the implicit semantic information contained in the visual images, along with explicit textual category information, to synthesize surrogate outliers. In addition, our \texttt{DOG} presents a novel approach for outlier exposure by allowing dynamic adjustment of surrogate outlier data based on the results, leading to an enhancement in OOD detection performance. Extensive experiments across various OOD detection tasks demonstrate that \texttt{DOG} achieves the optimal performance compared to its advanced counterparts.
BibTeX
@misc{jiang2024dog,
author = {Hao Jiang and Zhen Fang and Xue Jiang and Zhun Zhong and Tongliang Liu and Bo Han},
title = {{DOG: Diffusion-based Outlier Generation for Out-of-Distribution Detection}},
year = {2024},
url = {https://openreview.net/forum?id=Go8hf9wKJx},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.
Loading related content...