Pangu Pro MoE: Mixture of Grouped Experts for Efficient Sparsity

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Tang, Yehui, Li, Xiaosong, Liu, Fangcheng, Guo, Wei, Zhou, Hang, Wang, Yaoyuan, Han, Kai, Yu, Xianzhi, Li, Jinpeng, Zang, Hui, Mi, Fei, Meng, Xiaojun, Liu, Zhicheng, Chen, Hanting, Zheng, Binfan, Chen, Can, Yan, Youliang, Tang, Ruiming, Qin, Peifeng, Chen, Xinghao, Tao, Dacheng, Wang, Yunhe
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909625879625728
author Tang, Yehui
Li, Xiaosong
Liu, Fangcheng
Guo, Wei
Zhou, Hang
Wang, Yaoyuan
Han, Kai
Yu, Xianzhi
Li, Jinpeng
Zang, Hui
Mi, Fei
Meng, Xiaojun
Liu, Zhicheng
Chen, Hanting
Zheng, Binfan
Chen, Can
Yan, Youliang
Tang, Ruiming
Qin, Peifeng
Chen, Xinghao
Tao, Dacheng
Wang, Yunhe
author_facet Tang, Yehui
Li, Xiaosong
Liu, Fangcheng
Guo, Wei
Zhou, Hang
Wang, Yaoyuan
Han, Kai
Yu, Xianzhi
Li, Jinpeng
Zang, Hui
Mi, Fei
Meng, Xiaojun
Liu, Zhicheng
Chen, Hanting
Zheng, Binfan
Chen, Can
Yan, Youliang
Tang, Ruiming
Qin, Peifeng
Chen, Xinghao
Tao, Dacheng
Wang, Yunhe
contents The surgence of Mixture of Experts (MoE) in Large Language Models promises a small price of execution cost for a much larger model parameter count and learning capacity, because only a small fraction of parameters are activated for each input token. However, it is commonly observed that some experts are activated far more often than others, leading to system inefficiency when running the experts on different devices in parallel. Therefore, we introduce Mixture of Grouped Experts (MoGE), which groups the experts during selection and balances the expert workload better than MoE in nature. It constrains tokens to activate an equal number of experts within each predefined expert group. When a model execution is distributed on multiple devices, this architectural design ensures a balanced computational load across devices, significantly enhancing throughput, particularly for the inference phase. Further, we build Pangu Pro MoE on Ascend NPUs, a sparse model based on MoGE with 72 billion total parameters, 16 billion of which are activated for each token. The configuration of Pangu Pro MoE is optimized for Ascend 300I Duo and 800I A2 through extensive system simulation studies. Our experiments indicate that MoGE indeed leads to better expert load balancing and more efficient execution for both model training and inference on Ascend NPUs. The inference performance of Pangu Pro MoE achieves 1148 tokens/s per card and can be further improved to 1528 tokens/s per card by speculative acceleration, outperforming comparable 32B and 72B Dense models. Furthermore, we achieve an excellent cost-to-performance ratio for model inference on Ascend 300I Duo. Our studies show that Ascend NPUs are capable of training Pangu Pro MoE with massive parallelization to make it a leading model within the sub-100B total parameter class, outperforming prominent open-source models like GLM-Z1-32B and Qwen3-32B.
format Preprint
id arxiv_https___arxiv_org_abs_2505_21411
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Pangu Pro MoE: Mixture of Grouped Experts for Efficient Sparsity
Tang, Yehui
Li, Xiaosong
Liu, Fangcheng
Guo, Wei
Zhou, Hang
Wang, Yaoyuan
Han, Kai
Yu, Xianzhi
Li, Jinpeng
Zang, Hui
Mi, Fei
Meng, Xiaojun
Liu, Zhicheng
Chen, Hanting
Zheng, Binfan
Chen, Can
Yan, Youliang
Tang, Ruiming
Qin, Peifeng
Chen, Xinghao
Tao, Dacheng
Wang, Yunhe
Computation and Language
The surgence of Mixture of Experts (MoE) in Large Language Models promises a small price of execution cost for a much larger model parameter count and learning capacity, because only a small fraction of parameters are activated for each input token. However, it is commonly observed that some experts are activated far more often than others, leading to system inefficiency when running the experts on different devices in parallel. Therefore, we introduce Mixture of Grouped Experts (MoGE), which groups the experts during selection and balances the expert workload better than MoE in nature. It constrains tokens to activate an equal number of experts within each predefined expert group. When a model execution is distributed on multiple devices, this architectural design ensures a balanced computational load across devices, significantly enhancing throughput, particularly for the inference phase. Further, we build Pangu Pro MoE on Ascend NPUs, a sparse model based on MoGE with 72 billion total parameters, 16 billion of which are activated for each token. The configuration of Pangu Pro MoE is optimized for Ascend 300I Duo and 800I A2 through extensive system simulation studies. Our experiments indicate that MoGE indeed leads to better expert load balancing and more efficient execution for both model training and inference on Ascend NPUs. The inference performance of Pangu Pro MoE achieves 1148 tokens/s per card and can be further improved to 1528 tokens/s per card by speculative acceleration, outperforming comparable 32B and 72B Dense models. Furthermore, we achieve an excellent cost-to-performance ratio for model inference on Ascend 300I Duo. Our studies show that Ascend NPUs are capable of training Pangu Pro MoE with massive parallelization to make it a leading model within the sub-100B total parameter class, outperforming prominent open-source models like GLM-Z1-32B and Qwen3-32B.
title Pangu Pro MoE: Mixture of Grouped Experts for Efficient Sparsity
topic Computation and Language
url https://arxiv.org/abs/2505.21411