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

迈向视觉与语言模型的多模态上下文学习

Towards Multimodal In-Context Learning for Vision & Language Models

IBM Research(IBM研究院);Weizmann Institute of Science(魏茨曼科学研究所);TU Graz(格拉茨工业大学);ELLIS Unit(ELLIS单元);Institute for Machine Learning, JKU Linz(林茨约翰内斯·开普勒大学机器学习研究所);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)

Sivan Doveh, Shaked Perek, M. Jehanzeb Mirza, Wei Lin, Amit Alfassy, Assaf Arbelle, Shimon Ullman, Leonid Karlinsky

AI总结:

针对视觉-语言模型上下文学习能力不足的问题,提出基于多轮课程学习与数据混合的方法,显著提升ICL性能,并贡献新评估基准。

摘要:

最先进的视觉-语言模型(VLMs)主要通过将来自编码器的视觉标记投影为类似语言的标记,然后直接馈送给大语言模型(LLM)解码器,从而将视觉和语言模态进行对齐。尽管这些模型在许多下游零样本任务(如图像描述、问答等)中表现出前所未有的性能,但在迁移LLM的核心能力之一——上下文学习(ICL)方面,仍然很少受到重视。ICL是指模型通过提示中嵌入的少量示例演示来推理下游任务的能力。在本工作中,通过广泛的评估,我们发现最先进的VLMs在遵循ICL指令方面有所欠缺。特别地,我们发现,即使那些经历了大规模混合模态预训练并被隐式引导以利用交错图像和文本信息(旨在从多张图像中获取有用上下文)的模型,在以少量示例演示(以ICL方式)进行提示时表现不佳,这可能是由于它们缺乏直接的ICL指令调优。为了增强现有VLM的ICL能力,我们提出了一种简单但出奇有效的基于多轮课程学习的方法,并配合有效的数据混合,在最强VLM基线和多种ICL基准上,实现了显著的21.03%(平均11.3%)的ICL性能提升。此外,我们还贡献了用于VLM中ICL评估的新基准,并讨论了它们相对于先前技术的优势。

英文摘要:

State-of-the-art Vision-Language Models (VLMs) ground the vision and the language modality primarily via projecting the vision tokens from the encoder to language-like tokens, which are directly fed to the Large Language Model (LLM) decoder. While these models have shown unprecedented performance in many downstream zero-shot tasks (eg image captioning, question answers, etc), still little emphasis has been put on transferring one of the core LLM capability of In-Context Learning (ICL). ICL is the ability of a model to reason about a downstream task with a few examples demonstrations embedded in the prompt. In this work, through extensive evaluations, we find that the state-of-the-art VLMs somewhat lack the ability to follow ICL instructions. In particular, we discover that even models that underwent large-scale mixed modality pre-training and were implicitly guided to make use of interleaved image and text information (intended to consume helpful context from multiple images) under-perform when prompted with few-shot demonstrations (in an ICL way), likely due to their lack of direct ICL instruction tuning. To enhance the ICL abilities of the present VLM, we propose a simple yet surprisingly effective multi-turn curriculum-based learning methodology with effective data mixes, leading up to a significant 21.03% (and 11.3% on average) ICL performance boost over the strongest VLM baselines and a variety of ICL benchmarks. Furthermore, we also contribute new benchmarks for ICL evaluation in VLMs and discuss their advantages over the prior art.

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

↑