AFORE: Attention-FFN Disaggregation with Overlapped Reconfiguration of Experts
Wenshuang Li, Youhe Jiang, You Peng, Jiawei Jiang, Binhang Yuan
Abstract
Efficient serving of Mixture-of-Experts (MoE) models is challenging due to large expert parameters, input-dependent expert activation, and dynamic workloads. Expert parallelism distributes expert computation across GPUs, while attention-FFN disaggregation (AFD) separates attention and feed-forward computation into independent worker pools. However, we observe that a naive AFD implementation could make expert load imbalance more harmful: once FFN computation becomes an independent pipeline stage, overloaded experts directly slow the FFN stage and degrade end-to-end serving performance. To solve this problem, we present AFORE, a timely expert reconfiguration system for AFD-based MoE serving. AFORE exploits two architectural properties of AFD. First, AFD exposes the expert-token distribution of upcoming microbatches before they reach FFN execution, enabling placement decisions based on near-future demand instead of stale historical profiles. Second, AFD creates a pipeline window in which expert migration for a target microbatch can be overlapped with the computation of preceding in-flight microbatches. AFORE formulates expert reconfiguration as a microbatch-aware scheduling problem and uses a migration-aware scheduler to decide when and which experts to migrate. AFORE further implements lightweight demand prefetching and NVLink-based GPU-GPU expert migration to reduce reconfiguration overhead. Evaluation on a 110B-parameter MoE model across four dynamic workloads shows that AFORE improves output throughput by 10.1-17.6% and reduces P95 inter-token latency by 7.1-9.5% compared with the strongest competing baseline. Compared with static placement, AFORE improves throughput by 29.8% on average and reduces P95 inter-token latency by 18.2% on average. Migration profiling further shows that AFD pipeline overlap can fully hide expert-migration latency.
Create a lesson
Related papers
IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving
Shared title terminologycs.DCYuzheng Wang, Yilong Luo, Junhao Hu et al.
CascadeEP: Asynchronous Expert Execution for MoE Prefill under Attention Imbalance
Shared title terminologycs.DCJin Qin, Tiancheng Hu, Shiyan Wang et al.
AttnEx: Sparse-Attention Indexing with Per-Layer Head Allocation and Streaming Top-k
Shared title terminologycs.DCDongfang Zhao
Preserving Optimizer Updates When Experts Move in MoE Training
Shared title terminologycs.DCYanming Lai, Yi Qin, Yongxin Hu et al.
Activation-Aware Balancing of Fused CPU and GPU Expert Execution for Offline MoE Inference
Shared title terminologycs.DCBorui Xu, Weihao Cui, Yao Chen et al.
BudgetGT: Distributed Full-Graph Transformer on Large Graphs with Budgeted Attention and Memory
Shared title terminologycs.DCChu Zhao, Yuan Fang, Yuhai Zhao et al.