Introduction
Standard Large Language Model (LLM) inference operates in two distinct phases: the compute-heavy prefill phase (processing the input prompt) and the memory-bandwidth-heavy decode phase (generating tokens sequentially). To maximize efficiency, modern systems increasingly adopt "prefill-decode (PD) disaggregation," where these tasks are assigned to separate sets of GPUs to prevent resource contention.
However, this architecture was primarily designed for "one-shot" requests. Today’s LLM applications—such as autonomous agents utilizing tools or Retrieval-Augmented Generation (RAG) systems fetching new data mid-generation—rely heavily on multi-round workflows. These workflows create an interleaved pattern: an initial prefill is followed by decoding, which is then interrupted by an incremental prefill (adding new context), followed by more decoding.
Existing disaggregated systems struggle with this pattern. Routing incremental prefills to dedicated prefill workers incurs high network overhead due to transferring KV caches back and forth, while running them locally on decode workers causes computational "jitter" that degrades generation latency. To address this, researchers introduce AMPD (Adaptive Multi-round with PD disaggregation), a novel serving framework designed to handle the "chatty" nature of modern LLM workflows and maximize Service Level Objective (SLO) attainment.
The AMPD Framework
AMPD tackles the inefficiencies of multi-round inference through three core components:
1. Adaptive Routing
Instead of rigidly sending all prefills to a dedicated worker, AMPD employs a real-time algorithm to dynamically route tasks based on system "slack." If dedicated prefill workers are busy but the local decode worker is idle, AMPD runs the task locally to bypass network transfer overhead. If both are busy, it utilizes a performance model to estimate whether the local or remote path will yield faster execution, explicitly accounting for the "transmission tax" of moving KV caches over the network.
2. SLO-Aware Prefill Reordering
Within the prefill queue, AMPD departs from standard First-Come-First-Served scheduling. It evaluates a small window of pending tasks and reorders them to maximize the number of requests that will successfully meet their Time-to-First-Token (TTFT) deadlines.
3. Offline Deployment Planner
Before serving begins, AMPD uses Integer Linear Programming (ILP) to determine the optimal GPU allocation between prefill and decode roles. It also calculates the best parallelism strategies (such as tensor parallelism) tailored specifically to the expected multi-round workload.
Evaluation and Key Results
The researchers evaluated AMPD using three major LLMs (Qwen3-32B, Llama3.1-70B, and Mixtral-8x7B) across four diverse workload traces: ToolBench (agentic workflows), GAIA (general AI assistants), HotpotQA (iterative RAG), and DuReader (Chinese reading comprehension RAG).
- Massive SLO Gains: AMPD significantly outperformed both co-located systems (like vLLM) and standard disaggregated systems (like Dynamo). By focusing on SLO attainment rather than just raw throughput, AMPD improved SLO success rates by 67.29% to 339.74% on average. In certain high-load scenarios, improvements soared as high as 3435%.
- Low Overhead: The decision-making logic in AMPD is exceptionally lightweight. Adaptive routing takes only 0.39ms, and reordering takes 0.45ms—negligible compared to the hundreds of milliseconds required for LLM computation.
- Robustness: Ablation studies confirmed that while using either routing or reordering independently yields significant gains, their combination is essential for handling heavy, unpredictable traffic.
Limitations and Future Directions
While AMPD sets a new standard for multi-round LLM serving, the authors note a few areas for future improvement:
- Dynamic Workloads: The offline planner currently assumes workload characteristics (e.g., average prompt length) are known in advance. Future versions could adopt a "monitor-and-replan" approach to dynamically adapt to shifting traffic patterns.
- Long Prefills: Exceptionally long incremental prefills can still block decoding. Integrating chunked prefill techniques—breaking large prefills into smaller segments—could further smooth out latency.
- Hardware Heterogeneity: The primary evaluation was conducted on uniform clusters (NVIDIA H20s). Testing AMPD's performance across a mix of older and newer GPUs remains a valuable next step for real-world deployments.
Summary updated