Lune

ICLR2022Top-tier venue

A Statistical Framework for Efficient Out of Distribution Detection in Deep Neural Networks

Matan Haroush, Tzviel Frostig, Ruth Heller, Daniel Soudry

Abstract

Background. Commonly, Deep Neural Networks (DNNs) generalize well on samples drawn from a distribution similar to that of the training set. However, DNNs' predictions are brittle and unreliable when the test samples are drawn from a dissimilar distribution. This is a major concern for deployment in real-world applications, where such behavior may come at a considerable cost, such as industrial production lines, autonomous vehicles, or healthcare applications. Contributions. We frame Out Of Distribution (OOD) detection in DNNs as a statistical hypothesis testing problem. Tests generated within our proposed framework combine evidence from the entire network. Unlike previous OOD detection heuristics, this framework returns a pp-value for each test sample. It is guaranteed to maintain the Type I Error (T1E - incorrectly predicting OOD for an actual in-distribution sample) for test data. Moreover, this allows to combine several detectors while maintaining the T1E. Building on this framework, we suggest a novel OOD procedure based on low-order statistics. Our method achieves comparable or better results than state-of-the-art methods on well-accepted OOD benchmarks, without retraining the network parameters or assuming prior knowledge on the test distribution -- and at a fraction of the computational cost.

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.

10 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

  • Energy-based Out-of-distribution Detection cites Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
  • Enhancing the Power of OOD Detection via Sample-Aware Model Selection cites Energy-based Out-of-distribution Detection
  • Enhancing the Power of OOD Detection via Sample-Aware Model Selection cites Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
  • RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
  • RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection cites Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
  • Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution Detection cites Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data
  • Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution Data cites Moment Matching for Multi-Source Domain Adaptation
  • Boosting Out-of-distribution Detection with Typical Features cites Energy-based Out-of-distribution Detection
  • Boosting Out-of-distribution Detection with Typical Features cites Deep Residual Flow for Out of Distribution Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. RankFeat: Rank-1 Feature Removal for Out-of-distribution DetectionYue Song, Nicu Sebe, Wei WangNeurIPS 2022 · 76 citations
  2. Boosting Out-of-distribution Detection with Typical FeaturesYao Zhu, Yuefeng Chen, Chuanlong Xie, Xiaodan Li et al.NeurIPS 2022 · 74 citations
  3. Faithfulness Measurable Masked Language ModelsAndreas Madsen, Siva Reddy, Sarath ChandarICML 2024 · 6 citations
  4. Hierarchical Visual Categories Modeling: A Joint Representation Learning and Density Estimation Framework for Out-of-Distribution DetectionJinglun Li, Xinyu Zhou, Pinxue Guo, Yixuan Sun et al.ICCV 2023 · 5 citations
  5. Enhancing the Power of OOD Detection via Sample-Aware Model SelectionFeng Xue, Zi He, Yuan Zhang, Chuanlong Xie et al.CVPR 2024 · 3 citations

Builds on4

  1. Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
  2. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  3. Generalized ODIN: Detecting Out-of-Distribution Image Without Learning From Out-of-Distribution DataYen-Chang Hsu, Yilin Shen, Hongxia Jin, Zsolt KiraCVPR 2020
  4. Deep Residual Flow for Out of Distribution DetectionEv Zisselman, Aviv TamarCVPR 2020

Related papers

  1. Self-Supervised Learning for Generalizable Out-of-Distribution DetectionSina Mohseni, Mandar Pitale, J. B. S. Yadawa, Zhangyang WangAAAI 2020 · 229 citations
  2. A General Framework For Detecting Anomalous Inputs to DNN ClassifiersJayaram Raghuram, Varun Chandrasekaran, Somesh Jha, Suman BanerjeeICML 2021 · 39 citations
  3. Out-of-Distribution Detection Using Union of 1-Dimensional SubspacesAlireza Zaeemzadeh, Niccolò Bisagno, Zeno Sambugaro, Nicola Conci et al.CVPR 2021
  4. A Unified Interpretation of Training-Time Out-Of-Distribution DetectionXu Cheng, Xin Jiang, Zechao LiICCV 2025
  5. Detection of Out-of-Distribution Samples Using Binary Neuron Activation PatternsBartlomiej Olber, Krystian Radlak, Adam Popowicz, Michal Szczepankiewicz et al.CVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines