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

Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection

About

Out-of-distribution (OOD) detection is crucial for deploying reliable machine learning models in open-world applications. Recent advances in CLIP-based OOD detection have shown promising results via regularizing prompt tuning with OOD features extracted from ID data. However, the irrelevant context mined from ID data can be spurious due to the inaccurate foreground-background decomposition, thus limiting the OOD detection performance. In this work, we propose a novel framework, namely, Self-Calibrated Tuning (SCT), to mitigate this problem for effective OOD detection with only the given few-shot ID data. Specifically, SCT introduces modulating factors respectively on the two components of the original learning objective. It adaptively directs the optimization process between the two tasks during training on data with different prediction uncertainty to calibrate the influence of OOD regularization, which is compatible with many prompt tuning based OOD detection methods. Extensive experiments and analyses have been conducted to characterize and demonstrate the effectiveness of the proposed SCT. The code is publicly available.

Geng Yu, Jianing Zhu, Jiangchao Yao, Bo Han• 2024

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectioniNaturalist
AUROC95.82
252
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9520.55
247
Out-of-Distribution DetectionTextures
AUROC0.8906
186
Out-of-Distribution DetectionPlaces
FPR9532.81
175
Out-of-Distribution DetectionImageNet-1k ID iNaturalist OOD
FPR9513.94
132
Out-of-Distribution DetectionTexture
AUROC91.82
128
Out-of-Distribution DetectionSUN
FPR@9523.48
104
OOD DetectionPlaces (OOD)
AUROC92.24
100
OOD DetectioniNaturalist
AUROC95.86
95
Out-of-Distribution DetectionAverage (iNaturalist, SUN, Places, Textures)
FPR@9531.09
89
Showing 10 of 27 rows

Other info

Code

Follow for update