Lune

NeurIPS2022Top-tier venue

Is Out-of-Distribution Detection Learnable?

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

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

56 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites Energy-based Out-of-distribution Detection
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Learning to Augment Distributions for Out-of-distribution Detection cites Uncertainty Estimation Using a Single Deep Deterministic Neural Network
  • Learning to Augment Distributions for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
  • Learning to Augment Distributions for Out-of-distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Learning to Augment Distributions for Out-of-distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Provable Dynamic Fusion for Low-Quality Multimodal Data cites Energy-based Out-of-distribution Detection
  • ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Uncertainty Estimation Using a Single Deep Deterministic Neural Network
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Dream the Impossible: Outlier Imagination with Diffusion Models cites Uncertainty Estimation Using a Single Deep Deterministic Neural Network
  • Dream the Impossible: Outlier Imagination with Diffusion Models cites Energy-based Out-of-distribution Detection
  • Dream the Impossible: Outlier Imagination with Diffusion Models cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Dream the Impossible: Outlier Imagination with Diffusion Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers56

  1. Delving into Out-of-Distribution Detection with Vision-Language RepresentationsYifei Ming, Ziyang Cai, Jiuxiang Gu, Yiyou Sun et al.NeurIPS 2022 · 308 citations
  2. FedFed: Feature Distillation against Data Heterogeneity in Federated LearningZhiqin Yang, Yonggang Zhang, Yu Zheng, Xinmei Tian et al.NeurIPS 2023 · 166 citations
  3. Provable Dynamic Fusion for Low-Quality Multimodal DataQingyang Zhang, Haitao Wu, Changqing Zhang, Qinghua Hu et al.ICML 2023 · 143 citations
  4. Dream the Impossible: Outlier Imagination with Diffusion ModelsXuefeng Du, Yiyou Sun, Jerry Zhu, Yixuan LiNeurIPS 2023 · 114 citations
  5. Learning to Augment Distributions for Out-of-distribution DetectionQizhou Wang, Zhen Fang, Yonggang Zhang, Feng Liu et al.NeurIPS 2023 · 59 citations

Builds on27

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  3. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
  4. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
  5. Uncertainty Estimation Using a Single Deep Deterministic Neural NetworkJoost van Amersfoort, Lewis Smith, Yee Whye Teh, Yarin GalICML 2020 · 529 citations

Related papers

  1. How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and ReliabilityYijin Zhou, Yutang Ge, Wenyuan XIE, Linqian Zeng et al.ICML 2026 · 1 citation
  2. Learning Bounds for Open-Set LearningZhen Fang, Jie Lu, Anjin Liu, Feng Liu et al.ICML 2021 · 67 citations
  3. YolOOD: Utilizing Object Detection Concepts for Multi-Label Out-of-Distribution DetectionAlon Zolfi, Guy Amit, Amit Baras, Satoru Koda et al.CVPR 2024 · 7 citations
  4. Density-driven Regularization for Out-of-distribution DetectionWenjian Huang, Hao Wang, Jiahao Xia, Chengyan Wang et al.NeurIPS 2022 · 17 citations
  5. The Best of Both Worlds: On the Dilemma of Out-of-distribution DetectionQingyang Zhang, Qiuxuan Feng, Joey Tianyi Zhou, Yatao Bian et al.NeurIPS 2024
Dusk over the sea between two cliffs drawn in fine vertical lines