FuseChat-3.0: Preference Optimization Meets Heterogeneous Model Fusion
本论文介绍了FuseChat-3.0,一个通过集成不同来源的大型语言模型(LLMs)的优势来提升目标LLMs性能的模型融合框架。
更新于 2025-03-10。作者:Ziyi Yang、Fanqi Wan、Longguang Zhong、Canbin Huang、Guosheng Liang、Xiaojun Quan。
中文摘要
我们推出了FuseChat-3.0,这是一套通过将异构源大型语言模型(LLMs)的优势整合到更紧凑的目标LLMs中开发的大语言模型。我们的源模型包括强大的Gemma-2-27B-it、Mistral-Large-Instruct-2407、Qwen-2.5-72B-Instruct和Llama-3.1-70B-Instruct。对于目标模型,我们专注于三种广泛使用的较小变体——Llama-3.1-8B-Instruct、Gemma-2-9B-it和Qwen-2.5-7B-Instruct——以及两种超紧凑选项,Llama-3.2-3B-Instruct和Llama-3.2-1B-Instruct。为了利用这些源模型的多样化能力,我们开发了一种专门的数据构建协议,适用于各种任务和领域。FuseChat-3.0的训练流程包括两个关键阶段:(1)监督微调(SFT),以对齐目标模型和源模型分布;(2)直接偏好优化(DPO),将多个源LLMs的偏好应用于微调目标模型。结果,FuseChat-3.0模型在指令遵循、通用知识、数学和编码等任务上表现出显著的性能提升。如图1所示,以Llama-3.1-8B-Instruct作为目标模型,我们的融合方法在14个基准测试中实现了平均6.8分的提升。此外,它在指令遵循基准测试AlpacaEval-2和Arena-Hard上分别实现了37.1分和30.1分的显著提升。我们的代码、模型和数据集可在https://github.com/SLIT-AI/FuseChat-3.0上获取。
英文摘要
We introduce FuseChat-3.0, a suite of large language models (LLMs) developed by integrating the strengths of heterogeneous source LLMs into more compact target LLMs. Our source models include the powerful Gemma-2-27B-it, Mistral-Large-Instruct-2407, Qwen-2.5-72B-Instruct, and Llama-3.1-70B-Instruct. For target models, we focus on three widely-used smaller variants-Llama-3.1-8B-Instruct, Gemma-2-9B-it, and Qwen-2.5-7B-Instruct-along with two ultra-compact options, Llama-3.2-3B-Instruct and Llama-3.2-1B-Instruct. To leverage the diverse capabilities of these source models, we develop a specialized data construction protocol tailored to various tasks and domains. The FuseChat-3.0 training pipeline consists of two key stages: (1) supervised fine-tuning (SFT) to align the target and source model distributions, and (2) Direct Preference Optimization (DPO) to apply preferences from multiple source LLMs to fine-tune the target model. The resulting FuseChat-3.0 models exhibit significant performance gains across tasks such as instruction following, general knowledge, mathematics, and coding. As illustrated in Figure 1, using Llama-3.1-8B-Instruct as the target model, our fusion approach achieves an average improvement of 6.8 points across 14 benchmarks. Moreover, it demonstrates remarkable gains of 37.1 points and 30.1 points on the instruction-following benchmarks AlpacaEval-2 and Arena-Hard, respectively. Our code, models, and datasets are available at https://github.com/SLIT-AI/FuseChat-3.0.
解读
一句话总结
本论文介绍了FuseChat-3.0,一个通过集成不同来源的大型语言模型(LLMs)的优势来提升目标LLMs性能的模型融合框架。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:现有的LLMs在特定任务上可能表现出色,但在其他任务上可能存在局限性,导致整体性能不均衡。
- 现有方案不足:现有的模型融合方法存在计算成本高、泛化能力有限、融合过程复杂等问题。
- 研究目标:开发一个高效的模型融合框架,通过集成不同来源的LLMs的优势,提升目标LLMs在多个任务上的性能。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种名为隐式模型融合(IMF)的方法,通过直接从源LLMs的输出中学习,避免了复杂的融合过程。
- 方法改进:开发了专门的数据构建协议,用于针对不同任务和领域生成多样化的数据集。
- 优势:实现了模型性能的提升,同时降低了计算成本,提高了泛化能力。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在14个基准测试中评估了FuseChat-3.0的性能,包括指令遵循、一般知识、数学和编码等任务。
- 性能提升:使用Llama-3.1-8B-Instruct作为目标模型时,平均性能提升了6.8分,在指令遵循任务上提升了37.1分和30.1分。
- 对比结果:与Tülu 3相比,FuseChat-3.0在所有评估类别中均表现出更好的性能。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于需要跨多个任务领域进行知识融合的应用,如智能客服、代码生成和问答系统等。
- 实施建议:建议在目标LLMs中选择合适的模型,并根据具体任务需求调整数据构建协议。
- 局限与展望:目前方法主要针对文本任务,未来可以扩展到其他类型的数据和任务,并进一步提高模型的泛化能力。
来源
机器可读索引:llms.txt