Calibrated Out-of-Distribution Detection with a Generic Representation

Tomas Vojir, Jan Sochman, Rahaf Aljundi, Jiri Matas
3/23/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Out-of-distribution detection is a common issue in deploying vision models in practice and solving it is an essential building block in safety critical applications. Most of the existing OOD detection solutions focus on improving the OOD robustness of a classification model trained exclusively on in-distribution (ID) data. In this work, we take a different approach and propose to leverage generic pre-trained representation. We propose a novel OOD method, called GROOD, that formulates the OOD detection as a Neyman-Pearson task with well calibrated scores and which achieves excellent performance, predicated by the use of a good generic representation. Only a trivial training process is required for adapting GROOD to a particular problem. The method is simple, general, efficient, calibrated and with only a few hyper-parameters. The method achieves state-of-the-art performance on a number of OOD benchmarks, reaching near perfect performance on several of them. The source code is available at https://github.com/vojirt/GROOD.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{vojir2023calibrated,
  title  = {Calibrated Out-of-Distribution Detection with a Generic Representation},
  author = {Tomas Vojir and Jan Sochman and Rahaf Aljundi and Jiri Matas},
  year   = {2023},
  eprint = {2303.13148},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.13148v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.13148.svg)](https://codeofpaper.com/paper/2303.13148)

Discussion