On the Representation Collapse of Sparse Mixture of Experts
Chi, Zewen, Dong, Li, Huang, Shaohan, Dai, Damai, Ma, Shuming, Patra, Barun, Singhal, Saksham, Bajaj, Payal, Song, Xia, Mao, Xian-Ling, Huang, Heyan, Wei, Furu
–arXiv.org Artificial Intelligence
Sparse mixture of experts provides larger model capacity while requiring a constant computational overhead. It employs the routing mechanism to distribute input tokens to the best-matched experts according to their hidden representations. However, learning such a routing mechanism encourages token clustering around expert centroids, implying a trend toward representation collapse. In this work, we propose to estimate the routing scores between tokens and experts on a low-dimensional hypersphere. We conduct extensive experiments on cross-lingual language model pre-training and fine-tuning on downstream tasks. Experimental results across seven multilingual benchmarks show that our method achieves consistent gains. We also present a comprehensive analysis on the representation and routing behaviors of our models. Our method alleviates the representation collapse issue and achieves more consistent routing than the baseline mixture-of-experts methods.
arXiv.org Artificial Intelligence
Oct-12-2022
- Country:
- North America
- United States (0.14)
- Canada > British Columbia
- Europe
- Italy > Tuscany
- Florence (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Italy > Tuscany
- Asia
- North America
- Genre:
- Research Report (0.82)
- Technology: