Abstract
Mixture-of-Experts (MoE) architectures are renowned for their compute efficiency, yet fair comparisons with dense models are often complicated by differences in total parameter counts or training data. This study addresses this gap by comparing MoE and dense models under strictly equal total parameters ($N$), training compute ($C$), and data budget ($D$). The researchers identify a universal optimal activation rate of approximately 20% across scales. Furthermore, they demonstrate that MoEs are remarkably resilient to data reuse, allowing them to surpass dense models even when high-quality unique data is limited.
Introduction: The "Strictly Equal Resources" Challenge
In the landscape of Large Language Models (LLMs), Mixture-of-Experts (MoE) is often praised for its ability to utilize massive parameter counts while activating only a fraction for any given token. However, typical comparisons are lopsided: MoEs usually have far more total parameters or are trained on different data volumes. This paper tackles a fundamental question: If you have a fixed budget of total parameters, training compute, and data, which architecture actually performs better? This "strictly equal resources" comparison is critical for developers limited by hardware memory or finite high-quality datasets.
Methods: A Framework for Fair Comparison
The researchers proposed a three-step experimental framework to ensure an "apples-to-apples" comparison:
- Greedy Architecture Optimization: They identified a "1dense+SE" configuration (one dense layer followed by MoE layers with shared experts) as the most stable backbone.
- Activation Rate (AR) Analysis: By keeping total parameters and compute fixed while varying the ratio of active parameters, they sought the "sweet spot" for expert specialization.
- Data Reuse Strategy: To match the compute budget of dense models without increasing the unique data budget, the authors employed multi-epoch training (data reuse).
Key Insights: The 20% Activation Rate and Size Independence
The most significant finding is the existence of an optimal activation rate (AR) of approximately 20%. If the AR is too low (<10%), the model lacks per-token knowledge capacity; if too high (>50%), experts fail to specialize. Surprisingly, this 20% optimal AR remained consistent across 2B, 3B, and 7B scales, suggesting a universal architectural principle.
Key Results: Architectural Superiority and Data Efficiency
Under identical resource constraints, MoE models consistently achieved lower validation loss (BPC) than dense models. Notably, a 7B MoE model with the optimal 20% AR outperformed a dense model of the same size even when the dense model was given twice the training compute.
Furthermore, MoEs proved robust to data reuse. Using a strict data reuse strategy—re-shuffling a smaller dataset to match compute—resulted in only a negligible performance drop compared to using entirely unique data. This suggests that MoE routers may actually benefit from multiple epochs by refining their routing decisions over time.
On downstream benchmarks like MMLU and GSM8K, the 7B MoE (20% AR) showed significant leads over dense baselines, particularly in reasoning and mathematical tasks.
Limitations and Future Work
While the study involved training hundreds of models, it peaked at the 7B parameter scale. Whether these findings hold for 70B+ models remains to be verified. Future research could explore how these optimal activation rates interact with "upcycling" pre-trained dense models and further investigate the internal mechanics of router specialization during multi-epoch training.
Summary updated