Lune

CVPR2023Top-tier venue

LINe: Out-of-Distribution Detection by Leveraging Important Neurons

Yong Hyun Ahn, Gyeong-Moon Park, Seong Tae Kim

Abstract

It is important to quantify the uncertainty of input samples, especially in mission-critical domains such as autonomous driving and healthcare, where failure predictions on out-of-distribution (OOD) data are likely to cause big problems. OOD detection problem fundamentally begins in that the model cannot express what it is not aware of. Post-hoc OOD detection approaches are widely explored because they do not require an additional re-training process which might degrade the model's performance and increase the training cost. In this study, from the perspective of neurons in the deep layer of the model representing high-level features, we introduce a new aspect for analyzing the difference in model outputs between in-distribution data and OOD data. We propose a novel method, Leveraging Important Neurons (LINe), for post-hoc Out of distribution detection. Shapley value-based pruning reduces the effects of noisy outputs by selecting only high-contribution neurons for predicting specific classes of input data and masking the rest. Activation clipping fixes all values above a certain threshold into the same value, allowing LINe to treat all the class-specific features equally and just consider the difference between the number of activated feature differences between in-distribution and OOD data. Comprehensive experiments verify the effectiveness of the proposed method by outperforming state-of-the-art post-hoc OOD detection methods on CIFAR-10, CIFAR-100, and ImageNet 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.

20 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

  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites Learning to Shape In-distribution Feature Space for Out-of-distribution Detection
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection
  • ConjNorm: Tractable Density Estimation for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • 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
  • AdaSCALE: Adaptive Scaling for OOD Detection cites Learning to Shape In-distribution Feature Space for Out-of-distribution Detection
  • AdaSCALE: Adaptive Scaling for OOD Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites Out-of-Distribution Detection with Negative Prompts
  • Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalization cites Uncertainty Estimation Using a Single Deep Deterministic Neural Network
  • Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalization cites Energy-based Out-of-distribution Detection
  • Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalization cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalization cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • 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 ReAct: Out-of-distribution Detection With Rectified Activations
  • Out-of-Distribution Detection with Negative Prompts cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Negative Prompts cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Out-of-Distribution Detection with Negative Prompts 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 papers20

  1. Out-of-Distribution Detection with Negative PromptsJun Nie, Yonggang Zhang, Zhen Fang, Tongliang Liu et al.ICLR 2024 · 48 citations
  2. Learning to Shape In-distribution Feature Space for Out-of-distribution DetectionYonggang Zhang, Jie Lu, Bo Peng, Zhen Fang et al.NeurIPS 2024 · 33 citations
  3. Neuron Activation Coverage: Rethinking Out-of-distribution Detection and GeneralizationYibing Liu, Chris Xing Tian, Haoliang Li, Lei Ma et al.ICLR 2024 · 28 citations
  4. ConjNorm: Tractable Density Estimation for Out-of-Distribution DetectionBo Peng, Yadan Luo, Yonggang Zhang, Yixuan Li et al.ICLR 2024 · 26 citations
  5. AdaSCALE: Adaptive Scaling for OOD DetectionSudarshan RegmiICML 2026 · 9 citations

Builds on17

  1. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  2. The Many Shapley Values for Model ExplanationMukund Sundararajan, Amir NajmiICML 2020 · 799 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. Activation Subspaces for Out-of-Distribution DetectionBaris Zöngür, Robin Hesse, Stefan RothICCV 2025 · 2 citations
  2. Detection of Out-of-Distribution Samples Using Binary Neuron Activation PatternsBartlomiej Olber, Krystian Radlak, Adam Popowicz, Michal Szczepankiewicz et al.CVPR 2023
  3. Few-shot Backdoor Defense Using Shapley EstimationJiyang Guan, Zhuozhuo Tu, Ran He, Dacheng TaoCVPR 2022 · 36 citations
  4. ITP: Instance-Aware Test Pruning for Out-of-Distribution DetectionHaonan Xu, Yang YangAAAI 2025 · 3 citations
  5. Extremely Simple Activation Shaping for Out-of-Distribution DetectionAndrija Djurisic, Nebojsa Bozanic, Arjun Ashok, Rosanne LiuICLR 2023 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines