Label Smoothed Embedding Hypothesis for Out-of-Distribution Detection

02/09/2021
by   Dara Bahri, et al.
5

Detecting out-of-distribution (OOD) examples is critical in many applications. We propose an unsupervised method to detect OOD samples using a k-NN density estimate with respect to a classification model's intermediate activations on in-distribution samples. We leverage a recent insight about label smoothing, which we call the Label Smoothed Embedding Hypothesis, and show that one of the implications is that the k-NN density estimator performs better as an OOD detection method both theoretically and empirically when the model is trained with label smoothing. Finally, we show that our proposal outperforms many OOD baselines and also provide new finite-sample high-probability statistical results for k-NN density estimation's ability to detect OOD examples.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/25/2019

General Probabilistic Surface Optimization and Log Density Estimation

In this paper we contribute a novel algorithm family, which generalizes ...
research
12/21/2020

Unsupervised in-distribution anomaly detection of new physics through conditional density estimation

Anomaly detection is a key application of machine learning, but is gener...
research
10/07/2016

Combining local and global smoothing in multivariate density estimation

Non-parametric estimation of a multivariate density estimation is tackle...
research
07/19/2017

Rates of Uniform Consistency for k-NN Regression

We derive high-probability finite-sample uniform rates of consistency fo...
research
06/26/2021

Midpoint Regularization: from High Uncertainty Training to Conservative Classification

Label Smoothing (LS) improves model generalization through penalizing mo...
research
09/14/2021

Types of Out-of-Distribution Texts and How to Detect Them

Despite agreement on the importance of detecting out-of-distribution (OO...
research
06/19/2022

Label and Distribution-discriminative Dual Representation Learning for Out-of-Distribution Detection

To classify in-distribution samples, deep neural networks learn label-di...

Please sign up or login with your details

Forgot password? Click here to reset