Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Semantically Coherent Out-of-Distribution Detection

About

Current out-of-distribution (OOD) detection benchmarks are commonly built by defining one dataset as in-distribution (ID) and all others as OOD. However, these benchmarks unfortunately introduce some unwanted and impractical goals, e.g., to perfectly distinguish CIFAR dogs from ImageNet dogs, even though they have the same semantics and negligible covariate shifts. These unrealistic goals will result in an extremely narrow range of model capabilities, greatly limiting their use in real applications. To overcome these drawbacks, we re-design the benchmarks and propose the semantically coherent out-of-distribution detection (SC-OOD). On the SC-OOD benchmarks, existing methods suffer from large performance degradation, suggesting that they are extremely sensitive to low-level discrepancy between data sources while ignoring their inherent semantics. To develop an effective SC-OOD detection approach, we leverage an external unlabeled set and design a concise framework featured by unsupervised dual grouping (UDG) for the joint modeling of ID and OOD data. The proposed UDG can not only enrich the semantic knowledge of the model by exploiting unlabeled data in an unsupervised manner, but also distinguish ID/OOD samples to enhance ID classification and OOD detection tasks simultaneously. Extensive experiments demonstrate that our approach achieves state-of-the-art performance on SC-OOD benchmarks. Code and benchmarks are provided on our project page: https://jingkang50.github.io/projects/scood.

Jingkang Yang, Haoqi Wang, Litong Feng, Xiaopeng Yan, Huabin Zheng, Wayne Zhang, Ziwei Liu• 2021

Related benchmarks

TaskDatasetResultRank
Near-OOD DetectionCIFAR-100 Near-OOD (test)
AUROC78.02
93
OOD DetectionCIFAR-10
FPR@9520.35
85
Near-OOD DetectionCIFAR-10
AUROC89.91
71
OOD DetectionCIFAR100 Dfar
AUROC79.59
69
Near-OOD DetectionImageNet-200
AUROC74.3
36
Far OOD detectionAverage (CIFAR-10, CIFAR-100, TinyImageNet)
AUROC85.25
35
Near-OOD DetectionCIFAR-10, CIFAR-100, TinyImageNet Average
AUROC80.74
35
Near-OOD DetectionTinyImageNet
AUROC74.3
34
Far OOD detectionTinyImageNet
AUROC82.09
34
OOD DetectionCIFAR-10
FPR@9520.35
32
Showing 10 of 20 rows

Other info

Follow for update