cs.AIAug 14, 2026

FreeBalance: Pre-Routing Online Moe Load Balancing via Residual Workload Prediction

Authors: Pengfei Chen, Yize Wu, Shouxu Kuang, Ke Gao, Ling Li

Organizations: Institute of Software, Chinese Academy of Sciences, Beijing, China · University of Chinese Academy of Sciences, Beijing, China

Abstract

Load imbalance poses a major bottleneck to the efficiency of expert parallelism in distributed inference of Mixture-of-Experts (MoE) models. The most heavily loaded rank stalls global execution due to skewed routing distributions, directly increasing latency. While offline expert placement can alleviate persistent imbalance, practical multi-task serving workloads exhibit layer- and batch-dependent routing dynamics, making online load balancing indispensable. Existing approaches rely on routing statistics collected after each MoE router, requiring expert weight load or migration to begin only after routing decisions are available, consequently placing migration overhead on the inference critical path. In this work, we observe that online balancing can instead be largely overlapped with computation before target routing (e.g., attention), if routing distributions can be predicted accurately in advance. Therefore, we propose FreeBalance, a lossless online load-balancing framework that overlaps expert migration with preceding computation stages via residual workload prediction. FreeBalance leverages cross-layer similarities in hidden representations within the residual network to build a lightweight workload predictor. This enables proactive expert migration planning before routing decisions are available, creating substantial overlap between weight transfer and computation-heavy pre-routing stages. Furthermore, a cost model constrains the number of swaps to fully hide the synchronization overhead within the available window. Experiments across models and datasets show that FreeBalance reduces the max-to-mean rank load ratio by 32.8% and end-to-end prefill latency by 13.1%. Specifically, our method hides balancing overhead of an average of 5.1 experts per layer, which would otherwise account for about 8.5% of the critical-path latency.

Figures & tables

Explore similar work

CardsList
  1. EasyBalance: Cross-Layer Load Balancing in Distributed MoE Inference

    Aug 8, 2026Yize Wu, Ke Gao, Ling Li +1Expert Load BalancingMixture-of-Experts Inference

  2. φφ-Balancing for Mixture-of-Experts Training

    May 14, 2026Lizhang Chen, Jonathan Li, Qi Wang +5Expert Load BalancingMirror Descent

  3. Routing-Free Mixture-of-Experts

    Apr 1, 2026Yilun Liu, Jinru Han, Sikuan Yan +2Mixture-of-Experts ModelsExpert Load Balancing