Abstract
Standard Mixture of Experts (MoE) models scale capacity efficiently but often suffer from severe load imbalance across hardware devices, leading to computational bottlenecks. This paper introduces Mixture of Grouped Experts (MoGE), a novel routing architecture that structurally guarantees equal workload distribution. We present Pangu Pro MoE, a 72B parameter model (16.5B active) that achieves state-of-the-art reasoning performance and high inference throughput on Ascend NPUs through hardware-algorithm co-design and optimized training pipelines.
The Challenge: Load Imbalance in Sparse Models
Mixture of Experts (MoE) architectures scale parameter counts without a proportional increase in compute cost by activating only a small subset of experts per token. However, standard MoE implementations typically rely on a global "Top-K" routing mechanism. Because experts are distributed across multiple physical devices (e.g., GPUs or NPUs), this often creates a "straggler problem": if the router selects experts concentrated on a single device for a batch of tokens, that device becomes a bottleneck while others remain idle. Existing solutions, such as auxiliary load-balancing losses, only mitigate this issue rather than eliminating it.
Mixture of Grouped Experts (MoGE)
To address the straggler problem, the authors propose Mixture of Grouped Experts (MoGE). Instead of global selection, MoGE divides the total pool of experts into equal, non-overlapping groups, with each group mapped to a specific computational device. The router is constrained to select exactly $K'$ experts from each group, structurally guaranteeing perfect inter-device load balancing (an Imbalance Score of 0), as illustrated in the comparison above.
While MoGE ensures balance between groups, a custom auxiliary loss is applied to maintain even distribution among experts within each group. Analysis suggests that this forced balance does not hinder specialization; experts still develop highly modular, non-overlapping representations, particularly in deeper layers focused on reasoning tasks.
Hardware-Algorithm Co-design
Pangu Pro MoE is built on a foundation of hardware-algorithm co-design, specifically optimized for Huawei's Ascend 300I Duo and 800I A2 NPUs. The model's dimensions—including hidden size and layer count—were determined via system simulators to match NPU memory and bandwidth constraints.
The architecture incorporates Group-Query Attention (GQA) and RMSNorm. To further enhance efficiency, the team developed custom fused operators, such as MulAttention and SwiftGMM, to overlap communication with computation. Additionally, an "expert-aware" W8A8 quantization strategy was introduced to handle activation outliers specific to individual experts, ensuring near-lossless compression.
Training and Evaluation
The model was pre-trained on 13 trillion tokens across three phases: general knowledge, reasoning, and annealing. Post-training involved Supervised Fine-Tuning (SFT) with checkpoint merging and Reinforcement Learning (GRPO) using a multi-source reward system.
Pangu Pro MoE (16.5B active parameters) demonstrates significant performance gains over comparable dense models:
- Reasoning: Achieves 96.8 on MATH-500 and 89.3 on MMLU.
- Inference Speed: On the Ascend 800I A2, it reaches a decode throughput of 1148 tokens/s per card, increasing to 1528 tokens/s with speculative decoding.
- Quantization: The W8A8 strategy maintains high accuracy on rigorous benchmarks like LiveCodeBench and AIME 2024/2025.
Conclusion
Pangu Pro MoE demonstrates that treating MoE routing as a distributed systems problem can eliminate the communication bottlenecks inherent in sparse models. By co-designing the architecture with the underlying NPU topology, the authors achieved a balance of high capacity and extreme efficiency. Future work will extend these techniques to the even larger "Pangu Ultra MoE" model.
Summary updated