On the Learnability of Out-of-distribution Detection

Zhen Fang, Yixuan Li, Feng Liu, Bo Han, Jie Lu
4/7/2024
cs.LGcs.CVstat.ML

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Supervised learning aims to train a classifier under the assumption that training and test data are from the same distribution. To ease the above assumption, researchers have studied a more realistic setting: out-of-distribution (OOD) detection, where test data may come from classes that are unknown during training (i.e., OOD data). Due to the unavailability and diversity of OOD data, good generalization ability is crucial for effective OOD detection algorithms, and corresponding learning theory is still an open problem. To study the generalization of OOD detection, this paper investigates the probably approximately correct (PAC) learning theory of OOD detection that fits the commonly used evaluation metrics in the literature. First, we find a necessary condition for the learnability of OOD detection. Then, using this condition, we prove several impossibility theorems for the learnability of OOD detection under some scenarios. Although the impossibility theorems are frustrating, we find that some conditions of these impossibility theorems may not hold in some practical scenarios. Based on this observation, we next give several necessary and sufficient conditions to characterize the learnability of OOD detection in some practical scenarios. Lastly, we offer theoretical support for representative OOD detection works based on our OOD theory.

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. 2 weaker matches are hidden by default — 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{fang2024learnability,
  title  = {On the Learnability of Out-of-distribution Detection},
  author = {Zhen Fang and Yixuan Li and Feng Liu and Bo Han and Jie Lu},
  year   = {2024},
  eprint = {2404.04865},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.04865v1}
}

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

Discussion