Out-of-Distribution Detection with Hilbert-Schmidt Independence Optimization

09/26/2022
by   Jingyang Lin, et al.
16

Outlier detection tasks have been playing a critical role in AI safety. There has been a great challenge to deal with this task. Observations show that deep neural network classifiers usually tend to incorrectly classify out-of-distribution (OOD) inputs into in-distribution classes with high confidence. Existing works attempt to solve the problem by explicitly imposing uncertainty on classifiers when OOD inputs are exposed to the classifier during training. In this paper, we propose an alternative probabilistic paradigm that is both practically useful and theoretically viable for the OOD detection tasks. Particularly, we impose statistical independence between inlier and outlier data during training, in order to ensure that inlier data reveals little information about OOD data to the deep estimator during training. Specifically, we estimate the statistical dependence between inlier and outlier data through the Hilbert-Schmidt Independence Criterion (HSIC), and we penalize such metric during training. We also associate our approach with a novel statistical test during the inference time coupled with our principled motivation. Empirical results show that our method is effective and robust for OOD detection on various benchmarks. In comparison to SOTA models, our approach achieves significant improvement regarding FPR95, AUROC, and AUPR metrics. Code is available: <https://github.com/jylins/hood>.

READ FULL TEXT

page 1

page 12

research
03/30/2023

OpenMix: Exploring Outlier Samples for Misclassification Detection

Reliable confidence estimation for deep neural classifiers is a challeng...
research
10/23/2019

Detecting Out-of-Distribution Inputs in Deep Neural Networks Using an Early-Layer Output

Deep neural networks achieve superior performance in challenging tasks s...
research
06/23/2022

Testing independence of functional variables by an Hilbert-Schmidt independence criterion estimator

We propose an estimator of the Hilbert-Schmidt Independence Criterion ob...
research
02/23/2023

A framework for benchmarking class-out-of-distribution detection and its application to ImageNet

When deployed for risk-sensitive tasks, deep neural networks must be abl...
research
06/10/2021

InFlow: Robust outlier detection utilizing Normalizing Flows

Normalizing flows are prominent deep generative models that provide trac...
research
01/17/2023

Free Lunch for Generating Effective Outlier Supervision

When deployed in practical applications, computer vision systems will en...
research
09/06/2019

Spectral Non-Convex Optimization for Dimension Reduction with Hilbert-Schmidt Independence Criterion

The Hilbert Schmidt Independence Criterion (HSIC) is a kernel dependence...

Please sign up or login with your details

Forgot password? Click here to reset