TRANSMISSION // 2611.33542v1

RankCast targets the busiest GPU in MoE serving

Source published

A new system balances expert-parallel language-model workloads differently during prompt processing and token generation, reporting faster serving with small benchmark changes.

AI-generated conceptual illustration for RankCast targets the busiest GPU in MoE serving
AI-generated conceptual illustration; not documentary evidence.

In mixture-of-experts models, one overloaded GPU can hold up an entire layer. RankCast tries to ease that bottleneck by adjusting some expert choices at serving time—using one strategy for prompt processing and another for generating replies.

Large language models built with a mixture-of-experts (MoE) design route each token through only a subset of a model’s expert networks. In large-scale serving, those experts are spread across GPUs, or “ranks.” The catch: ranks must coordinate at each layer, so work can stall while the busiest one catches up. The authors of RankCast ask whether carefully changing some expert assignments could reduce that wait.

Their central observation is that the workload’s bottleneck differs between the two main stages of inference. Prefill processes the prompt and is often compute-bound: a rank with many assigned tokens can take longer. Decode generates the response one token at a time and, at moderate batch sizes, can be memory-bound: loading the weights of many active experts matters more than the precise number of tokens assigned to each one.

Two stages, two balancing strategies

RankCast keeps each token’s top-ranked experts protected, then allows some remaining choices to vary within a larger candidate list. In the paper’s terminology, it retains the predicted Top-p experts and selects the rest from the Top-L candidates, with p ≤ k ≤ L, where k is the number of experts used per token.

During prefill, RankCast assigns a “price” to each rank. Candidate experts on crowded ranks become less attractive, steering flexible assignments toward less-loaded ranks and reducing the peak token count. During decode, it instead tries to close selected experts on busy ranks, encouraging tokens to use experts that are already active. It must preserve protected experts and leave each token enough candidates to make its required selections.

The system predicts routing for the next layer, calculates its balancing decision while the current layer is running, and sends compact metadata through communication already used by DeepEP. The authors report that this lets the work overlap with model execution without adding a synchronization barrier. They implemented RankCast in SGLang and DeepEP.

What the tests found

The evaluation used two Qwen models, on deployments with eight or 16 expert-parallel ranks and H800 GPUs across two nodes. For prefill workloads, RankCast reduced the busiest rank’s excess token load by 76–95% in the reported tests. Input throughput rose by as much as 19.4% on ShareGPT and CodeContests workloads; gains on long-context LongBench tests were smaller, reaching 7.3% in the reported configurations.

For decode, the system reduced median time per output token by 6.1–8.2% on Qwen3-235B and 8.8–11.1% on Qwen3.5-397B across the tested workloads. The authors describe the overall maximum as about 10%, but the detailed results include an 11.1% gain. These are results from particular hardware, models, settings and workloads—not a general guarantee for all MoE deployments.

Routing changes can affect answers, so speed is not the only measure. Across eight benchmarks, the largest reported accuracy drop was 0.84 percentage points for Qwen3-235B and 0.43 points for Qwen3.5-397B. Some measured changes were small relative to variation between baseline runs; the authors’ significance analysis found only three of 38 comparisons significant at the 0.05 level. The results therefore do not establish that every small difference is a reliable loss—or that quality is unchanged in every use case.

What remains uncertain

The study covers two models from one family and deployments of up to 16 GPUs. The authors have not tested routers with group-limited or sigmoid gating, and they have not measured RankCast combined with expert placement or replication. RankCast also changes the model’s routing, so it is not lossless; deployments that require the trained routing exactly may prefer placement-based approaches.

This account is based on the paper text for arXiv:2611.33542v1. It is a preprint; the source provided here does not establish that it has been peer reviewed. The findings should be read as the authors’ reported results, with the limited model and hardware scope in mind.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.