Load Balancing Mixture of Experts with Similarity Preserving Routers

Nabil Omi, Siddhartha Sen, Ali Farhadi
6/16/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Sparse Mixture of Experts (MoE) models offer a scalable and efficient architecture for training large neural networks by activating only a subset of parameters ("experts") for each input. A learned router computes a distribution over these experts, and assigns input tokens to a small subset. However, without auxiliary balancing mechanisms, routers often converge to using only a few experts, severely limiting model capacity and degrading performance. Most current load balancing mechanisms encourage a distribution over experts that resembles a roughly uniform distribution of experts per token. During training, this can result in inconsistent routing behavior, resulting in the model spending its capacity to learn redundant knowledge. We address this by introducing a novel load balancing loss that preserves token-wise relational structure, encouraging consistent expert choices for similar inputs during training. Our experimental results show that applying our loss to the router results in 36% faster convergence and lower redundancy compared to a popular load balancing loss.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{omi2025load,
  title  = {Load Balancing Mixture of Experts with Similarity Preserving Routers},
  author = {Nabil Omi and Siddhartha Sen and Ali Farhadi},
  year   = {2025},
  eprint = {2506.14038},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.14038v2}
}

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.14038.svg)](https://codeofpaper.com/paper/2506.14038)

Discussion