The Mixture-of-Experts (MoE) architecture is showing promising results in improving parameter sharing in multi-task learning (MTL) and in scaling high-capacity neural networks. State-of-the-art MoE models use a trainable sparse gate to select a subset of the experts for each input example. While conceptually appealing, existing sparse gates, such as Top-k, are not smooth. The lack of smoothness can lead to convergence and statistical performance issues when training with gradient-based methods. In this paper, we develop DSelect-k: a continuously differentiable and sparse gate for MoE, based on a novel binary encoding formulation. The gate can be trained using first-order methods, such as stochastic gradient descent, and offers explicit control over the number of experts to select. We demonstrate the effectiveness of DSelect-k on both synthetic and real MTL datasets with up to $128$ tasks. Our experiments indicate that DSelect-k can achieve statistically significant improvements in prediction and expert selection over popular MoE gates. Notably, on a real-world, large-scale recommender system, DSelect-k achieves over $22\%$ improvement in predictive performance compared to Top-k. We provide an open-source implementation of DSelect-k.
SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMs
AGH University of Krakow, Poland(克拉科夫AGH大学);Faculty of Mathematics(数学系);Computer Science, Jagiellonian University, Poland(计算机科学系,杰哥利安大学,波兰);Centre for Credible Artificial Intelligence, Warsaw University of Technology(可信人工智能中心,华沙技术大学)
Rethinking Nonlinearity: Trainable Gaussian Mixture Modules for Modern Neural Architectures
Guangdong Institute of Intelligence Science and Technology(广东智能科学与技术研究院);Great Bay University(大湾大学);University of Massachusetts at Amherst(马萨诸塞大学阿姆赫斯特分校)
Differentiable Expectation-Maximisation and Applications to Gaussian Mixture Model Optimal Transport
Université Paris Cité, CNRS, MAP5(巴黎大学、国家科学研究中心、MAP5);CNRS(国家科学研究中心);ENS Paris-Saclay(巴黎-萨克雷大学);ECOLE POLYTECHNIQUE(巴黎高等理工学院);Institut Polytechnique de Paris(巴黎理工学院)
ToMoE: Converting Dense Large Language Models to Mixture-of-Experts through Dynamic Structural Pruning
Department of Computer Science, Florida State University(佛罗里达州立大学计算机科学系);Department of Computer Science and Engineering, University of Notre Dame(圣母大学计算机科学与工程系);Department of Computer Science, University of Maryland, College Park(马里兰大学学院市计算机科学系);Samsung Research America(三星美国研究机构);Department of Computer Science, University of Central Florida(中央佛罗里达大学计算机科学系);Department of Health Outcomes and Biomedical Informatics, University of Florida(佛罗里达大学健康结果与生物医学信息学系)
Multilinear Mixture of Experts: Scalable Expert Specialization through Factorization
Queen Mary University of London(伦敦玛丽女王大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);City University of London(伦敦城市大学);National and Kapodistrian University of Athens(雅典国立卡波迪斯特里亚大学);Archimedes AI, Athena RC(阿基米德人工智能公司,雅典娜研究中心);The Cyprus Institute(塞浦路斯研究所);Imperial College London(帝国理工学院)