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 DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@9520.55
204
Out-of-Distribution DetectionTextures
AUROC0.8906
168
Out-of-Distribution DetectionImageNet-1k ID iNaturalist OOD
FPR9513.94
132
OOD DetectionPlaces (OOD)
AUROC92.24
93
OOD DetectionSUN (OOD)
AUROC95.33
81
OOD DetectionCIFAR-100
AUROC84.91
66
Out-of-Distribution DetectionImageNet 1k (test)
Average AUROC90.83
58
OOD DetectioniNaturalist
AUROC95.86
52
Out-of-Distribution DetectionImageNet-1K OOD Average
AUROC93.27
50
Out-of-Distribution DetectionPlaces OOD ImageNet-1k ID
AUROC92.24
45
Showing 10 of 19 rows

Other info

Code

Follow for update