Mining the Shadows: Distilling Dark Ranking Knowledge for OOD Detection
Out-of-distribution (OOD) detection remains a notoriously challenging problem for deep learning classifiers. Recent work has introduced an effective new class of OOD detectors, based on a simple insight: whilst OOD samples may spuriously receive high-confidence predictions for a certain target class, their ranking over non-target classes may not reflect typical semantic patterns. While such ranking-based OOD detectors have achieved impressive empirical success, they have two shortcomings: (i) empirically, such methods can degrade in-distribution test accuracy; (ii) conceptually, a precise formalism for why a class ranking signal can improve OOD detection remains elusive. In this paper, we address both of these gaps by relating ranking-based OOD detectors to a specific form of knowledge distillation (KD). We use this perspective to design a new instance-level Plackett-Luce Knowledge Distillation loss (PL-KD) that maintains the strong OOD detection performance of ranking-based detectors, while boosting the in-distribution test accuracy. On CIFAR-10, CIFAR-100, and ImageNet-200, PL-KD reduces FPR95 relative to RANKOOD in every dataset and logit-based scoring-function combination we…
- arXiv
- 2611.40337
- Authors
- Dishanika Denipitiyage, Aditya Krishna Menon, Nishavi Ranaweera, Shaohua Zhong, Suranga Seneviratne and 1 more
- Categories
- cs.CV