Out-of-Distribution Detection Using Union of 1-Dimensional Subspaces

Abstract

The goal of out-of-distribution (OOD) detection is to handle the situations where the test samples are drawn from a different distribution than the training data. In this paper, we argue that OOD samples can be detected more easily if the training data is embedded into a low-dimensional space, such that the embedded training samples lie on a union of 1-dimensional subspaces. We show that such embedding of the in-distribution (ID) samples provides us with two main advantages. First, due to compact representation in the feature space, OOD samples are less likely to occupy the same region as the known classes. Second, the first singular vector of ID samples belonging to a 1-dimensional subspace can be used as their robust representative. Motivated by these observations, we train a deep neural network such that the ID samples are embedded onto a union of 1-dimensional subspaces. At the test time, employing sampling techniques used for approximate Bayesian inference in deep learning, input samples are detected as OOD if they occupy the region corresponding to the ID samples with probability 0. Spectral components of the ID samples are used as robust representative of this region. Our method does not have any hyperparameter to be tuned using extra information and it can be applied on different modalities with minimal change. The effectiveness of the proposed method is demonstrated on different benchmark datasets, both in the image and video classification domains.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Jun 19, 2021
Accession Number
AD1185968

Entities

People

  • Alireza Zaeemzadeh
  • Mubarak Ali Shah
  • Nazanin Rahnavard
  • Niccol Bisagno
  • Nicola Conci
  • Zeno Sambugaro

Organizations

  • University of Central Florida
  • University of Trento

Tags

Communities of Interest

  • Energy and Power Technologies

DTIC Thesaurus Topics

  • Anomaly Detection
  • Artificial Intelligence
  • Artificial Intelligence Software
  • Change Detection
  • Computational Science
  • Computer Vision
  • Deep Learning
  • Detection
  • Detectors
  • Image Classification
  • Information Processing
  • Information Science
  • Information Systems
  • Machine Learning
  • Neural Networks
  • Pattern Recognition
  • Probability
  • Signal Processing
  • Three Dimensional

Fields of Study

  • Computer science

Readers

  • Graph Algorithms and Convex Optimization.
  • Neural Network Machine Learning.

Technology Areas

  • AI & ML
  • AI & ML - Bayesian Inference
  • AI & ML - Neural Networks
  • Space
  • Space - Space Objects