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 DetectionSUN OOD with ImageNet-1k In-distribution (test)
AUROC94.41
267
Out-of-Distribution DetectioniNaturalist
AUROC99
252
Image ClassificationImageNet-100--
206
Out-of-Distribution DetectionTextures
AUROC0.9279
186
Out-of-Distribution DetectionPlaces
FPR9533.33
175
Out-of-Distribution DetectionImageNet-1K
FPR@9530.77
156
OOD DetectionCIFAR-10 (IND) SVHN (OOD)
AUROC0.9295
152
Out-of-Distribution DetectionImageNet OOD Average 1k (test)
FPR@9531.43
144
Out-of-Distribution DetectionImageNet-1k ID iNaturalist OOD
FPR9518.75
143
OOD DetectionImageNet 1k (test)
FPR9531.43
134
Showing 10 of 332 rows
...

Other info

Code

Follow for update