arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.16091cs.CV
收藏

面向视觉-语言提示学习的近分布外检测

Near OOD Detection for Vision-Language Prompt Learning with Contrastive Logit Score

Monash University(莫纳什大学)

Myong Chol Jung, Joanna Dipnall, Belinda Gabbe, He Zhao

AI总结:

本文提出对比logit分数方法,用于提升预训练视觉-语言提示学习模型的近分布外检测性能,无需修改模型结构或重新训练,实验显示在AUROC上提升11.67%。

摘要:

提示学习已成为微调视觉-语言模型如CLIP的有效方法。尽管许多研究探讨了这些模型在少样本分类任务中的泛化能力,以及少数研究针对模型的远分布外(OOD)问题,其在近分布外检测中的潜力仍被忽视。现有方法要么需要从头训练,要么需要微调,或不适用于视觉-语言提示学习。为此,我们引入对比logit分数(CLS),一种新颖的后处理评分函数。CLS显著提升了预训练视觉-语言提示学习方法的近分布外检测能力,而无需修改模型架构或重新训练。我们的方法在近分布外检测中实现了高达11.67%的AUROC提升,计算开销极低。广泛评估验证了方法的有效性、效率和通用性。代码可在https://github.com/davidmcjung/near-OID-prompt-learning获取。

英文摘要:

Prompt learning has emerged as an efficient and effective method for fine-tuning vision-language models such as CLIP. While many studies have explored generalisation abilities of these models in few-shot classification tasks and a few studies have addressed far out-of-distribution (OOD) of the models, their potential for addressing near OOD detection remains underexplored. Existing methods either require training from scratch, need fine-tuning, or are not designed for vision-language prompt learning. To address this, we introduce the Contrastive Logit Score (CLS), a novel post-hoc, plug-and-play scoring function. CLS significantly improves near OOD detection of pre-trained vision-language prompt learning methods without modifying their model architectures or requiring retraining. Our method achieves up to an 11.67% improvement in AUROC for near OOD detection with minimal computational overhead. Extensive evaluations validate the effectiveness, efficiency, and generalisability of our approach. Our code is available at https://github.com/davidmcjung/near-OOD-prompt-learning.

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

↑