Efficient MoE Inference with Fine-Grained Scheduling of Disaggregated Expert Parallelism
Xinglin Pan, Shaohuai Shi, Wenxiang Lin, Yuxin Wang, Zhenheng Tang, Wei Wang, Xiaowen Chu
TL;DR
FinDEP tackles memory- and latency-intensive MoE inference by introducing fine-grained task scheduling for Disaggregated Expert Parallelism. It builds linear performance models for computation and communication, compares attention/shared-expert ordering (ASAS vs AASS), and solves a convex optimization-based search to determine $m_a$, $r_1$, $m_e$, and $r_2$ for maximum throughput, with an offline/online pipeline for real-time workloads. Empirical results across four GPU testbeds and two MoE backbones show FinDEP achieves up to $1.61\times$ speedup over PPPipe and up to $1.24\times$ on a 32-GPU system, while the solver completes in under a second, enabling rapid adaptation to dynamic sequence lengths and batch sizes. The work demonstrates practical impact by reducing idle GPU time, hiding communication overheads, and enabling scalable deployment of large MoE models in serving environments.
Abstract
The mixture-of-experts (MoE) architecture scales model size with sublinear computational increase but suffers from memory-intensive inference due to KV caches and sparse expert activation. Recent disaggregated expert parallelism (DEP) distributes attention and experts to dedicated GPU groups but lacks support for shared experts and efficient task scheduling, limiting performance. We propose FinDEP, a fine-grained task scheduling algorithm for DEP that maximizes task overlap to improve MoE inference throughput. FinDEP introduces three innovations: 1) partitioning computation/communication into smaller tasks for fine-grained pipelining, 2) formulating a scheduling optimization supporting variable granularity and ordering, and 3) developing an efficient solver for this large search space. Experiments on four GPU systems with DeepSeek-V2 and Qwen3-MoE show FinDEP improves throughput by up to 1.61x over prior methods, achieving up to 1.24x speedup on a 32-GPU system.
