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

NegRefine: Refining Negative Label-Based Zero-Shot OOD Detection

About

Recent advancements in Vision-Language Models like CLIP have enabled zero-shot OOD detection by leveraging both image and textual label information. Among these, negative label-based methods such as NegLabel and CSP have shown promising results by utilizing a lexicon of words to define negative labels for distinguishing OOD samples. However, these methods suffer from detecting in-distribution samples as OOD due to negative labels that are subcategories of in-distribution labels or proper nouns. They also face limitations in handling images that match multiple in-distribution and negative labels. We propose NegRefine, a novel negative label refinement framework for zero-shot OOD detection. By introducing a filtering mechanism to exclude subcategory labels and proper nouns from the negative label set and incorporating a multi-matching-aware scoring function that dynamically adjusts the contributions of multiple labels matching an image, NegRefine ensures a more robust separation between in-distribution and OOD samples. We evaluate NegRefine on large-scale benchmarks, including ImageNet-1K. The code is available at https://github.com/ah-ansari/NegRefine.

Amirhossein Ansari, Ke Wang, Pulei Xiong• 2025

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9522.93
247
OOD DetectionImageNet-1k ID Average OOD
AUROC0.9458
92
OOD DetectioniNaturalist (OOD) / ImageNet-1k (ID) 1.0 (test)
FPR951.61
90
Out-of-Distribution DetectionCIFAR10 (ID) vs SVHN (OOD)
AUROC97.57
81
OOD DetectionImageNet SUN
FPR@9523.7
70
Out-of-Distribution DetectionCIFAR-10 In-Dist Texture Out-Dist
AUROC98.68
57
OOD DetectionCIFAR-10 (In-distribution) vs LSUN-R (Out-of-distribution)
FPR9523.45
50
OOD DetectionImageNet-1k (ID) vs Places (OOD) 1.0 (test)
AUROC89.91
49
Out-of-Distribution DetectionCIFAR-100 ID Average (OOD)
AUROC0.8433
42
Out-of-distribution (OOD) detectionCIFAR100 (In-Distribution) Texture (Out-of-Distribution) (test)
FPR@9525.25
36
Showing 10 of 26 rows

Other info

Follow for update