[论文解读] MM1: Methods, Analysis & Insights from Multimodal LLM Pre-training
本文对多模态大模型预训练进行了详细的消融研究,并提出 MM1,一系列可扩展模型家族(密集与 MoE),在多模态基准上实现 SOTA 预训练指标并在微调表现上具有竞争力,同时提供数据与结构选择的洞见。
In this work, we discuss building performant Multimodal Large Language Models (MLLMs). In particular, we study the importance of various architecture components and data choices. Through careful and comprehensive ablations of the image encoder, the vision language connector, and various pre-training data choices, we identified several crucial design lessons. For example, we demonstrate that for large-scale multimodal pre-training using a careful mix of image-caption, interleaved image-text, and text-only data is crucial for achieving state-of-the-art (SOTA) few-shot results across multiple benchmarks, compared to other published pre-training results. Further, we show that the image encoder together with image resolution and the image token count has substantial impact, while the vision-language connector design is of comparatively negligible importance. By scaling up the presented recipe, we build MM1, a family of multimodal models up to 30B parameters, including both dense models and mixture-of-experts (MoE) variants, that are SOTA in pre-training metrics and achieve competitive performance after supervised fine-tuning on a range of established multimodal benchmarks. Thanks to large-scale pre-training, MM1 enjoys appealing properties such as enhanced in-context learning, and multi-image reasoning, enabling few-shot chain-of-thought prompting.
研究动机与目标
- 研究架构组件如何影响多模态 LLM 的性能。
- 评估预训练数据混合对零-shot 和少-shot 能力的影响。
- 开发可扩展的 MM1 系列(密集与 MoE),并在基准上评估预训练和微调性能。
- 提供可操作的设计经验教训,以指导未来的多模态模型构建和预训练策略。
提出的方法
- 进行对图像编码器选项、视觉-语言连接器以及预训练数据混合的受控消融。
- 在 captioning(字幕/描述生成)和 VQA 基准上进行零-shot、4-shot 和 8-shot 绩效评估,以衡量下游影响。
- 使用固定的基础设置对 MM1 变体进行预训练,然后扩展到 3B、7B 和 30B 的 MoE 配置。
- 使用特定的数据混合(45% 交错 interleaved,45% 描述 captioned,10% 纯文本 text-only)与 200k 训练步数(约 100B 令牌)进行预训练。
- 用监督指令微调数据进行微调,并在 12 个 VL 基准上评估。
- 探索学习率和权重衰减的放大规律;对 MoE 应用以在保持活跃参数可控的同时增加参数量。
实验结果
研究问题
- RQ1在视觉编码器和视觉-语言桥接中的哪些架构选择对多模态理解影响最大?
- RQ2描述性与交错数据和纯文本数据的混合如何影响零-shot 和少-shot 的多模态任务?
- RQ3在 VL 基准上进行监督微调后,预训练的洞见是否仍然存在?
- RQ4模型规模(密集 vs MoE)如何影响预训练指标和下游多模态任务?
主要发现
- 图像分辨率对性能的影响最大,其次是编码器容量和预训练数据;较大的图像尺寸(336 与 224)带来明显提升。
- 视觉-语言连接器的设计相对不如视觉令牌数量和图像分辨率重要;更大的令牌数量通常提升零-shot 和少-shot 表现。
- 交错图文数据对少-shot和纯文本性能对至关重要,而描述数据提升零-shot结果;平衡混合实现强大的多模态性能。
- 纯文本数据有助于维持语言理解并提升少-shot及纯文本任务;合成 VeCap 数据在少-shot设置中提供额外收益。
- 将 MM1 扩展到 3B/7B/30B 并采用 MoE 变体,在预训练指标上实现有竞争力或SOTA,在监督微调后在多个多模态基准上有良好表现。
- MoE 扩展在总参数量增加的同时推理成本受控,使得容量更大而不至于计算代价高昂。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。