拆解多模态视觉编码
研究论文 · 2026/11/14
多模态语言模型如何编码视觉输入仍存争议。多数模型使用预训练视觉编码器,而近期一些方法则从头与语言模型联合训练编码器或完全移除编码器。视觉编码器捆绑了三个设计选择:来自上游预训练的视觉先验、专用的视觉容量,以及该容量在多模态融合前的放置位置(即多模态主干之前)。由于已发表模型在数据、架构和计算上存在差异,直接比较无法分离每个选择的影响。我们通过一个受控框架来 disentangle 这些选择:在共同数据上从头预训练所有模型,并在匹配生命周期计算量的条件下,在视觉问答和语言基准上进行比较。我们发现视觉先验并非必要;从头联合训练的编码器与预训练编码器表现相当,且无需单独训练阶段。真正重要的是专用的视觉容量:即使将主干参数增加编码器的参数量,无编码器模型在视觉理解上仍落后。然而,这种容量不必置于多模态融合之前,因为在融合早期主干层中添加的纯视觉模块与预融合编码器表现相当,并能降低首 token 时间。这些结果在不同主干规模、将编码器预训练视为免费以及从预训练语言模型开始时均成立。总体而言,我们的发现支持专用视觉容量与主干联合训练并置于其早期位置。
该研究通过受控实验系统性地拆解了多模态视觉编码中的三个设计选择,挑战了预训练视觉编码器必要的传统观点,并提出了更优的架构设计(专用视觉容量与主干联合训练并置于早期),对多模态模型的高效构建具有重要指导意义。
How multimodal language models should encode visual input remains up for debate. Most models use a pretrained vision encoder, while some recent recipes train the encoder from scratch with the language model or remove it entirely. Vision encoders bundle together three design choices: a visual prior from upstream pretraining, dedicated vision capacity, and pre-fusion placement of that capacity (i.e., before the multimodal backbone). Because published models also differ in data, architecture, and compute, comparing them cannot isolate the effect of each choice. We disentangle these choices via a controlled framework where we pretrain all models from scratch on common data and compare them on visual question answering and language benchmarks at matched lifetime compute. We find that the visual prior is not necessary; an encoder trained jointly from scratch is on par with a pretrained one, without a separate training stage. What matters instead is dedicated vision capacity: an encoder-free model trails on visual understanding even when its backbone is enlarged by the encoder's parameter count. Yet that capacity need not precede multimodal fusion, as vision-only modules added in-fusion to early backbone layers perform comparably to a pre-fusion encoder and can lower time to first token. These results also hold across backbone sizes, when encoder pretraining is treated as free, and when starting from a pretrained language model. Overall, our findings favor dedicated vision capacity trained jointly with the backbone and placed early within it.