ID Balancing: Stable Training of Extremely Sparse MoE via PID-Based Load Control
Peng Jin, Zihan Qiu, Zekun Wang, Bo Zheng, Yang Xu, Tian Xie, Xiao Li, Huaqing Zhang, Haoran Lian, Rui Men, Dayiheng Liu
Abstract
Scaling Large Language Models (LLMs) via Mixture-of-Experts (MoE) enables massive parameter growth with nearly constant per-token computation. However, further scaling the parameter count requires increasingly sparse routing, where expert load imbalance becomes more severe. This imbalance reduces parameter utilization and training efficiency, and can undermine training stability, becoming a bottleneck to reliable scaling. In this work, we unify two representative auxiliary-loss-free methods as incomplete Proportional-Integral-Derivative (PID) controllers: DeepSeek's loss-free method acts as a fixed-step integral controller, while Kimi K3's Quantile Balancing functions as a generalized proportional controller. Building on this control perspective, we propose ID Balancing, an Integral-Derivative controller. It scales its integral term with load error and activates its derivative term only when imbalance worsens, enabling stronger corrections for large or worsening errors and smaller updates near balance. Evaluated across Top-, Top-, and Top- routing over experts, ID Balancing reduces worst-case backbone MaxVio and training-average backbone MinVio by over % and %, respectively, relative to the best baselines in the Top- setting. When the total parameter count increases from B to B (Top--of-), ID Balancing's worst-case backbone MaxVio remains nearly unchanged and is approximately % lower than that of the auxiliary-loss baseline. ID Balancing also maintains competitive language-modeling and downstream performance. The advantages of ID Balancing grow as sparsity increases, making it a promising solution for scaling larger, sparser MoE models.
Create a lesson
Related papers
TrajRoformer: Learning-based Sparse Trajectory Recovery without Dense Training Data
Shared title terminologycs.LGYan Lin, Liwei Deng, Jilin Hu et al.
Sim+Real: Joint Simulation-Experiment Training Improves Balanced Prediction in Physical Systems
Shared title terminologycs.LGMahindra Rautela, Alexander Scheinker, Ayan Biswas et al.
Mid-JEPA: Learning Representations and Control through Multiscale Goal Decomposition
Shared title terminologycs.LGJiazhe Hu, Donghai Hong, Jingqi Wang et al.
Grokking Is a High-Overlap, High-Capacity Regime of Ordinary Training
Shared title terminologycs.LGMian Wang
Cross-Activity Transfer Learning for Wearable Heart Rate Forecasting During Loaded Marching
Shared title terminologycs.LGMuntaqim Ahmed Raju, Ruizhe Ma, John W Ramsay et al.
Hyperparameter Transfer For Reinforcement Learning Post-Training
Shared title terminologycs.LGYihe Dong, Gage DeZoort, Mufan Li