[Paper Review] M6-T: Exploring Sparse Expert Models and Beyond
This paper proposes expert prototyping, a method that splits experts into k prototypes and uses k top-1 routing to improve performance in sparse expert models while maintaining constant computational cost. The approach enables a 1.1 trillion-parameter model to train 5× faster than a same-scale baseline on just 480 V100 GPUs, outperforming prior SOTA models trained on 2048 TPU cores.
Mixture-of-Experts (MoE) models can achieve promising results with outrageous large amount of parameters but constant computation cost, and thus it has become a trend in model scaling. Still it is a mystery how MoE layers bring quality gains by leveraging the parameters with sparse activation. In this work, we investigate several key factors in sparse expert models. We observe that load imbalance may not be a significant problem affecting model quality, contrary to the perspectives of recent studies, while the number of sparsely activated experts $k$ and expert capacity $C$ in top-$k$ routing can significantly make a difference in this context. Furthermore, we take a step forward to propose a simple method called expert prototyping that splits experts into different prototypes and applies $k$ top-$1$ routing. This strategy improves the model quality but maintains constant computational costs, and our further exploration on extremely large-scale models reflects that it is more effective in training larger models. We push the model scale to over $1$ trillion parameters and implement it on solely $480$ NVIDIA V100-32GB GPUs, in comparison with the recent SOTAs on $2048$ TPU cores. The proposed giant model achieves substantial speedup in convergence over the same-size baseline.
Motivation & Objective
- To investigate key factors affecting model quality and training efficiency in Mixture-of-Experts (MoE) models.
- To address the challenge of scaling sparse expert models efficiently beyond 100 billion parameters.
- To reduce computational cost while improving model performance in extremely large-scale MoE architectures.
- To demonstrate the feasibility of training trillion-parameter MoE models on consumer-grade GPU clusters instead of TPU-based systems.
Proposed method
- Expert prototyping splits each expert into k distinct prototypes, enabling k top-1 routing instead of standard top-k routing.
- Each input token is routed to k separate prototypes using a gating function, with routing decisions made independently per prototype.
- The final output is computed as a weighted sum of the k prototype outputs, using softmax-gated attention over the top-1 selections.
- The method maintains constant FLOPs by avoiding full top-k computation, instead using k independent top-1 routing operations.
- The model is trained using Adafactor optimization with a reduced learning rate (0.005) and scaled weight initialization (σ=0.002) to ensure stability.
- Training is conducted on a cluster of 480 NVIDIA V100-32GB GPUs using the Whale distributed framework with RDMA interconnects.
Experimental results
Research questions
- RQ1Does load imbalance significantly degrade model quality in MoE models?
- RQ2How do the number of activated experts (k) and expert capacity (C) affect MoE performance?
- RQ3Can expert prototyping improve model quality without increasing computational cost?
- RQ4How effective is expert prototyping in training extremely large-scale models (e.g., 100B+ parameters)?
- RQ5Can a trillion-parameter MoE model be efficiently trained on GPU clusters instead of TPU pods?
Key findings
- Load imbalance is not a major issue affecting model quality in MoE models, contrary to prior assumptions.
- Increasing the number of activated experts (k) and expert capacity (C) significantly improves model performance.
- Expert prototyping enables a 5× speedup in convergence for a 1.1 trillion-parameter MoE model compared to a same-scale baseline.
- The 1.1 trillion-parameter expert prototyping model achieves superior performance on 480 V100-32GB GPUs, outperforming prior SOTA models trained on 2048 TPU cores.
- The method maintains constant computational cost while improving model quality, especially in larger-scale settings.
- The model converges significantly faster despite identical FLOPs, demonstrating improved efficiency in training dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.