Multiscale Score Matching for Out-of-Distribution Detection

10/25/2020
by   Ahsan Mahmood, et al.
0

We present a new methodology for detecting out-of-distribution (OOD) images by utilizing norms of the score estimates at multiple noise scales. A score is defined to be the gradient of the log density with respect to the input data. Our methodology is completely unsupervised and follows a straight forward training scheme. First, we train a deep network to estimate scores for levels of noise. Once trained, we calculate the noisy score estimates for N in-distribution samples and take the L2-norms across the input dimensions (resulting in an NxL matrix). Then we train an auxiliary model (such as a Gaussian Mixture Model) to learn the in-distribution spatial regions in this L-dimensional space. This auxiliary model can now be used to identify points that reside outside the learned space. Despite its simplicity, our experiments show that this methodology significantly outperforms the state-of-the-art in detecting out-of-distribution images. For example, our method can effectively separate CIFAR-10 (inlier) and SVHN (OOD) images, a setting which has been previously shown to be difficult for deep likelihood models.

READ FULL TEXT
research
08/16/2020

GLOD: Gaussian Likelihood Out of Distribution Detector

Discriminative deep neural networks (DNNs) do well at classifying input ...
research
09/25/2019

Probabilistic Modeling of Deep Features for Out-of-Distribution and Adversarial Detection

We present a principled approach for detecting out-of-distribution (OOD)...
research
08/30/2022

Anomaly Detection using Contrastive Normalizing Flows

Detecting test data deviating from training data is a central problem fo...
research
07/12/2019

Generative Modeling by Estimating Gradients of the Data Distribution

We introduce a new generative model where samples are produced via Lange...
research
02/16/2021

Hierarchical VAEs Know What They Don't Know

Deep generative models have shown themselves to be state-of-the-art dens...
research
11/20/2018

Learning deep kernels for exponential family densities

The kernel exponential family is a rich class of distributions,which can...

Please sign up or login with your details

Forgot password? Click here to reset