OODformer: Out-Of-Distribution Detection Transformer

07/19/2021
by   Rajat Koner, et al.
0

A serious problem in image classification is that a trained model might perform well for input data that originates from the same distribution as the data available for model training, but performs much worse for out-of-distribution (OOD) samples. In real-world safety-critical applications, in particular, it is important to be aware if a new data point is OOD. To date, OOD detection is typically addressed using either confidence scores, auto-encoder based reconstruction, or by contrastive learning. However, the global image context has not yet been explored to discriminate the non-local objectness between in-distribution and OOD samples. This paper proposes a first-of-its-kind OOD detection architecture named OODformer that leverages the contextualization capabilities of the transformer. Incorporating the trans­former as the principal feature extractor allows us to exploit the object concepts and their discriminate attributes along with their co-occurrence via visual attention. Using the contextualised embedding, we demonstrate OOD detection using both class-conditioned latent space similarity and a network confidence score. Our approach shows improved generalizability across various datasets. We have achieved a new state-of-the-art result on CIFAR-10/-100 and ImageNet30.

READ FULL TEXT

page 8

page 9

research
12/06/2018

Improving Reconstruction Autoencoder Out-of-distribution Detection with Mahalanobis Distance

There is an increasingly apparent need for validating the classification...
research
08/09/2023

Unsupervised Out-of-Distribution Dialect Detection with Mahalanobis Distance

Dialect classification is used in a variety of applications, such as mac...
research
11/07/2019

Efficacy of Pixel-Level OOD Detection for Semantic Segmentation

The detection of out of distribution samples for image classification ha...
research
03/16/2022

Is it all a cluster game? – Exploring Out-of-Distribution Detection based on Clustering in the Embedding Space

It is essential for safety-critical applications of deep neural networks...
research
07/03/2020

Improving auto-encoder novelty detection using channel attention and entropy minimization

Novelty detection is a important research area which mainly solves the c...
research
03/20/2019

OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representations

We present a novel model called OCGAN for the classical problem of one-c...
research
07/31/2022

Out-of-Distribution Detection with Semantic Mismatch under Masking

This paper proposes a novel out-of-distribution (OOD) detection framewor...

Please sign up or login with your details

Forgot password? Click here to reset