Semantic or Covariate? A Study on the Intractable Case of Out-of-Distribution Detection

Xingming Long, Jie Zhang, Shiguang Shan, Xilin Chen
11/18/2024
cs.CV

No confident code implementation found for this paper.

Abstract

The primary goal of out-of-distribution (OOD) detection tasks is to identify inputs with semantic shifts, i.e., if samples from novel classes are absent in the in-distribution (ID) dataset used for training, we should reject these OOD samples rather than misclassifying them into existing ID classes. However, we find the current definition of "semantic shift" is ambiguous, which renders certain OOD testing protocols intractable for the post-hoc OOD detection methods based on a classifier trained on the ID dataset. In this paper, we offer a more precise definition of the Semantic Space and the Covariate Space for the ID distribution, allowing us to theoretically analyze which types of OOD distributions make the detection task intractable. To avoid the flaw in the existing OOD settings, we further define the "Tractable OOD" setting which ensures the distinguishability of OOD and ID distributions for the post-hoc OOD detection methods. Finally, we conduct several experiments to demonstrate the necessity of our definitions and validate the correctness of our theorems.

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!

Similar Papers

Cite this paper

@article{long2024semantic,
  title  = {Semantic or Covariate? A Study on the Intractable Case of Out-of-Distribution Detection},
  author = {Xingming Long and Jie Zhang and Shiguang Shan and Xilin Chen},
  year   = {2024},
  eprint = {2411.11254},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.11254v1}
}

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/2411.11254.svg)](https://codeofpaper.com/paper/2411.11254)

Discussion