English

Opportunistic Expert Activation: Batch-Aware Expert Routing for Faster Decode Without Retraining

Machine Learning 2025-11-05 v1

Abstract

An increasing number of LLMs employ Mixture-of-Experts (MoE) architectures where the feed-forward layer is replaced by a pool of experts and each token only activates a small subset of them. During autoregressive generation, these models often enter a memory-bound regime even for moderate batch sizes because the average expert load grows more slowly than in an equivalent dense feedforward layer. Consequently, MoE latency is governed by the number of activated experts. We introduce a framework for dynamically re-routing token-to-expert mapping to lower this number (and thus, the decode latency) while preserving a comparable quality. Our best results use a batch-aware routing that works by having tokens piggyback experts that have already been loaded into memory due to being crucial to other tokens within the same batch. Empirically, we evaluate our method on the Qwen3-30B and Qwen3-235B models with a batch size of 1616. Without any statistically significant loss in accuracy, our approach achieves latency reductions of 39%39\% and 15%15\% in the MoE layer decode latency, respectively.

Keywords

Cite

@article{arxiv.2511.02237,
  title  = {Opportunistic Expert Activation: Batch-Aware Expert Routing for Faster Decode Without Retraining},
  author = {Costin-Andrei Oncescu and Qingyang Wu and Wai Tong Chung and Robert Wu and Bryan Gopal and Junxiong Wang and Tri Dao and Ben Athiwaratkun},
  journal= {arXiv preprint arXiv:2511.02237},
  year   = {2025}
}

Comments

18 pages, 9 figures, 10 tables

R2 v1 2026-07-01T07:20:34.429Z