Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

ReAct: Out-of-distribution Detection With Rectified Activations

About

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.

Yiyou Sun, Chuan Guo, Yixuan Li• 2021

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectioniNaturalist
AUROC99
252
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9524.01
247
Out-of-Distribution DetectionTextures
AUROC0.9279
186
Out-of-Distribution DetectionPlaces
FPR9533.33
175
Image ClassificationImageNet-100--
163
Out-of-Distribution DetectionImageNet-1K
FPR@9530.77
156
Out-of-Distribution DetectionImageNet OOD Average 1k (test)
FPR@9531.43
144
OOD DetectionCIFAR-10 (IND) SVHN (OOD)
AUROC0.9295
138
Out-of-Distribution DetectionImageNet-1k ID iNaturalist OOD
FPR9519.55
132
Out-of-Distribution DetectionTexture
AUROC93.34
128
Showing 10 of 306 rows
...

Other info

Code

Follow for update