arXiv:2611.00421cs.LGOct 2026

Manuscript Offprint

arXiv:2611.00421

RankLane: Efficient MoE Prefill on Accelerators with Ranked Expert Capacities

Wentao Ni, Chihao Yu, Hong Cai, Mingu Lee, Hejia Zhang, Fatih Porikli, Jishen Zhao

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

ABSTRACT

Mixture-of-experts (MoE) models expand model capacity by activating only a subset of experts for each token. On accelerators with static execution plans, expert capacities and placement are fixed before routing reveals each expert's load. Uniform worst-case capacities waste work on padding; smaller capacities tied to expert identities can overflow. We present RankLane, which ranks each device's experts by current load and assigns them to fixed-capacity lanes. Runtime indices select experts and token rows while tier populations, shapes and device placement remain fixed. An aggregation graph preserves device ownership and reduces each token's local contributions on one core. Routing calibration and measured execution costs guide tier selection; overflowing chunks rerun at full capacity. We evaluate full-model prefill of Qwen3-30B-A3B and Gemma 4 26B-A4B with MXFP6 weights on four Cloud AI 100 Ultra SoCs, using 128–2048-token chunks and including overflow detection and in-program recovery support. Against a dense baseline, RankLane achieves end-to-end prefill speedups of 1.27–4.18× on Qwen3 and 1.93–3.46× on Gemma.

1 INTRODUCTION

Mixture-of-experts (MoE) models expand model capacity while activating only a subset of experts for each token (Shazeer et al., 2017; Fedus et al., 2022). Efficient prefill matters for serving these models because the prompt must be processed before generation begins. Chunked prefill bounds the tokens processed per invocation (Agrawal et al., 2024), but each expert's load still varies with the input and layer. Specialized inference accelerators target high performance per watt and lower serving cost (Chatha, 2021; Amazon Web Services, n.d.). Turning MoE's sparse computation into efficient execution on these platforms requires accommodating this changing demand.

This becomes difficult when the accelerator executes a static plan that fixes tensor shapes, expert capacities and placement before routing. We study this setting on Qualcomm Cloud AI 100, where fixed-capacity lanes execute expert GEMMs (Figure 1(a)). GPU block-sparse kernels adapt their work to routed tokens (Gale et al., 2023); the evaluated graph interface instead executes expert GEMMs in slots with compiled capacities. Runtime indices select weights and tokens within these slots; GEMM shapes and dispatch remain fixed.

Two coupled challenges limit efficiency. First, capacities

tied to expert identities must accommodate their changing peak loads. Qwen3-30B-A3B selects 8 of 128 experts per token (Yang et al., 2025): capacity TT per expert covers any routing of a TT-token chunk but reserves 128TT rows for 8TT assignments. Smaller fixed capacities risk overflow when the busy experts change (Figure 1(b)). Second, returning expert outputs to tokens can erase the savings. Dense aggregation retains large lane-indexed buffers, and compiler placement can redistribute outputs between devices and cores. The latency benefit of smaller expert capacities therefore depends on the storage and locality of the return path (§3).

We present RankLane, which assigns capacities by current load rank while preserving a static execution plan (Figure 1(c)). Our key observation is that the busiest experts change across inputs, while the measured load envelope falls sharply below the first ranks. Ranking each device's experts and assigning fixed rank intervals to tiers gives the largest lanes to the currently busiest experts. Runtime gathers select their weights and token rows while tier populations, tensor shapes and expert-to-device placement remain fixed. To realize these capacity savings, token-owned aggregation gathers a token's local expert outputs and sums them on one core within each device, limiting intermediate storage and communication.

The paper makes three contributions. First, we characterize the capacity savings available from runtime load ranks and show how aggregation governs their latency benefit (§3). Second, we design a compiled program that combines

¹University of California, San Diego ²Qualcomm AI Research. Correspondence to: Jishen Zhao jzhao@ucsd.edu.

Preprint.

Figure

Figure 1. Static execution and changing expert demand. (a) The evaluated Cloud AI 100 graph path fixes lane capacities, shapes and placement. (b) For eight top-2 tokens on one device, uniform capacity reserves 32 rows for 16 assignments; smaller capacities tied to expert identities overflow when the busy experts change. (c) Ranking fits both illustrated chunks into the same 16-row lane layout, followed by local aggregation.

adaptive expert assignment with device-local, token-owned reduction (§4). Third, we integrate calibration and measured execution costs to select tiers, with overflow detection and capacity-TT reruns for loads beyond calibration. Together, these mechanisms preserve token-expert assignments and keep the normal path within the compiled program, without host dispatch between layers.

We evaluate full-model prefill of Qwen3-30B-A3B and Gemma 4 26B-A4B with MXFP6 weights and an on-device KV cache on four Cloud AI 100 Ultra SoCs. Matched ablations isolate the contributions of tiering and reduction, and held-out routing and recovery experiments test capacity coverage (§5). Across 128–2048-token chunks, RankLane includes overflow detection and in-program recovery support and achieves end-to-end prefill speedups over a dense baseline of 1.27–4.18×1.27–4.18\times on Qwen3 and 1.93–3.46×1.93–3.46\times on Gemma.

References (73)