Dense vs MoE: How Two Model Types Use Their Parameters
What an NVIDIA post says a dense model and a Mixture-of-Experts model each do with a token.
For: Learners who know what a language model is.
Two architectures
There are two dominant model architectures: Dense model and MoE.[1]
How a model organizes its parameters matters as much as how many it has.[1]
A dense model
A dense model activates all its parameters for every token.[1]
An MoE model
An MoE model stores multiple expert networks but routes each token through only a selected subset.[1]
Sources
- Dense vs. MoE Models (developer.nvidia.com · checked )
More articles
- LearningWhat Conditional Computation Means in MoE TrainingWhat an NVIDIA post says Mixture of experts is, how it provides efficient training and how tokens are routed.
- LearningWhy Federated Learning Gets Harder as It GrowsWhat an NVIDIA post says a small federated learning project looks like and why growth turns it into an infrastructure problem.
- LearningWhat an Expert Is in a Mixture-of-Experts ModelWhat a Hugging Face post says a Mixture of Experts model replaces, what an expert is not and what the router does for each token.