From Misclassifications to Outliers: Joint Reliability Assessment in Classification
Organizations: Intellindust AI Lab, Shenzhen, 518000, China. · Samsung AI Center, Cambridge, CB1 2GA, United Kingdom.
Abstract
Building reliable classifiers is a fundamental challenge for deploying machine learning in real-world applications. A reliable system should not only detect out-of-distribution (OOD) inputs but also anticipate in-distribution (ID) errors by assigning low confidence to potentially misclassified samples. Yet, most prior work treats OOD detection and failure prediction as separated problems, overlooking their closed connection. We argue that reliability requires evaluating them jointly. To this end, we propose a unified evaluation framework that integrates OOD detection and failure prediction, quantified by our new metrics DS-F1 and DS-AURC, where DS denotes double scoring functions. Experiments on the OpenOOD benchmark show that double scoring functions yield classifiers that are substantially more reliable than traditional single scoring approaches. Our analysis further reveals that OOD-based approaches provide notable gains under simple or far-OOD shifts, but only marginal benefits under more challenging near-OOD conditions. Beyond evaluation, we extend the reliable classifier SURE and introduce SURE+, a new approach that significantly improves reliability across diverse scenarios. Together, our framework, metrics, and method establish a new benchmark for trustworthy classification and offer practical guidance for deploying robust models in real-world settings. The source code is publicly available at https://github.com/Intellindust-AI-Lab/SUREPlus.
Figures & tables
| Method | Model : ResNet18 Training/Validation set : CIFAR100 training set Evaluation set : CIFAR100 test set + Near/Far OOD sets | Model : DeiT-B Training/Validation set : ImageNet1K training set Evaluation set : ImageNet1K test set + Near/Far OOD sets | ||||||
| Single Scoring | Double Scoring | Single Scoring | Double Scoring | |||||
| F1 | AURC | DS-F1 | DS-AURC | F1 | AURC | DS-F1 | DS-AURC | |
| MSP [ 13 ] | 67.42 / 57.03 | 202.59 / 368.07 | 67.42 / 57.03 | 202.38 / 367.56 | 70.55 / 79.05 | 241.44 / 98.15 | 70.55 / 79.05 | 241.35 / 98.13 |
| OpenMax [ 38 ] | 64.96 / 55.41 | 264.21 / 444.53 | 67.42 / 57.09 | 201.78 / 365.87 | 67.06 / 77.73 | 404.98 / 248.49 | 70.70 / 79.60 | 239.42 / 93.32 |
| ODIN [ 39 ] | 65.89 / 56.54 | 219.63 / 358.68 | 67.42 / 58.75 | 199.82 / 330.49 | 67.48 / 76.21 | 322.35 / 192.30 | 70.55 / 79.05 | 239.54 / 97.16 |
| MDS [ 40 ] | 56.19 / 47.82 | 339.54 / 464.67 | 67.43 / 57.22 | 201.78 / 355.07 | 68.60 / 78.12 | 252.45 / 99.23 | 70.56 / 79.26 | 226.20 / 77.30 |
| Validation (CIFAR-100 validation + CIFAR-10) | |||
|---|---|---|---|
| Method | MSP | ReAct | F1 / DS-F1 |
| ID-only | 0.952 | - | 31.5 |
| OOD-only | - | 0.399 | 31.7 |
| Double Scoring | 0.927 | 0.345 | 33.2 |
| Test (CIFAR-100 test set + MNIST) | |||
| Method | MSP | ReAct | F1 / DS-F1 |
| Metric: DS-F1 ResNet-18 - Trained on CIFAR-100 training set. Evaluated on CIFAR100 test set + Near/Far-OOD. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Training strategy | MSP | OpenMax | MDS | Gram | ReAct | KLM | VIM | KNN | SIRC | Acc. |
| Basic | 67.42/57.03 | 67.42/57.09 | 67.43/57.22 | 67.42/59.16 | 67.43/58.44 | 67.44/57.09 | 67.46/58.94 | 67.67/58.26 | 67.44/57.05 | 77.32 |
| Mixup | 67.86/58.02 | 67.98/61.29 | 67.87/58.34 | 67.87/58.04 | 67.87/58.03 | 67.88/58.18 | 67.87/58.53 | 68.06/59.72 | 67.87/58.02 | 78.47 |
| RegMixup | 68.77/55.08 | 68.77/58.16 | 68.77/55.41 | 68.77/56.44 | 68.78/55.83 | 68.78/55.15 | 68.77/55.60 | 68.81/58.22 | 68.78/55.11 | 79.35 |
| AugMix | 66.40/58.82 | 66.40/58.93 | 66.40/58.92 | 66.40/59.22 | 66.41/60.19 | 66.41/58.91 | 66.42/59.39 | 66.66/59.26 | 66.41/58.86 | 76.98 |
| PixMix | 66.65/57.06 | 66.65/57.04 | 66.65/57.05 | 66.65/60.38 | 66.78/58.83 | 66.68/57.40 | 66.69/58.13 | 66.84/58.25 | 66.67/57.53 | 77.20 |
| Metric: DS-F1 DINOv3 ViT-L/16 - Fine-tuned on ImageNet-1K training set. Evaluated on ImageNet-1K test set + Near/Far-OOD. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Training strategy | MSP | OpenMax | MDS | Gram | ReAct | KLM | VIM | KNN | SIRC | Acc. |
| Basic | 75.42/84.38 | 75.54/84.48 | 76.55/85.26 | 75.42/84.38 | 76.82/85.33 | 75.51/84.59 | 76.37/85.13 | 75.87/84.38 | 75.53/84.52 | 86.89 |
| Mixup | 75.09/84.03 | 75.09/84.06 | 76.54/85.18 | 75.09/84.02 | 75.96/85.04 | 75.21/84.25 | 75.50/84.52 | 75.10/84.25 | 75.09/84.05 | 87.01 |
| RegMixup | 75.01/83.84 | 75.01/83.90 | 76.12/85.10 | 75.01/83.84 | 76.62/85.27 | 75.28/84.30 | 75.35/84.37 | 75.01/84.01 | 75.05/84.12 | 87.07 |
| AugMix | 75.99/84.98 | 76.18/85.09 | 77.39 /86.08 | 75.99/84.98 | 77.22/85.99 | 76.17/85.29 | 76.85/85.81 | 76.26/85.43 | 76.07/85.11 | 87.72 |
| PixMix | 75.68/84.37 | 75.96/84.66 | 77.29/85.69 | 75.68/84.37 | 77.24/85.59 | 75.86/84.81 | 76.52/85.15 | 76.16/85.04 | 75.74/84.51 | 87.32 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Training strategy | OOD Detection | Failure Prediction | Acc. |
|---|---|---|---|
| AUROC | AURC | ||
| ResNet-18 - Trained on CIFAR-100 | |||
| Basic | 80.82 0.05 / 79.31 0.99 | 61.64 1.46 | 77.32 |
| Mixup | 80.54 0.02 / 79.25 0.42 | 57.15 0.83 | 78.47 |
| RegMixup | 81.11 0.44 / 76.69 0.91 | 51.71 1.27 | 79.35 |
| AugMix | 79.66 0.02 / 79.47 0.22 | 60.45 0.18 | 76.98 |
| OOD Score | ID Score | ||
|---|---|---|---|
| MSP [ 13 ] | ReAct [ 42 ] | VIM [ 37 ] | |
| DS-F1 | |||
| MSP [ 13 ] | 67.42 / 57.03 | 67.42 / 57.03 | 47.25 / 46.61 |
| ReAct [ 42 ] | 67.43 / 58.44 | 66.30 / 58.02 | 47.21 / 46.60 |
| VIM [ 37 ] | 67.46 / 58.94 | 59.94 / 55.03 | 47.17 / 46.56 |
| DS-AURC | |||
| Method | Model : ResNet-18 Training strategy : Basic Training/Validation set : CIFAR-100 training set Evaluation set : CIFAR-100 test set + Near/Far OOD sets | ||
|---|---|---|---|
| AUROC | FPR@95 | AUPR | |
| MSP [ 13 ] | 80.82 0.05 / 79.31 0.99 | 54.34 0.60 / 56.64 2.33 | 83.99 2.33 / 66.73 1.71 |
| OpenMax [ 38 ] | 72.34 0.37 / 73.10 0.81 | 55.56 0.21 / 59.83 1.63 | 80.10 1.63 / 62.92 1.38 |
| ODIN [ 39 ] | 80.05 0.12 / 79.94 0.95 | 58.27 0.79 / 57.58 2.51 | 82.94 2.51 / 67.26 1.71 |
| MDS [ 40 ] | 68.10 0.92 / 74.16 0.66 | 74.68 1.00 / 68.42 1.47 | 71.91 1.47 / 57.39 1.32 |
| Gram [ 41 ] | 54.39 0.31 / 70.65 1.39 | 92.29 0.19 / 70.25 3.62 | 57.09 3.62 / 55.18 2.56 |