arXiv:2610.39216cs.DCOct 2026

Manuscript Offprint

arXiv:2610.39216

PDScope: Breaking the Prefill-Decode Seesaw for Memory-Bound MoE Inference

Enda Yu, Dezun Dong, Zhaoning Zhang, Xiaojian Yang, Weiling Yang, Shaonan Ma, Dongsheng Li, Yongwei Wu, Xiangke Liao

Enda Yu National University of Defense Technology Changsha, China yuenda@nudt.edu.cn

Xiaojian Yang National University of Defense Technology Beijing, China yangxj@nudt.edu.cn

Dongsheng Li National University of Defense Technology Changsha, China dsli@nudt.edu.cn

Dezun Dong National University of Defense Technology Changsha, China dong@nudt.edu.cn

Weiling Yang National University of Defense Technology Changsha, China w.yang@nudt.edu.cn

Yongwei Wu Qiyuan Laboratory Beijing, China wuyw@tsinghua.edu.cn

Zhaoning Zhang National University of Defense Technology Changsha, China zhangzhaoning@nudt.edu.cn

Shaonan Ma Qiyuan Laboratory Beijing, China mashaonan@qiyuanlab.com

Xiangke Liao National University of Defense Technology Changsha, China xkliao@nudt.edu.cn

Abstract

Local deployment of MoE-based LLMs on CPU-GPU nodes is attractive for cost and privacy reasons, yet limited GPU memory forces most experts into CPU memory. Prefill is then compute-bound and benefits from aggressive GPU loading, while decode is I/O-bound and requires conservative PCIe transfers. These demands cannot be amortized under low batching—typical of local assistants and document tools—forcing phase-agnostic schedulers into a seesaw: favoring prefill's aggressive loading injects unmaskable I/O that stalls decode, while favoring decode's conservative transfers starves prefill's GPU of work. We observe that expert routing is predictable in phase-specific ways, allowing us to decouple the two phases and optimize prediction, scheduling, and execution independently for each phase. PDScope predicts expert activations to guide placement and prefetching, adapts these policies to each phase's bottleneck via cross-layer cost modeling, and compiles decisions into overhead-free pipelines using a static computation graph, cache prefetching, and zero-copy asynchronous I/O. On mainstream MoE models, PDScope achieves 2.5–10.3× higher prefill throughput and 2.1–6.1× higher decode throughput than existing systems, showing that phase-aware co-design unlocks efficient MoE inference under memory constraints and extends naturally to multi-batch settings.

Keywords: Mixture-of-Experts; Offloading; LLM Inference

1 Introduction

The sparse activation of MoE models [5, 24, 34] makes them ideal for local deployment on CPU-GPU servers in cost-sensitive or privacy-prioritizing scenarios. However, limited

Figure

Figure 1. Throughput comparison of prefill (4096 tokens) and decode (per token) on the A100 platform (§5.1).

Figure

Figure 2. Breakdown of inference overhead for DeepSeek-V2-Lite on the A100 platform. Baselines exhibit a seesaw: Fate-style on-demand loading boosts prefill GPU compute but spikes decode PCIe overhead; kTransformers-style static placement tames decode I/O at the cost of idle prefill GPU. PDScope breaks this trade-off by balancing both metrics.

GPU memory forces most expert parameters to reside in CPU memory, causing the two inference phases to exhibit drastically different bottleneck characteristics.

The prefill phase processes input tokens in parallel, with performance determined by the fraction of tokens processed on the GPU—higher GPU computation translates to greater throughput. The decode phase generates tokens autoregressively, with performance dominated by PCIe transfer latency [20, 25, 27, 30]—lower I/O overhead means reduced latency.

Enda Yu, Dezun Dong, Zhaoning Zhang, Xiaojian Yang, Weiling Yang, Shaonan Ma, Dongsheng Li, Yongwei Wu, and Xiangke Liao

These two phases place conflicting demands on system resources: prefill benefits from aggressive expert loading to maximize GPU utilization, while decode requires conservative I/O strategies to avoid transfer bottlenecks. This trade-off creates an inherent seesaw effect: optimizing for one phase inevitably degrades the other, as any static resource allocation cannot satisfy both phases simultaneously.

Existing systems explore different trade-off points with unified scheduling logic. Static placement strategies [2, 10, 16, 23] (e.g., kTransformers [2]) keep hot experts (those processing more tokens) resident on the GPU, prioritizing decode stability but leaving GPU compute underutilized during prefill. On-demand loading strategies [8, 11, 13, 44] (e.g., Fate [9]) fetch experts only when needed, improving prefill throughput but introducing I/O bubbles during decode. Dynamic scheduling strategies [33, 45] (e.g., MoE-APEX [33], HybriMoE [45]) monitor runtime load and adapt expert placement at each layer, but they react to the current layer rather than anticipating the next. As Fig. 1 shows, none of these phase-blind approaches escapes the seesaw: on all evaluated models, the on-demand and dynamic schedulers that lead prefill throughput fall behind in decode, while static placement shows the opposite. A common limitation underlies this dilemma: scheduling decisions are made solely from current runtime state, without exploiting the inherent predictability of expert routing. Without lookahead, prefill schedulers cannot distinguish between hot experts that will be needed soon and those that will not, leading to underfetching of critical experts; decode schedulers cannot avoid unnecessary transfers that do not contribute to future tokens, leading to overfetching and I/O bubbles. This myopia prevents existing systems from breaking the seesaw trade-off.

In contrast, we observe that the two phases are predictable in complementary ways. In prefill, the parallel processing of many tokens provides sufficient context to accurately predict upcoming expert activations across layers; in decode, per-token generation follows consistent patterns that allow for stable I/O planning. Phase heterogeneity is therefore not a disturbance to be smoothed over, but a schedulable resource: instead of forcing both phases into a single scheduling framework, each phase can be modeled, scheduled, and optimized independently at the prediction, scheduling, and execution layers, decomposing the conflicting resource requirements into two separate optimization spaces.

We reframe efficient MoE inference as a phase-adaptive scheduling problem: not how to build a fixed execution flow, but how to dynamically configure its optimal operating point for each phase using predicted routing information. This problem is most pronounced in single-batch scenarios on single CPU-GPU nodes, common in interactive applications like local coding assistants or document processing tools. Here,

requests arrive in single or few batches, eliminating inter-request parallelism that could mask resource contention between prefill and decode. Without such parallelism, all phase-agnostic systems face the same dilemma—using a unified scheduling strategy to adapt to two diametrically opposed optimization goals, leading to severe resource contention and pipeline stalls. Optimizing for this worst-case scenario unlocks the potential of local MoE deployment; improvements for low-batch phase conflicts naturally extend to multi-batch settings where phase conflicts are less severe (§5.3).

Building on this insight, we present PDScope¹—an inference system that treats phase-awareness as a first-class scheduling primitive. Its design includes three key elements that work in concert:

Phase-aware prediction, PhasePer, formalizes expert activation prediction as a phase-specific ranking problem. Exploiting the layer-group effect (§3.1), it achieves 94% Top-6 accuracy on DeepSeek-V2-Lite [4] and Qwen3-30B-A3B [35], providing reliable lookahead for phase-appropriate prefetching. Phase-adaptive scheduling, AdaptSched, co-optimizes current layer placement and upcoming layer prefetching through cross-layer cost modeling, adopting aggressive policies during prefill and conservative policies during decode. Overhead-free execution engine compiles scheduling decisions into efficient sequences through static computation graph, cache prefetching, and zero-copy I/O co-design, preventing runtime overhead from offsetting phase-aware gains.

As shown in Fig. 2, PDScope instead allocates more computation to the GPU during prefill and minimizes PCIe overhead during decode, achieving more balanced resource utilization than phase-blind schedulers. These gains translate into 2.5–10.3× higher prefill throughput and 2.1–6.1× higher decode throughput than existing systems on mainstream MoE models.

References (28)