Scaling Laws for Upcycling Mixture-of-Experts Language Models

Seng Pei Liew, Takuya Kato, Sho Takase · DOI

Pretraining Large Language Models (LLMs) represents a massive investment in time and computational resources. To optimize this process, researchers frequently employ "upcycling"—a technique that transforms a pretrained dense model into a Sparse Mixture-of-Experts (MoE) model. While high-profile models like Mixtral have utilized this approach, the research community has faced conflicting evidence regarding its efficiency.

A recent study from researchers at SB Intuitions establishes formal scaling laws for MoE upcycling, providing a mathematical framework to predict when upcycling is advantageous over training from scratch.

The Upcycling Mechanism

Upcycling aims to leverage the "sunk cost" of a pretrained dense model to accelerate the development of an MoE model. The process typically involves initializing the MoE with the weights of the dense model, specifically by replicating the dense Multi-Layer Perceptron (MLP) weights across multiple experts and introducing a randomized router.

Architectural comparison of dense model upcycling into a Sparse MoE.

Methodology

The researchers conducted controlled experiments with models ranging from 15 million to 1 billion parameters, upcycled into MoEs with up to 7 billion total parameters. They utilized a Warmup-Stable-Decay (WSD) learning rate schedule, allowing them to simulate various initial training durations ($D_1$) and subsequent upcycling budgets ($D_2$). The results were fitted to a modified version of the Chinchilla scaling laws, validated across diverse datasets including English, Japanese, and source code.

Key Insights: The Interaction Term

The study's most significant discovery is a novel "interaction term" in the scaling laws. The researchers found that the efficiency of MoE training is not static; it depends on the extent of the original dense model's training. The proposed formula is:

$L \approx AD_1^{-\alpha_1} D_2^{-\alpha_2 + \alpha_3 \log D_1} + E$

The term $+\alpha_3 \log D_1$ indicates that as the dense model ($D_1$) becomes more optimized, the rate of improvement during the MoE phase ($D_2$) slows down. This occurs because highly optimized experts are deeper in local minima, making it harder for the router to facilitate specialization.

Key Results and the Efficiency Boundary

Upcycling provides a substantial "head start," potentially saving over 100% of the tokens spent on the initial dense model. However, this advantage is finite. The researchers identified a "break-even" point ($D^*$). If the budget for additional training exceeds this threshold, training an MoE from scratch becomes the more efficient choice.

The efficiency boundary between upcycling and from-scratch MoE training.

Furthermore, the study found that increasing sparsity (the number of experts) consistently improves performance in the upcycling regime without the typical trade-offs. However, for massive compute budgets starting from zero, direct MoE training remains the most compute-optimal path.

Limitations and Conclusion

While the empirical evidence for the interaction term is robust, the theoretical mechanism behind its logarithmic relationship requires further investigation. Additionally, the study focused on standard Top-K routing and did not explore variants like shared experts.

In summary, this research provides a vital roadmap for LLM development. Upcycling is an exceptionally efficient "shortcut" for limited budgets and existing models, but it does not replace the long-term optimality of training MoE architectures from scratch for the highest levels of performance.

Summary updated

BibTeX
@inproceedings{liew2025scaling,
  author = {Seng Pei Liew and Takuya Kato and Sho Takase},
  title = {{Scaling Laws for Upcycling Mixture-of-Experts Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=ZBBo19jldX},
}
Figure