Lune

AAAI2024Top-tier venue

Exploiting Discrepancy in Feature Statistic for Out-of-Distribution Detection

Xiaoyuan Guan, Jiankang Chen, Shenshen Bu, Yuren Zhou, Wei-Shi Zheng, Ruixuan Wang

Abstract

Recent studies on out-of-distribution (OOD) detection focus on designing models or scoring functions that can effectively distinguish between unseen OOD data and in-distribution (ID) data. In this paper, we propose a simple yet novel ap- proach to OOD detection by leveraging the phenomenon that the average of feature vector elements from convolutional neural network (CNN) is typically larger for ID data than for OOD data. Specifically, the average of feature vector elements is used as part of the scoring function to further separate OOD data from ID data. We also provide mathematical analysis to explain this phenomenon. Experimental evaluations demonstrate that, when combined with a strong baseline, our method can achieve state-of-the-art performance on several OOD detection benchmarks. Furthermore, our method can be easily integrated into various CNN architectures and requires less computation. Source code address: https://github.com/SYSU-MIA-GROUP/statistical_discrepancy_ood.

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.

1 top-tier paper has 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

  • Mitigating Neural Network Overconfidence with Logit Normalization cites Energy-based Out-of-distribution Detection
  • 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 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • Open-Set Recognition: A Good Closed-Set Classifier is All You Need cites Energy-based Out-of-distribution Detection
  • Diagnosing Pretrained Models for Out-of-Distribution Detection cites Mitigating Neural Network Overconfidence with Logit Normalization
  • Diagnosing Pretrained Models for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Diagnosing Pretrained Models for Out-of-Distribution Detection cites Open-Set Recognition: A Good Closed-Set Classifier is All You Need
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Diagnosing Pretrained Models for Out-of-Distribution DetectionHaipeng Xiong, Kai Xu, Angela YaoICCV 2025

Builds on14

  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. Open-Set Recognition: A Good Closed-Set Classifier is All You NeedSagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanICLR 2022 · 594 citations
  4. Mitigating Neural Network Overconfidence with Logit NormalizationHongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng et al.ICML 2022 · 386 citations
  5. Input Complexity and Out-of-distribution Detection with Likelihood-based Generative ModelsJoan Serrà, David Álvarez, Vicenç Gómez, Olga Slizovskaia et al.ICLR 2020 · 307 citations

Related papers

  1. Unsupervised Out-of-Distribution Detection by Maximum Classifier DiscrepancyQing Yu, Kiyoharu AizawaICCV 2019 · 190 citations
  2. Improving Out-of-Distribution Detection with Disentangled Foreground and Background FeaturesChoubo Ding, Guansong PangACM MM 2024 · 1 citation
  3. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
  4. Block Selection Method for Using Feature Norm in Out-of-Distribution DetectionYeonguk Yu, Sungho Shin, Seongju Lee, Changhyun Jun et al.CVPR 2023
  5. MOS: Towards Scaling Out-of-Distribution Detection for Large Semantic SpaceRui Huang, Yixuan LiCVPR 2021
Dusk over the sea between two cliffs drawn in fine vertical lines