Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

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

Published 7 Jun 2021 in cs.LG, math.OC, and stat.ML

Abstract: 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Hussein Hazimeh (19 papers)
  2. Zhe Zhao (97 papers)
  3. Aakanksha Chowdhery (19 papers)
  4. Maheswaran Sathiamoorthy (14 papers)
  5. Yihua Chen (4 papers)
  6. Rahul Mazumder (80 papers)
  7. Lichan Hong (35 papers)
  8. Ed H. Chi (74 papers)
Citations (124)
Github Logo Streamline Icon: https://streamlinehq.com