Contrastive Training for Improved Out-of-Distribution Detection

07/10/2020
by   Jim Winkens, et al.
3

Reliable detection of out-of-distribution (OOD) inputs is increasingly understood to be a precondition for deployment of machine learning systems. This paper proposes and investigates the use of contrastive training to boost OOD detection performance. Unlike leading methods for OOD detection, our approach does not require access to examples labeled explicitly as OOD, which can be difficult to collect in practice. We show in extensive experiments that contrastive training significantly helps OOD detection performance on a number of common benchmarks. By introducing and employing the Confusion Log Probability (CLP) score, which quantifies the difficulty of the OOD detection task by capturing the similarity of inlier and outlier datasets, we show that our method especially improves performance in the `near OOD' classes – a particularly challenging setting for previous methods.

READ FULL TEXT
research
10/04/2022

CADet: Fully Self-Supervised Anomaly Detection With Contrastive Learning

Handling out-of-distribution (OOD) samples has become a major stake in t...
research
07/27/2021

Unsupervised Outlier Detection using Memory and Contrastive Learning

Outlier detection is one of the most important processes taken to create...
research
07/16/2020

CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances

Novelty detection, i.e., identifying whether a given sample is drawn fro...
research
01/17/2023

Free Lunch for Generating Effective Outlier Supervision

When deployed in practical applications, computer vision systems will en...
research
08/02/2023

Three Factors to Improve Out-of-Distribution Detection

In the problem of out-of-distribution (OOD) detection, the usage of auxi...
research
02/23/2023

An efficient method for Out-of-Distribution Detection

Detecting out-of-distribution (OOD) data is critical to building reliabl...
research
06/06/2021

Exploring the Limits of Out-of-Distribution Detection

Near out-of-distribution detection (OOD) is a major challenge for deep n...

Please sign up or login with your details

Forgot password? Click here to reset