DSelect-k: Differentiable Selection in the Mixture of Experts with Applications to Multi-Task Learning

By Hussein Hazimeh, Zhe Zhao, Aakanksha Chowdhery, M. Sathiamoorthy, Yihua Chen, Rahul Mazumder, Lichan Hong, Ed H. Chi. 2021

204 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Information Systems, Management Science and Operations Research, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Quoc V. Le
  2. Luke S. Zettlemoyer
  3. Jianfeng Gao
  4. Mohit Bansal
  5. Percy Liang
  6. Neil Houlsby
  7. Ruslan Salakhutdinov
  8. Graham Neubig

In Information Systems

  1. Guillaume Lample
  2. Marie-Anne Lachaux
  3. Wen-tau Yih
  4. Bin Cui
  5. Hao Ma
  6. Jiawei Han
  7. Carlos Riquelme
  8. Albert Qiaochu Jiang

In Management Science and Operations Research

  1. Marie-Anne Lachaux
  2. Teven Le Scao
  3. Wen-tau Yih
  4. Bin Cui
  5. Hao Ma
  6. Jiawei Han
  7. Carlos Riquelme
  8. Joan Puigcerver

In Model Architectures

  1. Irwan Bello
  2. Quoc V. Le
  3. William Fedus
  4. Neil Houlsby
  5. Barret Zoph
  6. Joseph Dean
  7. Noam Shazeer
  8. Yanping Huang

Citations in the corpus