arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.03359cs.CVcs.AIcs.LG
收藏

视觉语言模型的自我校准调优用于分布外检测

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

Hong Kong Baptist University(香港浸会大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);Shanghai Jiao Tong University(上海交通大学)

Geng Yu, Jianing Zhu, Jiangchao Yao, Bo Han

AI总结:

提出自我校准调优(SCT)框架,通过调制因子校准OOD正则化影响,利用少量ID数据提升基于CLIP的分布外检测性能。

摘要:

分布外(OOD)检测对于在开放世界应用中部署可靠的机器学习模型至关重要。近期基于CLIP的OOD检测研究通过利用从ID数据中提取的OOD特征来正则化提示调优,取得了令人鼓舞的结果。然而,由于前景-背景分解不准确,从ID数据中挖掘的无关上下文可能是虚假的,从而限制了OOD检测性能。在这项工作中,我们提出了一种新颖的框架,即自我校准调优(SCT),以在仅给定少量样本ID数据的情况下缓解这一问题,实现有效的OOD检测。具体而言,SCT在原始学习目标的两个组成部分上分别引入调制因子。它根据数据的不同预测不确定性,在训练过程中自适应地引导两个任务之间的优化过程,以校准OOD正则化的影响,该方法与许多基于提示调优的OOD检测方法兼容。我们进行了大量实验和分析,以表征并证明所提出的SCT的有效性。代码已公开。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑