提出新方法合并不同专家模型,提升性能并减少调优成本
MergeME: Model Merging Techniques for Homogeneous and Heterogeneous MoEs
- 设计抗参数干扰策略与路由启发式方法,避免合并后性能下降
- 在多领域实验中显著降低对微调的依赖,优于现有最优方法
- 支持异构架构专家模型合并,适用范围更广
专用大语言模型在数学推理和编程等领域的成功,推动了将多个专家模型合并为统一的混合专家(MoE)模型的研究。然而,现有方法仅适用于同构架构,依赖简单平均合并专家层,导致参数冲突且需大量微调以恢复性能。本文提出新合并技术,包括缓解参数干扰的方法、减少微调需求的路由启发式策略,以及支持异构架构的专家合并方案。多领域实验证明,该方法显著降低微调成本,提升性能,并扩展了MoE合并的应用场景。
原文摘要 · Abstract (English)
The recent success of specialized Large Language Models (LLMs) in domains such as mathematical reasoning and coding has led to growing interest in methods for merging these expert LLMs into a unified Mixture-of-Experts (MoE) model, with the goal of enhancing performance in each domain while retaining effectiveness on general tasks. However, the effective merging of expert models remains an open challenge, especially for models with highly divergent weight parameters or different architectures. State-of-the-art MoE merging methods only work with homogeneous model architectures and rely on simple unweighted averaging to merge expert layers, which does not address parameter interference and requires extensive fine-tuning of the merged MoE to restore performance. To address these limitations, this paper introduces new MoE merging techniques, including strategies to mitigate parameter interference, routing heuristics to reduce the need for MoE fine-tuning, and a novel method for merging experts with different architectures. Extensive experiments across multiple domains demonstrate the effectiveness of our proposed methods, reducing fine-tuning costs, improving performance over state-of-the-art methods, and expanding the applicability of MoE merging.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。