超越逐层合并:面向视觉语言模型的链式合并
Beyond Layer-Wise Merging: Chain-of-Merging for Vision-Language Models
为视觉研究者提供一种免训练的参数级融合手段:把数学/推理专精的 LLM 参数按结构+语义匹配分数自适应地注入 VLM 的不同层,可在不重训的情况下提升 VLM 的数学推理与通用视觉理解,适合作为多模态模型能力扩展的轻量后处理方案。
原文依据 we propose Chain-of-Merging (CoM), a framework that adaptively adjusts merging plans for different images and questions
摘要译文
由模型翻译 · 术语统一 · 请对照原文核对关键结论尽管模型合并在大语言模型(LLM)上已取得显著成功,其在视觉语言模型(VLM)上的应用仍鲜有探索。近期方法试图通过逐层合并整合专门的 LLM 参数来增强 VLM 的推理能力。然而,现有范式存在两个关键局限:(1)严格的位置对应关系,强制要求僵化的一对一层对齐;(2)对所有层施加统一的合并权重。这些约束未能考虑 VLM 与 LLM 各层之间显著的功能差异,可能将不兼容的层错误配对,从而导致有害的参数组合。为解决上述问题,我们提出链式合并(Chain-of-Merging, CoM),一个能够针对不同图像与问题自适应调整合并方案的框架,包含两个关键阶段:(1)自适应层匹配,基于结构与语义匹配分数识别最优层配对,同时过滤不兼容的配对;(2)动态权重合并,依据匹配分数确定各层专属的合并权重,并采用球面线性插值以降低内存开销。大量实验表明,CoM 取得了显著的性能提升:Qwen2.5-VL-7B + Qwen2.5-Math-7B 在数学推理基准上平均提升 4.4%,同时增强了通用视觉理解能力,显著优于现有免训练方法。
英文原文摘要 1510 字符
While model merging has demonstrated remarkable success for large language models (LLMs), its application to vision-language models (VLMs) remains largely underexplored. Recent methods attempt to enhance VLM reasoning capabilities by integrating specialized LLM parameters through layer-wise merging. However, existing paradigms suffer from two critical limitations: (1) strict positional correspondence, enforcing rigid one-to-one layer alignment, and (2) uniform merging weights applied across all layers. These constraints fail to account for substantial functional disparities between VLM and LLM layers, potentially misaligning incompatible layers and leading to detrimental parameter combinations. To address these, we propose Chain-of-Merging (CoM), a framework that adaptively adjusts merging plans for different images and questions, comprising two key stages: (1) Adaptive Layer Matching, which identifies optimal layer pairings based on structural and semantic matching scores while filtering incompatible pairings, and (2) Dynamic Weight Merging, which determines layer-specific merging weights based on matching scores and employs spherical linear interpolation to minimize memory overhead. Extensive experiments demonstrate that CoM achieves substantial performance improvements, with Qwen2.5-VL-7B + Qwen2.5-Math-7B attaining a 4.4% average improvement on mathematical reasoning benchmarks while enhancing general visual understanding, significantly outperforming existing training-free methods.