RankOOD -- Class Ranking-based Out-of-Distribution Detection
About
We propose RankOOD, a rank-based Out-of-Distribution (OOD) detection approach based on training a model with the Placket-Luce loss, which is now extensively used for preference alignment tasks in foundational models. Our approach is based on the insight that with a deep learning model trained using the Cross Entropy Loss, in-distribution (ID) class prediction induces a ranking pattern for each ID class prediction. The RankOOD framework formalizes the insight by first extracting a rank list for each class using an initial classifier and then uses another round of training with the Plackett-Luce loss, where the class rank, a fixed permutation for each class, is the predicted variable. An OOD example may get assigned with high probability to an ID example, but the probability of it respecting the ranking classification is likely to be small. RankOOD, achieves SOTA performance on the near-ODD TinyImageNet evaluation benchmark, reducing FPR95 by 4.3%.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Near-OOD Detection | CIFAR-100 Near-OOD (test) | AUROC80.67 | 93 | |
| OOD Detection | CIFAR-10 | FPR@9520.96 | 85 | |
| Near-OOD Detection | CIFAR-10 | AUROC90.21 | 71 | |
| OOD Detection | CIFAR100 Dfar | AUROC83.63 | 69 | |
| Near-OOD Detection | ImageNet-200 | AUROC85.3 | 36 | |
| Near-OOD Detection | CIFAR-10, CIFAR-100, TinyImageNet Average | AUROC85.39 | 35 | |
| Far OOD detection | Average (CIFAR-10, CIFAR-100, TinyImageNet) | AUROC89.65 | 35 | |
| Near-OOD Detection | TinyImageNet | AUROC85.3 | 34 | |
| Far OOD detection | TinyImageNet | AUROC92.14 | 34 | |
| OOD Detection | CIFAR-10 | FPR@9520.96 | 32 |