arXiv Analytics

Sign in

arXiv:2404.04865 [cs.LG]AbstractReferencesReviewsResources

On the Learnability of Out-of-distribution Detection

Zhen Fang, Yixuan Li, Feng Liu, Bo Han, Jie Lu

Published 2024-04-07Version 1

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.

Comments: Accepted by JMLR in 7th of April, 2024. This is a journal extension of the previous NeurIPS 2022 Outstanding Paper "Is Out-of-distribution Detection Learnable?" [arXiv:2210.14707]
Categories: cs.LG, cs.CV, stat.ML
Related articles: Most relevant | Search more
arXiv:2206.13687 [cs.LG] (Published 2022-06-28)
POEM: Out-of-Distribution Detection with Posterior Sampling
arXiv:2210.14707 [cs.LG] (Published 2022-10-26)
Is Out-of-Distribution Detection Learnable?
arXiv:1904.12220 [cs.LG] (Published 2019-04-27)
Analysis of Confident-Classifiers for Out-of-distribution Detection