TL;DR
This paper introduces "expert shape" as a critical design variable for Latent Mixture-of-Experts (MoE) models, demonstrating that "near-square" experts maximize representational capacity. By further using the layerwise intrinsic dimension (ID) of data to guide capacity allocation, the authors improve model performance across scales while maintaining nearly constant computational and communication costs.
What Problem Does This Paper Address?
Modern Large Language Models (LLMs) increasingly rely on sparse Mixture-of-Experts (MoE) to scale capacity efficiently. To keep computational costs manageable, researchers have moved toward "fine-grained" routing—using a massive number of experts but only activating a few per token.
However, this trend has a hidden cost: to keep the total activated width constant, each individual expert must become extremely "narrow." As shown in the figure below, recent models like DeepSeek-V3 and Qwen3-Next have expert aspect ratios ($d/m$) as high as 4.0, meaning the input dimension is much larger than the internal processing width.
The authors argue that these highly "rectangular" experts create a representational bottleneck. Furthermore, standard MoE designs treat every layer identically, ignoring the fact that different layers in a Transformer process information with varying levels of complexity.
Methods
The researchers leverage LatentMoE, an architecture that moves expert computation into a lower-dimensional "latent" space. This decouples the model's hidden dimension ($d$) from the expert's input dimension ($\ell$), allowing "expert shape" ($\ell \times m$, where $m$ is intermediate width) to be an explicit design choice.
- Expert Shaping: The authors prove that an expert's local Jacobian rank—a proxy for its expressive power—is bounded by $\min(\ell, m)$. For a fixed parameter budget (where the product $\ell \cdot m$ is constant), this rank is maximized when $\ell = m$, i.e., a "square" expert.
- Layerwise ID-Guided Allocation: They use the TwoNN estimator to measure the Intrinsic Dimension (ID) of representations at each layer. ID estimates the number of independent "degrees of freedom" in the data. They found that ID typically rises in shallow layers, peaks in the middle, and declines toward the output.
- Constant-Cost Heterogeneity: Instead of using the same experts everywhere, they allocate more per-expert capacity (larger $\ell, m$) to high-ID layers and more experts (larger $N, K$) to low-ID layers. Crucially, they co-vary these parameters to ensure that per-layer FLOPs, parameters, and communication volume remain nearly identical, making the design "infrastructure-friendly."
Datasets
- Pretraining: Models were trained on the NVIDIA Nemotron-CC dataset.
- Evaluation: The authors used the OLMES core 9mcqa suite, which includes benchmarks like ARC-Easy/Challenge, BoolQ, CommonsenseQA, HellaSwag, OpenBookQA, PIQA, SocialIQA, and WinoGrande.
Key Insights and Ideas
- The "Square" Advantage: Controlled sweeps across different model scales (3.4B and 8B) consistently showed a U-shaped validation loss curve. Models performed best when experts were near-square ($| \ell/m - 1 | \leq 0.4$).
- Rank as Capacity Proxy: The theoretical Jacobian rank ceiling isn't just a mathematical curiosity; empirical measurements showed that trained experts actually utilize nearly the full rank available to them.
- Geometry-Guided Depth: Representation geometry varies predictably with depth. By matching expert capacity to this "intrinsic" complexity, models can be made more efficient without changing the total budget.
- System-Friendly Heterogeneity: You don't have to sacrifice hardware efficiency for architectural variety. By balancing expert count against expert shape, you can create a model that is "heterogeneous in capacity but homogeneous from the system's perspective."
Key Results
The proposed ID-guided allocation consistently outperformed both standard MoE baselines and uniform LatentMoE models.
- Downstream Performance: At the 8B scale, the ID-guided model achieved an average score of 56.87% across benchmarks, significantly higher than the base MoE (54.85%) and uniform LatentMoE baselines.
- Validation Loss: The ID-guided approach achieved lower validation loss than either "uniform narrow" or "uniform wide" configurations, proving that the gain comes from the placement of capacity, not just adding more of it.
- Throughput: The heterogeneous models maintained training throughput within measurement variation of uniform baselines, confirming that the design introduces negligible systems overhead.
Limitations and Future Work
- Coarse Allocation: For simplicity and kernel efficiency, the authors only tested a "two-segment" allocation (splitting the model into shallow and deep regimes). A more finely-calibrated per-layer assignment might yield further gains.
- Latent Overhead: While LatentMoE is efficient in communication, the extra projection layers ($W_\downarrow$ and $W_\uparrow$) do add a small amount of wall-clock overhead compared to standard MoEs.
- Generalization: While the ID profile was stable across the tested scales, it remains to be seen if these specific "shallow vs. deep" boundaries hold for much larger (e.g., 100B+) models or different modalities.
The authors suggest that a promising next step is developing a more automated, fine-grained mapping from representation geometry to per-layer capacity.
Summary updated