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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yu, Geng, Zhu, Jianing, Yao, Jiangchao, Han, Bo
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909378901180416
author Yu, Geng
Zhu, Jianing
Yao, Jiangchao
Han, Bo
author_facet Yu, Geng
Zhu, Jianing
Yao, Jiangchao
Han, Bo
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_03359
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection
Yu, Geng
Zhu, Jianing
Yao, Jiangchao
Han, Bo
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
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.
title Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2411.03359