arXiv:2611.09008cs.DCNov 2026

Manuscript Offprint

arXiv:2611.09008

ISER-MoE: Dynamic In-Switch Replication of Hot Experts for Load Balancing in Expert-Parallel

Jintao Peng, Ethan Zhang, Kefeng Duan, Bangyu Sheng, Min Li, Itamar Rosenfeld Rauch, Jack Yang, June Yang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Expert-parallel mixture-of-experts (MoE) layers run at the pace of the most loaded GPU, and a few hot experts carry most of the excess load. Replicating them at every MoE layer balances the load only if their weights arrive within the layer, and broadcasting from the owner is the bottleneck: point-to-point copies overload it, and baseline broadcasts pay latency or bandwidth overheads. We present ISER-MoE (In-Switch Expert Replication for MoE), built in TensorRT-LLM, which multicasts hot experts through the NVLink switch to fixed GPU groups, so each byte leaves its owner once. A GPU scheduler assigns hot experts to groups per layer, and a multi-port broadcast spreads the injection over the group's ports, both overlapped with the shared expert. In trace replay, the scheduler removed 98–99% of the excess load; in prefill serving of DeepSeek-V4-Pro, throughput rose 17.4% on a math benchmark and 7.2% on agentic prompts.

1 Introduction

Agentic workloads send long, multi-turn prompts to large mixture-of-experts (MoE) models [1, 29], and under disaggregated serving [25, 44] their prefill holds most of the GPUs: published agentic configurations of DeepSeek-V4-Pro [7] on GB300 use 24 context (prefill) GPUs against 8 or 16 for generation [24]. Expert parallelism (EP) spreads each MoE layer's routed experts over PP GPUs (ranks; EP8 denotes P=8P=8), and fused MoE kernels such as MegaMoE [22, 42] synchronize all ranks, so each layer runs at the pace of its most loaded rank. On agentic coding traces, the rank imbalance ratio RR of DeepSeek-V4-Pro prefill, the most loaded rank's routed tokens over the mean, averaged 1.21–1.45 at EP4–8, and 1.69 at EP8 on GSM8K, the Grade School Math 8K benchmark (Section 2.2). Training and reinforcement-learning post-training face the same imbalance [2, 36, 45]; the method applies in principle to prefill, generation and training, and we implement and evaluate it for prefill.

A few hot experts carry most of each layer's excess (Section 2.3), so replicas in spare helper slots on underloaded ranks can absorb it. Static history-based plans [4, 5] remove standing skew but not its drift between batches, so recent systems replicate hot experts at every MoE layer invocation: UltraEP [36] and MoonEP [2] plan replicas on the GPU from the current

routing, and the concurrent MegaFlux [38] does so inside the MegaMoE kernel that we also extend.

Replication must move whole experts (37.16 MB each for DeepSeek-V4-Pro in NVFP4, NVIDIA's 4-bit floating-point (FP4) format) within the layer, which raises three problems. Motivation 1 (Section 3.1): in a peak-rate model of FP4 prefill on GB300 (EP8), routed-expert computation hides only one or two DeepSeek-V4-Pro expert copies, whereas the shared expert, which needs no token traffic, leaves room for copies to all four helper slots, and on VR200 (Vera Rubin NVL72) for copies in 11 of 16 modeled scenarios instead of none. Motivation 2 (Section 3.2): a hot expert needs several replicas from one owner, so point-to-point fan-out makes the owner a hot spot. Motivation 3 (Section 3.3): baseline broadcasts pay latency or bandwidth overheads, from rings, from moving the payload twice in scatter + all-gather, or from the single injecting port of in-switch multicast.

In-switch multicast, NVLink's Scalable Hierarchical Aggregation and Reduction Protocol (NVLink SHARP, NVLS), removes the owner hot spot: the switch replicates each store into every member GPU [11, 17], so each byte of a hot expert leaves its owner once, whatever the replica count. Multicast groups, however, are fixed before use, and UltraEP set in-switch multicast aside because replica groups change across layers and micro-batches [36]. ISER-MoE (In-Switch Expert Replication for MoE) fixes the groups instead of the replicas (Figure 6). At each MoE layer invocation, its scheduler, HALO-Q (Hot-Aligned, Locality-Optimal expert replication with Quota repair), places each hot expert on one of a hierarchy of aligned groups created at initialization and reroutes part of its tokens to the replicas. A replication kernel then multicasts the expert from its owner or through SAMI (Scalable Asynchronous Multi-port In-switch broadcast), which spreads the injection over the members' ports. Both run beside the shared expert, so the MoE kernel waits only for the plan.

In trace replay, HALO-Q removed 98–99% of the excess load at EP4–24 (8,192 tokens/rank). On GB300 at EP8, context-only (prefill-only) throughput rose 17.4% on GSM8K and 7.2% on agentic prompts, more than with perfectly balanced routing (13.5% and 6.0%). In disaggregated serving on a GB300 NVL72 rack, it improved P90 request latency by 3.1–4.3% and output throughput by 1.4–1.9%. On pre-release Rubin GPUs at EP8, context-only throughput rose 6.1% on agentic prompts (BF16 combine).

(a)

Figure

(b)

Figure 1: Rank imbalance ratio RR (max/mean routed tokens per rank) of DeepSeek-V4-Pro prefill varies by workload, layer and EP degree (whole-trace loads, contiguous experts per rank). (a) EP8; right: 61-layer means. (b) 61-layer means. Workloads: GSM8K, MMLU (Massive Multitask Language Understanding), IFBench, SciCode, agentic coding traces and random tokens.

Our contributions are:

  • Multicast weight replication (Sections 4.1 and 4.2): to our knowledge, the first to replicate experts per invocation by in-switch multicast, at the cost of a full copy and a helper slot per member of a fixed aligned group.

  • SAMI (Section 4.3): the classic scatter + all-gather broadcast [32, 35] applied to weight replication, fused per slice, with the all-gather multicast from every member's port.

  • A shared-expert copy window (Sections 3.1 and 4.4): a peak-rate model of FP4 prefill, after the DeepSeek-V4 report and the MoE inference system PROBE [7, 46], indicating that the shared expert gives copies the room routed experts lack, and a runtime that hides planning and replication in it.

  • Artifact: ISER-MoE in TensorRT-LLM as DynamicEPLB, a dynamic expert parallelism load balancer, in an open pull request under review [26] (Section 5).

References (28)