Coupling Experts and Routers in Mixture-of-Experts via an Auxiliary Loss

Ang Lv, Jin Ma, Yiyuan Ma, Siyuan Qiao

TL;DR

Standard Mixture-of-Experts (MoE) models suffer from a fundamental disconnect: the router assigns tokens to experts via trial-and-error without explicit knowledge of what those experts actually do best. To fix this, the authors introduce Expert-Router Coupling (ERC) loss, a lightweight auxiliary loss that uses perturbed router weights as "proxy tokens" to enforce mutual alignment between routing decisions and expert capabilities. ERC improves downstream task accuracy across 3B and 15B LLMs while adding less than 1% training overhead and absolutely zero inference cost.

What Problem Does This Paper Address?

In modern Mixture-of-Experts (MoE) large language models, the feed-forward network is split into multiple independent "experts," and a linear classifier (the router) decides which expert handles each incoming token. Ideally, the router should send tokens to the expert best equipped to process them.

However, traditional MoE architectures lack any explicit mechanism to ensure this alignment. Instead, the router and experts must learn concurrently through trial-and-error. This often leads to misrouted tokens, which disrupts expert specialization and harms overall model performance. Prior attempts to fix this issue either require activating all experts during routing (destroying the computational efficiency of MoEs) or introduce heavy token-dependent overhead during training.

Methods

The authors propose the Expert-Router Coupling (ERC) loss, a token-independent auxiliary loss that operates directly on the router's parameters and the experts' input layers. The method relies on a clever geometric interpretation: the router's parameter matrix $R \in \mathbb{R}^{n \times d}$ can be viewed as a set of $n$ cluster centers in token space.

The ERC loss is computed in three steps:

  1. Generate Proxy Tokens: Each router embedding row $R[i]$ is augmented with bounded random noise $\delta_i$ to create a "proxy token" $\tilde{R}[i]$. The noise is strictly bounded to ensure the proxy stays within its original cluster boundary.
  2. Compute Activation Norms: All $n$ proxy tokens are fed into the input layer ($W_g$) of all $n$ experts. This generates an $n \times n$ matrix $M$, where $M[i, j]$ represents the activation norm of expert $j$ given proxy token $i$.
  3. Enforce Dual Constraints: A hinge-like loss function applies a penalty unless two conditions are met (regulated by a hyperparameter $\alpha$):
  4. Expert Specialization: Expert $i$ must respond more strongly to its own proxy token than to any other expert's proxy token ($M[i, j] < \alpha M[i, i]$).
  5. Precise Routing: Proxy token $i$ must activate its designated expert $i$ more than any other expert ($M[j, i] < \alpha M[i, i]$).
Three steps for computing the expert-router coupling loss.

Because this loss only depends on the number of experts ($n$), its computational complexity is $O(n^2)$. This makes it entirely independent of the training batch size, which often contains millions of tokens.

Datasets

The models were pre-trained from scratch using the open-source dolma-v1.5-sample dataset, utilizing up to several trillion tokens.

Downstream evaluation was performed across a wide array of standard benchmarks, including:

  • Reasoning & Knowledge: MMLU, MMLU-Pro, C-Eval, AGI-Eval, BBH, ARC-Challenge, OpenbookQA, SciQ.
  • Commonsense & Coreference: CommonsenseQA, COPA, BoolQ, HellaSwag, Social IQa, WinoGrande.
  • Math & Coding: MATH, GSM8K, TriviaQA.

Key Insights and Ideas

  • The Power of Proxy Tokens: Instead of tracking millions of real tokens to see if they are routed correctly, the router's own weight vectors can act as perfect stand-ins (proxies) for the token clusters they represent.
  • The Specialization Trade-off: More specialization isn't always better. By tuning the hyperparameter $\alpha$, the authors discovered a distinct trade-off: forcing extreme expert specialization ($\alpha \to 0$) actually degrades model performance because it hurts the experts' ability to collaborate.
  • Structural Representation: Visualizing the expert weights using t-SNE reveals that vanilla MoE models do not naturally form distinct expert clusters. Applying ERC loss forces the experts to structurally differentiate and specialize.
t-SNE projections of expert weights showing distinct clustering with ERC loss.

Key Results

  • Performance Gains: For a 3B parameter MoE model, adding ERC loss yielded substantial and stable accuracy gains across downstream tasks compared to a vanilla MoE baseline.
3B MoE performance and load balancing comparison.
  • Scalability to 15B: When scaled to a 15B parameter model (256 experts, Top-8 routing), the benefits persisted on harder benchmarks. For instance, MMLU increased from 63.2 to 64.6, and C-Eval improved from 67.5 to 69.0.
  • Extreme Efficiency: In real-world distributed training setups (utilizing data and expert parallelism), ERC loss only introduced a 0.2% to 0.8% computational overhead, making it practically free compared to alternative routing-alignment methods like Autonomy-of-Experts (AoE), which slowed training down by 1.6×.

Limitations and Future Work

While ERC loss provides a knob ($\alpha$) to control expert specialization, determining the optimal value for $\alpha$ remains entirely empirical. The authors note that the ideal specialization level depends heavily on architectural choices, such as the total number of experts ($n$), the top-$K$ routing selection, and whether shared experts are used. Currently, there are no reliable quantitative metrics to automatically calculate these optimal trade-offs beforehand, leaving this as an open direction for future research.

Summary updated

BibTeX
@inproceedings{lv2026coupling,
  author = {Ang Lv and Jin Ma and Yiyuan Ma and Siyuan Qiao},
  title = {{Coupling Experts and Routers in Mixture-of-Experts via an Auxiliary Loss}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=MpeyjgWbKt},
}
Figure