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
219
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9524.01
204
Out-of-Distribution DetectionTextures
AUROC0.9279
168
Out-of-Distribution DetectionPlaces
FPR9533.33
142
Out-of-Distribution DetectionImageNet OOD Average 1k (test)
FPR@9531.43
137
Out-of-Distribution DetectionImageNet-1k ID iNaturalist OOD
FPR9519.55
132
OOD DetectionCIFAR-10 (IND) SVHN (OOD)
AUROC0.9295
131
Out-of-Distribution DetectionCIFAR-10
AUROC92.76
121
OOD DetectionCIFAR-10 (ID) vs Places 365 (OOD)
AUROC85.72
117
Out-of-Distribution DetectionTexture
AUROC93.34
113
Showing 10 of 238 rows
...

Other info

Code

Follow for update