Discover how Mixtral achieves massive scale efficiently, and how GPT-4 is rumored to use a similar mixture-of-experts approach! Visualize the Mixture of Experts architecture: gating networks, top-K routing, sparse activation, and load balancing. The secret behind modern trillion-parameter models.
algorithms.live
Animation
Architecture
8
2
Statistics
Tokens Processed
0/10
Active Experts
2/8
Sparsity
75%
Load Balance
0.00
Real-world MoE Models:
• GPT-4: rumored ~8 experts, top-2 routing (unconfirmed by OpenAI)
• Mixtral 8x7B: 8 experts, 47B total params
• Switch Transformer: Up to 2048 experts
Total or active parameters?
Sort
Sort each consequence of a sparse MoE layer.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Scales with total parameters
Drop items here
Scales with active parameters
Drop items here
6 pieces left to place
Test your knowledge
22 questions
Question 1 of 22
Score: 0
What is the main benefit of Mixture of Experts over dense models?