Detection of Out-of-Distribution Samples Using Binary Neuron Activation Patterns
Bartlomiej Olber, Krystian Radlak, Adam Popowicz, Michal Szczepankiewicz, Krystian Chachula
Abstract
Deep neural networks (DNN) have outstanding performance in various applications. Despite numerous efforts of the research community, out-of-distribution (OOD) samples remain a significant limitation of DNN classifiers. The ability to identify previously unseen inputs as novel is crucial in safety-critical applications such as self-driving cars, unmanned aerial vehicles, and robots. Existing approaches to detect OOD samples treat a DNN as a black box and evaluate the confidence score of the output predictions. Unfortunately, this method frequently fails, because DNNs are not trained to reduce their confidence for OOD inputs. In this work, we introduce a novel method for OOD detection. Our method is motivated by theoretical analysis of neuron activation patterns (NAP) in ReLU-based architectures. The proposed method does not introduce a high computational overhead due to the binary representation of the activation patterns extracted from convolutional layers. The extensive empirical evaluation proves its high performance on various DNN architectures and seven image datasets.
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.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Importance of Gradients for Detecting Distributional Shifts in the Wild cites Energy-based Out-of-distribution Detection
- AdaSCALE: Adaptive Scaling for OOD Detection cites Energy-based Out-of-distribution Detection
- AdaSCALE: Adaptive Scaling for OOD Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
- Improving Out-of-Distribution Detection with Disentangled Foreground and Background Features cites Energy-based Out-of-distribution Detection
- Improving Out-of-Distribution Detection with Disentangled Foreground and Background Features cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Improving Out-of-Distribution Detection with Disentangled Foreground and Background Features cites ReAct: Out-of-distribution Detection With Rectified Activations
- ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
- ReAct: Out-of-distribution Detection With Rectified Activations cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Image-based Outlier Synthesis With Training Data cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Image-based Outlier Synthesis With Training Data cites ReAct: Out-of-distribution Detection With Rectified Activations
- CORES: Convolutional Response-based Score for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
- CORES: Convolutional Response-based Score for Out-of-distribution Detection cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- CORES: Convolutional Response-based Score for Out-of-distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
Cited by top-tier papers4
- CORES: Convolutional Response-based Score for Out-of-distribution DetectionKeke Tang, Chao Hou, Weilong Peng, Runnan Chen et al.CVPR 2024 · 15 citations
- AdaSCALE: Adaptive Scaling for OOD DetectionSudarshan RegmiICML 2026 · 9 citations
- Improving Out-of-Distribution Detection with Disentangled Foreground and Background FeaturesChoubo Ding, Guansong PangACM MM 2024 · 1 citation
- Image-based Outlier Synthesis With Training DataSudarshan RegmiCVPR 2026
Builds on8
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
- On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 citations
- Sampling-Free Epistemic Uncertainty Estimation Using Approximated Variance PropagationJanis Postels, Francesco Ferroni, Huseyin Coskun, Nassir Navab et al.ICCV 2019 · 153 citations
- Mean-Shifted Contrastive Loss for Anomaly DetectionTal Reiss, Yedid HoshenAAAI 2023 · 153 citations
Related papers
- Towards neural networks that provably know when they don't knowAlexander Meinke, Matthias HeinICLR 2020 · 151 citations
- Self-Supervised Learning for Generalizable Out-of-Distribution DetectionSina Mohseni, Mandar Pitale, J. B. S. Yadawa, Zhangyang WangAAAI 2020 · 229 citations
- Understanding the Feature Norm for Out-of-Distribution DetectionJaewoo Park, Jacky Chen Long Chai, Jaeho Yoon, Andrew Beng Jin TeohICCV 2023 · 27 citations
- A General Framework For Detecting Anomalous Inputs to DNN ClassifiersJayaram Raghuram, Varun Chandrasekaran, Somesh Jha, Suman BanerjeeICML 2021 · 39 citations
- Neuron Activation Coverage: Rethinking Out-of-distribution Detection and GeneralizationYibing Liu, Chris Xing Tian, Haoliang Li, Lei Ma et al.ICLR 2024 · 28 citations
