Scaling Language Models with Mixture-of-Experts Architectures
Scaling dense transformer models raises training and inference costs because every token passes through every layer, whereas mixture-of-experts architectures reduce computation by activating only a small subset of subnetworks per token.
Dense transformer architectures process every token through every layer, making scaling computationally expensive for both training and inference.
Mixture-of-experts architectures scale by employing multiple subnetworks, or experts, and activating only a small subset for each token.
As language models grow, scaling dense architectures becomes increasingly expensive. In a dense transformer, every token passes through every layer, so adding capabilities increases computation for both training and inference. Mixture-of-experts (MoE) architectures take a different approach to scaling by using many subnetworks, or experts, while activating only a small subset for each token.