LAER-MoE: Load-Adaptive Expert Re-layout for Efficient Mixture-of-Experts Training

Xinyi Liu, Yujie Wang, Fangcheng Fu, Xuefeng Xiao, Huixia Li, Jiashi Li, Bin Cui

TL;DR

LAER-MoE introduces a novel distributed training paradigm called Fully Sharded Expert Parallelism (FSEP) to solve the severe load imbalance bottlenecks inherent in Mixture-of-Experts (MoE) models. By seamlessly fusing expert parameter re-layout with standard data-parallel prefetching operations, LAER-MoE enables per-iteration, load-adaptive expert adjustments with zero added communication overhead. This system-level optimization achieves up to a 1.69× training speedup over state-of-the-art frameworks without sacrificing model convergence quality.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) architectures are a popular choice for scaling Large Language Models (LLMs) to trillions of parameters because they only activate a sparse subset of "experts" (feed-forward networks) for each input token. To train these massive models, researchers rely on Expert Parallelism (EP), where different computing devices host different experts.

However, real-world data causes a major headache: dynamic load imbalance. During training, the gating network frequently routes a disproportionate number of tokens to a handful of "hot" experts, leaving other devices idling while waiting for the overloaded ones to finish.

Token distribution imbalance and training time breakdown.

As shown in Figure 1, this imbalance can cause All-to-All communication overhead to skyrocket from 10% to over 40% of total iteration time. Traditional fixes fall short: algorithmic solutions (like adding an auxiliary loss to force uniform routing) degrade model convergence, while existing system-level solutions (like migrating or replicating experts) introduce massive communication and memory overheads, forcing systems to perform adjustments infrequently.

Methods

LAER-MoE addresses this by treating expert re-layout not as an isolated, costly migration phase, but as an integrated part of the standard training pipeline. The framework consists of two main components:

  1. Fully Sharded Expert Parallelism (FSEP): Inspired by Fully Sharded Data Parallelism (FSDP), FSEP splits every expert's parameters into equal chunks across all devices during initialization. During the forward and backward passes, devices use optimized All-to-All communication to dynamically restore only the specific experts they need. Because parameters are fetched on the fly, the system can change the expert layout at every single iteration arbitrarily.
  2. Communication-Computation Overlap: To hide the overhead of fetching these parameters, LAER-MoE relaxes traditional prefetching constraints. It overlaps the expert computation of the current layer with the parameter prefetching of the next layer, completely masking the communication latency behind dense GPU computation.
Overview of the LAER-MoE architecture.

To orchestrate this, LAER-MoE uses an intelligent Load Balancing Planner split into two parts:

  • Expert Layout Tuner (Async on CPU): Uses historical routing data and a heuristic greedy algorithm to determine the optimal number of replicas and locations for each expert for the upcoming iteration.
  • Token Dispatcher (Sync on GPU): A topology-aware "lite routing" algorithm that rapidly distributes tokens evenly among available expert replicas within a node before sending them across nodes, minimizing slow inter-node traffic.

Datasets

The authors evaluated LAER-MoE using two standard, large-scale language modeling datasets:

  • WikiText-103: A collection of over 100 million tokens extracted from verified Wikipedia articles.
  • C4 (Colossal Clean Crawled Corpus): A massive, cleaned version of Common Crawl's web crawl data.

Key Insights and Ideas

  • Fusing Re-layout with Sharding: The core "aha!" moment is realizing that if you already shard your model parameters (like in FSDP/ZeRO-3), reconstructing an expert on a different device doesn't cost any more communication volume than reconstructing it on its original device. Re-layout becomes practically free.
  • Decoupling System Efficiency from Model Quality: By solving load balancing entirely at the system/hardware level, researchers can drop or drastically minimize auxiliary routing losses. This allows the model to converge in fewer training steps while maintaining peak hardware utilization.
  • Topology-Aware Lite Routing: Instead of solving a massive, slow global optimization problem for token routing on the GPU, splitting the problem into an offline CPU layout solver and a fast, localized GPU token dispatcher keeps the planning overhead under 0.1% of total training time.
Load balancing opportunities enabled by FSEP vs. traditional fixed EP.

Key Results

The authors tested LAER-MoE on an 8-node A100 GPU cluster across multiple MoE configurations (including Mixtral-8x7B, Mixtral-8x22B, and Qwen-8x7B variants).

  • End-to-End Speedups: LAER-MoE consistently outperformed all baselines, achieving up to 1.69× acceleration over Megatron-LM, up to 1.50× over standard FSDP+EP, and up to 1.39× over FlexMoE (the previous state-of-the-art system-level balancer).
  • Communication Reduction: The framework successfully reduced the proportion of time spent on All-to-All communication to below 20%, yielding up to a 2.68× speedup in communication efficiency compared to the FSDP+EP baseline.
  • Perfect Convergence: Convergence tests proved that LAER-MoE maintains identical numerical precision and convergence rates compared to standard training setups, confirming that its dynamic adjustments do not alter model behavior.

Limitations and Future Work

While highly effective, the paper notes a few areas for growth:

  • Physical Cluster Scaling: Due to hardware resource constraints, physical experiments were capped at a 32-GPU cluster. Although trace-driven simulations up to 128 GPUs showed stable speedups, real-world cross-rack network bottlenecks at massive scale (thousands of GPUs) remain to be fully explored.
  • Planner Optimizations: The authors plan to develop even more sophisticated and efficient planner algorithms to handle increasingly complex hybrid parallel strategies (combining FSEP with Tensor and Pipeline parallelism).

Summary updated

BibTeX
@inproceedings{liu2026laer,
  author = {Xinyi Liu and Yujie Wang and Fangcheng Fu and Xuefeng Xiao and Huixia Li and Jiashi Li and Bin Cui},
  title = {{LAER-MoE: Load-Adaptive Expert Re-layout for Efficient Mixture-of-Experts Training}},
  booktitle = {ASPLOS},
  year = {2026},
  doi = {10.1145/3779212.3790180},
}
Figure