ReAct: Out-of-distribution Detection With Rectified Activations

Yiyou Sun, Chuan Guo, Yixuan Li
11/24/2021
cs.LG

Official code: deeplearning-wisc/react (60 stars, Python, last commit 2022-03-24).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Code for NeurIPS 2021 paper "ReAct: Out-of-distribution Detection With Rectified Activations"

6010PythonOct 19, 20214 years ago

Similar Papers

Cite this paper

@article{sun2021react,
  title  = {ReAct: Out-of-distribution Detection With Rectified Activations},
  author = {Yiyou Sun and Chuan Guo and Yixuan Li},
  year   = {2021},
  eprint = {2111.12797},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12797}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.12797.svg)](https://codeofpaper.com/paper/2111.12797)

Discussion