Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MOOD: Multi-level Out-of-distribution Detection

About

Out-of-distribution (OOD) detection is essential to prevent anomalous inputs from causing a model to fail during deployment. While improved OOD detection methods have emerged, they often rely on the final layer outputs and require a full feedforward pass for any given input. In this paper, we propose a novel framework, multi-level out-of-distribution detection MOOD, which exploits intermediate classifier outputs for dynamic and efficient OOD inference. We explore and establish a direct relationship between the OOD data complexity and optimal exit level, and show that easy OOD examples can be effectively detected early without propagating to deeper layers. At each exit, the OOD examples can be distinguished through our proposed adjusted energy score, which is both empirically and theoretically suitable for networks with multiple classifiers. We extensively evaluate MOOD across 10 OOD datasets spanning a wide range of complexities. Experiments demonstrate that MOOD achieves up to 71.05% computational reduction in inference, while maintaining competitive OOD detection performance.

Ziqian Lin, Sreya Dutta Roy, Yixuan Li• 2021

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectionCIFAR-10 vs SVHN (test)
AUROC0.96
101
OOD DetectionCIFAR-100 standard (test)
AUROC (%)84.97
94
Out-of-Distribution DetectionCIFAR-10 vs CIFAR-100 (test)
AUROC84
93
Out-of-Distribution DetectionCIFAR-10 (ID) vs Celeb-A (OOD)
AUROC88
55
OOD DetectionCIFAR-10 standard (test)
AUROC0.9126
25
Showing 5 of 5 rows

Other info

Code

Follow for update