大语言模型(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.
Mitigating Catastrophic Forgetting in Language Transfer via Model Merging
INSAIT, Sofia University “St. Kliment Ohridski”(INSAIT、索菲亚大学“圣·克利门特·奥赫里德斯基”);ETH Zurich(苏黎世联邦理工学院);University of Chicago(芝加哥大学);Together AI;Google DeepMind(谷歌DeepMind)
Extra-Merge: Tracing the Rank-1 Subspace of Model Merging in Language Model Pre-Training
School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences, Beijing, China(中国科学院大学先进交叉学科学院);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, China(中国科学院人工智能安全国家重点实验室);University of Chinese Academy of Sciences, China(中国科学院大学);Alibaba Group, China(阿里巴巴集团);School of Mathematics, Southeast University, Nanjing, China(东南大学数学学院)
Merging Methods for Multilingual Knowledge Editing for Large Language Models: An Empirical Odyssey
Department of Computer Science and Engineering, POSTECH(POSTECH计算机科学与工程系);Designovel Co., Ltd.(Designovel公司);LLSOLLU;Graduate School of Artificial Intelligence, POSTECH(POSTECH人工智能研究生院)
FRISM: Fine-Grained Reasoning Injection via Subspace-Level Model Merging for Vision-Language Models
College of Future Information Technology, Fudan University, Shanghai, China(复旦大学未来信息科技学院,中国);Shanghai Innovation Institute, China(上海创新研究院,中国);The Chinese University of Hong Kong, China(香港中文大学,中国);Harbin Institute of Technology, China(哈尔滨工业大学,中国);Shanghai Artificial Intelligence Laboratory, China(上海人工智能实验室,中国);Sun Yat-Sen University, Shenzhen, China(暨南大学深圳校区,中国)
Retraining-Free Merging of Sparse MoE via Hierarchical Clustering
National Tsing Hua University(国立清华大学);National Taiwan University(国立台湾大学);University of Toronto(多伦多大学);NVIDIA AI Technology Center (NVAITC)(NVIDIA AI技术中心);Samsung Research America(三星美国研究院)
City University of Hong Kong(香港城市大学);Tencent Jarvis Lab(腾讯 Jarvis 实验室);University of Technology Sydney(悉尼大学);University of Queensland(昆士兰大学);Jilin University(吉林大学);Westlake University(西湖大学)
A Cascading Cooperative Multi-agent Framework for On-ramp Merging Control Integrating Large Language Models
Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Department of Computer Science & Engineering, University of Minnesota(明尼苏达大学计算机科学与工程系);Department of Mechanical Engineering & Materials Science, Yale University(耶鲁大学机械工程与材料科学系);Computer Vision, BYD COMPANY LIMITED(计算机视觉,比亚迪有限公司);School of Architecture, University of Texas at Austin(德克萨斯大学奥斯汀分校建筑学院);Faculty of Applied Science & Engineering, University of Toronto(多伦多大学应用科学与工程学院)
Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities
Shenzhen Campus of Sun Yat-sen University, China(中山大学深圳校区);Northeastern University China(东北大学);Shenzhen Campus of Sun Yat-sen University China(中山大学深圳校区);Nanyang Technological University Singapore(南洋理工大学);Northeastern University(东北大学);Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);Nanyang Technological University(南洋理工大学);Institute for Clarity in Documentation Dublin Ohio USA(文档清晰研究所);Inria Paris-Rocquencourt Rocquencourt France(巴黎-罗quentourt研究所);Rajiv Gandhi University Doimukh Arunachal Pradesh India(拉贾·甘地大学);Tsinghua University Haidian Qu Beijing Shi China(清华大学);Palmer Research Laboratories San Antonio Texas USA(帕勒研究中心);Institute for Clarity in Documentation(文档清晰研究所);Inria Paris-Rocquencourt(巴黎-罗quentourt研究所);Rajiv Gandhi University(拉贾·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕勒研究中心)
School of Computation, Information and Technology, Technical University of Munich(计算、信息与技术学院,慕尼黑技术大学);Helmholtz Munich(海德堡-慕尼黑研究中心);Tübingen AI Center, University of Tübingen(图宾根人工智能中心,图宾根大学)