[论文解读] MMICL: Empowering Vision-language Model with Multi-Modal In-Context Learning
MMICL 引入一种多模态上下文学习框架,使视觉-语言模型能够处理包含多张图片和文本交错的提示,在通用视觉-语言任务上实现零-shot 最新性能,并降低语言偏见。
Since the resurgence of deep learning, vision-language models (VLMs) enhanced by large language models (LLMs) have grown exponentially in popularity. However, while LLMs can utilize extensive background knowledge and task information with in-context learning, most VLMs still struggle with understanding complex multi-modal prompts with multiple images, making VLMs less effective in downstream vision-language tasks. In this paper, we address the limitation above by 1) introducing vision-language Model with Multi-Modal In-Context Learning(MMICL), a new approach to allow the VLM to deal with multi-modal inputs efficiently; 2) proposing a novel context scheme to augment the in-context learning ability of the VLM; 3) constructing the Multi-modal In-Context Learning (MIC) dataset, designed to enhance the VLM's ability to understand complex multi-modal prompts. Our experiments confirm that MMICL achieves new state-of-the-art zero-shot performance on a wide range of general vision-language tasks, especially for complex benchmarks, including MME and MMBench. Our analysis demonstrates that MMICL effectively tackles the challenge of complex multi-modal prompt understanding and emerges the impressive ICL ability. Furthermore, we observe that MMICL successfully alleviates language bias in VLMs, a common issue for VLMs that often leads to hallucination when faced with extensive textual context. Our code, dataset, dataset tool, and model are available at https://github.com/PKUnlp-icler/MIC
研究动机与目标
- 解决视觉-语言模型在理解包含多张图片和文本的复杂多模态提示方面能力有限的问题。
- 提出 MMICL,通过一种新颖的上下文方案高效地融合多图像和文本信息。
- 创建 MIC 数据集,用于训练和评估多模态上下文学习能力。
- 证明 MMICL 能实现最先进的零样本性能并减轻视觉-语言模型中的语言偏见。
提出的方法
- 使用图像声明通过唯一代理标记引用图像来平等处理图像和文本表示。
- 使用视觉编码器和 Q-former 作为视觉提示生成器来产生视觉嵌入,并投影到 LLM 嵌入空间。
- 引入将文本与特定图像关联的图像声明机制,支持多图像以及文本到图像的引用处理。
- 通过从视频和图像中提取多图像数据,构建一个 Multi-modal In-context learning (MIC) 数据集,包含 5.8 million 样本。
- 采用两阶段训练范式:(i) 预训练以对齐图像和文本嵌入(视觉编码器和 LLM 固定,VPG 和投影可训练);(ii) 多模态上下文微调,冻结组件并对投影向量和查询/值向量进行联合训练。
- 通过生成多样化的指令和示例以丰富上下文数据,为各种任务开发统一的多模态上下文格式。

实验结果
研究问题
- RQ1如何扩展VLMs以有效理解包含多张图片和文本引用的复杂多模态提示?
- RQ2带有图像声明和图像代理的新上下文方案能否改善VLMs中对文本到图像的引用理解以及图像之间的关系?
- RQ3多模态上下文微调是否在多样化的视觉-语言基准测试中提升零样本和少样本性能,同时降低语言偏见?
主要发现
- MMICL 在若干视觉-语言基准测试,尤其是 MME 和 MMBench,取得了新的最先进的零样本性能。
- MMICL 展现出强大的文本到图像引用理解能力,在 Winoground 上有改进,在 RAVEN 的图像到图像关系理解方面也有所提升。
- MMICL 展现出在各任务中有效的多模态上下文学习,包括对 VizWiz 等数据集的少样本提升。
- MMICL 在视觉-语言模型中降低了语言偏见,即使在广泛的文本上下文下也能维持性能,而其他模型在这方面表现不佳。
- 消融研究表明,在多个数据集和模型规模中引入阶段 II 的多模态上下文微调可获得显著提升。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。