用符号替代答案,让多模态模型更好理解图文上下文。
SymDPO: Boosting In-Context Learning of Large Multimodal Models with Symbol Demonstration Direct Preference Optimization
- 用随机符号替换文本答案,迫使模型关注图像与符号的关联。
- 在多个基准上提升多模态模型的上下文学习能力,准确率显著提高。
- 适合研究多模态对齐、提示工程与模型推理机制的学者。
随着语言模型规模扩大,大语言模型(LLMs)展现出上下文学习(ICL)能力,可通过在输入前添加少量上下文示范(ICDs)解决语言任务。受此启发,研究者已将该技术扩展至具备ICL能力的大规模多模态模型(LMMs)。然而,现有LMMs存在关键问题:往往未能有效利用多模态示范中的视觉信息,仅机械遵循文本模式。这表明模型未实现多模态示范与输出间的有效对齐。为此,本文提出符号示范直接偏好优化(SymDPO)。具体而言,SymDPO通过在实例中用随机符号替代文本答案,打破传统多模态示范构建范式。这一设计迫使模型仔细理解示范图像,并建立图像与符号之间的映射关系以正确作答。我们在多个基准上验证了该方法的有效性,结果表明,采用SymDPO后,LMMs能更有效地理解示例中的多模态上下文,并据此更准确地回答问题。代码已公开于https://github.com/APiaoG/SymDPO。
原文摘要 · Abstract (English)
As language models continue to scale, Large Language Models (LLMs) have exhibited emerging capabilities in In-Context Learning (ICL), enabling them to solve language tasks by prefixing a few in-context demonstrations (ICDs) as context. Inspired by these advancements, researchers have extended these techniques to develop Large Multimodal Models (LMMs) with ICL capabilities. However, existing LMMs face a critical issue: they often fail to effectively leverage the visual context in multimodal demonstrations and instead simply follow textual patterns. This indicates that LMMs do not achieve effective alignment between multimodal demonstrations and model outputs. To address this problem, we propose Symbol Demonstration Direct Preference Optimization (SymDPO). Specifically, SymDPO aims to break the traditional paradigm of constructing multimodal demonstrations by using random symbols to replace text answers within instances. This forces the model to carefully understand the demonstration images and establish a relationship between the images and the symbols to answer questions correctly. We validate the effectiveness of this method on multiple benchmarks, demonstrating that with SymDPO, LMMs can more effectively understand the multimodal context within examples and utilize this knowledge to answer questions better. Code is available at https://github.com/APiaoG/SymDPO.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。