Non-Parametric Outlier Synthesis

6 Mar 2023  ·  Leitian Tao, Xuefeng Du, Xiaojin Zhu, Yixuan Li ·

Out-of-distribution (OOD) detection is indispensable for safely deploying machine learning models in the wild. One of the key challenges is that models lack supervision signals from unknown data, and as a result, can produce overconfident predictions on OOD data. Recent work on outlier synthesis modeled the feature space as parametric Gaussian distribution, a strong and restrictive assumption that might not hold in reality. In this paper, we propose a novel framework, Non-Parametric Outlier Synthesis (NPOS), which generates artificial OOD training data and facilitates learning a reliable decision boundary between ID and OOD data. Importantly, our proposed synthesis approach does not make any distributional assumption on the ID embeddings, thereby offering strong flexibility and generality. We show that our synthesis approach can be mathematically interpreted as a rejection sampling framework. Extensive experiments show that NPOS can achieve superior OOD detection performance, outperforming the competitive rivals by a significant margin. Code is publicly available at https://github.com/deeplearning-wisc/npos.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Out-of-Distribution Detection ImageNet-1k vs Curated OODs (avg.) NPOS AUROC 91.22 # 10
FPR95 37.93 # 9
Out-of-Distribution Detection ImageNet-1k vs iNaturalist NPOS FPR95 16.58 # 8
AUROC 96.19 # 11
Out-of-Distribution Detection ImageNet-1k vs Places NPOS FPR95 45.27 # 10
AUROC 89.44 # 10
Out-of-Distribution Detection ImageNet-1k vs SUN NPOS FPR95 43.77 # 11
AUROC 90.44 # 11
Out-of-Distribution Detection ImageNet-1k vs Textures NPOS FPR95 46.12 # 18
AUROC 88.80 # 18

Methods


No methods listed for this paper. Add relevant methods here