PlumX Metrics
Embed PlumX Metrics

Towards Out-of-Distribution Detection Using Gradient Vectors

SSRN, ISSN: 1556-5068
2024
  • 0
    Citations
  • 123
    Usage
  • 0
    Captures
  • 0
    Mentions
  • 0
    Social Media
Metric Options:   Counts1 Year3 Year

Metrics Details

  • Usage
    123

Article Description

Deploying Deep Learning algorithms in the real world requires some care that is generally not considered in the training procedure. In real-world scenarios, where the input data cannot be controlled, it is important for a model to identify when a sample does not belong to any known class. This is accomplished using out-of-distribution (OOD) detection, a technique designed to distinguish unknown samples from those that belong to the in-distribution classes. These methods mainly rely on output or intermediate features to calculate OOD scores, but the gradient space is still underexplored for the mentioned task. In this work, we propose a new family of methods using gradient features, named GradVec, using the gradient space as input representation for different OOD detection methods. The main idea is that the model gradient presents, in a more informative way, the knowledge that a sample belongs to a known class, being able to distinguish it from other unknown ones. GradVec methods do not change the model training procedure and no additional data is needed to adjust the OOD detector, and it can be used on any pre-trained model. Our approach presents superior results in different scenarios for OOD detection in image classification and text classification, reducing FPR95 by 88.17% and 56.91%, respectively.

Bibliographic Details

Thiago Carvalho; Marley M. B. R. Vellasco; José Franco Amaral

Elsevier BV

Multidisciplinary; Out-of-distribution detection; Gradient methods; Deep learning; Gaussian distribution

Provide Feedback

Have ideas for a new metric? Would you like to see something else here?Let us know