Multi-task learning (MTL) leverages a shared model to accomplish multiple tasks and facilitate knowledge transfer. Recent research on task arithmetic-based MTL demonstrates that merging the parameters of independently fine-tuned models can effectively achieve MTL. However, existing merging methods primarily seek a static optimal solution within the original model parameter space, which often results in performance degradation due to the inherent diversity among tasks and potential interferences. To address this challenge, in this paper, we propose a Weight-Ensembling Mixture of Experts (WEMoE) method for multi-task model merging. Specifically, we first identify critical (or sensitive) modules by analyzing parameter variations in core modules of Transformer-based models before and after finetuning. Then, our WEMoE statically merges non-critical modules while transforming critical modules into a mixture-of-experts (MoE) structure. During inference, expert modules in the MoE are dynamically merged based on input samples, enabling a more flexible and adaptive merging approach. Building on WEMoE, we further introduce an efficient-and-effective WEMoE (E-WEMoE) method, whose core mechanism involves eliminating non-essential elements in the critical modules of WEMoE and implementing shared routing across multiple MoE modules, thereby significantly reducing both the trainable parameters, the overall parameter count, and computational overhead of the merged model by WEMoE. Experimental results across various architectures and tasks demonstrate that both WEMoE and E-WEMoE outperform state-of-the-art (SOTA) model merging methods in terms of MTL performance, generalization, and robustness.
Merging Multi-Task Models via Weight-Ensembling Mixture of Experts
National Engineering Research Center for Multimedia Software(国家多媒体软件工程技术研究中心);School of Computer Science, Wuhan University(武汉大学计算机学院);Hubei Luojia Laboratory(湖北珞珈实验室);Sun Yat-sen University(中山大学);JD Explore Academy(京东探索研究院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Nanyang Technological University(南洋理工大学)
Expert Merging in Sparse Mixture of Experts with Nash Bargaining
Department of Mathematics, National University of Singapore(新加坡国立大学数学系);Viettel AI, Viettel Group(越南电信AI部门);Faculty of Mathematics and Informatics, Hanoi University of Science and Technology(河内科学技术大学数学与信息学系);Bar Ilan University, Israel(以色列巴伊兰大学);AI Imaging Team, Data Solution Department, FPT Software Japan(日本FPT软件数据解决方案部门AI成像团队)
Multi-Study Boosting: Theoretical Considerations for Merging vs. Ensembling
Harvard T.H. Chan School of Public Health(哈佛陈曾熙公共卫生学院);Dana-Farber Cancer Institute(达纳-法伯癌症研究所);Harvard University(哈佛大学);Boston University School of Public Health(波士顿大学公共卫生学院)
Merging versus Ensembling in Multi-Study Prediction: Theoretical Insight from Random Effects
Massachusetts General Hospital(麻省总医院);Dana Farber Cancer Institute(丹娜法伯癌症研究院);Harvard T.H. Chan School of Public Health(哈佛陈曾熙公共卫生学院);Boston University School of Public Health(波士顿大学公共卫生学院)
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(三星美国研究院)
Rethinking LLM Ensembling from the Perspective of Mixture Models
Key Laboratory of New Generation Artificial Intelligence Technology(新一代人工智能技术关键实验室);Its Interdisciplinary Applications (Southeast University), Ministry of Education(交叉应用(东南大学),教育部);Southeast University(东南大学);Centre for Frontier AI Research (CFAR), Agency for Science, Technology(前沿人工智能研究(CFAR),科技研究局);Research (A STAR), Singapore(研究(A STAR),新加坡);Institute of High Performance Computing (IHPC), Agency for Science, Technology(高性能计算(IHPC),科技研究局)
Faster, Smaller, and Smarter: Task-Aware Expert Merging for Online MoE Inference
National Key Research and Development Program of China(国家重点研发计划);Shenzhen Science and Technology Program(深圳科技计划);National Natural Science Foundation of China(国家自然科学基金)
Mila – Quebec AI Institute(Mila – 魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔综合理工学院);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学);AI Center, Samsung, South Korea(三星人工智能中心,韩国);Samsung AI Lab, Montreal(三星人工智能实验室,蒙特利尔)
Evolutionary Soups: Evolving Mixture-of-Experts for Multi-Objective LLM Alignment
Fraunhofer Institute for Applied Information Technology FIT(弗劳恩霍夫应用信息技术研究所FIT);University of Cologne(科隆大学);University of Stuttgart(斯图加特大学);University of Southampton(南安普顿大学);Soochow University(苏州大学);University Hospital of Cologne(科隆大学医院)
Towards Efficient Pareto Set Approximation via Mixture of Experts Based Model Fusion
School of Computer Science, Wuhan University(武汉大学计算机学院);School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);University of Oxford(牛津大学);School of Computer Science, Beijing Institute of Technology(北京理工大学计算机学院);Nanyang Technological University(南洋理工大学)
FlyLoRA: Boosting Task Decoupling and Parameter Efficiency via Implicit Rank-Wise Mixture-of-Experts
Department of Automation, Tsinghua University(自动化系,清华大学);Academy of Medical Engineering and Translational Medicine, Tianjin University(医学工程与转化医学学院,天津大学)
Fast Model Selection and Stable Optimization for Softmax-Gated Multinomial-Logistic Mixture of Experts Models
School of Computing, National University of Singapore, Singapore.(新加坡国立大学计算机学院);ARC Centre of Excellence for the Mathematical Analysis of Cellular Systems(细胞系统数学分析卓越研究中心);School of Mathematical Sciences, Queensland University of Technology, Brisbane, Australia.(昆士兰科技大学数学科学学院);Department of Statistics and Data Science, University of Texas at Austin, Austin, USA(德克萨斯大学奥斯汀分校统计与数据科学系)
Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy
The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);The University of Texas at Austin(德克萨斯大学奥斯汀分校);The Chinese University of Hong Kong(香港中文大学);MIT(麻省理工学院);Harvard University(哈佛大学)