Merging Experts into One: Improving Computational Efficiency of Mixture of Experts
University of Maryland, College Park(马里兰大学帕克分校);The University of Sydney(悉尼大学);University of Chinese Academy of Sciences(中国科学院大学);JD Explore Academy(京东探索研究院)
Shwai He, Run-Ze Fan, Liang Ding, Li Shen, Tianyi Zhou, Dacheng Tao
Scaling the size of language models usually leads to remarkable advancements in NLP tasks. But it often comes with a price of growing computational cost. Although a sparse Mixture of Experts (MoE) can reduce the cost by activating a small subset of parameters (e.g., one expert) for each input, its computation escalates significantly if increasing the number of activated experts, limiting its practical utility. Can we retain the advantages of adding more experts without substantially increasing the computational costs? In this paper, we first demonstrate the superiority of selecting multiple experts and then propose a computation-efficient approach called \textbf{\texttt{Merging Experts into One}} (MEO), which reduces the computation cost to that of a single expert. Extensive experiments show that MEO significantly improves computational efficiency, e.g., FLOPS drops from 72.0G of vanilla MoE to 28.6G (MEO). Moreover, we propose a token-level attention block that further enhances the efficiency and performance of token-level MEO, e.g., 83.3\% (MEO) vs. 82.6\% (vanilla MoE) average score on the GLUE benchmark. Our code will be released upon acceptance. Code will be released at: \url{https://github.com/Shwai-He/MEO}.
ResMerge: Residual-based Spectral Merging of Large Language Models
Southeast University(东南大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);National University of Singapore(新加坡国立大学);Wuhan University of Technology(武汉理工大学);Peking University(北京大学);Wuhan AI Research(武汉人工智能研究院)
Part-Of-Speech Sensitivity of Routers in Mixture of Experts Models
CNRS(法国国家科学研究中心);Aix-Marseille Université(艾克斯-马赛大学);International Laboratory on Learning Systems (ILLS - IRL CNRS)(国际学习系统实验室);Université de Montréal(蒙特利尔大学)
Multi-level context Modeling for consistent expert selection in Mixture-of-Experts
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);School of AI, The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳)人工智能学院)
Understanding Multilingualism in Mixture-of-Experts LLMs: Routing Mechanism, Expert Specialization, and Layerwise Steering
National University of Singapore(新加坡国立大学);Beijing University of Posts and Telecommunication(北京邮电大学);Harbin Institute of Technology(哈尔滨工业大学);University of Science and Technology of China(中国科学技术大学)
Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-training
NLP Team, Xiaohongshu Inc., Shanghai, China(小红书自然语言处理团队,小红书公司,上海,中国);Tsinghua University, Beijing, China(清华大学,北京,中国);The University of Tokyo, Tokyo, Japan(东京大学,东京,日本)
Tübingen AI Center, University of Tübingen(图宾根大学图宾根人工智能中心);University of Cambridge(剑桥大学);Munich Center for ML, Technical University of Munich(慕尼黑工业大学慕尼黑机器学习中心)
Mila – Quebec AI Institute(Mila – 魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔综合理工学院);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学);AI Center, Samsung, South Korea(三星人工智能中心,韩国);Samsung AI Lab, Montreal(三星人工智能实验室,蒙特利尔)
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(哈佛大学)