Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

HMoE: Heterogeneous Mixture of Experts for Language Modeling

About

Mixture of Experts (MoE) offers remarkable performance and computational efficiency by selectively activating subsets of model parameters. Traditionally, MoE models use homogeneous experts, each with identical capacity. However, varying complexity in input data necessitates experts with diverse capabilities, while homogeneous MoE hinders effective expert specialization and efficient parameter utilization. In this study, we propose a novel Heterogeneous Mixture of Experts (HMoE), where experts differ in size and thus possess diverse capacities. This heterogeneity allows for more specialized experts to handle varying token complexities more effectively. To address the imbalance in expert activation, we propose a novel training objective that encourages the frequent activation of smaller experts, enhancing computational efficiency and parameter utilization. Extensive experiments demonstrate that HMoE achieves lower loss with fewer activated parameters and outperforms conventional homogeneous MoE models on various pre-training evaluation benchmarks. Codes will be released upon acceptance.

An Wang, Xingwu Sun, Ruobing Xie, Shuaipeng Li, Jiaqi Zhu, Zhen Yang, Pinxue Zhao, J.N.Han, Zhanhui Kang, Di Wang, Naoaki Okazaki, Cheng-zhong Xu• 2024

Related benchmarks

TaskDatasetResultRank
Physical Commonsense ReasoningPIQA
Accuracy49.02
696
Multitask Language UnderstandingMMLU
Accuracy26.34
263
Social Interaction Question AnsweringSIQA
Accuracy35.62
157
Language ModelingLAMBADA
Accuracy62.25
103
Showing 4 of 4 rows

Other info

Follow for update