Binary-Integer-Programming Based Algorithm for Expert Load Balancing in Mixture-of-Experts Models
On the map: Mixture-of-experts → Expert routing strategies
Abstract (arXiv)
For pre-training of MoE (Mixture-of-Experts) models, one of the main issues is unbalanced expert loads, which may cause routing collapse or increased computational overhead. Existing methods contain the Loss-Controlled method and the Loss-Free method, where both the unbalanced degrees at first several training steps are still high and decrease slowly. In this work, we propose BIP-Based Balancing, an expert load balancing algorithm based on binary integer programming (BIP). The algorithm maintains an additional vector q on each MoE layer that can help change the top-K order of s by solving a binary integer programming with very small time costs. We implement the algorithm on two MoE language models: 16-expert (0.3B) and 64-expert (1.1B). The experimental results show that on both models comparing with the Loss-Controlled method and the Loss-Free method, our algorithm trains models with the lowest perplexities, while saves at least 13% of pre-training time compared with the Loss-Controlled method. Within our current knowledge, this is the first routing algorithm that achieves maintaining load balance status on every expert in every MoE layer from the first step to the last step during the whole pre-training process, while the trained MoE models also perform well. The code material of this work is available at https://github.com/sunyuanLLM/bip_routing_algorithm.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 6 of its 13 references that are in the map. First posted on arXiv 21 Feb 2025.
Builds on
6 of 13 references.
Closest ancestors · 2
Same direction, newest first
- 2024Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts28 Aug
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan
Other references · 4
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2020Dual Mirror Descent for Online Allocation Problemscited by 51
- 2020Regularized Online Allocation Problems: Fairness and Beyondcited by 22
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Kimi K3: Open Frontier Intelligencecited by 99
- 2026Kimi K3: Open Frontier Intelligence27 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026φ-Balancing for Mixture-of-Experts Training
- 2025Demons in the Detail: On Implementing Load Balancing Loss for Training Specialized Mixture-of-Expert Models
- 2026LAER-MoE: Load-Adaptive Expert Re-layout for Efficient Mixture-of-Experts Training
- 2025Load Balancing Mixture of Experts with Similarity Preserving Routers
- 2026Least-Loaded Expert Parallelism: Load Balancing An Imbalanced Mixture-of-Experts
- 2025A Theoretical Framework for Auxiliary-Loss-Free Load Balancing of Sparse Mixture-of-Experts in Large-Scale AI Models
- 2022Mixture-of-Experts with Expert Choice Routing
- 2025Latent Prototype Routing: Achieving Near-Perfect Load Balancing in Mixture-of-Experts