Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts

Authors: Lean Wang, Huazuo Gao, Chenggang Zhao, Xu Sun, Damai Dai

Submitted to arXiv on 28 Aug. 2024
Abstract

For Mixture-of-Experts (MoE) models, an unbalanced expert load will lead to routing collapse or increased computational overhead. Existing methods commonly employ an auxiliary loss to encourage load balance, but a large auxiliary loss will introduce non-negligible interference gradients into training and thus impair the model performance. In order to control load balance while not producing undesired gradients during training, we propose Loss-Free Balancing, featured by an auxiliary-loss-free load balancing strategy. To be specific, before the top-K routing decision, Loss-Free Balancing will first apply an expert-wise bias to the routing scores of each expert. By dynamically updating the bias of each expert according to its recent load, Loss-Free Balancing can consistently maintain a balanced distribution of expert load. In addition, since Loss-Free Balancing does not produce any interference gradients, it also elevates the upper bound of model performance gained from MoE training. We validate the performance of Loss-Free Balancing on MoE models with up to 3B parameters trained on up to 200B tokens. Experimental results show that Loss-Free Balancing achieves both better performance and better load balance compared with traditional auxiliary-loss-controlled load balancing strategies.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Cites this paper Uses this paper in depth
    Adaptive-expert-weight-based load balance scheme for dynamic routing of MoE
    Ji-Rong Wen, Xiao-Jun Li, Jun-Ping Yao et al. · 2025 · Frontiers Neurorobotics · cited 2 times · Not summarized yet
    Abstract

    Load imbalance is a major performance bottleneck in training mixture-of-experts (MoE) models, as unbalanced expert loads can lead to routing collapse. Most existing approaches address this issue by introducing auxiliary loss functions to balance the load; however, the hyperparameters within these loss functions often need to be tuned for different tasks. Furthermore, increasing the number of activated experts tends to exacerbate load imbalance, while fixing the activation count can reduce the model’s confidence in handling difficult tasks. To address these challenges, this paper proposes a dynamically balanced routing strategy that employs a threshold-based dynamic routing algorithm. After e…

  2. Very close Cites this paper Uses this paper in depth
    Binary-Integer-Programming Based Algorithm for Expert Load Balancing in Mixture-of-Experts Models
    Yuan Sun · 2025 · cited 1 time · Not summarized yet
    Abstract

    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 …

  3. Very close
    Routing-Free Mixture-of-Experts
    Yi-Lun Liu, Jinru Han, Si-Kuan Yan et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet
    Abstract

    Standard Mixture-of-Experts (MoE) models rely on centralized routing mechanisms that introduce rigid inductive biases. We propose Routing-Free MoE which eliminates any hard-coded centralized designs including external routers, Softmax, Top-K and load balancing, instead encapsulating all activation functionalities within individual experts and directly optimized through continuous gradient flow, enabling each expert to determine its activation entirely on its own. We introduce a unified adaptive load-balancing framework to simultaneously optimize both expert-balancing and token-balancing objectives through a configurable interpolation, allowing flexible and customizable resource allocation. E…

  4. Very close Cites this paper
    Fine-grained MoE Load Balancing with Linear Programming
    Chenqi Zhao, Wen-Fei Wu, Lin-Hai Song et al. · 2025 · Not summarized yet
    Abstract

    Mixture-of-Experts (MoE) has emerged as a promising approach to scale up deep learning models due to its significant reduction in computational resources. However, the dynamic nature of MoE leads to load imbalance among experts, severely impacting training efficiency. While previous research has attempted to address the load balancing challenge, existing solutions either compromise model accuracy or introduce additional system overhead. As a result, they fail to achieve fine-grained load balancing, which is crucial to optimizing training efficiency. We propose a novel parallelization strategy to achieve fine-grained load balancing in MoE systems. Our system is capable of achieving optimal lo…

  5. Very close Cites this paper Uses this paper in depth
    A Theoretical Framework for Auxiliary-Loss-Free Load Balancing of Sparse Mixture-of-Experts in Large-Scale AI Models
    X. Han, Yuan Zhong · 2025 · arXiv.org · preprint, not peer reviewed · cited 3 times · Not summarized yet
    Abstract

    In large-scale AI training, Sparse Mixture-of-Experts (s-MoE) layers enable scaling by activating only a small subset of experts per token. An operational challenge in this design is load balancing: routing tokens to minimize the number of idle experts, which is important for the efficient utilization of costly GPUs and for the thorough training of architecture parameters across all experts. We provide a theoretical framework for analyzing the Auxiliary-Loss-Free Load Balancing (ALF-LB) procedure -- proposed by DeepSeek's Wang et al. (2024) -- by casting it as a primal-dual method using a single-shot, constant-time update per training iteration for solving an assignment problem. First, in a …

  6. Very close Cites this paper Uses this paper in depth
    Load Balancing Mixture of Experts with Similarity Preserving Routers
    Nabil Omi, Siddhartha Sen, Ali Farhadi · 2025 · arXiv.org · preprint, not peer reviewed · cited 32 times · Not summarized yet
    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 it…

  7. Very close
    From Outcome to Process: Optimizing MoE Load Balancing with MCTS
    Wenjun Ke, Heng-Yuan Xu, Zi-Yu Shang et al. · 2026 · Annual Meeting of the Association for Computational Linguistics · Not summarized yet
    Abstract

    Mixture of Experts (MoE) dynamically routes inputs to specialized expert networks, enabling large language models to scale capacity with low inference overhead. To further improve MoE’s parameter efficiency in resource-constrained scenarios, LoRA–MoE integrates LoRA for lightweight adaptation while preserving MoE’s specialization. Despite these benefits, the effectiveness of LoRA–MoE still hinges on balanced expert utilization, where certain experts dominate activations while most remain underutilized. Existing balancing strategies focus on constraining the final distribution of expert usage, but overlook the routing decisions made at each layer. As a result, imbalances gradually accumulate …

  8. Very close Cites this paper Uses this paper in depth
    ϕ-Balancing for Mixture-of-Experts Training
    Li-Zhang Chen, Jonathan Li, Qi Wang et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 8 times · Not summarized yet
    Abstract

    Mixture-of-Experts (MoE) models rely on balanced expert utilization to fully realize their scalability. However, existing load-balancing methods are largely heuristic and operate on noisy mini-batch assignment statistics, introducing bias relative to population-level objectives. We propose $\phi$-balancing, a principled framework that directly targets population-level expert balance by minimizing a strictly convex, symmetric, and differentiable potential of the expected routing distribution. Using convex duality, we derive an equivalent min-max formulation and obtain a simple online algorithm via mirror descent, yielding an efficient EMA-based routing adjustment with negligible overhead. Acr…

Prior work it builds on

  1. Close Used in depth by this paper A method it uses
    DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models
    Damai Dai, Chengqi Deng, Chenggang Zhao et al. · 2024 · Computation and Language · cited 1,267 times · Not summarized yet
    Abstract

    In the era of large language models, Mixture-of-Experts (MoE) is a promising architecture for managing computational costs when scaling up model parameters. However, conventional MoE architectures like GShard, which activate the top-$K$ out of $N$ experts, face challenges in ensuring expert specialization, i.e. each expert acquires non-overlapping and focused knowledge. In response, we propose the DeepSeekMoE architecture towards ultimate expert specialization. It involves two principal strategies: (1) finely segmenting the experts into $mN$ ones and activating $mK$ from them, allowing for a more flexible combination of activated experts; (2) isolating $K_s$ experts as shared ones, aiming at…

  2. Related Used in depth by this paper A method it uses
    Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity
    W. Fedus, Barret Zoph, Noam Shazeer · 2021 · Journal of machine learning research · cited 5,244 times · Not summarized yet
    Abstract

    In deep learning, models typically reuse the same parameters for all inputs. Mixture of Experts (MoE) defies this and instead selects different parameters for each incoming example. The result is a sparsely-activated model -- with outrageous numbers of parameters -- but a constant computational cost. However, despite several notable successes of MoE, widespread adoption has been hindered by complexity, communication costs and training instability -- we address these with the Switch Transformer. We simplify the MoE routing algorithm and design intuitive improved models with reduced communication and computational costs. Our proposed training techniques help wrangle the instabilities and we sh…

  3. Related
    DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
    Zhihong Shao, Damai Dai, Daya Guo et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 1,581 times · Not summarized yet
    Abstract

    We present DeepSeek-V2, a strong Mixture-of-Experts (MoE) language model characterized by economical training and efficient inference. It comprises 236B total parameters, of which 21B are activated for each token, and supports a context length of 128K tokens. DeepSeek-V2 adopts innovative architectures including Multi-head Latent Attention (MLA) and DeepSeekMoE. MLA guarantees efficient inference through significantly compressing the Key-Value (KV) cache into a latent vector, while DeepSeekMoE enables training strong models at an economical cost through sparse computation. Compared with DeepSeek 67B, DeepSeek-V2 achieves significantly stronger performance, and meanwhile saves 42.5% of traini…

  4. Related
    Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer
    Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz et al. · 2017 · International Conference on Learning Representations · cited 6,137 times · Not summarized yet
    Abstract

    The capacity of a neural network to absorb information is limited by its number of parameters. Conditional computation, where parts of the network are active on a per-example basis, has been proposed in theory as a way of dramatically increasing model capacity without a proportional increase in computation. In practice, however, there are significant algorithmic and performance challenges. In this work, we address these challenges and finally realize the promise of conditional computation, achieving greater than 1000x improvements in model capacity with only minor losses in computational efficiency on modern GPU clusters. We introduce a Sparsely-Gated Mixture-of-Experts layer (MoE), consisti…

  5. Related
    DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligence
    DeepSeek-AI, Qi-Hao Zhu, Daya Guo et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 528 times · Not summarized yet
    Abstract

    We present DeepSeek-Coder-V2, an open-source Mixture-of-Experts (MoE) code language model that achieves performance comparable to GPT4-Turbo in code-specific tasks. Specifically, DeepSeek-Coder-V2 is further pre-trained from an intermediate checkpoint of DeepSeek-V2 with additional 6 trillion tokens. Through this continued pre-training, DeepSeek-Coder-V2 substantially enhances the coding and mathematical reasoning capabilities of DeepSeek-V2, while maintaining comparable performance in general language tasks. Compared to DeepSeek-Coder-33B, DeepSeek-Coder-V2 demonstrates significant advancements in various aspects of code-related tasks, as well as reasoning and general capabilities. Addition…

Papers that cite it

  1. Very close Uses this paper in depth
    Input Domain Aware MoE: Decoupling Routing Decisions from Task Optimization in Mixture of Experts
    Yong-Xiang Hua, Hao-Yu Cao, Zhou Tao et al. · 2025 · ACM Multimedia · cited 5 times · Not summarized yet
    Abstract

    Sparse Mixture of Experts (sMoE) has become a pivotal approach for scaling large vision-language models, offering substantial capacity while maintaining computational efficiency through dynamic, sparse activation of experts. However, existing routing mechanisms, typically based on similarity scoring, struggle to effectively capture the underlying input structure. This limitation leads to a trade-off between expert specialization and balanced computation, hindering both scalability and performance. We propose Input Domain Aware MoE, a novel routing framework that leverages a probabilistic mixture model to better partition the input space. By modeling routing probabilities as a mixture of dist…

  2. Close Uses this paper in depth
    Expert Threshold Routing for Autoregressive Language Modeling with Dynamic Computation Allocation and Load Balancing
    Hanchi Sun, Yixin Liu, Yonghui Wu et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 5 times · Not summarized yet
    Abstract

    Token-choice Mixture-of-Experts (TC-MoE) routes each token to a fixed number of experts, limiting dynamic computation allocation and requiring auxiliary losses to maintain load balance. We propose Expert Threshold (ET) routing, where each expert maintains an exponential moving average (EMA) threshold estimated from the global token distribution. At both training and inference, each token is independently routed to an expert if its score exceeds the expert's threshold, enabling dynamic computation allocation while achieving load balance without auxiliary losses. This fully causal mechanism eliminates dependence on other tokens in the batch, making it well-suited for autoregressive language mo…

  3. Very close
    Three Phases of Expert Routing: How Load Balance Evolves During Mixture-of-Experts Training
    Charafeddine Mouzouni · 2026 · arXiv.org · preprint, not peer reviewed · cited 4 times · Not summarized yet
    Abstract

    We model Mixture-of-Experts (MoE) token routing as a congestion game with a single effective parameter, the congestion coefficient gamma_eff, that quantifies the balance-quality tradeoff. Tracking gamma_eff across training checkpoints of two open-source MoE models, OLMoE-1B-7B (20 checkpoints, with dense sampling in the surge region) and OpenMoE-8B (6 checkpoints), reveals a three-phase trajectory: a surge phase where the router learns to balance load (gamma_eff: 14 to 36-39, peaking in the step 30K-40K region), a stabilization phase where experts specialize under steady balance (B_0: 2.4 to 2.3, steps 100K-400K), and a relaxation phase where the router trades balance for quality as experts …

  4. Very close
    Coupling Experts and Routers in Mixture-of-Experts via an Auxiliary Loss
    Ang Lv, Jin Ma, Yi-Yuan Ma et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 15 times · Not summarized yet
    Abstract

    Mixture-of-Experts (MoE) models lack explicit constraints to ensure the router's decisions align well with the experts'capabilities, which ultimately limits model performance. To address this, we propose expert-router coupling (ERC) loss, a lightweight auxiliary loss that tightly couples the router's decisions with expert capabilities. Our approach treats each expert's router embedding as a proxy token for the tokens assigned to that expert, and feeds perturbed router embeddings through the experts to obtain intermediate activations. The ERC loss enforces two constraints on these activations: (1) Each expert must exhibit higher activation for its own proxy token than for the proxy tokens of …

  5. Very close
    From Score Distributions to Balance: Plug-and-Play Mixture-of-Experts Routing
    Rana Shahout, Colin Cai, Yi-Lun Du et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 8 times · Not summarized yet
    Abstract

    Mixture-of-Experts (MoE) models can scale parameter capacity by routing each token to a subset of experts through a learned gate function. While conditional routing reduces training costs, it shifts the burden on inference memory: expert parameters and activations consume memory, limiting the number of experts per device. As tokens are routed, some experts become overloaded while others are underutilized. Because experts are mapped to GPUs, this imbalance translates directly into degraded system performance in terms of latency, throughput, and cost. We present LASER, a plug-and-play, inference-time routing algorithm that balances load while preserving accuracy. LASER adapts to the shape of t…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 1 November 2026.

The illustrated guide to the papers around a paper