vix.ing · top · new · best · stats · spec

A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detection

2021/06/16 by Jie Ren, Ren, Jie, Stanislav Fort +9 · 24 citations
Computer Science · #Adversarial Robustness in Machine Learning #Domain Adaptation and Few-Shot Learning #Advanced Neural Network Applications

paper · pdf · doi:10.48550/arxiv.2106.09022

Abstract

Mahalanobis distance (MD) is a simple and popular post-processing method for detecting out-of-distribution (OOD) inputs in neural networks. We analyze its failure modes for near-OOD detection and propose a simple fix called relative Mahalanobis distance (RMD) which improves performance and is more robust to hyperparameter choice. On a wide selection of challenging vision, language, and biology OOD benchmarks (CIFAR-100 vs CIFAR-10, CLINC OOD intent detection, Genomics OOD), we show that RMD meaningfully improves upon MD performance (by up to 15% AUROC on genomics OOD).

Citations

Cited by

Related