Manuscript Offprint

arXiv:2610.03203

AFORE: Attention-FFN Disaggregation with Overlapped Reconfiguration of Experts

Wenshuang Li, Youhe Jiang, You Peng, Jiawei Jiang, Binhang Yuan

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

Abstract

Mixture-of-Experts (MoE) models are increasingly leveraged in deployed large-scale LLM services, but efficient MoE serving remains challenging due to large expert parameters, input-dependent expert activation, and dynamic workloads. Expert parallelism is commonly used to distribute expert computation across GPUs, while attention-FFN disaggregation (AFD) further improves serving efficiency by separating 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. Based on these insights, 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.

1 Introduction

Mixture-of-Experts (MoE) models are increasingly used by deployed large-scale large language model (LLM) services, including interactive assistants, coding copilots, search, data analysis, enterprise automation, and agentic applications [5, 8, 9, 14, 17, 29]. By activating only a small subset of experts for each token, MoE models increase model capacity while keeping per-token computation manageable [9, 15]. However, serving MoE inference at scale remains costly: expert parameters are large, expert activation is input-dependent, and workloads change over time [10, 12, 21], where the existing solutions are not sufficient. For example, expert parallelism (EP) distributes experts across GPUs to scale expert execution [21], and attention-FFN disaggregation (AFD) [32] further improves resource utilization by separating attention and feed-forward

Figure

Figure

Figure 1 Left: Expert routing load in a representative AFD window. With top-k = 8, a small set of hot experts receives a disproportionate fraction of routed tokens. Right: The resulting load across eight EP workers under static expert placement, where the most loaded worker reaches 2.5×2.5 \times the average load.

computation into distinct worker pools. Yet in AFD, skewed expert routing directly bottlenecks the independent FFN stage, creates pipeline backpressure, and degrades end-to-end serving performance. In this paper, we explore how to reduce dynamic expert-load imbalance in AFD-based MoE serving without incurring reconfiguration overhead that erodes the resulting performance gains.

Addressing this problem is essential because the efficiency of MoE serving increasingly determines the cost and responsiveness of production LLM services [11–13, 21]. As modern MoE models grow and workloads become more heterogeneous, small inefficiencies in expert execution can translate into substantial GPU underutilization, reduced output throughput, and higher tail latency [4, 11, 13, 14, 17, 29]. AFD makes this issue especially consequential: once FFN computation is isolated as a separate pipeline stage, imbalance among expert workers can throttle the entire serving pipeline rather than remaining a localized execution inefficiency [2, 23, 25, 32]. Addressing FFN-side expert imbalance is therefore essential for realizing the scalability benefits of AFD while preserving the latency guarantees required by interactive LLM applications [2, 11, 13, 25, 32].

The key system obstacle is that the existing techniques for scaling MoE serving improve capacity and resource utilization but do not remove the dynamic imbalance that arises from input-dependent expert routing. First, EP‾\underline{\text{First, EP}} partitions expert parameters and computation across GPUs, enabling large expert layers to exceed the memory and compute capacity of a single device [11–13, 21]; however, such an approach also makes expert placement and resource allocation central to performance, because GPUs hosting popular experts become stragglers while others remain underutilized. This imbalance is difficult to avoid statically: different requests, layers, and generation phases can activate substantially different experts, producing the skewed expert-load distributions shown in Figure 1 and across-layer imbalance shown in the left panel of Figure 2.

Second, AFD provides a complementary architecture by separating attention and FFN computation into independently provisioned worker pools [2, 23, 25, 32], but this separation makes the FFN/expert stage a distinct pipeline bottleneck rather than merely one component of monolithic execution. To examine the performance impact of routing skew, we compare synthetic uniform and skewed routing under monolithic attention-FFN execution and AFD. As shown in the right panel of Figure 2, skewed routing reduces normalized throughput by 11.9% under monolithic execution and by 20.1% under AFD. Thus, existing scalability mechanisms address model capacity and coarse resource provisioning, but they are insufficient for handling rapidly changing expert-load skew: an overloaded FFN worker in AFD slows the independent FFN stage, creates pipeline bubbles, backpressures the attention stage, and degrades end-to-end serving performance.

A natural approach to mitigating expert load imbalance is by reconfiguration, which adjusts expert placement according to runtime load [11, 22, 27]. Reconfiguration can improve expert utilization and reduce stragglers, but existing reconfiguration mechanisms face two fundamental challenges:

• C1: Dynamic and unpredictable demand. Expert demand changes over time because token routing depends on the input workload, model layer, sequence position, and request mix [4, 13]. Static placement, historical statistics, or coarse-grained profiling can capture only average or past expert popularity; they cannot reliably describe the expert-token distribution of upcoming execution [11, 18]. As a result,

Figure

Figure

Figure 2 Left: EP load imbalance across MoE layers on ShareGPT, with the most imbalanced layer reaching 3.3×3.3\times imbalance of the average worker load. Right: Normalized throughput under synthetic uniform and skewed routing. Skewed routing reduces throughput by 11.9% under monolithic attention-FFN execution and by 20.1% under AFD.

reconfiguration decisions may react too late or optimize for stale load patterns.

  • C2: Non-negligible system overhead. Expert reconfiguration introduces runtime overhead from placement scheduling, expert-weight migration, routing-metadata updates, and worker coordination [22, 27]. If these operations are exposed on the critical path, the cost of reconfiguration can offset its load-balancing benefit and even degrade overall performance [1, 24].

Our key observation is that AFD, while making expert imbalance more harmful, also provides two architectural opportunities for addressing these challenges. In particular, AFD both amplifies expert imbalance and exposes the temporal structure needed to fix it.

  • O1: Microbatch-level demand is visible. AFD processes requests by a disaggregated microbatch pipeline, where a target microbatch is handled by the attention side before reaching the FFN/expert side [32]. This pipeline structure exposes the expert-token distribution of the target microbatch before its FFN execution. Therefore, reconfiguration decisions can use near-future demand already available in the pipeline, enabling timely expert placement adaptation under dynamic workloads (addressing C1).

  • O2: reconfiguration overhead can be overlapped. AFD creates a pipeline window between observing the target microbatch's expert demand and executing that microbatch on the FFN/expert side [23, 32]. During this window, preceding in-flight microbatches continue executing on FFN workers. This pipeline structure allows expert migration for the target microbatch to overlap with preceding microbatch computation, reducing the migration overhead exposed on the critical path (addressing C2).

Based on these insights, we present AFORE to accelerate MoE inference serving by attention–FFN disaggregation with overlapped reconfiguration of experts. AFORE adapts expert placement over time using microbatch-level expert-demand information and overlaps expert migration with the computation of preceding in-flight microbatches. At its core, AFORE treats expert reconfiguration as a microbatch-aware scheduling problem: for each target microbatch, the system estimates the FFN-stage imbalance under the current placement, evaluates candidate expert-placement changes, and triggers migration only when the expected reduction in FFN bottlenecks outweighs the migration overhead exposed on the critical path. This design improves FFN-stage balance and end-to-end serving efficiency under dynamic workloads. Our contributions are summarized as follows:

Contribution 1: We formulate temporal expert reconfiguration in AFD-based MoE serving as an online expert-placement scheduling problem. The problem jointly determines when to adjust expert placement and which experts to migrate for upcoming microbatches, while accounting for both near-future expert demand and exposed migration overhead. To solve this problem efficiently, we design a migration-aware scheduling algorithm that uses prefetched expert-token distributions to estimate FFN-stage imbalance, evaluates the benefit of candidate placement changes, and performs reconfiguration only when it reduces the critical-path cost of FFN execution.

Contribution 2: We design and implement AFORE with runtime support for microbatch-level demand prefetching and efficient expert migration. AFORE introduces a lightweight prefetching interface that collects the expert-token distribution of target microbatches before they reach FFN execution, enabling placement decisions based on near-future demand. AFORE overlaps expert migration with the computation of preceding in-flight microbatches and applies placement updates at microbatch boundaries to avoid disrupting ongoing execution. To reduce migration time, AFORE uses NVLink-based GPU-GPU expert transfer for fast expert reconfiguration.

Contribution 3: We evaluate AFORE on a 110B-parameter MoE model (i.e., GLM-4.5-Air) under four dynamic serving workloads and compare AFORE against static placement, statistics-based reconfiguration, reactive load-balancing, and prediction-based reconfiguration baselines. Experimental results show 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. Component-wise ablation shows that AFORE improves throughput by 29.8% on average and reduces P95 inter-token latency by 18.2% on average over static placement. Migration profiling further shows that AFD pipeline overlap can fully hide expert-migration latency.

The rest of this paper is organized as follows. §2 provides background and related work. §3 presents the motivation for temporal expert reconfiguration in AFD-based MoE serving. §4 introduces the overall architecture of AFORE. §5 presents the scheduling framework for expert reconfiguration. §6 describes the system design and runtime implementation. §7 presents the system evaluation. §8 concludes the paper.

References (29)