Our new X account is live! Follow @wizwand_team for updates
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
FPR@954.31
200
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9524.01
159
Out-of-Distribution DetectionTextures
AUROC0.9279
141
Out-of-Distribution DetectionImageNet OOD Average 1k (test)
FPR@9531.43
137
Out-of-Distribution DetectionPlaces
FPR9533.33
110
Out-of-Distribution DetectionTexture
AUROC93.34
109
Out-of-Distribution DetectionOpenImage-O
AUROC97.38
107
Out-of-Distribution DetectionCIFAR-100
AUROC78.21
107
Out-of-Distribution DetectionCIFAR-10
AUROC92.76
105
Out-of-Distribution DetectionPlaces with ImageNet-1k OOD In-distribution (test)
FPR9533.85
99
Showing 10 of 180 rows
...

Other info

Code

Follow for update