DiM\textsuperscript{3}: 通过方向和幅度感知融合连接多语言和多模态模型
DiM\textsuperscript{3}: Bridging Multilingual and Multimodal Models via Direction- and Magnitude-Aware Merging
AI总结:
本研究提出DiM3方法,通过在共享语言模型骨干中融合残差更新,实现多语言和多模态能力的无缝整合,从而提升多语言性能并保持多模态能力。
摘要:
为了实现更通用和类人智能,大语言模型应能够无缝整合多语言和多模态能力;然而,扩展现有多模态模型以支持多种语言通常需要昂贵的多语言多模态数据构建和重复端到端重新训练。我们研究了一种无需训练的替代方法:通过在共享语言模型骨干中组合残差更新,将多语言能力注入现有多模态模型中。关键挑战是多语言和多模态更新是异构的,反映了共享模型中的不同功能角色。为了解决这一问题,我们提出了方向和幅度感知的多语言多模态融合(DiM3),在每个参数维度上选择性地组合这两种更新,同时保留原始视觉编码器和多模态投影器。在文本-only和视觉-语言设置下的多语言基准测试中,覆盖57种语言(LLaVA和Qwen为基础的骨干),实验表明DiM3在多语言性能上显著优于现有融合基线,并在原始多模态模型上大幅提升了多语言性能,同时在专用多语言多模态微调中保持竞争力。此外,我们进一步表明DiM3可以直接应用于已训练的多语言多模态模型,并仍能产生额外收益。进一步的可解释性分析显示,DiM3主要重塑中间层语义表示,在文本-only和多模态输入下加强跨语言对齐,同时保留高层任务敏感结构。我们的仓库在https://github.com/wzj1718/DiM3。
英文摘要:
Towards more general and human-like intelligence, large language models should seamlessly integrate both multilingual and multimodal capabilities; however, extending an existing multimodal model to many languages typically requires expensive multilingual multimodal data construction and repeated end-to-end retraining. We study a training-free alternative: injecting multilingual capability into an existing multimodal model by composing residual updates in the shared language model backbone. The key challenge is that multilingual and multimodal updates are heterogeneous, reflecting different functional roles in the shared model. To address this, we propose Direction- and Magnitude-aware Multilingual Multimodal merging (DiM3), which selectively composes the two updates at each parameter dimension while preserving the original vision encoder and multimodal projector. Experiments on multilingual benchmarks in both text-only and vision-language settings, covering 57 languages across LLaVA- and Qwen-based backbones, show that DiM3 consistently outperforms existing merging baselines, substantially improves multilingual performance over the original multimodal model, and remains competitive with dedicated multilingual multimodal fine-tuning while largely retaining general multimodal ability. We further show that DiM3 can be directly applied to already trained multilingual multimodal models and still yield additional gains. Further interpretability analysis shows that DiM3 primarily reshapes intermediate-layer semantic representations, strengthening cross-lingual alignment under both text-only and multimodal inputs while preserving higher-layer task-sensitive structure. Our repository is on https://github.com/wzj1718/DiM3.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。