Sparsity means that relatively few model parameters contribute to a computation while many remain inactive. In sparse mixture-of-experts (MoE) models, a router selects only a few expert models for each output. section 2.17 section 2.6
Sparsity can improve efficiency, but it introduces trade-offs:
- Using fewer experts can significantly reduce inference costs and typically increase inference speed. section 2.6
- Fewer active parameters can reduce overfitting by producing a less complex prediction function. section 2.6
- Inactive parameters still occupy memory, and expert balance, data allocation, and loss-function choices affect performance. section 2.6
Figure 2.6 A visualization of the Mixture of Experts layer of a neural network
Visualizes an MoE layer in which a router selects one or a few experts, making inactive parameters visible. section 2.6



