Model-agnostic out-of-distribution detection using combined statistical tests

03/02/2022
by   Federico Bergamin, et al.
0

We present simple methods for out-of-distribution detection using a trained generative model. These techniques, based on classical statistical tests, are model-agnostic in the sense that they can be applied to any differentiable generative model. The idea is to combine a classical parametric test (Rao's score test) with the recently introduced typicality test. These two test statistics are both theoretically well-founded and exploit different sources of information based on the likelihood for the typicality test and its gradient for the score test. We show that combining them using Fisher's method overall leads to a more accurate out-of-distribution test. We also discuss the benefits of casting out-of-distribution detection as a statistical testing problem, noting in particular that false positive rate control can be valuable for practical out-of-distribution detection. Despite their simplicity and generality, these methods can be competitive with model-specific out-of-distribution detection algorithms without any assumptions on the out-distribution.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/01/2020

Smooths Tests of Goodness-of-fit for the Newcomb-Benford distribution

The Newcomb-Benford probability distribution is becoming very popular in...
research
04/03/2019

DiscreteFDR: An R package for controlling the false discovery rate for discrete test statistics

The simultaneous analysis of many statistical tests is ubiquitous in app...
research
03/19/2021

The reference distributions of Maurer's universal statistical test and its improved tests

Maurer's universal statistical test can widely detect non-randomness of ...
research
09/04/2017

Learning Implicit Generative Models Using Differentiable Graph Tests

Recently, there has been a growing interest in the problem of learning r...
research
10/27/2019

Kernel Stein Tests for Multiple Model Comparison

We address the problem of non-parametric multiple model comparison: give...
research
07/14/2021

Feature Shift Detection: Localizing Which Features Have Shifted via Conditional Distribution Tests

While previous distribution shift detection approaches can identify if a...
research
06/27/2021

Score-Based Change Detection for Gradient-Based Learning Machines

The widespread use of machine learning algorithms calls for automatic ch...

Please sign up or login with your details

Forgot password? Click here to reset