arXiv:2505.10833cs.LG2025-05NeurIPS被引 31

评测大模型领域融合效果,帮开发者选对合并方法

MergeBench: A Benchmark for Merging Domain-Specialized LLMs

  • 用参数算术合并多个垂直领域小模型,避免重新训练
  • 在5个领域测试8种方法,发现强基座模型更易保留知识
  • 适合研究模型融合或想低成本部署多任务大模型的人

模型合并通过参数算术将多个领域微调过的模型合并,提供一种无需联合训练或全部数据的可扩展替代方案。尽管近期方法表现良好,但现有评估在模型规模和任务多样性上仍显不足,难以验证其在大型领域专用大模型上的适用性。为此,我们提出 MergeBench,一个大规模评估基准。该基准基于 Llama 与 Gemma 系列(2B 到 9B 规模)的开源模型,覆盖指令遵循、数学、多语言理解、编程和安全五大关键领域。统一微调与评估流程,对八种代表性合并方法进行多任务性能、遗忘程度与运行效率的评估。实验表明,合并效果在更强基座模型上更优,系数调优与稀疏化可提升知识保留;但仍面临大模型计算开销高、领域内性能低于多任务模型、以及合并技术尚未融入标准训练流程等挑战。项目主页:https://yifei-he.github.io/mergebench/

原文摘要 · Abstract (English)

Model merging provides a scalable alternative to multi-task training by combining specialized finetuned models through parameter arithmetic, enabling efficient deployment without the need for joint training or access to all task data. While recent methods have shown promise, existing evaluations are limited in both model scale and task diversity, leaving open questions about their applicability to large, domain-specialized LLMs. To tackle the challenges, we introduce MergeBench, a comprehensive evaluation suite designed to assess model merging at scale. MergeBench builds on state-of-the-art open-source language models, including Llama and Gemma families at 2B to 9B scales, and covers five key domains: instruction following, mathematics, multilingual understanding, coding and safety. We standardize finetuning and evaluation protocols, and assess eight representative merging methods across multi-task performance, forgetting and runtime efficiency. Based on extensive experiments, we provide practical guidelines for algorithm selection and share insights showing that model merging tends to perform better on stronger base models, with techniques such as merging coefficient tuning and sparsification improving knowledge retention. However, several challenges remain, including the computational cost on large models, the gap for in-domain performance compared to multi-task models, and the underexplored role of model merging in standard LLM training pipelines. We hope MergeBench provides a foundation for future research to advance the understanding and practical application of model merging. Our project page is at \href{https://yifei-he.github.io/mergebench/}{https://yifei-he.github.io/mergebench/}.

模型融合大模型评测基准LLM

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。