Back to System Design Mind Map
中文·English
🏗️ System DesignID: mmoe-multitask-learning

MMoE Multi-Gate Mixture-of-Experts

MMoE 多门控专家混合模型
🎯Core Definition
MMoE (Multi-gate Mixture-of-Experts, proposed by Google at KDD 2018) is a multi-task learning architecture designed to resolve negative transfer across weakly correlated or conflicting objectives in recommendation ranking; while traditional Shared-Bottom networks force all tasks to share monolithic lower layers, MMoE constructs a shared pool of EE parallel expert sub-networks (f1,,fEf_1, \dots, f_E) and equips each distinct task kk (e.g., Task 1: CTR, Task 2: CVR, Task 3: Watch Time) with its own Softmax Gating Network gk(x)=softmax(Wgkx)g^k(x) = \text{softmax}(W_g^k x); each task dynamically aggregates weighted expert representations yk=hk(i=1Egik(x)fi(x))y_k = h^k\left(\sum_{i=1}^E g_i^k(x) f_i(x)\right) before feeding task-specific output towers.
💡Use Cases
Multi-objective industrial ranking optimizing simultaneous targets (Click, Like, Share, Purchase, Dwell Time) in e-commerce and social feeds.
Key Problems Solved
Shared-Bottom networks suffer catastrophic performance degradation (Negative Transfer) when task relationships are orthogonal or antagonistic; MMoE's multi-gating routes dynamic weight distributions per task, allowing expert networks to specialize flexibly.
🎯5 High-Frequency Exam Points
1
Derive MMoE's multi-gate formulation yk=hk(i=1Egik(x)fi(x))y_k = h^k(\sum_{i=1}^E g_i^k(x) f_i(x)) and contrast with standard single-gate MoE and Shared-Bottom?
2
Why does MMoE's gating network automatically orthogonalize expert attention when tasks are negatively correlated (e.g. clickbait)?
3
How do dynamic loss balancing algorithms (GradNorm / Uncertainty Weighting) dynamically tune task weights wkw_k in multi-task loss?
4
Analyze how the number of experts EE impacts parameter bloat and GPU serving latency in production?
5
What are the structural limitations of MMoE (all experts are shared, lacking task-exclusive isolation), leading to Tencent's PLE?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "MMoE Multi-Gate Mixture-of-Experts"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardDCN-v2 Deep & Cross NetworkNext CardPLE Progressive Layered Extraction

🔗 More System Design Knowledge Cards

RecSys Multi-Stage Funnel & 50ms SLADSSM Two-Tower RetrievalYouTube DNN Candidate GenerationPre-Ranking Lightweight Architecture