arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03760cs.LGmath.OCstat.ML
收藏

DSelect-k:混合专家模型中的可微选择及其在多任务学习中的应用

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

Google(谷歌);Massachusetts Institute of Technology(麻省理工学院)

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

摘要:

混合专家(MoE)架构在改善多任务学习(MTL)中的参数共享和扩展大容量神经网络方面显示出良好的效果。最先进的MoE模型使用可训练的稀疏门来为每个输入示例选择专家的子集。虽然在概念上很吸引人,但现有的稀疏门(如Top-k)并不平滑。在使用基于梯度的方法进行训练时,缺乏平滑性可能会导致收敛和统计性能问题。在本文中,我们开发DSelect-k:连续可微和稀疏门MoE,基于一种新的二进制编码制定。该门可以使用一阶方法(如随机梯度下降)进行训练,并提供对要选择的专家数量的显式控制。我们证明了DSelect-k在合成和真实MTL数据集上的有效性,最多可执行$128$任务。我们的实验表明,DSelect-k可以实现统计上显着的改进,预测和专家选择流行的MoE门。值得注意的是,在真实世界的大规模推荐系统中,与Top-k相比,DSelect-k在预测性能上实现了超过$22\%$的改进。我们提供了DSelect-k的开源实现。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑