TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/MOS: Towards Scaling Out-of-distribution Detection for Lar...

MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Space

Rui Huang, Yixuan Li

2021-05-05CVPR 2021 1Image ClassificationOut-of-Distribution Detection
PaperPDFCodeCodeCode(official)CodeCode

Abstract

Detecting out-of-distribution (OOD) inputs is a central challenge for safely deploying machine learning models in the real world. Existing solutions are mainly driven by small datasets, with low resolution and very few class labels (e.g., CIFAR). As a result, OOD detection for large-scale image classification tasks remains largely unexplored. In this paper, we bridge this critical gap by proposing a group-based OOD detection framework, along with a novel OOD scoring function termed MOS. Our key idea is to decompose the large semantic space into smaller groups with similar concepts, which allows simplifying the decision boundaries between in- vs. out-of-distribution data for effective OOD detection. Our method scales substantially better for high-dimensional class space than previous approaches. We evaluate models trained on ImageNet against four carefully curated OOD datasets, spanning diverse semantics. MOS establishes state-of-the-art performance, reducing the average FPR95 by 14.33% while achieving 6x speedup in inference compared to the previous best method.

Results

TaskDatasetMetricValueModel
Out-of-Distribution DetectionImageNet-1k vs iNaturalistAUROC98.15MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs iNaturalistFPR959.28MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs TexturesAUROC81.23MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs TexturesFPR9560.43MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs PlacesAUROC89.06MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs PlacesFPR9549.54MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs SUNAUROC92.01MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs SUNFPR9540.63MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs Curated OODs (avg.)AUROC90.11MOS (BiT-S-R101x1)
Out-of-Distribution DetectionImageNet-1k vs Curated OODs (avg.)FPR9539.97MOS (BiT-S-R101x1)

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Transferring Styles for Reduced Texture Bias and Improved Robustness in Semantic Segmentation Networks2025-07-14FedGSCA: Medical Federated Learning with Global Sample Selector and Client Adaptive Adjuster under Label Noise2025-07-13