arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.00406cs.LG
收藏

MoD:一种基于分布的大语言模型融合方法

MoD: A Distribution-Based Approach for Merging Large Language Models

Knovel Engineering Lab(诺维尔工程实验室);VNU University of Science(越南国家大学科学大学)

Quy-Anh Dang, Chris Ngo

AI总结:

针对大语言模型专用变体维护部署成本高的问题,提出直接基于输出概率分布融合的MoD框架,可保留各模型专用能力并实现跨任务知识共享,在数学推理基准上表现优于现有融合方法。

摘要:

大语言模型(LLM)已推动了众多专用的、面向特定任务的模型变体的发展。然而,这些独立模型的维护与部署在资源利用和运营效率方面带来了巨大挑战。本研究提出了Mixture of Distributions(MoD,分布混合)框架,这是一种全新的LLM融合方法,它直接作用于模型的输出概率分布,而非模型权重。与传统的权重平均方法不同,MoD能够有效保留各个模型的专用能力,同时实现跨任务的高效知识共享。我们使用Qwen2.5模型在数学推理基准上开展了大量实验,结果表明MoD在多个基准上显著优于现有的模型融合技术。所有代码、数据和实验材料均已发布在https://github.com/knovel-eng/mod。

英文摘要:

Large language models (LLMs) have enabled the development of numerous specialized, task-specific variants. However, the maintenance and deployment of these individual models present substantial challenges in terms of resource utilization and operational efficiency. In this work, we propose the \textit{Mixture of Distributions (MoD)} framework, a novel approach for merging LLMs that operates directly on their output probability distributions, rather than on model weights. Unlike traditional weight-averaging methods, MoD effectively preserves the specialized capabilities of individual models while enabling efficient knowledge sharing across tasks. Through extensive experimentation on mathematical reasoning benchmarks using Qwen2.5 models, we demonstrate that MoD significantly outperforms existing model merging techniques across multiple benchmarks. All code, data, and experimental materials are published at https://github.com/knovel-eng/mod.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑