Skip to content

RScale: Routing-Aware Token-Adaptive Output Correction for Dynamic Expert Skipping in Mixture-of-Experts LLMs

Zhenhao Zhu, Yue Liu, Jiaheng Zhang, Bryan Hooi

cs.AI

Abstract

Dynamic expert skipping reduces the inference cost of Mixture-of-Experts (MoE) LLMs by executing only a token-dependent subset of the top-kk routed experts. Renormalizing the router weights over the surviving experts keeps the mixture convex, but it changes the statistics of the MoE output: the output energy changes by a factor that depends on how much routing mass each token loses. A recent remedy, layer-wise distribution alignment (LDA), matches the per-dimension mean and variance of the pruned output to those of the full top-kk output with a single affine map per layer. We show that this global map only corrects the average change, while the actual change varies from token to token. Building on this observation, we propose \ours{}, which modulates the LDA scale with a per-token scalar computed from the router gates, namely the log-ratio of the second moments of the renormalized and original gates. \ours{} is agnostic to the skipping rule and adds only O(d)O(d) element-wise work per token. Across five MoE models, five skipping rules, and nine benchmarks covering math, knowledge, code and instruction following, \ours{} improves the average performance over LDA on every model, by up to 3.73 points on Qwen3.6-35B-A3B.

Create a lesson