为何多模态上下文学习滞后?揭示内部机制和瓶颈
Why Multimodal In-Context Learning Lags Behind? Unveiling the Inner Mechanisms and Bottlenecks
AI总结:
本文分析了多模态上下文学习在零样本设置中表现与少样本演示下退化的原因,揭示了模型在视觉与文本表示对齐和任务映射转移方面的不足,并提出改进方法。
摘要:
上下文学习(ICL)通过推理时的演示使模型适应新任务。尽管在大语言模型中成功,但将其扩展到多模态设置时,其内部机制和与纯文本ICL的区别仍不明确。本文对多模态大语言模型的ICL进行了系统分析。通过跨模态相同任务公式,我们显示多模态ICL在零样本设置中与纯文本ICL表现相当,但在少样本演示下显著退化。为理解这一差距,我们将多模态ICL分解为任务映射构建和任务映射转移,并分析模型如何建立跨模态任务映射,并在层之间将其转移到查询样本。我们的分析揭示了当前模型在视觉和文本表示对齐方面缺乏推理层面的对齐,并且无法可靠地将学习到的任务映射转移到查询。基于这些发现,我们进一步提出了一种简单的推理阶段增强方法,以增强任务映射转移。我们的结果提供了多模态ICL机制和限制的新见解,并建议更有效的多模态适应方向。我们的代码可在https://github.com/deeplearning-wisc/Multimocal-ICL-Analysis-Framework-MGI获取。
英文摘要:
In-context learning (ICL) enables models to adapt to new tasks via inference-time demonstrations. Despite its success in large language models, the extension of ICL to multimodal settings remains poorly understood in terms of its internal mechanisms and how it differs from text-only ICL. In this work, we conduct a systematic analysis of ICL in multimodal large language models. Using identical task formulations across modalities, we show that multimodal ICL performs comparably to text-only ICL in zero-shot settings but degrades significantly under few-shot demonstrations. To understand this gap, we decompose multimodal ICL into task mapping construction and task mapping transfer, and analyze how models establish cross-modal task mappings, and transfer them to query samples across layers. Our analysis reveals that current models lack reasoning-level alignment between visual and textual representations, and fail to reliably transfer learned task mappings to queries. Guided by these findings, we further propose a simple inference-stage enhancement method that reinforces task mapping transfer. Our results provide new insights into the mechanisms and limitations of multimodal ICL and suggest directions for more effective multimodal adaptation. Our code is available \href{https://github.com/deeplearning-wisc/Multimocal-ICL-Analysis-Framework-MGI}{here}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。