Director: Accelerating Distributed MoE Serving via Online Proactive Expert Placement

Qianli Liu, Kaibin Guo, Zicong Hong, Peng Li, Fahao Chen, Haodong Wang, Jian Lin, Song Guo

TL;DR

DIRECTOR is a distributed Mixture-of-Experts (MoE) serving system that introduces an online, proactive expert placement strategy. By predicting the routing patterns of incoming requests in the queue and overlapping expert migration with GPU computation, it eliminates communication bottlenecks and load imbalances, reducing end-to-end serving latency by 11% to 55% across popular MoE models like DeepSeek and Qwen.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) architectures have become the go-to design for scaling Large Language Models (LLMs) to trillions of parameters without skyrocketing computational costs. By dynamically routing tokens to a sparse subset of specialized sub-networks ("experts"), MoEs keep FLOPs manageable. However, serving these massive models requires expert parallelism, where experts are distributed across a cluster of GPUs.

This distributed setup introduces two major performance bottlenecks:

  1. High Communication Latency: GPUs must frequently perform all-to-all communication to dispatch tokens to the GPUs hosting their targeted experts.
  2. Load Imbalance: Real-world workloads often exhibit highly dynamic and non-uniform expert selection patterns. If a few experts become highly popular, the GPUs hosting them become stragglers, bottlenecking the entire system.

Existing placement strategies are either offline (static layouts based on historical data) or online reactive (adjusting layouts based on the past batch). As shown in the paper, expert activation patterns shift rapidly across different request batches, meaning reactive designs suffer from a persistent lag and suboptimal performance.

Expert selection frequency showing significant dynamism across batches.

Methods

DIRECTOR shifts the paradigm from reactive to online proactive placement. It analyzes the requests waiting in the queue and optimizes the arrangement of experts across GPUs before the requests are processed.

A comparison of expert placement strategies.

The system achieves this through three core components:

  1. Adaptive Routing Predictor: To foresee token routing without running the heavy full-precision model, DIRECTOR offers two lightweight prediction options:
  2. Cascade Predictor: Stacks single-layer transformers that use early routing predictions as context to prevent error propagation in deeper layers.
  3. Quantized Predictor: Uses a low-bit (INT4) quantized replica of the original MoE model, preserving high routing fidelity at a fraction of the computational cost.
Two options for predicting expert routing in DIRECTOR.
  1. Relaxation-Based Placement Optimizer: Finding the absolute optimal expert placement under GPU capacity constraints is an NP-hard problem. DIRECTOR linearizes the non-linear objective function, solves a Linear Program (LP) relaxation, and applies a randomized "constrained random walk" iterative rounding scheme. This achieves a $(1+\epsilon)$ approximation ratio in polynomial time.
  2. Computation-Overlapped Live Migration: Moving gigabytes of expert weights across GPUs normally introduces severe downtime. DIRECTOR uses a fine-grained scheduling strategy that restricts expert migrations to compute-bound phases (like attention and FFN computation) when the communication network is idle, effectively hiding migration overhead.
Execution timelines comparing naive approaches with DIRECTOR's computation-overlapped pipelining.

Datasets

The authors evaluated DIRECTOR using four representative MoE models: Mistral 8×7B, DeepSeekMoE-16B, DeepSeek-V2-Lite, and Qwen3-30B-A3B.

To simulate a realistic multi-task serving environment, they sampled prompts from three widely recognized datasets:

  • MATH500 (mathematical reasoning)
  • WikiText-103 (text generation)
  • Live Code Bench (code generation)

Key Insights and Ideas

  • Proactive beats Reactive: Anticipating the workload queue yields up to 20% theoretical latency savings over looking backward, because user request distributions shift too quickly for reactive systems to catch up.
  • Context Matters in Routing: Simple token-embedding-to-expert mapping fails at deeper layers because routing decisions are sequentially coupled. Passing early routing choices down as context (the cascade approach) is essential for maintaining prediction accuracy across deep networks.
  • Network Isolation Prevents Congestion: Pipelining expert migration blindly creates resource contention with the model's all-to-all token dispatching. Isolating migration strictly to compute-bound windows is the secret to achieving near-zero downtime.

Key Results

  • Latency Reduction: DIRECTOR consistently outperformed all baselines, achieving an 11% to 55% reduction in end-to-end latency compared to static offline placement.
  • Scalability: The system's advantages become more pronounced at scale. On a 32-GPU H200 cluster, DIRECTOR achieved a 48% latency reduction over the offline baseline, demonstrating its ability to mitigate the severe straggler effects common in large clusters.
  • Predictor Accuracy: The cascade predictor achieved 77%–91% accuracy with a negligible memory footprint (<0.1%), while the 4-bit quantized predictor reached 91%–96% accuracy, nearly matching full-precision routing behavior.

Limitations and Future Work

While DIRECTOR successfully optimizes expert parallelism, its current implementation focuses primarily on this single parallel dimension. The authors note that in massive deployment scenarios, MoE serving is often combined with tensor parallelism and pipeline parallelism. A promising direction for future work is generalizing this proactive, prediction-driven placement paradigm to co-optimize across multiple parallel dimensions simultaneously.

Summary updated

BibTeX
@inproceedings{liu2026director,
  author = {Qianli Liu and Kaibin Guo and Zicong Hong and Peng Li and Fahao Chen and Haodong Wang and Jian Lin and Song Guo},
  title = {{Director: Accelerating Distributed MoE Serving via Online Proactive Expert Placement}},
  booktitle = {INFOCOM},
  year = {2026},
  doi = {10.1109/infocom59046.2026.11571522},
}
Figure