SIO: Synthetic In-Distribution Data Benefits Out-of-Distribution Detection

03/25/2023
by   Jingyang Zhang, et al.
0

Building up reliable Out-of-Distribution (OOD) detectors is challenging, often requiring the use of OOD data during training. In this work, we develop a data-driven approach which is distinct and complementary to existing works: Instead of using external OOD data, we fully exploit the internal in-distribution (ID) training set by utilizing generative models to produce additional synthetic ID images. The classifier is then trained using a novel objective that computes weighted loss on real and synthetic ID samples together. Our training framework, which is termed SIO, serves as a "plug-and-play" technique that is designed to be compatible with existing and future OOD detection algorithms, including the ones that leverage available OOD training data. Our experiments on CIFAR-10, CIFAR-100, and ImageNet variants demonstrate that SIO consistently improves the performance of nearly all state-of-the-art (SOTA) OOD detection algorithms. For instance, on the challenging CIFAR-10 v.s. CIFAR-100 detection problem, SIO improves the average OOD detection AUROC of 18 existing methods from 86.25% to 89.04% and achieves a new SOTA of 92.94% according to the OpenOOD benchmark. Code is available at https://github.com/zjysteven/SIO.

READ FULL TEXT
research
04/23/2022

Learning by Erasing: Conditional Entropy based Transferable Out-Of-Distribution Detection

Out-of-distribution (OOD) detection is essential to handle the distribut...
research
05/26/2023

Hybrid Energy Based Model in the Feature Space for Out-of-Distribution Detection

Out-of-distribution (OOD) detection is a critical requirement for the de...
research
11/15/2022

Heatmap-based Out-of-Distribution Detection

Our work investigates out-of-distribution (OOD) detection as a neural ne...
research
03/23/2023

Calibrated Out-of-Distribution Detection with a Generic Representation

Out-of-distribution detection is a common issue in deploying vision mode...
research
06/01/2023

In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation

Out-of-distribution (OOD) detection is the problem of identifying inputs...
research
03/08/2022

CIDER: Exploiting Hyperspherical Embeddings for Out-of-Distribution Detection

Out-of-distribution (OOD) detection is a critical task for reliable mach...
research
08/26/2021

Semantically Coherent Out-of-Distribution Detection

Current out-of-distribution (OOD) detection benchmarks are commonly buil...

Please sign up or login with your details

Forgot password? Click here to reset