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

视觉-语言模型错失的机遇:视觉-语言模型在线测试时自适应的比较研究

A Lost Opportunity for Vision-Language Models: A Comparative Study of Online Test-Time Adaptation for Vision-Language Models

University of Stuttgart(斯图加特大学)

Mario Döbler, Robert A. Marsden, Tobias Raichle, Bin Yang

AI总结:

本文系统比较 CLIP 等视觉-语言模型的在线测试时自适应方法,涵盖提示工程、提示学习及视觉-文本空间集成,并在多数据集和架构上验证其抗分布偏移效果。

摘要:

在深度学习中,保持模型对分布偏移的鲁棒性至关重要。本工作探索了在测试时自适应视觉-语言基础模型的广泛可能性,尤其关注 CLIP 及其变体。该研究系统考察了基于提示的技术和现有测试时自适应方法,旨在提升多样化真实场景中分布偏移下的鲁棒性。具体而言,研究涵盖多种提示工程策略,包括手工提示、提示集成和提示学习技术。此外,我们提出一种视觉-文本空间集成,与仅在文本空间中的集成相比,它显著提升了平均性能。由于在线测试时自适应已被证明可有效缓解分布偏移下的性能下降,该研究进一步扩展范围,评估了最初为纯视觉分类模型设计的现有测试时自适应方法的有效性。通过在多个数据集和多样化模型架构上进行的大量实验评估,研究证明了这些自适应策略的有效性。代码可在 https://github.com/mariodoebler/test-time-adaptation 获取。

英文摘要:

In deep learning, maintaining model robustness against distribution shifts is critical. This work explores a broad range of possibilities to adapt vision-language foundation models at test-time, with a particular emphasis on CLIP and its variants. The study systematically examines prompt-based techniques and existing test-time adaptation methods, aiming to improve the robustness under distribution shift in diverse real-world scenarios. Specifically, the investigation covers various prompt engineering strategies, including handcrafted prompts, prompt ensembles, and prompt learning techniques. Additionally, we introduce a vision-text-space ensemble that substantially enhances average performance compared to text-space-only ensembles. Since online test-time adaptation has shown to be effective to mitigate performance drops under distribution shift, the study extends its scope to evaluate the effectiveness of existing test-time adaptation methods that were originally designed for vision-only classification models. Through extensive experimental evaluations conducted across multiple datasets and diverse model architectures, the research demonstrates the effectiveness of these adaptation strategies. Code is available at: https://github.com/mariodoebler/test-time-adaptation

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

↑