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

Conjugated Semantic Pool Improves OOD Detection with Pre-trained Vision-Language Models

About

A straightforward pipeline for zero-shot out-of-distribution (OOD) detection involves selecting potential OOD labels from an extensive semantic pool and then leveraging a pre-trained vision-language model to perform classification on both in-distribution (ID) and OOD labels. In this paper, we theorize that enhancing performance requires expanding the semantic pool, while increasing the expected probability of selected OOD labels being activated by OOD samples, and ensuring low mutual dependence among the activations of these OOD labels. A natural expansion manner is to adopt a larger lexicon; however, the inevitable introduction of numerous synonyms and uncommon words fails to meet the above requirements, indicating that viable expansion manners move beyond merely selecting words from a lexicon. Since OOD detection aims to correctly classify input images into ID/OOD class groups, we can "make up" OOD label candidates which are not standard class names but beneficial for the process. Observing that the original semantic pool is comprised of unmodified specific class names, we correspondingly construct a conjugated semantic pool (CSP) consisting of modified superclass names, each serving as a cluster center for samples sharing similar properties across different categories. Consistent with our established theory, expanding OOD label candidates with the CSP satisfies the requirements and outperforms existing works by 7.89% in FPR95. Codes are available in https://github.com/MengyuanChen21/NeurIPS2024-CSP.

Mengyuan Chen, Junyu Gao, Changsheng Xu• 2024

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9513.66
159
Out-of-Distribution DetectionImageNet-1k ID iNaturalist OOD
FPR951.54
87
OOD DetectionImageNet-1K OOD (Average: OpenImage-O, Texture, iNaturalist, ImageNet-O) 1.0 (test)
AUROC95.76
61
OOD DetectionImageNet 1k (test)
FPR9521.33
49
OOD DetectionImageNet SUN
FPR@9513.66
43
Out-of-Distribution DetectionImageNet (ID) vs Places365 (OOD) 1.0 (test)
FPR9529.32
41
Out-of-Distribution DetectionOpenOOD Far-OoD average v1.5
AUROC95.87
39
Out-of-Distribution DetectionOpenOOD Near-OoD average v1.5
AUROC0.7488
39
OOD DetectionImageNet-1k ID Places OOD
AUROC92.9
35
Out-of-Distribution DetectionImageNet-1K (ID) vs Textures (OOD) (test)
FPR9525.52
34
Showing 10 of 13 rows

Other info

Follow for update