TL;DR
Zepp is a new distributed serving system for Mixture-of-Experts (MoE) models that abandons the quest for "perfect" load balancing in favor of directly minimizing inter-node communication bottlenecks. By treating resource balance as a constraint rather than an optimization goal, Zepp uses expert replication, "split and merge" communication primitives, and a three-stream overlapping scheduler to achieve up to a 6.68× speedup over existing state-of-the-art serving frameworks.
What Problem Does This Paper Address?
Scaling MoE models (like Mixtral or DeepSeek) relies on Expert Parallelism (EP), where different "experts" are distributed across multiple GPUs. However, real-world workloads are highly skewed: a few "hot" experts handle the majority of tokens, while others sit idle.
Traditional serving systems try to fix this through aggressive load balancing—padding tokens to make communication uniform or remapping experts across the network to balance computation. The authors of Zepp identify a "balancing dilemma": the operations required to achieve balance (like moving massive expert weights across nodes) often create new bottlenecks that are worse than the original imbalance. As shown in the resource timelines below, optimizing for one resource often just exposes a bottleneck in another.
Methods
Zepp introduces a paradigm shift: Relaxed Balance Constraints. Instead of seeking perfect symmetry, it optimizes for the critical path—inter-node communication—while keeping GPU and NIC (Network Interface Card) usage within acceptable "relaxed" bounds.
Key components include:
- Expert Placement & Locality-Preferred Routing: Zepp replicates popular experts based on historical demand and places them to maximize node-level coverage. It then uses a communication-minimizing routing algorithm that favors local GPUs, only sending tokens across the network when local capacity is truly exhausted.
- Split and Merge Primitives: Unlike dense models that primarily split communication for pipelining, MoE traffic is irregular. Zepp merges redundant token transfers (sending a token once even if it needs multiple experts on the same remote node) and splits traffic to redistribute it across multiple NICs within a node to prevent any single link from becoming a bottleneck.
- Three-Stream Scheduling: Zepp pipelines three distinct streams—token communication, expert computation, and expert-weight movement—allowing them to overlap significantly.
- Intra-node Expert Swaps: To handle dynamic shifts in demand without the massive overhead of global remapping, Zepp performs lightweight expert swaps within a node. This rebalances GPU load using fast NVLink connections rather than slow inter-node links.
Datasets
The researchers evaluated Zepp using realistic MoE traces from:
- LiveCodeBench: A benchmark for code generation.
- MMLU (Professional Law subset): Used specifically to test performance under high expert activation skew.
- Model Architectures: Evaluated on Qwen3-235B and Kimi K2, representing state-of-the-art large-scale MoE models.
Key Insights and Ideas
- "Balance is not free": This is the paper's core philosophy. The overhead of achieving perfect balance (data padding, weight migration) is often a hidden tax that slows down the entire system.
- Locality over Symmetry: It is often faster to have one GPU slightly more loaded than its neighbor if it avoids sending data over the inter-node network. Zepp's "relaxation ratio" allows for this intentional, beneficial imbalance.
- Redundancy is an Opportunity: In MoE, multiple experts often need the same token. By recognizing this, Zepp's "merge" primitive significantly reduces the total volume of data crossing the network compared to standard all-to-all collectives.
Key Results
Zepp was tested against seven state-of-the-art baselines (including DeepSeek's EPLB and Microsoft's COMET) on A100 and H100 clusters:
- Layer Speedup: Achieved up to 6.68× speedup in MoE layer execution compared to vanilla implementations.
- Overall Performance: Delivered a 1.86× geometric mean speedup over the fastest competing baseline across various configurations.
- Scalability: Demonstrated strong "weak scaling," maintaining significant performance gains as the cluster size increased from 2 to 32 nodes (up to 128 GPUs).
- End-to-End Gains: When integrated into the SGLang serving framework, Zepp improved prefill throughput by up to 1.92× and reduced decode latency by up to 1.57×.
Limitations and Future Work
- Intra-node Constraint: The expert swapping mechanism is currently limited to within a single node. While this avoids expensive inter-node weight transfers, it may not be sufficient for extreme global imbalances where one node is vastly more overloaded than all others.
- Historical Warm-up: The initial expert placement relies on historical demand. While the system adapts via swaps, the very first few iterations of a completely new workload might not be fully optimized.
- Future Direction: The authors suggest exploring how these relaxed constraints could be applied to MoE training, where the balance requirements are typically stricter but the potential for communication savings is even larger.
Summary updated