ReaLB: Real-Time Load Balancing for Multimodal MoE Inference without Expert Replication
Yingping Wang, Yi Wu, Xiangyu Wu, Junwei Cui, Weilin Cai, Zhijiang Guo, Jiayi Huang
原文摘要
Mixture-of-Experts (MoE) architectures are widely used in modern large language models and multimodal models. Multimodal MoE (MMoE) services process interleaved text-only and image-text requests. This input pattern induces highly dynamic routing distributions, with abrupt shifts in expert demand at modality transition boundaries. Under expert parallelism (EP), uneven token loads across ranks create MoE compute stragglers during prefill with large batch size. These routing shifts challenge existing load-balancing approaches, which typically rely on expert replication and placement updates: prediction-based methods can lag behind current demand, whereas real-time methods incur substantial expert-migration overhead from frequent rebalancing. Multimodal prefill often contains large numbers of vision tokens with redundant information, creating an opportunity for load compression. We propose ReaLB, a real-time load balancing method for MMoE inference with near-zero exposed scheduling overhead. ReaLB dynamically adjusts MoE computation precision on a EP-rank basis, using FP4 Tensor Cores to accelerate overloaded ranks dominated by vision tokens. It requires neither expert replication nor token rerouting. To minimize overhead, ReaLB performs layer-wise expert precision transformation on the fly and overlaps the associated preparation stage with token dispatch. Experiments on representative MMoE models show that ReaLB achieves 1.79$\times$ MoE compute speedup while limiting average accuracy degradation to within 1%.
cs.DC