Training OOD Detectors in their Natural Habitats

02/07/2022
by   Julian Katz-Samuels, et al.
0

Out-of-distribution (OOD) detection is important for machine learning models deployed in the wild. Recent methods use auxiliary outlier data to regularize the model for improved OOD detection. However, these approaches make a strong distributional assumption that the auxiliary outlier data is completely separable from the in-distribution (ID) data. In this paper, we propose a novel framework that leverages wild mixture data – that naturally consists of both ID and OOD samples. Such wild data is abundant and arises freely upon deploying a machine learning classifier in their natural habitats. Our key idea is to formulate a constrained optimization problem and to show how to tractably solve it. Our learning objective maximizes the OOD detection rate, subject to constraints on the classification error of ID data and on the OOD error rate of ID examples. We extensively evaluate our approach on common OOD detection tasks and demonstrate superior performance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/06/2023

Non-Parametric Outlier Synthesis

Out-of-distribution (OOD) detection is indispensable for safely deployin...
research
06/28/2022

POEM: Out-of-Distribution Detection with Posterior Sampling

Out-of-distribution (OOD) detection is indispensable for machine learnin...
research
03/22/2023

AUTO: Adaptive Outlier Optimization for Online Test-Time OOD Detection

Out-of-distribution (OOD) detection is a crucial aspect of deploying mac...
research
10/01/2021

On the Importance of Gradients for Detecting Distributional Shifts in the Wild

Detecting out-of-distribution (OOD) data has become a critical component...
research
11/18/2021

On the Effectiveness of Sparsification for Detecting the Deep Unknowns

Detecting out-of-distribution (OOD) inputs is a central challenge for sa...
research
07/18/2023

Pseudo Outlier Exposure for Out-of-Distribution Detection using Pretrained Transformers

For real-world language applications, detecting an out-of-distribution (...
research
06/08/2023

Conservative Prediction via Data-Driven Confidence Minimization

Errors of machine learning models are costly, especially in safety-criti...

Please sign up or login with your details

Forgot password? Click here to reset