NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CartesianMoE: Boosting Knowledge Sharing among Experts via Cartesian Product Routing in Mixture-of-Experts

Zhenpeng Su, Xing Wu, Zijia Lin, Yizhe Xiong, Minxuan Lv, Guangyuan Ma, Hui Chen, Songlin Hu, Guiguang Ding

Abstract

Scaling Large Language Models (LLMs) through Mixture-of-Experts (MoE) architectures often encounters the "lonely expert" problem, where experts are trained in isolation and lack effective knowledge sharing. This paper introduces CartesianMoE, a novel routing mechanism that employs a Cartesian product approach to combine sequential sub-experts. By transitioning from traditional "addition-style" sharing to a "multiplication-style" sequential structure, CartesianMoE significantly improves model performance and demonstrates remarkable robustness to routing errors.

Introduction

The computational cost of scaling LLMs is a primary bottleneck in AI development. MoE models mitigate this by activating only a subset of parameters (experts) for each input token. However, standard MoE routers often struggle with expert independence; if a router fails to select the optimal expert, the model's performance degrades sharply because alternative experts may lack the necessary specialized knowledge. While previous "shared expert" methods attempted to address this via additive components, these approaches often provide only shallow knowledge transfer.

Methodology: The Cartesian Product Layer

CartesianMoE replaces the standard MoE layer with a Cartesian Product Layer. This architecture decomposes the expert pool into two sequential sets of smaller "sub-experts" (Set A and Set B).

Comparison of routing mechanisms: (a) Conventional Top-2, (b) Top-4 fine-grained, and (c) Top-4 Cartesian Product routing.

The routing process follows three key steps:

  1. Sub-Expert Selection: For each token, the router selects the top-$k$ sub-experts from Set A and the top-$k$ from Set B.
  2. Sequential Processing: The token passes through a selected sub-expert in Set A, and its output immediately serves as the input for a sub-expert in Set B. This sequential "multiplication" allows any sub-expert in the first layer to interact with any in the second.
  3. Structural Knowledge Sharing: Because multiple full-expert paths share the same underlying sub-experts, knowledge is naturally distributed across the network. This creates a hierarchy of shared knowledge, ranging from global fixed experts to group-wise sub-experts.

Experimental Results

The authors evaluated CartesianMoE using The Pile (an 825 GB text corpus) and various downstream benchmarks.

Language Modeling Performance

CartesianMoE consistently outperformed standard MoE baselines in terms of perplexity (PPL). In the "Large" configuration (770M active parameters), CartesianMoE achieved a PPL of 6.08, surpassing the next best baseline, SMoE-Share, which scored 6.13.

Comparison of CartesianMoE against various MoE baselines on The Pile dataset.

Robustness to Routing Errors

A critical finding of this research is the model's resilience. In stress tests where the primary (top-1) expert was intentionally disabled, standard MoE models experienced catastrophic failure, with perplexity jumping to extreme values (e.g., 84.42 to 7568.85). In contrast, CartesianMoE remained stable with a PPL of 27.72. This suggests that the "multiplication-style" sharing ensures that alternative routing paths still contain substantial relevant information.

Downstream Benchmarks

Beyond perplexity, CartesianMoE showed superior performance across common sense reasoning (Hellaswag, PIQA) and question-answering tasks (TriviaQA, Natural Questions), outperforming baselines in the majority of tested scenarios.

Conclusion

CartesianMoE offers a more efficient and robust framework for knowledge sharing in MoE models. By leveraging Cartesian product routing, it achieves state-of-the-art performance without increasing the computational budget. Future work may explore deeper multi-layer Cartesian structures and the application of this method to multi-modal datasets.

Summary updated

BibTeX
@inproceedings{su2025cartesianmoe,
  author = {Zhenpeng Su and Xing Wu and Zijia Lin and Yizhe Xiong and Minxuan Lv and Guangyuan Ma and Hui Chen and Songlin Hu and Guiguang Ding},
  title = {{CartesianMoE: Boosting Knowledge Sharing among Experts via Cartesian Product Routing in Mixture-of-Experts}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.505},
}
Figure