Lune

ICML2022Top-tier venue

Breaking Down Out-of-Distribution Detection: Many Methods Based on OOD Training Data Estimate a Combination of the Same Core Quantities

Julian Bitterwolf, Alexander Meinke, Maximilian Augustin, Matthias Hein

Abstract

It is an important problem in trustworthy machine learning to recognize out-of-distribution (OOD) inputs which are inputs unrelated to the in-distribution task. Many out-of-distribution detection methods have been suggested in recent years. The goal of this paper is to recognize common objectives as well as to identify the implicit scoring functions of different OOD detection methods. We focus on the sub-class of methods that use surrogate OOD data during training in order to learn an OOD detection score that generalizes to new unseen out-distributions at test time. We show that binary discrimination between in- and (different) out-distributions is equivalent to several distinct formulations of the OOD detection problem. When trained in a shared fashion with a standard classifier, this binary discriminator reaches an OOD detection performance similar to that of Outlier Exposure. Moreover, we show that the confidence loss which is used by Outlier Exposure has an implicit scoring function which differs in a non-trivial fashion from the theoretically optimal scoring function in the case where training and test out-distribution are the same, which again is similar to the one used when training an Energy-Based OOD detector or when adding a background class. In practice, when trained in exactly the same way, all these methods perform similarly.

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.

17 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

  • Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for Free cites Energy-based Out-of-distribution Detection
  • Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for Free cites Towards neural networks that provably know when they don't know
  • In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation cites Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for Free
  • In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation cites Delving into Out-of-Distribution Detection with Vision-Language Representations
  • In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation cites Energy-based Out-of-distribution Detection
  • 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 Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder
  • Energy-based Out-of-distribution Detection cites Your classifier is secretly an energy based model and you should treat it like one
  • Energy-based Out-of-distribution Detection cites Self-Supervised Learning for Generalizable Out-of-Distribution Detection
  • Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoder cites Your classifier is secretly an energy based model and you should treat it like one
  • Learning to Augment Distributions for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  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. In or Out? Fixing ImageNet Out-of-Distribution Detection EvaluationJulian Bitterwolf, Maximilian Müller, Matthias HeinICML 2023 · 154 citations
  3. Learning to Augment Distributions for Out-of-distribution DetectionQizhou Wang, Zhen Fang, Yonggang Zhang, Feng Liu et al.NeurIPS 2023 · 59 citations
  4. DREAM: Dual Structured Exploration with Mixup for Open-set Graph Domain AdaptionNan Yin, Mengzhu Wang, Zhenghan Chen, Li Shen et al.ICLR 2024 · 28 citations
  5. Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for FreeAlexander Meinke, Julian Bitterwolf, Matthias HeinNeurIPS 2022 · 23 citations

Builds on6

  1. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  2. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud et al.ICLR 2020 · 643 citations
  3. Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encoderZhisheng Xiao, Qing Yan, Yali AmitNeurIPS 2020 · 234 citations
  4. Self-Supervised Learning for Generalizable Out-of-Distribution DetectionSina Mohseni, Mandar Pitale, J. B. S. Yadawa, Zhangyang WangAAAI 2020 · 229 citations
  5. Towards neural networks that provably know when they don't knowAlexander Meinke, Matthias HeinICLR 2020 · 151 citations

Related papers

  1. Out-of-distribution Detection with Implicit Outlier TransformationQizhou Wang, Junjie Ye, Feng Liu, Quanyu Dai et al.ICLR 2023 · 10 citations
  2. What If the Input is Expanded in OOD Detection?Boxuan Zhang, Jianing Zhu, Zengmao Wang, Tongliang Liu et al.NeurIPS 2024 · 19 citations
  3. Detecting Out-of-distribution Data through In-distribution Class PriorXue Jiang, Feng Liu, Zhen Fang, Hong Chen et al.ICML 2023 · 33 citations
  4. Energy-based Hopfield Boosting for Out-of-Distribution DetectionClaus Hofmann, Simon Schmid, Bernhard Lehner, Daniel Klotz et al.NeurIPS 2024 · 19 citations
  5. Dual Energy-Based Model with Open-World Uncertainty Estimation for Out-of-distribution DetectionQi Chen, Hu DingCVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines