Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Negative Label Guided OOD Detection with Pretrained Vision-Language Models

About

Out-of-distribution (OOD) detection aims at identifying samples from unknown classes, playing a crucial role in trustworthy models against errors on unexpected inputs. Extensive research has been dedicated to exploring OOD detection in the vision modality. Vision-language models (VLMs) can leverage both textual and visual information for various multi-modal applications, whereas few OOD detection methods take into account information from the text modality. In this paper, we propose a novel post hoc OOD detection method, called NegLabel, which takes a vast number of negative labels from extensive corpus databases. We design a novel scheme for the OOD score collaborated with negative labels. Theoretical analysis helps to understand the mechanism of negative labels. Extensive experiments demonstrate that our method NegLabel achieves state-of-the-art performance on various OOD detection benchmarks and generalizes well on multiple VLM architectures. Furthermore, our method NegLabel exhibits remarkable robustness against diverse domain shifts. The codes are available at https://github.com/tmlr-group/NegLabel.

Xue Jiang, Feng Liu, Zhen Fang, Hong Chen, Tongliang Liu, Feng Zheng, Bo Han• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1k (val)--
1453
OOD DetectionImageNet-1K OOD (Average: OpenImage-O, Texture, iNaturalist, ImageNet-O) 1.0 (test)
AUROC94.21
61
Out-of-Distribution DetectionImageNet-1k Textures ID OOD
AUROC90.22
59
OOD DetectionImageNet 1k (test)
FPR9525.25
49
Out-of-Distribution DetectionImageNet-1k (ID) with 4 OOD datasets (iNaturalist, SUN, Places, Textures)
FPR9525.4
45
OOD DetectionImageNet SUN
FPR@9520.53
43
Out-of-Distribution DetectionOpenOOD Far-OoD average v1.5
AUROC94.85
39
Out-of-Distribution DetectionOpenOOD Near-OoD average v1.5
AUROC0.7518
39
OOD DetectionImageNet-1k ID Places OOD
AUROC91.64
35
Out-of-Distribution DetectionImageNet-1K (ID) vs Textures (OOD) (test)
FPR9543.56
34
Showing 10 of 38 rows

Other info

Follow for update