TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/ReAct: Out-of-distribution Detection With Rectified Activa...

ReAct: Out-of-distribution Detection With Rectified Activations

Yiyou Sun, Chuan Guo, Yixuan Li

2021-11-24NeurIPS 2021 12Out-of-Distribution Detection
PaperPDFCode(official)

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.

Results

TaskDatasetMetricValueModel
Out-of-Distribution DetectionImageNet-1k vs iNaturalistAUROC91.53ReAct (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs iNaturalistFPR9542.4ReAct (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs TexturesAUROC91.53ReAct (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs TexturesFPR9538.42ReAct (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs PlacesAUROC86.64ReAct (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs PlacesFPR9551.56ReAct (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs SUNAUROC88.16ReAct (ResNet-50)
Out-of-Distribution DetectionImageNet-1k vs SUNFPR9547.69ReAct (ResNet-50)

Related Papers

Safe Domain Randomization via Uncertainty-Aware Out-of-Distribution Detection and Policy Adaptation2025-07-08FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection2025-07-06Out-of-distribution detection in 3D applications: a review2025-07-01Generative Adversarial Evasion and Out-of-Distribution Detection for UAV Cyber-Attacks2025-06-26Enclosing Prototypical Variational Autoencoder for Explainable Out-of-Distribution Detection2025-06-17A Variational Information Theoretic Approach to Out-of-Distribution Detection2025-06-17DIsoN: Decentralized Isolation Networks for Out-of-Distribution Detection in Medical Imaging2025-06-10EviNet: Evidential Reasoning Network for Resilient Graph Learning in the Open and Noisy Environments2025-06-08