Latent Prototype Routing: Achieving Near-Perfect Load Balancing in Mixture-of-Experts

Jiajie Yang
6/26/2025
cs.LGcs.CL

No official code found. Best implementation: RANDO11199/LatentPrototypeRouter (5 stars, Apache-2.0, last commit 2025-06-27).

Abstract

Mixture-of-Experts (MoE) architectures have emerged as a key strategy for scaling large language models (LLMs) efficiently. However, current MoE systems suffer from severe load imbalance, where only a small subset of experts is consistently activated during training and inference, leading to significant underutilization of model capacity and computational resources. In this work, we revisit expert routing through a clustering perspective and propose Latent Prototype Routing (LPR), a novel routing framework that generalizes existing approaches while promoting balanced expert utilization without compromising downstream performance. Extensive experiments across multiple open-source MoE models -- including DeepSeek-V3, Qwen3-MoE, and Mixtral -- demonstrate that LPR reduces the Gini coefficient of expert load from 0.70 to 0.035 on average, improves the min-max expert load ratio from 1e-6 to 0.70, achieving near-perfect load balancing.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
51Shell, PythonJun 26, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2025latent,
  title  = {Latent Prototype Routing: Achieving Near-Perfect Load Balancing in Mixture-of-Experts},
  author = {Jiajie Yang},
  year   = {2025},
  eprint = {2506.21328},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.21328v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.21328.svg)](https://codeofpaper.com/paper/2506.21328)

Discussion