基于纳什谈判的稀疏混合专家模型专家合并
Expert Merging in Sparse Mixture of Experts with Nash Bargaining
AI总结:
针对稀疏混合专家模型缺乏原则性加权机制的专家合并问题,提出基于纳什谈判的NAMEx框架,实现专家间更平衡高效的协作,在多项任务中优于现有方法。
摘要:
现有的稀疏混合专家模型(SMoE)专家合并策略通常依赖于输入相关或输入无关的专家参数平均,但往往缺乏原则性的加权机制。在这项工作中,我们通过博弈论的视角重新解释专家合并,揭示了专家之间的合作与竞争动态。基于这一视角,我们引入了专家纳什合并(NAMEx),这是一个将纳什谈判融入合并过程的新框架,使专家之间能够实现更平衡和高效的协作。此外,我们将复杂动量纳入NAMEx,以加速专家传播,并提供了收敛的理论保证。在语言建模、文本分类、图像分类以及数据损坏下的零样本鲁棒性等广泛实验中,NAMEx始终优于竞争方法,同时与流行的MoE架构无缝集成。最后,我们通过将NAMEx应用于大规模系统(包括Qwen1.5-MoE (14B)和DeepSeek-MoE (16B))展示了其可扩展性,在零样本和微调设置中均证明了其有效性。代码公开于:https://github.com/anh147/NAMEx。
英文摘要:
Existing expert merging strategies for Sparse Mixture of Experts (SMoE) typically rely on input-dependent or input-independent averaging of expert parameters, but often lack a principled weighting mechanism. In this work, we reinterpret expert merging through the lens of game theory, revealing cooperative and competitive dynamics among experts. Based on this perspective, we introduce Nash Merging of Experts (NAMEx), a novel framework that incorporates Nash Bargaining into the merging process, enabling more balanced and efficient collaboration among experts. Additionally, we incorporate complex momentum into NAMEx to accelerate expert propagation with theoretical guarantees for convergence. Extensive experiments across language modelling, text classification, image classification, and zero-shot robustness under data corruption show that NAMEx consistently outperforms competing methods while integrating seamlessly with popular MoE architectures. Finally, we demonstrate NAMEx's scalability by applying it to large-scale systems, including Qwen1.5-MoE (14B) and DeepSeek-MoE (16B), where it proves effective in both zero-shot and fine-tuning settings. The code is publicly available at: https://github.com/anh147/NAMEx.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。