OpenMoE: An Early Effort on Open Mixture-of-Experts Language Models
Fuzhao Xue, Zian Zheng, Yao Fu, Jinjie Ni, Zangwei Zheng, Wangchunshu Zhou et al. · 2024 · 277 citationsRead the paper
To help the open-source community have a better understanding of Mixture-of-Experts (MoE) based large language models (LLMs), we train and release OpenMoE, a series of fully open-sourced and reproducible decoder-only MoE LLMs, ranging from 650M to 34B parameters and trained on up to over 1T tokens. Our investigation confirms that MoE-based LLMs can offer a more favorable cost-effectiveness trade-off than dense LLMs, highlighting the potential effectiveness for future LLM development. One more important contribution of this study is an in-depth analysis of the routing mechanisms within our OpenMoE models, leading to three significant findings: Context-Independent Specialization, Early Routing Learning, and Drop-towards-the-End. We discovered that routing decisions in MoE models are predominantly based on token IDs, with minimal context relevance. The token-to-expert assignments are determined early in the pre-training phase and remain largely unchanged. This imperfect routing can result in performance degradation, particularly in sequential tasks like multi-turn conversations, where tokens appearing later in a sequence are more likely to be dropped. Finally, we rethink our design based on the above-mentioned observations and analysis. To facilitate future MoE LLM development, we propose potential strategies for mitigating the issues we found and further improving off-the-shelf MoE LLM designs.
What the full text shows
Working prototype- OpenMoE-8B/32E outperforms TinyLLaMA-1.1B and OpenLLaMA-3B on TriviaQA with lower training cost (Activated params × Total tokens). — 32.7% Exact Match vs 11.2% (TinyLLaMA) and 29.7% (OpenLLaMA) (TriviaQA benchmark)
- OpenMoE models outperform baselines on HumanEval coding tasks. — 10.3% Pass@1 for OpenMoE-34B/32E vs 9.1% for TinyLLaMA-1.1B (HumanEval benchmark)
- Routing decisions are predominantly based on token IDs with minimal context relevance (Context-Independent Specialization). (MoE routing analysis)
- Token-to-expert assignments are determined early in pre-training and remain largely unchanged (Early Routing Learning). (MoE routing analysis)
- Tokens appearing later in a sequence are more likely to be dropped, causing degradation in sequential tasks (Drop-towards-the-End). (Multi-turn conversations)
- OpenMoE-8B/32E shows poor performance on complex reasoning tasks. — 26.2% accuracy (near random guessing) (5-shot MMLU)
- Setup
- Models ranging from 650M to 34B parameters; trained on up to 1T tokens across diverse datasets including RedPajama, The Stack, and GitHub.
- How
- Trained decoder-only MoE LLMs using UL2 and CasualLM objectives, incorporating RoPE position embeddings and SwiGLU activation. Employed data, tensor, and expert parallelism on Google Cloud TPU v3 chips.
- Limitations
- Computational resource constraints prevented larger-scale ablation studies. · Imperfect routing leads to performance degradation in multi-turn conversations. · Model performance on challenging benchmarks like MMLU is near random guessing.
Summarized by Gemma 4 from the open-access full text · 26 Nov 2026. Read it