English

Is Out-of-Distribution Detection Learnable?

Machine Learning 2023-02-28 v3 Machine Learning

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. To study the generalization of OOD detection, in this paper, we investigate the probably approximately correct (PAC) learning theory of OOD detection, which is proposed by researchers as an open problem. 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 also offer theoretical supports for several representative OOD detection works based on our OOD theory.

Keywords

Cite

@article{arxiv.2210.14707,
  title  = {Is Out-of-Distribution Detection Learnable?},
  author = {Zhen Fang and Yixuan Li and Jie Lu and Jiahua Dong and Bo Han and Feng Liu},
  journal= {arXiv preprint arXiv:2210.14707},
  year   = {2023}
}

Comments

NeurIPS 2022 Outstanding Paper

R2 v1 2026-06-28T04:33:20.587Z