Abstract
Mixture-of-Experts (MoE) architectures have become a standard for scaling large language models efficiently. However, this study reveals a fundamental disparity in how MoEs handle different cognitive tasks. While increasing the number of experts significantly enhances factual memorization (world knowledge), it provides diminishing returns for logical reasoning tasks like mathematics. We demonstrate that complex reasoning requires a "critical width" of active parameters, suggesting that MoEs act primarily as efficient memorization machines rather than general-purpose reasoning engines.
Introduction
The AI community has widely adopted Mixture-of-Experts (MoE) architectures to scale models to trillions of parameters while maintaining manageable computational costs. By activating only a sparse subset of parameters for each token, MoEs offer a seemingly "free lunch" in scaling. This paper investigates whether this scaling holds true across all task types, specifically contrasting knowledge retrieval with logical reasoning.
Methods
The researchers employed a multi-faceted approach to isolate the effects of expert scaling:
- Theoretical Analysis: Using communication complexity, they proved that certain graph-based reasoning tasks (e.g., finding a path of length 2) are unsolvable if individual experts are too narrow, regardless of the total expert count.
- Synthetic Tasks: Models were trained on a "Phone-book" task (pure memorization) and a "Shortest Path" task (graph reasoning).
- Large-Scale Pre-training: Dense and MoE models up to 2.1B parameters were trained on 65B tokens of natural language and math data.
Key Insights
The "Critical Width" for Reasoning
Reasoning tasks require internal "workspace" or model width. If the hidden dimension (active parameters) is below a critical threshold, the model lacks the expressive power for logical operations. Adding more experts increases total capacity but does not expand this essential workspace.
MoEs as Memorization Machines
For knowledge-intensive tasks, MoEs are highly efficient. They can store vast amounts of factual data (like phone numbers or historical dates) using significantly fewer active parameters than a dense model of equivalent performance.
Total vs. Active Parameters
A crucial finding is the scaling behavior:
- World Knowledge: Performance scales with total parameters.
- Reasoning: Performance scales almost exclusively with active parameters.
Results
The empirical results confirm the theoretical predictions. In the phone-book task, MoEs matched dense models of the same total parameter count. However, in the shortest path task, only increasing active parameters (width) led to improvements.
As shown in Figure 2, the gap between MoE and dense models widens significantly as tasks move from factual retrieval (left) to mathematical reasoning (right). In the MATH benchmark, a dense model consistently outperforms an MoE with the same total parameter count but fewer active parameters.
Conclusion
MoE architectures are not a direct replacement for dense models of the same total size when reasoning is required. While they excel at factual memorization, their reasoning capability is bottlenecked by their active parameter count. Future architecture designs might benefit from hybrid approaches, combining wide dense layers for logic with MoE layers for factual storage.
Summary updated