HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ReAct: Out-of-distribution Detection With Rectified Activations

Yiyou Sun Chuan Guo Yixuan Li

ReAct: Out-of-distribution Detection With Rectified Activations

Abstract

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.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
out-of-distribution-detection-on-imagenet-1k-10ReAct (ResNet-50)
AUROC: 91.53
FPR95: 38.42
out-of-distribution-detection-on-imagenet-1k-3ReAct (ResNet-50)
AUROC: 91.53
FPR95: 42.40
out-of-distribution-detection-on-imagenet-1k-8ReAct (ResNet-50)
AUROC: 88.16
FPR95: 47.69
out-of-distribution-detection-on-imagenet-1k-9ReAct (ResNet-50)
AUROC: 86.64
FPR95: 51.56

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp