Lune

NeurIPS2021Top-tier venue

ReAct: Out-of-distribution Detection With Rectified Activations

Yiyou Sun, Chuan Guo, Yixuan Li

Abstract

Out-of-distribution (OOD) detection has received much attention lately due to its practical importance in enhancing the safe deployment of neural networks. One of the primary challenges is that models often produce highly confident predictions on OOD data, which undermines the driving principle in OOD detection that the model should only be confident about in-distribution samples. In this work, we propose ReAct-a simple and effective technique for reducing model overconfidence on OOD data. Our method is motivated by novel analysis on internal activations of neural networks, which displays highly distinctive signature patterns for OOD distributions. Our method can generalize effectively to different network architectures and different OOD detection scores. We empirically demonstrate that ReAct achieves competitive detection performance on a comprehensive suite of benchmark datasets, and give theoretical explication for our method's efficacy. On the ImageNet benchmark, ReAct reduces the false positive rate (FPR95) by 25.05% compared to the previous best method 1 .

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.

213 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

  • Mitigating Neural Network Overconfidence with Logit Normalization cites Energy-based Out-of-distribution Detection
  • Mitigating Neural Network Overconfidence with Logit Normalization cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • Mitigating Neural Network Overconfidence with Logit Normalization cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Mitigating Neural Network Overconfidence with Logit Normalization
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites VOS: Learning What You Don't Know by Virtual Outlier Synthesis
  • 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 On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites Why Normalizing Flows Fail to Detect Out-of-Distribution Data
  • Delving into Out-of-Distribution Detection with Vision-Language Representations cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • VOS: Learning What You Don't Know by Virtual Outlier Synthesis cites Energy-based Out-of-distribution Detection
  • VOS: Learning What You Don't Know by Virtual Outlier Synthesis cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • On the Importance of Gradients for Detecting Distributional Shifts in the Wild cites Energy-based Out-of-distribution Detection
  • On the Importance of Gradients for Detecting Distributional Shifts in the Wild cites Why Normalizing Flows Fail to Detect Out-of-Distribution Data
  • INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers213

  1. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
  2. VOS: Learning What You Don't Know by Virtual Outlier SynthesisXuefeng Du, Zhaoning Wang, Mu Cai, Yixuan LiICLR 2022 · 417 citations
  3. Mitigating Neural Network Overconfidence with Logit NormalizationHongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng et al.ICML 2022 · 386 citations
  4. Delving into Out-of-Distribution Detection with Vision-Language RepresentationsYifei Ming, Ziyang Cai, Jiuxiang Gu, Yiyou Sun et al.NeurIPS 2022 · 308 citations
  5. INSIDE: LLMs' Internal States Retain the Power of Hallucination DetectionChao Chen, Kai Liu, Ze Chen, Yi Gu et al.ICLR 2024 · 281 citations

Builds on15

  1. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  2. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  3. Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations
  4. On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 citations
  5. Why Normalizing Flows Fail to Detect Out-of-Distribution DataPolina Kirichenko, Pavel Izmailov, Andrew Gordon WilsonNeurIPS 2020 · 370 citations

Related papers

  1. VRA: Variational Rectified Activation for Out-of-distribution DetectionMingyu Xu, Zheng Lian, Bin Liu, Jianhua TaoNeurIPS 2023 · 20 citations
  2. Activation Shape Matters: OOD Detection with Norm-Entropy FusionJiawei Gu, Ziyue Qiao, Zechao LiACM MM 2025 · 2 citations
  3. Simplification Is All You Need against Out-of-Distribution OverconfidenceKeke Tang, Chao Hou, Weilong Peng, Xiang Fang et al.CVPR 2025
  4. Detection of Out-of-Distribution Samples Using Binary Neuron Activation PatternsBartlomiej Olber, Krystian Radlak, Adam Popowicz, Michal Szczepankiewicz et al.CVPR 2023
  5. Towards neural networks that provably know when they don't knowAlexander Meinke, Matthias HeinICLR 2020 · 151 citations
Dusk over the sea between two cliffs drawn in fine vertical lines