On DeepSeekMoE: Statistical Benefits of Shared Experts and Normalized Sigmoid Gating
Huy Nguyen, Thong T. Doan, Quang Pham, Nghi D. Q. Bui, Nhat Ho, Alessandro Rinaldo
TL;DR
The paper provides a theoretical and empirical examination of two hallmark features of DeepSeekMoE: the shared-expert strategy and the normalized sigmoid gating. It establishes near-parametric convergence for exactly-specified shared-expert parameters under strong identifiability and demonstrates faster routed-expert estimation when using normalized sigmoid gating, contrasted with linear-expert scenarios where identifiability hinders rapid convergence. Through synthetic and real-data experiments in language and vision-language tasks, it confirms improved sample efficiency, faster convergence, and more stable router dynamics, including quicker router saturation and higher fairness in expert utilization. Together, these results offer principled guidance for designing sparse MoE architectures and gating mechanisms, with practical implications for scaling large models efficiently. Mathematical notation is used to characterize convergence rates, Voronoi losses, and identifiability conditions, highlighting the impact of shared-expert and gating structures on estimation accuracy and router dynamics.
Abstract
Mixture of experts (MoE) methods are a key component in most large language model architectures, including the recent series of DeepSeek models. Compared to other MoE implementations, DeepSeekMoE stands out because of two unique features: the deployment of a shared expert strategy and of the normalized sigmoid gating mechanism. Despite the prominent role of DeepSeekMoE in the success of the DeepSeek series of models, there have been only a few attempts to justify theoretically the value of the shared expert strategy, while its normalized sigmoid gating has remained unexplored. To bridge this gap, we undertake a comprehensive theoretical study of these two features of DeepSeekMoE from a statistical perspective. We perform a convergence analysis of the expert estimation task to highlight the gains in sample efficiency for both the shared expert strategy and the normalized sigmoid gating, offering useful insights into the design of expert and gating structures. To verify empirically our theoretical findings, we carry out several experiments on both synthetic data and real-world datasets for (vision) language modeling tasks. Finally, we conduct an extensive empirical analysis of the router behaviors, ranging from router saturation, router change rate, to expert utilization.
