arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.01571cs.CVcs.AI
收藏

如何为视觉问答配置良好的上下文序列

How to Configure Good In-Context Sequence for Visual Question Answering

Southeast University(东南大学);Northwestern University(西北大学)

Li Li, Jiawei Peng, Huiyi Chen, Chongyang Gao, Xu Yang

AI总结:

本文以视觉问答为案例,通过设计多种检索方法与演示操纵策略探索上下文配置,在三个VQA数据集上揭示了LVLM的内部特性并找到能持续提升ICL性能的策略。

摘要:

受大语言模型在自然语言处理中通过上下文学习(In-Context Learning, ICL)处理新任务所取得成功的启发,研究者也开发了具备上下文学习能力的大型视觉语言模型(Large Vision-Language Models, LVLMs)。然而,在使用这些大型视觉语言模型实施上下文学习时,研究者通常采用最简单的方式,如随机采样来配置上下文序列,从而导致次优结果。为了提升上下文学习性能,本研究以视觉问答(Visual Question Answering, VQA)作为案例研究,探索多样化的上下文配置以寻找更有效的配置方式。此外,通过观察改变上下文序列时大型视觉语言模型输出的变化,我们深入了解了大型视觉语言模型的内部特性,增进了对它们的理解。具体而言,为了探索上下文配置,我们设计了多种检索方法,并采用不同策略来操纵检索到的演示示例。通过在三个视觉问答数据集——VQAv2、VizWiz和OK-VQA上进行详尽的实验,我们揭示了所应用的大型视觉语言模型的三个重要内部特性,并证明了哪些策略能够持续提升上下文学习的视觉问答性能。我们的代码提供于:https://github.com/GaryJiajia/OFv2_ICL_VQA。

英文摘要:

Inspired by the success of Large Language Models in dealing with new tasks via In-Context Learning (ICL) in NLP, researchers have also developed Large Vision-Language Models (LVLMs) with ICL capabilities. However, when implementing ICL using these LVLMs, researchers usually resort to the simplest way like random sampling to configure the in-context sequence, thus leading to sub-optimal results. To enhance the ICL performance, in this study, we use Visual Question Answering (VQA) as case study to explore diverse in-context configurations to find the powerful ones. Additionally, through observing the changes of the LVLM outputs by altering the in-context sequence, we gain insights into the inner properties of LVLMs, improving our understanding of them. Specifically, to explore in-context configurations, we design diverse retrieval methods and employ different strategies to manipulate the retrieved demonstrations. Through exhaustive experiments on three VQA datasets: VQAv2, VizWiz, and OK-VQA, we uncover three important inner properties of the applied LVLM and demonstrate which strategies can consistently improve the ICL VQA performance. Our code is provided in: https://github.com/GaryJiajia/OFv2_ICL_VQA.

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

↑