Multilingual Routing in Mixture-of-Experts

Lucas Bandarkar, Chenyuan Yang, Mohsen Fayyaz, Junlin Hu, Nanyun Peng

Introduction

Mixture-of-Experts (MoE) architectures are the engine behind modern scaling in large language models (LLMs), allowing models to boast massive parameter counts while only activating a fraction of them for any given token. However, a "black box" problem has persisted regarding how these sparse models handle multilinguality. While it is known that dense models tend to share internal representations across languages in their middle layers, it remained unclear if sparse MoEs—which dynamically route tokens to different physical sub-networks (experts)—followed similar logic.

Recent research uncovers a distinct "U-shaped" pattern in how MoE models process different languages. They utilize language-specific experts at the start and end of the network but share "universal" experts in the middle. By understanding this routing behavior, researchers successfully steered models to use English-preferred task experts in these middle layers during inference, achieving consistent performance boosts across over 15 languages without any additional training.

Methodology

To demystify multilingual routing, the researchers performed a deep dive into the routing logs of several state-of-the-art MoE models. Their approach involved three main steps:

  1. Routing Divergence Analysis: Using parallel translation datasets (FLORES-200) and multilingual reading comprehension datasets (BELEBELE), the team measured the Jensen-Shannon divergence between the routing weights of English and other languages. This metric revealed exactly which layers "agreed" on expert selection across languages.
  2. Expert Identification: The researchers identified domain-specific experts (e.g., math or medicine) by comparing activation patterns on specialized English datasets (like GSM8K-Instruct and AlpaCare MedInstruct) against generic text.
  3. Inference-Time Intervention: During the model's forward pass, the researchers intercepted the router's decision. They applied either a "Soft Intervention" (adding a small nudge to the logits of specific experts) or a "Hard Intervention" (forcing the model to pick a specific expert) to encourage the use of English-aligned task experts in the middle layers. These interventions were evaluated on tasks like Multilingual Grade School Math (MGSM) and the medicine subset of GLOBAL-MMLU.

Key Insights

The U-Shaped Routing Phenomenon and Performance Alignment

Routing is highly language-specific in the early layers (likely handling different scripts and basic grammar) and the late layers (handling language-specific generation). However, in the middle layers, the model converges on a "semantic hub" where it uses the same experts regardless of the input language.

Crucially, there is a direct, strong correlation between how much a language shares routing with English in these middle layers and how well the model performs in that language. If the model fails to find the universal experts for a low-resource language, performance drops significantly.

Routing divergence from English across layers, colored by model understanding.

Functional Dissociation

Perhaps the most striking finding is that "language experts" and "task experts" are entirely separate entities within the network. In the Qwen3-30B model, for example, there was zero overlap between experts specialized for multilinguality and those specialized for math. This suggests a highly modular "separation of concerns" within the model's architecture.

Number of math and multilingual experts identified per layer, showing zero intersection.

The "English Pivot"

Even when comparing two non-English languages, the routing trends are clearest when using English as the baseline. This confirms that these models use English as their internal "universal" representation space.

Intervention Results

The simple act of nudging the model to use English-preferred experts in the middle layers yielded remarkably consistent gains:

  • Quantitative Boost: Across three different models (Qwen3, Phi-3.5, and GPT-OSS), the interventions produced 1-2% absolute accuracy improvements on complex reasoning tasks.
  • Math Reasoning (MGSM): On Qwen3-30B, average non-English performance rose from 76.4% to 78.0%. On GPT-OSS-20B, it jumped from 68.9% to 71.5%.
  • Consistency: These gains held across 15+ languages, including low-resource ones.
  • The "Middle Layer" Rule: The intervention only worked in the middle layers. Steering the router in the early or late layers, or steering toward "multilingual" experts instead of "task" experts, actually degraded performance.

Limitations and Future Work

The authors acknowledge that their interventions are relatively blunt instruments—simple nudges to the router. More sophisticated steering methods could unlock even higher performance. Additionally, while the U-shape is a strong trend, it was less pronounced in models with very poor multilingual training, suggesting that a baseline level of multilingual awareness is required for these universal experts to form. Ultimately, this work motivates new training objectives that explicitly encourage middle-layer expert sharing, rather than relying on it to emerge by accident.

Summary updated

BibTeX
@inproceedings{bandarkar2026multilingual,
  author = {Lucas Bandarkar and Chenyuan Yang and Mohsen Fayyaz and Junlin Hu and Nanyun Peng},
  title = {{Multilingual Routing in Mixture-of-Experts}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ZoZR0x7tTD},
}
Figure