ReAct: Out-of-distribution Detection With Rectified Activations

NeurIPS 2021  ·  Yiyou Sun, Chuan Guo, Yixuan Li ·

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.

PDF Abstract NeurIPS 2021 PDF NeurIPS 2021 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Out-of-Distribution Detection ImageNet-1k vs iNaturalist ReAct (ResNet-50) FPR95 42.40 # 16
AUROC 91.53 # 17
Out-of-Distribution Detection ImageNet-1k vs Places ReAct (ResNet-50) FPR95 51.56 # 15
AUROC 86.64 # 15
Out-of-Distribution Detection ImageNet-1k vs SUN ReAct (ResNet-50) FPR95 47.69 # 13
AUROC 88.16 # 14
Out-of-Distribution Detection ImageNet-1k vs Textures ReAct (ResNet-50) FPR95 38.42 # 14
AUROC 91.53 # 14

Methods


No methods listed for this paper. Add relevant methods here