arXiv · 2611.40337
Mining the Shadows: Distilling Dark Ranking Knowledge for OOD Detection
Abstract
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 evaluate, while improving in-distribution accuracy by up to 5.3 points. Relative to standard cross-entropy training, it approximately halves both near- and far-OOD FPR95 on CIFAR-10. Finally, we provide a formal justification for ranking-based OOD detectors, extending the classic notion of 'dark knowledge' in KD to the OOD detection setting.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Dishanika Denipitiyage, Aditya Krishna Menon, Nishavi Ranaweera, Shaohua Zhong, Suranga Seneviratne, Sanjay Chawla. 2026-11-30. Mining the Shadows: Distilling Dark Ranking Knowledge for OOD Detection. https://searcharxiv.org/abs/2611.40337
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.