scimeatlas

Research map / Architectures and efficiency / Mixture of experts

DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models

Damai Dai, Chengqi Deng, Chenggang Zhao, Runxin Xu, Huazuo Gao, Deli Chen, Jiashi Li, Wangding Zeng, Xingkai Yu, Y. Wu, Zhenda Xie, Y.K. Li and 5 more

ACL 2024Architectures and efficiency › Mixture of expertsapproach: Expert routing and specializationopen problems in this approach1,696 citations (OpenAlex)

Peking University · DeepSeek-AI · Tsinghua University · Nanjing University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
6improved
3no clear effect
3hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace GShard routing with fine-grained segmentation and a shared expertGShard 2B (same total and activated params) · Pile (validation, 2B)loss: 1.867 -> 1.808Improved
replace GShard routing with DeepSeekMoEGShard 2B · TriviaQA 5-shot (validation)EM: 10.2 -> 16.6Improved
isolate one shared expert on top of GShard (ablation)GShard · validation benchmarksbenchmark scoresImproved
segment experts into 2 or 4 smaller experts (32 or 64 total) (ablation)DeepSeekMoE · validation benchmarksoverall performanceImproved
use 2 or 4 shared experts instead of 1 (64 total experts) (ablation)DeepSeekMoE · Pile (validation)loss: 1.808 / 1.806 / 1.811 for 1 / 2 / 4No clear effect
disable the shared expert and activate one more routed expert (ablation)DeepSeekMoE 2B · Pileloss: 1.808 -> 2.414Hurt
compare with GShard x1.5 (1.5x expert params and computation)DeepSeekMoE 2B · Pile (validation)loss: 1.808 vs 1.808No clear effect
compare with Dense x16 (upper bound)DeepSeekMoE 2B · Pile (validation)loss: 1.806 vs 1.808No clear effect
use DeepSeekMoE 16B with about 40% computation instead of DeepSeek 7B denseDeepSeekMoE 16B · MMLU 5-shotaccuracy: 48.2 -> 45.0Hurt
use DeepSeekMoE 16B instead of LLaMA2 7BDeepSeekMoE 16B · HumanEval 0-shotPass@1: 14.6 -> 26.8Improved
use DeepSeekMoE 145B instead of GShard 137BDeepSeekMoE 145B · Pileloss: 1.961 -> 1.876Improved
halve activated experts (DeepSeekMoE 142B Half Activated) vs 145BDeepSeekMoE · MMLU 5-shotaccuracy: 39.4 -> 37.5Hurt

Open problems in expert routing and specialization

Do expert routing and specialization methods hold up at larger scale and in real deployment, beyond small models and academic benchmarks?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy