Upload folder using huggingface_hub
Browse files- icml26/8af66b7f-148e-4e46-958c-53d20970e979/appendix_chunks.jsonl +12 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/appendix_text_v3.txt +35 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets.json +79 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_0_Picture_20.jpeg +3 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_11_Figure_9.jpeg +3 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_13_Figure_5.jpeg +3 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_5_Figure_2.jpeg +3 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_6_Figure_1.jpeg +3 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_7_Figure_6.jpeg +3 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/chunks_v3_anonymized.jsonl +121 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/dataset_meta.json +61 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/main_body_chunks.jsonl +102 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/marker_meta.json +1392 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/model_text_v3.txt +305 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/paper.blocks.json +0 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/paper.md +527 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/parse_report.json +76 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/reference_chunks.jsonl +7 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/reference_text_v3.txt +20 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/sanitization_report.json +59 -0
- icml26/8af66b7f-148e-4e46-958c-53d20970e979/sanitized_v3.txt +285 -0
icml26/8af66b7f-148e-4e46-958c-53d20970e979/appendix_chunks.jsonl
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0109", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "The simulator generates simulated performance metrics (i.e., P95 latency) for various model deployment configurations.", "source": "marker_v2", "marker_block_id": "/page/11/Text/3"}
|
| 2 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0110", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Simulator inputs. In addition to the target model deployment configuration, the simulator requires three categories of inputs: (i) Model specifications , including the architecture type (e.g., dense or sparse) and parameter configurations (e.g., number of layers and hidden size); (ii) Hardware characteristics , encompassing GPU specifications such as memory capacity and inter-GPU communication bandwidth; and (iii) Workload characteristics , including request arrival rates and input/output sequence lengths. Collectively, these inputs enable the simulator to accurately model the serving behavior under specific deployment scenarios.", "source": "marker_v2", "marker_block_id": "/page/11/Text/4"}
|
| 3 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0111", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Simulation process. Given the aforementioned inputs, the simulation proceeds in two stages: The profiling stage and the execution stage . (i) The profiling stage is in the charge of the profiler mentioned in §3. It enumerates all operators within the model (including the Q, K, V linear projections, self-attention computations, and feed-forward layers) and profiles the execution time of each operator on the target hardware. (ii) During the execution stage, the simulator leverages the operator latencies obtained from the profiling stage to simulate the concurrent execution of multiple incoming requests. Key inference serving features, such as request dispatching (Katevenis et al., 1991), continuous batching (Yu et al., 2022), model replication (Li et al., 2023), and model parallelism (Shoeybi et al., 2019), are incorporated into this simulation process. The simulator ultimately outputs the P95 latency for the target model deployment configuration.", "source": "marker_v2", "marker_block_id": "/page/11/Text/5"}
|
| 4 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0112", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Simulation for phase splitting and KV retransmission. To accurately evaluate deployment scenarios involving prefill-decoding disaggregation and KV retransmission, we explicitly integrate these features into our simulator. (i) Phase splitting : The simulator supports deploying prefill and decoding replicas onto distinct GPU resources, enabling independent configurations of model parallelism and GPU allocation for each phase. The KV transmission latency between phases is modeled using the \\alpha - \\beta model (Hockney, 1994). (ii) KV retransmission : The simulator incorporates a decision-making mechanism to dynamically determine whether to offload incremental prefill to the prefill model replica or execute it locally on the decoding model replica. This mechanism implements the scheduling policy presented in §4.", "source": "marker_v2", "marker_block_id": "/page/11/Text/6"}
|
| 5 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0113", "section": "A.2. Time Cost of Planning", "page_start": 12, "page_end": 12, "type": "Text", "text": "Figure 7 measures the time cost of our offline planning with different number of GPUs. Since the determination of deployment configuration is formulated as an Integer Linear Programming problem, it can be solved efficiently with existing solvers (Bolusani et al., 2024). Consequently, our planning finishes quickly, taking merely one minute over 256 GPUs. This represents a common cluster scale for LLM serving in many downstream applications.", "source": "marker_v2", "marker_block_id": "/page/11/Text/8"}
|
| 6 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0114", "section": "A.2. Time Cost of Planning", "page_start": 12, "page_end": 12, "type": "FigureGroup", "text": "Figure 7. Time cost offline planning with varying numbers of GPUs.", "source": "marker_v2", "marker_block_id": "/page/11/FigureGroup/303"}
|
| 7 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0115", "section": "A.3. Effectiveness of Planning", "page_start": 12, "page_end": 12, "type": "Text", "text": "Table 2 shows the top-3 ranking of deployment configurations based on our planner's deduction and actual serving. It shows that our planner successfully finds out the optimal configuration that empirically achieves the best performance.", "source": "marker_v2", "marker_block_id": "/page/11/Text/12"}
|
| 8 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0116", "section": "A.3. Effectiveness of Planning", "page_start": 13, "page_end": 13, "type": "TableGroup", "text": "Table 2. Top-3 model deployment configurations deduced by our planner and real-system serving. Across all experiments, our planner produces identical configurations to real-time serving. Model Trace Rank Planner Real-system Serving Llama3.1-70B [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: HotpotQA [#1] P: , D: P: , D: [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: ToolBench [#2] P: , D: P: , D: [#3] P: , D: P: , D: Qwen3-32B [#1] P: , D: P: , D: HotpotQA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: ToolBench [#1] P: , D: P: , D: [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D: Mixtral-8x7B [#1] P: , D: P: , D: HotpotQA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: ToolBench [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D:", "source": "marker_v2", "marker_block_id": "/page/12/TableGroup/398"}
|
| 9 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0117", "section": "B. More Details of Experiments", "page_start": 14, "page_end": 14, "type": "Text", "text": "Experimental traces. The traces used in our experiments are generated from public datasets. In particular, for ToolBench<sup>6</sup> and GAIA<sup>7</sup>, we adopt publicly available traces to represent agentic workflows, while for HotpotQA and DuReader, we record one trace for each dataset by running iterative retrieval augmented generation (Yue et al., 2024) using Qwen3-32B, with each request invoking three retrieval calls.", "source": "marker_v2", "marker_block_id": "/page/13/Text/2"}
|
| 10 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0118", "section": "More experimental results.", "page_start": 14, "page_end": 14, "type": "Text", "text": "Figure 8 compares the average end-to-end latency of all counterparts. AMPD maintains low latencies that are comparable against Dynamo. Although Dynamo has lower latencies in some cases, the gap is small. More importantly, AMPD delivers substantial improvement in terms of SLO attainment (as evaluated in §7), which is essential for real-world serving.", "source": "marker_v2", "marker_block_id": "/page/13/Text/4"}
|
| 11 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0119", "section": "More experimental results.", "page_start": 14, "page_end": 14, "type": "FigureGroup", "text": "Figure 8. The average end-to-end (E2E) latency, corresponding to the experiments in Figure 4.", "source": "marker_v2", "marker_block_id": "/page/13/FigureGroup/189"}
|
| 12 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0120", "section": "More experimental results.", "page_start": 14, "page_end": 14, "type": "Footnote", "text": "6", "source": "marker_v2", "marker_block_id": "/page/13/Footnote/7"}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/appendix_text_v3.txt
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 12 | section: A.1. Performance Simulation | type: Text]
|
| 2 |
+
The simulator generates simulated performance metrics (i.e., P95 latency) for various model deployment configurations.
|
| 3 |
+
|
| 4 |
+
[p. 12 | section: A.1. Performance Simulation | type: Text]
|
| 5 |
+
Simulator inputs. In addition to the target model deployment configuration, the simulator requires three categories of inputs: (i) Model specifications , including the architecture type (e.g., dense or sparse) and parameter configurations (e.g., number of layers and hidden size); (ii) Hardware characteristics , encompassing GPU specifications such as memory capacity and inter-GPU communication bandwidth; and (iii) Workload characteristics , including request arrival rates and input/output sequence lengths. Collectively, these inputs enable the simulator to accurately model the serving behavior under specific deployment scenarios.
|
| 6 |
+
|
| 7 |
+
[p. 12 | section: A.1. Performance Simulation | type: Text]
|
| 8 |
+
Simulation process. Given the aforementioned inputs, the simulation proceeds in two stages: The profiling stage and the execution stage . (i) The profiling stage is in the charge of the profiler mentioned in §3. It enumerates all operators within the model (including the Q, K, V linear projections, self-attention computations, and feed-forward layers) and profiles the execution time of each operator on the target hardware. (ii) During the execution stage, the simulator leverages the operator latencies obtained from the profiling stage to simulate the concurrent execution of multiple incoming requests. Key inference serving features, such as request dispatching (Katevenis et al., 1991), continuous batching (Yu et al., 2022), model replication (Li et al., 2023), and model parallelism (Shoeybi et al., 2019), are incorporated into this simulation process. The simulator ultimately outputs the P95 latency for the target model deployment configuration.
|
| 9 |
+
|
| 10 |
+
[p. 12 | section: A.1. Performance Simulation | type: Text]
|
| 11 |
+
Simulation for phase splitting and KV retransmission. To accurately evaluate deployment scenarios involving prefill-decoding disaggregation and KV retransmission, we explicitly integrate these features into our simulator. (i) Phase splitting : The simulator supports deploying prefill and decoding replicas onto distinct GPU resources, enabling independent configurations of model parallelism and GPU allocation for each phase. The KV transmission latency between phases is modeled using the \alpha - \beta model (Hockney, 1994). (ii) KV retransmission : The simulator incorporates a decision-making mechanism to dynamically determine whether to offload incremental prefill to the prefill model replica or execute it locally on the decoding model replica. This mechanism implements the scheduling policy presented in §4.
|
| 12 |
+
|
| 13 |
+
[p. 12 | section: A.2. Time Cost of Planning | type: Text]
|
| 14 |
+
Figure 7 measures the time cost of our offline planning with different number of GPUs. Since the determination of deployment configuration is formulated as an Integer Linear Programming problem, it can be solved efficiently with existing solvers (Bolusani et al., 2024). Consequently, our planning finishes quickly, taking merely one minute over 256 GPUs. This represents a common cluster scale for LLM serving in many downstream applications.
|
| 15 |
+
|
| 16 |
+
[p. 12 | section: A.2. Time Cost of Planning | type: FigureGroup]
|
| 17 |
+
Figure 7. Time cost offline planning with varying numbers of GPUs.
|
| 18 |
+
|
| 19 |
+
[p. 12 | section: A.3. Effectiveness of Planning | type: Text]
|
| 20 |
+
Table 2 shows the top-3 ranking of deployment configurations based on our planner's deduction and actual serving. It shows that our planner successfully finds out the optimal configuration that empirically achieves the best performance.
|
| 21 |
+
|
| 22 |
+
[p. 13 | section: A.3. Effectiveness of Planning | type: TableGroup]
|
| 23 |
+
Table 2. Top-3 model deployment configurations deduced by our planner and real-system serving. Across all experiments, our planner produces identical configurations to real-time serving. Model Trace Rank Planner Real-system Serving Llama3.1-70B [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: HotpotQA [#1] P: , D: P: , D: [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: ToolBench [#2] P: , D: P: , D: [#3] P: , D: P: , D: Qwen3-32B [#1] P: , D: P: , D: HotpotQA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: ToolBench [#1] P: , D: P: , D: [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D: Mixtral-8x7B [#1] P: , D: P: , D: HotpotQA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: ToolBench [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D:
|
| 24 |
+
|
| 25 |
+
[p. 14 | section: B. More Details of Experiments | type: Text]
|
| 26 |
+
Experimental traces. The traces used in our experiments are generated from public datasets. In particular, for ToolBench<sup>6</sup> and GAIA<sup>7</sup>, we adopt publicly available traces to represent agentic workflows, while for HotpotQA and DuReader, we record one trace for each dataset by running iterative retrieval augmented generation (Yue et al., 2024) using Qwen3-32B, with each request invoking three retrieval calls.
|
| 27 |
+
|
| 28 |
+
[p. 14 | section: More experimental results. | type: Text]
|
| 29 |
+
Figure 8 compares the average end-to-end latency of all counterparts. AMPD maintains low latencies that are comparable against Dynamo. Although Dynamo has lower latencies in some cases, the gap is small. More importantly, AMPD delivers substantial improvement in terms of SLO attainment (as evaluated in §7), which is essential for real-world serving.
|
| 30 |
+
|
| 31 |
+
[p. 14 | section: More experimental results. | type: FigureGroup]
|
| 32 |
+
Figure 8. The average end-to-end (E2E) latency, corresponding to the experiments in Figure 4.
|
| 33 |
+
|
| 34 |
+
[p. 14 | section: More experimental results. | type: Footnote]
|
| 35 |
+
6
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"filename": "_page_0_Picture_20.jpeg",
|
| 4 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/8af66b7f-148e-4e46-958c-53d20970e979/marker_markdown/8af66b7f-148e-4e46-958c-53d20970e979/_page_0_Picture_20.jpeg",
|
| 5 |
+
"bytes": 21323,
|
| 6 |
+
"width": 661,
|
| 7 |
+
"height": 233,
|
| 8 |
+
"aspect_ratio": 2.836909871244635,
|
| 9 |
+
"keep": true,
|
| 10 |
+
"reject_reason": null,
|
| 11 |
+
"model_path": "assets/_page_0_Picture_20.jpeg"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"filename": "_page_11_Figure_9.jpeg",
|
| 15 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/8af66b7f-148e-4e46-958c-53d20970e979/marker_markdown/8af66b7f-148e-4e46-958c-53d20970e979/_page_11_Figure_9.jpeg",
|
| 16 |
+
"bytes": 20552,
|
| 17 |
+
"width": 687,
|
| 18 |
+
"height": 297,
|
| 19 |
+
"aspect_ratio": 2.313131313131313,
|
| 20 |
+
"keep": true,
|
| 21 |
+
"reject_reason": null,
|
| 22 |
+
"model_path": "assets/_page_11_Figure_9.jpeg"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"filename": "_page_13_Figure_5.jpeg",
|
| 26 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/8af66b7f-148e-4e46-958c-53d20970e979/marker_markdown/8af66b7f-148e-4e46-958c-53d20970e979/_page_13_Figure_5.jpeg",
|
| 27 |
+
"bytes": 107205,
|
| 28 |
+
"width": 1331,
|
| 29 |
+
"height": 505,
|
| 30 |
+
"aspect_ratio": 2.6356435643564358,
|
| 31 |
+
"keep": true,
|
| 32 |
+
"reject_reason": null,
|
| 33 |
+
"model_path": "assets/_page_13_Figure_5.jpeg"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"filename": "_page_5_Figure_2.jpeg",
|
| 37 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/8af66b7f-148e-4e46-958c-53d20970e979/marker_markdown/8af66b7f-148e-4e46-958c-53d20970e979/_page_5_Figure_2.jpeg",
|
| 38 |
+
"bytes": 34198,
|
| 39 |
+
"width": 656,
|
| 40 |
+
"height": 254,
|
| 41 |
+
"aspect_ratio": 2.5826771653543306,
|
| 42 |
+
"keep": true,
|
| 43 |
+
"reject_reason": null,
|
| 44 |
+
"model_path": "assets/_page_5_Figure_2.jpeg"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"filename": "_page_6_Figure_1.jpeg",
|
| 48 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/8af66b7f-148e-4e46-958c-53d20970e979/marker_markdown/8af66b7f-148e-4e46-958c-53d20970e979/_page_6_Figure_1.jpeg",
|
| 49 |
+
"bytes": 180253,
|
| 50 |
+
"width": 1313,
|
| 51 |
+
"height": 604,
|
| 52 |
+
"aspect_ratio": 2.173841059602649,
|
| 53 |
+
"keep": true,
|
| 54 |
+
"reject_reason": null,
|
| 55 |
+
"model_path": "assets/_page_6_Figure_1.jpeg"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"filename": "_page_7_Figure_6.jpeg",
|
| 59 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/8af66b7f-148e-4e46-958c-53d20970e979/marker_markdown/8af66b7f-148e-4e46-958c-53d20970e979/_page_7_Figure_6.jpeg",
|
| 60 |
+
"bytes": 24839,
|
| 61 |
+
"width": 1196,
|
| 62 |
+
"height": 159,
|
| 63 |
+
"aspect_ratio": 7.522012578616352,
|
| 64 |
+
"keep": true,
|
| 65 |
+
"reject_reason": null,
|
| 66 |
+
"model_path": "assets/_page_7_Figure_6.jpeg"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"filename": "_page_7_Figure_8.jpeg",
|
| 70 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/8af66b7f-148e-4e46-958c-53d20970e979/marker_markdown/8af66b7f-148e-4e46-958c-53d20970e979/_page_7_Figure_8.jpeg",
|
| 71 |
+
"bytes": 23069,
|
| 72 |
+
"width": 1284,
|
| 73 |
+
"height": 129,
|
| 74 |
+
"aspect_ratio": 9.953488372093023,
|
| 75 |
+
"keep": false,
|
| 76 |
+
"reject_reason": "extreme_aspect_ratio",
|
| 77 |
+
"model_path": null
|
| 78 |
+
}
|
| 79 |
+
]
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_0_Picture_20.jpeg
ADDED
|
Git LFS Details
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_11_Figure_9.jpeg
ADDED
|
Git LFS Details
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_13_Figure_5.jpeg
ADDED
|
Git LFS Details
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_5_Figure_2.jpeg
ADDED
|
Git LFS Details
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_6_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/assets/_page_7_Figure_6.jpeg
ADDED
|
Git LFS Details
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/chunks_v3_anonymized.jsonl
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0000", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "With the rapid evolution of Large Language Models (LLMs), multi-round workflows, such as autonomous agents and iterative retrieval, have become increasingly prevalent. However, this raises hurdles for serving LLMs under prefill-decode (PD) disaggregation, a widely adopted paradigm that separates the compute-bound prefill phase and memory-bound decode phase onto individual resources. Specifically, existing systems overlook the interleaved prefill-decode workload pattern in multi-round inference, leading to sub-optimal handling of the incremental prefill workloads and model deployment for the two phases.", "source": "marker_v2", "marker_block_id": "/page/0/Text/14"}
|
| 2 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0001", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "In this work, we present AMPD, a brand new disaggregated serving framework for multi-round LLM inference. The core of AMPD is to coordinate the prefill workloads based on real-time workloads by adaptively determining where to carry out these workloads and how they are scheduled, in order to maximize service level objective (SLO) attainment. In addition, we tailor a planning algorithm for our scenario, facilitating the deduction of optimal resource allocation and parallel strategies for the two phases. Empirical results demonstrate that AMPD substantially improves SLO attainment compared to state-of-the-art baselines.", "source": "marker_v2", "marker_block_id": "/page/0/Text/15"}
|
| 3 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0002", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Recent years have witnessed the remarkable success of Large Language Models (LLMs), demonstrating exceptional capabilities in natural language understanding and generation (Vaswani et al., 2017; Guo et al., 2025; Yang et al., 2025). Nowadays, LLMs have been widely deployed across diverse domains, ranging from code generation to creative writing. As these application scenarios continue to", "source": "marker_v2", "marker_block_id": "/page/0/Text/17"}
|
| 4 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0003", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "PictureGroup", "text": "Figure 1. Illustration of multi-round LLM inference.", "source": "marker_v2", "marker_block_id": "/page/0/PictureGroup/279"}
|
| 5 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0004", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "scale, how to deploy and serve LLMs efficiently has become critical for both academia and industry (Kwon et al., 2023; Zheng et al., 2024; NVIDIA, 2026b; Zhang et al., 2025b).", "source": "marker_v2", "marker_block_id": "/page/0/Text/22"}
|
| 6 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0005", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Generally, given a request, the LLM inference comprises two sequential phases: prefill and decode. The prefill phase processes the entire input prompt at once to compute the Key-Value (KV) cache, exhibiting compute-bound characteristics. In contrast, the decode phase generates tokens step-by-step auto-regressively, which is highly memorybound. Given this distinct workload discrepancy, colocating both phases on the same hardware resources often leads to prefill-decode interference (a.k.a. resource contention) and low utilization. To address this, the prefill-decode (PD) disaggregation paradigm has emerged as a widely adopted solution (Zhong et al., 2024; Patel et al., 2024; Hu et al., 2024). By separating prefill and decode phases onto distinct hardware resources, PD disaggregation significantly improves LLM serving throughput and resource efficiency.", "source": "marker_v2", "marker_block_id": "/page/0/Text/23"}
|
| 7 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0006", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "To accommodate more complex tasks, LLM inference has moved beyond single-shot responses to multi-round LLM workflows. Representative examples include autonomous agents (Yao et al., 2023) and iterative retrieval-augmented generation (RAG) (Yue et al., 2024), where the model continuously interacts with external environments (e.g., by functional calls). As shown in Figure 1, unlike single-shot inference, these workflows require treating (part of, if not all) the output of environmental interactions as the input of subsequent generation. Consequently, from the perspective of LLM inference, these workflows necessitate an interleaved prefill-decode pattern, where incremental prefill computations occur between decoding steps throughout the inference process of a request.", "source": "marker_v2", "marker_block_id": "/page/0/Text/24"}
|
| 8 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0007", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Although research efforts have been made in both PD disaggregation and multi-round inference acceleration individually, the integration of them remains under-explored.", "source": "marker_v2", "marker_block_id": "/page/0/Text/25"}
|
| 9 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0008", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Essentially, we identify that existing serving systems suffer from two critical limitations when applying PD disaggregation to multi-round workflows.", "source": "marker_v2", "marker_block_id": "/page/1/Text/1"}
|
| 10 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0009", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "The first is the lack of adaptive scheduling . Specifically, in addition to the initial prefill and decode tasks, multi-round LLM inference further necessitates carrying out incremental prefill tasks (i.e., the prefill computations for subsequent rounds). To mitigate PD interference, all prefill 1 tasks are expected to be routed to the prefill instance(s). However, to meet service level objectives (SLOs), the serving system must dynamically decide two factors based on real-time workloads: (1) Whether an incremental prefill task should be executed locally on the decode instance, and if no, which prefill instance it should be routed to. (2) How to schedule the tasks on each prefill instance to cope with the increased burden brought by incremental prefill tasks. Existing systems lack adaptive mechanisms to handle these decisions to improve serving efficiency.", "source": "marker_v2", "marker_block_id": "/page/1/Text/2"}
|
| 11 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0010", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Secondly, there is a lack of awareness for model deployment . Specifically, the optimal configuration for model deployment (including resource allocation and parallel strategy) is strongly related to the workload characteristics. However, previous works determine the model deployment of each phase by merely considering the lengths of input prompts and output responses, which depict the prefill and decode workloads in single-round inference. Undoubtedly, this fails to take account of the unique interleaved workload pattern of multi-round inference, leading to sub-optimal resource provision and parallelism strategy deduction.", "source": "marker_v2", "marker_block_id": "/page/1/Text/3"}
|
| 12 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0011", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "To fill this gap, this work presents AMPD, a novel serving framework for Adaptive Multi-round workflows with PD disaggregation by optimizing the runtime scheduling and deployment strategy. The technical contributions of this work are summarized as follows:", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
|
| 13 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0012", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "We propose a runtime scheduling that addresses the unique interleaved workload pattern of multi-round inference. It consists of an adaptive routing strategy that dynamically decides where to execute prefill tasks based on real-time system loads, as well as a prefill reordering policy that optimizes the execution order of queuing tasks to maximize SLO attainment. We develop an offline deployment planner that formulates the determination of resource allocation and parallel strategies as an integer linear programming problem, and solves it to deduce the optimal deployment configuration. We implement AMPD and evaluate it across diverse multiround workloads. Extensive empirical results demon-", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/580"}
|
| 14 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0013", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "strate that AMPD improves SLO attainment by 67.29%- 339.74% on average compared to both co-located and disaggregated baselines.", "source": "marker_v2", "marker_block_id": "/page/1/Text/9"}
|
| 15 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0014", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Prefill-decode disaggregation. LLM inference consists of the compute-intensive prefill phase and the memorybound decode phase. The time cost of first-token responsiveness, namely Time-to-First-Token (TTFT) 2 , is dominated by the prefill phase, while the per-token generation time, namely Inter-Token Latency (ITL), is related to each decode step. In traditional LLM serving systems that co-locate both phases on the same GPU resources, the resource contention between the two phases leads to significant interference. Prefill-decode (PD) disaggregation (Zhong et al., 2024; Pa tel et al., 2024; Hu et al., 2024) is a promising technique to address such PD interference by dedicating GPU resources for each phase. Consequently, PD disaggregation has been widely adopted in LLM serving (Qin et al., 2025; Liu et al., 2024) , and many efforts have been devoted to optimizing PD disaggregation from various aspects, including elastic scaling (Zhang et al., 2025a; Lai et al., 2025) , mixed-GPU support (JIANG et al.) , and multi-modal support (Singh et al., 2025; Dong et al., 2025) . However, these works on PD disaggregation predominantly target single-round LLM inference, while our work has a different goal and can be incorporated with existing optimizations.", "source": "marker_v2", "marker_block_id": "/page/1/Text/11"}
|
| 16 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0015", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Multi-round LLM workflows. The capability of LLMs has evolved from simple, one-shot answering to complex, multiround workflows. There are two representative scenarios. The first is autonomous agents, typically represented by the ReAct-style agentic workflows, which enable agents to interleave reasoning (LLM generation) with acting (tool use) (Yao et al., 2023; Mialon et al., 2023; Go & Park, 2025; Chen et al., 2024) . The second is iterative retrievalaugmented generation (Shao et al., 2023; Yue et al., 2024; Jin et al., 2025) , which actively retrieves new documents during generation to correct or refine the output. From the serving system's perspective, these multi-round workflows generate interleaved prefill-decode workloads.", "source": "marker_v2", "marker_block_id": "/page/1/Text/12"}
|
| 17 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0016", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "System optimizations for multi-round inference. Recent works have proposed optimizations for multi-round LLM workflows. InferCept (Abhyankar et al., 2024) incorporates the discard, swap, and preserve operations when managing the history KV cache to reduce recomputation wastes. KVFlow (Pan et al., 2025) tailors the prefix caching for multi-agent workflows, allowing different agents to share common prefixes and thereby reduces redundant computation. vLLM-Continuum (Li et al., 2025) predicts the duration of the environmental interactions and decides", "source": "marker_v2", "marker_block_id": "/page/1/Text/13"}
|
| 18 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0017", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "1 Throughout this work, we explicitly distinguish \"initial prefill\" and \"incremental prefill\" when necessary. Unless specified otherwise, the term \"prefill\" refers to either or both variants.", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/8"}
|
| 19 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0018", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "In this work, we use TTFT to measure the latency of both initial and incremental prefill.", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/14"}
|
| 20 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0019", "section": "2. Preliminaries and Related Works", "page_start": 3, "page_end": 3, "type": "Text", "text": "whether to retain the KV cache via a time-to-live mechanism. MARS (Shahout et al., 2025) and AugServe (Wang et al., 2025) predict the output lengths and memory consumption respectively in multi-round LLM inference, and leverage such information to guide the scheduling of requests.", "source": "marker_v2", "marker_block_id": "/page/2/Text/2"}
|
| 21 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0020", "section": "2. Preliminaries and Related Works", "page_start": 3, "page_end": 3, "type": "Text", "text": "Although these works focus on how to optimize system performance for multi-round workflows, all of them are designed under the co-located serving paradigm. To achieve the holistic integration of multi-round workflows and PD disaggregation, there exist unexplored challenges of complex real-time task routing and scheduling as well as the disaggregated deployment configurations.", "source": "marker_v2", "marker_block_id": "/page/2/Text/3"}
|
| 22 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0021", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Figure 2 illustrates the overview of AMPD, which comprises offline and online stages.", "source": "marker_v2", "marker_block_id": "/page/2/Text/5"}
|
| 23 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0022", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Offline stage. The offline stage profiles the workload characteristics and conducts the model deployment planning.", "source": "marker_v2", "marker_block_id": "/page/2/Text/6"}
|
| 24 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0023", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The profiler is responsible for measuring the execution time of different workloads, constructing a performance model for both our offline deployment planner and online adaptive scheduling. We adopt a piecewise α-β model to capture the performance characteristics of three types of tasks and form three time cost functions: (i) Tpre(lhist, lincr; θ), which estimates the time cost of prefilling with history length lhist and incremental input length lincr under parallelism strategy θ (initial prefill tasks are associated with a history length of zero), (ii) Tdec(b; θ), which estimates the time cost of decoding with batch size b under parallelism strategy θ, and (iii) Tkv(lctx; θsrc, θdst), which estimates the time cost of transmitting KV cache with context length lctx across the", "source": "marker_v2", "marker_block_id": "/page/2/Text/7"}
|
| 25 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0024", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "source and destination parallelism strategies (θsrc → θdst).", "source": "marker_v2", "marker_block_id": "/page/2/Text/8"}
|
| 26 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0025", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The planner determines the optimal model deployment configuration (including the resource allocation and parallelism strategies for the two phases) prior to serving, by formulating and solving an integer linear programming problem.", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
|
| 27 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0026", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Online stage. The online stage consists of two major components, namely the coordinator and workers.", "source": "marker_v2", "marker_block_id": "/page/2/Text/10"}
|
| 28 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0027", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The coordinator is in charge of the assignment of different tasks based on the real-time system loads.", "source": "marker_v2", "marker_block_id": "/page/2/Text/11"}
|
| 29 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0028", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The prefill and decode workers correspond to the two phases, respectively, maintaining task queues that record the metadata of pending tasks. Besides, each prefill/decode worker keeps recording its windowed TTFT/ITL statistic (by default, the average TTFT/ITL within the past 10 seconds). Furthermore, to facilitate up-to-date coordination, we implement these queues and windowed statistics with distributed shared memory so that they are globally accessible.", "source": "marker_v2", "marker_block_id": "/page/2/Text/12"}
|
| 30 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0029", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Overall workflow. During the online serving, the inference of a request undergoes the following steps.", "source": "marker_v2", "marker_block_id": "/page/2/Text/13"}
|
| 31 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0030", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "ListGroup", "text": "⃝1 Binding : Upon the arrival of a request (a.k.a., a session), the coordinator first binds the request with a decode worker based on the memory usage (NVIDIA, 2026a) . In other words, the decode worker will be responsible for managing the request's KV cache and conducting all its decode workloads. Such binding helps us unify the handling of both initial and incremental prefill tasks. ⃝2 Routing : Whenever the request requires prefilling (either its initial prefill after the binding or an incremental prefill after an environmental interaction), the coordinator employs an adaptive routing mechanism ( §4.1) to determine where to carry out this prefill task, with two kinds of choices. Local execution: The task is determined to be executed directly on the responsible decode worker (i.e., the decode worker that the request bound to). This avoids network transmission and reduces prefill workers' burden, but pauses the worker's ongoing decoding batch. 3 Remote execution: The task is routed to a prefill worker. This mitigates PD interference but necessitates KV transmission: (i) before the execution of this task, the prefill worker reads the history KV cache from the responsible decode worker if necessary; (ii) after the execution, the newly generated KV cache is transmitted back to the responsible decode worker. 4", "source": "marker_v2", "marker_block_id": "/page/2/ListGroup/663"}
|
| 32 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0031", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Footnote", "text": "3 We follow the implementation in vLLM that prefill tasks are prioritized over decoding to avoid blocking subsequent generation.", "source": "marker_v2", "marker_block_id": "/page/2/Footnote/18"}
|
| 33 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0032", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Footnote", "text": "4 Each decode worker manages a local prefix cache, allowing it to merge the received incremental KV cache with the locally stored history KV cache. Thus, we only transmit the incremental KV cache to minimize network cost.", "source": "marker_v2", "marker_block_id": "/page/2/Footnote/19"}
|
| 34 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0033", "section": "3. System Overview", "page_start": 4, "page_end": 4, "type": "Text", "text": "⃝3 Prefilling : In either case, the designated worker enqueues the prefill task into its own prefill queue, and adopts a pre fill reordering policy ( §4.2) to schedule tasks in the prefill queue. If designated to a prefill worker, it performs KV transmission as described above.", "source": "marker_v2", "marker_block_id": "/page/3/Text/1"}
|
| 35 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0034", "section": "3. System Overview", "page_start": 4, "page_end": 4, "type": "Text", "text": "⃝4 Decoding : After step ⃝3 , the responsible decode worker possesses all KV cache of this request, and continues the auto-regressive decoding process.", "source": "marker_v2", "marker_block_id": "/page/3/Text/2"}
|
| 36 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0035", "section": "3. System Overview", "page_start": 4, "page_end": 4, "type": "Text", "text": "In multi-round inference, the request may trigger an interaction with external environments (e.g., a function call), which is typically handled by a background CPU process of the decode worker. Upon the completion of interaction, it forms an incremental prefill task. Then, the coordinator is notified and we loop back to step ⃝2 . This recursion repeats until the inference of this request reaches termination.", "source": "marker_v2", "marker_block_id": "/page/3/Text/3"}
|
| 37 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0036", "section": "4. Online Adaptive Scheduling", "page_start": 4, "page_end": 4, "type": "Text", "text": "Our online adaptive request scheduling consists of two techniques, namely adaptive routing and prefill reordering. These techniques address (i) where to carry out the prefill tasks, and (ii) how to schedule the prefill tasks within each worker, respectively.", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 38 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0037", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "In essence, PD disaggregation separates the computeintensive prefill phase and memory-bound decode phase onto individual resources, resolving the PD interference that occurs in co-located serving. Nevertheless, in multi-round inference, where to carry out the prefill tasks necessitates deliberation. For one thing, if we always route the prefill tasks (both initial and incremental) to prefill workers (remote execution), decode workers can remain focused on steady-state decoding and thus optimize ITL. However, it incurs extra transmission cost of KV cache and increases the burden of prefill workers, harming TTFT. For another, carrying out some prefill workloads by the decode workers themselves (local execution) eliminates the transmission cost and benefit TTFT, but makes decode workers more susceptible to PD interference, which leads to spikes in ITL.", "source": "marker_v2", "marker_block_id": "/page/3/Text/7"}
|
| 39 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0038", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "To strike a good balance between TTFT and ITL, we develop an SLO-oriented adaptive routing mechanism, which determines where each prefill task should be executed. The general idea is to leverage the windowed TTFT and ITL statistics to evaluate real-time system loads, and make the routing decision that is less likely to violate SLO requirements.", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
|
| 40 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0039", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Algorithm routine. Algorithm 1 shows the workflow of our adaptive routing mechanism. Given a prefill task (along with the corresponding decode worker), we first identify prefill workers with sufficient slack to meet the TTFT SLO", "source": "marker_v2", "marker_block_id": "/page/3/Text/9"}
|
| 41 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0040", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Algorithm 1 \\ Adaptive routing mechanism for prefill tasks. TTFT i denotes the windowed TTFT statistic of the i-th prefill worker. ITL d denotes the windowed ITL statistic of the current decode worker. TTFTthres and ITLthres are the thresholds for TTFT and ITL. α, β are hyper-parameters for identifying TTFT or ITL slack.", "source": "marker_v2", "marker_block_id": "/page/3/Text/10"}
|
| 42 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0041", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "ListGroup", "text": "1: for each prefill worker i in random order do 2: if TTFT \\ i ≤ α · TTFTthres then 3: return remote i 4: if ITL d ≤ β · ITLthres then 5: return local 6: Estimate local execution cost tlocal 7: for each prefill worker i do 8: Estimate remote execution cost tremote i via Eq. (2) 9: return arg minroute∈{local,remote1,remote2,··· } troute", "source": "marker_v2", "marker_block_id": "/page/3/ListGroup/830"}
|
| 43 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0042", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "and route the task to an eligible candidate (lines 1-3). If all prefill workers are under pressure (i.e., TTFT approaching the SLO threshold), we examine whether the current decoder worker's windowed ITL shows sufficient slack, and if yes, a local execution will be triggered (lines 4-5). Otherwise, we estimate and compare the time cost of both local and remote execution for the final routing decision (lines 6-9).", "source": "marker_v2", "marker_block_id": "/page/3/Text/20"}
|
| 44 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0043", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Particularly, as introduced in §3, we construct performance model based on offline profiling. Thus, the time cost of local execution on decode worker d can be easily estimated via", "source": "marker_v2", "marker_block_id": "/page/3/Text/21"}
|
| 45 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0044", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Equation", "text": "t_{\\text{local}} = T_{\\text{pre}}(l_{hist}, l_{incr}; \\theta_d) + \\sum_{k \\in \\text{prefill.queue}_d} T_{\\text{pre}}(l_{hist_k}, l_{incr_k}; \\theta_d), \\quad (1)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/22"}
|
| 46 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0045", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "where lhist denotes the history length, lincr denotes the incremental input length, θ d denotes the parallelism strategy of decode worker d, and prefill queue d denotes its prefill queue. The first term is the estimated time cost of executing this prefill task on decode worker d while the second term represents the estimated queuing time.", "source": "marker_v2", "marker_block_id": "/page/3/Text/23"}
|
| 47 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0046", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Similarly, if we route the task to the i-th prefill worker for remote execution, the time cost can be estimated via", "source": "marker_v2", "marker_block_id": "/page/3/Text/24"}
|
| 48 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0047", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\begin{split} t_{\\text{remote}_{i}} &= t_{\\text{pre}_{i}} + t_{\\text{kv}_{i}} + t_{\\text{queue}_{i}}, \\text{ where} \\\\ t_{\\text{pre}_{i}} &= \\text{T}_{\\text{pre}}(l_{hist}, l_{incr}; \\theta_{p_{i}}), \\\\ t_{\\text{kv}_{i}} &= \\text{T}_{\\text{kv}}(l_{hist}; \\theta_{d}, \\theta_{p_{i}}) + \\text{T}_{\\text{kv}}(l_{incr}; \\theta_{p_{i}}, \\theta_{d}), \\\\ t_{\\text{queue}_{i}} &= \\sum_{k \\in \\text{prefill\\_queue}_{i}} \\text{T}_{\\text{pre}}(l_{hist_{k}}, l_{incr_{k}}; \\theta_{p_{i}}), \\end{split}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/25"}
|
| 49 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0048", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "where θ p i denotes the i-th prefill worker's parallelism strategy and prefill queue i denotes its prefill queue. The three terms correspond to the estimated time cost of (i) prefill computation, (ii) transmitting the KV cache back and forth, and (iii) queuing on the prefill worker.", "source": "marker_v2", "marker_block_id": "/page/3/Text/26"}
|
| 50 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0049", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "ListGroup", "text": "1: W \\leftarrow Q.\\operatorname{peek}(w), \\pi^* \\leftarrow \\phi 2: for each ordering \\pi over W do 3: if \\pi violates the postponement capacity then 4: continue", "source": "marker_v2", "marker_block_id": "/page/4/ListGroup/458"}
|
| 51 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0050", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "ListGroup", "text": "5: Compute the number of TTFT-satisfying tasks S_{\\pi} based on Eq (4). 6: \\pi^* \\leftarrow (\\pi^* == \\phi \\text{ or } S_{\\pi} > S_{\\pi^*}) ? \\pi : \\pi^* 7: Increment postponement counters for tasks that are postponed in \\pi^* 8: Q.\\operatorname{reorder}(\\pi^*), r \\leftarrow Q.\\operatorname{dequeue}() 9: Schedule r for execution", "source": "marker_v2", "marker_block_id": "/page/4/ListGroup/459"}
|
| 52 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0051", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "Text", "text": "Based on the estimated time cost, the prefill task will be routed to the one with the lowest cost.", "source": "marker_v2", "marker_block_id": "/page/4/Text/11"}
|
| 53 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0052", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "Text", "text": "Discussion. Although our adaptive routing mechanism needs to gather the shared metadata (windowed statistics and queuing information) from different workers, this is done concurrently. And the time cost estimation is extremely fast. Thus, the overhead of this mechanism is minor.", "source": "marker_v2", "marker_block_id": "/page/4/Text/12"}
|
| 54 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0053", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "The routing mechanism in §4.1 leverages the TTFT/ITL slacks across prefill and decode workers to achieve real-time adaptive scheduling. In fact, thanks to our performance modeling, it is also feasible to identify the TTFT slacks of the tasks in each prefill queue. In other words, if a pending task is far from violating the TTFT SLO requirement, then we can schedule it later as a longer queuing time would not harm its TTFT SLO satisfaction.", "source": "marker_v2", "marker_block_id": "/page/4/Text/14"}
|
| 55 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0054", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Following this, we develop a lightweight TTFT-aware prefill reordering policy. In a nutshell, to schedule one task from its prefill queue for execution, we employ a small lookahead window with size w at the head of the queue, and reorder the tasks within the window in order to maximize the number of tasks satisfying the TTFT SLO.", "source": "marker_v2", "marker_block_id": "/page/4/Text/15"}
|
| 56 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0055", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Algorithm routine. The routine of our reordering policy is shown in Algorithm 2. Let T_{now} denote the current time, T_{\\rm enq}^{(r)} the enqueue time of task r, and t_{\\rm pre}^{(r)} the estimated time cost for r following our performance model. We first peek up to w head elements of the prefill queue to form a window W = \\{r_1, r_2, \\dots\\} (line 1). Then, we enumerate feasible orderings to optimize TTFT within W (lines 2-7). In particular, for any ordering \\pi over W, the completion time (relative to T_{now} ) of the \\pi(k) -th request (i.e., the k-th one in \\pi ) can be predicted as", "source": "marker_v2", "marker_block_id": "/page/4/Text/16"}
|
| 57 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0056", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Equation", "text": "C^{(\\pi(k))} = \\sum_{j=1}^{k} t_{\\text{pre}}^{(\\pi(j))}. (3)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/17"}
|
| 58 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0057", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Subsequently, the number of TTFT-satisfying tasks within", "source": "marker_v2", "marker_block_id": "/page/4/Text/18"}
|
| 59 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0058", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "W under ordering \\pi can be predicted as", "source": "marker_v2", "marker_block_id": "/page/4/Text/19"}
|
| 60 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0059", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Equation", "text": "S_{\\pi} = \\sum_{k=1}^{|W|} \\mathbb{I}\\left[ \\left( T_{now} - T_{\\text{enq}}^{(\\pi(k))} \\right) + C^{(\\pi(k))} \\le \\text{TTFT}_{\\text{thres}} \\right]. \\tag{4}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/20"}
|
| 61 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0060", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Consequently, to improve TTFT SLO attainment, we choose the ordering \\pi^* = \\arg \\max_{\\pi} S_{\\pi} that maximizes the number of TTFT-satisfying tasks within W (lines 5-6).", "source": "marker_v2", "marker_block_id": "/page/4/Text/21"}
|
| 62 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0061", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "In addition, we enforce that each task can be postponed by at most w times to prevent starvation. Particularly, we maintain a postponement counter for each task, and increment it whenever the task is postponed due to reordering (line 7). Once there are any tasks' postponement counters reaching w, we skip the orderings that postpone such tasks (lines 3-4).", "source": "marker_v2", "marker_block_id": "/page/4/Text/22"}
|
| 63 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0062", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "After the optimal ordering is obtained, the head elements of the prefill queue are reordered accordingly, after which, the first element will be scheduled for execution (lines 8-9).", "source": "marker_v2", "marker_block_id": "/page/4/Text/23"}
|
| 64 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0063", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Discussion. Since it is extremely fast to evaluate the number of TTFT-satisfying tasks for one ordering and the window size is typically small (less than 5 in practice), the overhead incurred by the reordering policy is negligible.", "source": "marker_v2", "marker_block_id": "/page/4/Text/24"}
|
| 65 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0064", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Last but not least, it is noteworthy that the estimated queuing time in Eq. (2) does not take account of the prefill reordering policy. Nevertheless, it does not harm the effectiveness of our adaptive routing mechanism, since the window size is small compared to the size of the prefill queue in practice.", "source": "marker_v2", "marker_block_id": "/page/4/Text/25"}
|
| 66 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0065", "section": "5. Offline Deployment Planning", "page_start": 5, "page_end": 5, "type": "Text", "text": "As depicted in Figure 3, the deployment of disaggregated serving should consider two factors for each worker type (prefill and decode): (i) instantiating multiple independent replicas to handle concurrent requests (a.k.a., data parallelism (Li et al., 2023)), and (ii) partitioning each individual replica across multiple GPUs to satisfy memory and computational requirements (a.k.a., model parallelism (Shoeybi et al., 2019)). Consequently, to optimize the model deployment, we must establish appropriate data and model parallelism configurations for both worker types, while conforming to a fixed GPU resource capacity constraint.", "source": "marker_v2", "marker_block_id": "/page/4/Text/27"}
|
| 67 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0066", "section": "5. Offline Deployment Planning", "page_start": 5, "page_end": 5, "type": "Text", "text": "In response to this, we formulate the model deployment planning as a resource-constrained optimization problem . The goal is to identify the specific combination of model parallelism (partition) and data parallelism (replication) configurations for each worker type that maximizes performance.", "source": "marker_v2", "marker_block_id": "/page/4/Text/28"}
|
| 68 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0067", "section": "5. Offline Deployment Planning", "page_start": 5, "page_end": 5, "type": "Text", "text": "Formulation of planning. We first introduce the decision variables . Since model parallelism degrees are typically powers of 2, we can represent the deployment via the number of replicas associated with each feasible model parallelism degree. Specifically, given a discrete set of supported", "source": "marker_v2", "marker_block_id": "/page/4/Text/29"}
|
| 69 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0068", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "FigureGroup", "text": "Figure 3. Illustration of disaggregated LLM serving where prefill and decode workers are with different parallelism configurations.", "source": "marker_v2", "marker_block_id": "/page/5/FigureGroup/833"}
|
| 70 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0069", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "model parallelism degrees T (e.g., {1, 2, 4, 8}), the decision variables comprise two integer vectors, x, y ∈ Z |T | ≥0 (e.g., x = [x (1), x(2), x(4), x(8)], y = [y (1), y(2), y(4), y(8)]). For each model parallelism degree n ∈ T , the variable x (n) (y (n) ) denotes the number of prefill (decode) workers that are deployed with model parallelism degree n (i.e., each partitioned across n GPUs).", "source": "marker_v2", "marker_block_id": "/page/5/Text/4"}
|
| 71 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0070", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Subsequently, to establish the optimization target, we introduce an auxiliary variable Z, which represents the maximum P95 latency among all workers. We formulate this resource allocation problem as an Integer Linear Programming (ILP) problem (Vielma, 2015) :", "source": "marker_v2", "marker_block_id": "/page/5/Text/5"}
|
| 72 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0071", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Equation", "text": "\\underset{\\mathbf{x},\\mathbf{y} \\in \\mathbb{Z}_{\\geq 0}^{|\\mathcal{T}|}}{\\arg \\min} \\quad Z \\mathbf{x},\\mathbf{y} \\in \\mathbb{Z}_{\\geq 0}^{|\\mathcal{T}|} s.t. (C1) Z \\geq \\tau_{pre}(n), \\quad \\forall n \\in \\mathcal{T} \\text{ where } x^{(n)} \\geq 1 (C2) Z \\geq \\tau_{dec}(n), \\quad \\forall n \\in \\mathcal{T} \\text{ where } y^{(n)} \\geq 1 (C3) \\sum_{n \\in \\mathcal{T}} (x^{(n)} \\cdot n) + \\sum_{n \\in \\mathcal{T}} (y^{(n)} \\cdot n) \\leq N (5)", "source": "marker_v2", "marker_block_id": "/page/5/Equation/6"}
|
| 73 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0072", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Constraints (C1) and (C2) establish P95 latency bounds of disaggregated inference. The coefficients τpre(n), τdec(n) represent the estimated P95 latency 5 of a single prefill or decode worker replica configured with model parallelism degree n. Since the two constraints require that Z must be at least as large as the P95 latency of any instantiated worker replica, minimizing Z represents minimizing the worst-case P95 latency across all deployed worker replicas (i.e., optimizing the bottlenecked worker replicas). Constraint (C3) enforces the global GPU resource capacity. For each configuration with model parallelism degree n, the GPU consumption equals the product of the number of worker replicas (x (n) or y (n) ) and the parallelism degree n. This constraint ensures that the total number of GPUs allocated across all worker replicas does not exceed the available cluster capacity N.", "source": "marker_v2", "marker_block_id": "/page/5/Text/7"}
|
| 74 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0073", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Planning solver. The formulation in Eq. (5) constitutes a multi-dimensional variant of the Unbounded Knapsack", "source": "marker_v2", "marker_block_id": "/page/5/Text/8"}
|
| 75 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0074", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Problem (Pisinger & Toth, 1998) , requiring the solver to evaluate integer combinations of valid model parallelism degrees to identify the optimal resource allocation. We employ a standard Mixed Integer Linear Programming (MILP) solver (Huangfu & Hall, 2018) to solve this optimization problem. The solver accepts the simulated P95 latency coefficients τpre(n) and τdec(n) as constant parameters, and explores the feasible region defined by the integer vectors x and y. This approach is computationally efficient for typical cluster scales (see Appendix A.2 for details), and guarantees identification of the global optimum that balances both worker types while fully utilizing available GPU resources.", "source": "marker_v2", "marker_block_id": "/page/5/Text/10"}
|
| 76 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0075", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Discussion. In Eq. (5) , we adopt the P95 latency as our surrogate objective, while the goal of our system (particularly, the two approaches in §4) is to maximize SLO attainment. This discrepancy is due to the infeasibility to solve the optimization of SLO attainment via efficient linear programming solvers. Particularly, owing to the binary output of SLO satisfaction, the SLO attainment metric cannot serve as a continuous surrogate objective. Consequently, our ILP is formulated to minimize the P95 latency. Despite this discrepancy, empirical evaluation demonstrates that our planning is effective in finding the optimal deployment. We refer interested readers to Appendix A.3 for more details.", "source": "marker_v2", "marker_block_id": "/page/5/Text/11"}
|
| 77 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0076", "section": "6. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "AMPD is implemented atop NVIDIA Dynamo (NVIDIA, 2026b) . We adopt Redis to enable global sharing of the queues and windowed TTFT/ITL statistics, and utilize the SCIP library (Bolusani et al., 2024) to solve Eq. (5) . For efficient KV cache transmission, we leverage the NVIDIA Inference Xfer Library (NIXL) (NVIDIA, 2026c) to achieve point-to-point RDMA network communication across prefill and decode workers. The transmission of history KV cache is implemented as lazy reads. To be specific, our routing mechanism ( §4.1) sends merely metadata to prefill workers for remote execution. Only when an incremental prefill task is scheduled for execution ( §4.2) , should the prefill worker read the history KV cache from the decode worker. Additionally, the KV cache transmission overlaps with the computation of the previous task to hide the network latency.", "source": "marker_v2", "marker_block_id": "/page/5/Text/13"}
|
| 78 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0077", "section": "7.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Environments. We conduct experiments over 4 servers, each with 8 NVIDIA H20 (96GB) GPUs. The GPUs within each server are interconnected via NVLink with a bandwidth of 900GB/s, while the servers are interconnected by InfiniBand with a bandwidth of 200GB/s.", "source": "marker_v2", "marker_block_id": "/page/5/Text/16"}
|
| 79 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0078", "section": "7.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Workloads. Three LLMs are used in our experiments,", "source": "marker_v2", "marker_block_id": "/page/5/Text/17"}
|
| 80 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0079", "section": "7.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "5 We adopt a simulator for estimating the P95 latency performance of different configurations based on the performance model, which is detailed in Appendix A.1.", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/9"}
|
| 81 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0080", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "FigureGroup", "text": "Figure 4. End-to-end comparison. The top three rows are the SLO attainment under different configurations (traces and request arrival rates) for the three models. The bottom row is a detailed breakdown of Llama-3.1-70B with a request arrival rate of 2 reqs/s, including the average TTFT for initial prefill, average TTFT for incremental prefill, and average ITL for decoding.", "source": "marker_v2", "marker_block_id": "/page/6/FigureGroup/295"}
|
| 82 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0081", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "which are Qwen3-32B (Yang et al., 2025), Llama3.1-70B (Grattafiori et al., 2024), and Mixtral-8x7B (Jiang et al., 2024). Since our major focus is serving efficiency, we conduct experiments by running the same traces with AMPD and the baselines to achieve a fair comparison. Four workload traces are considered, which are generated from the ToolBench (Guo et al., 2024), GAIA (Mialon et al., 2024), HotpotQA (Yang et al., 2018), and DuReader (He et al., 2018) datasets, respectively. Due to the space constraint, we summarize the length information in Table 1, while leaving the details of these traces to Appendix B. For each model, we run HotpotQA and ToolBench workloads on a single server (8 GPUs), DuReader on two servers (16 GPUs), and GAIA on four servers (32 GPUs), to match the workload scale and system capacity.", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 83 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0082", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "TableGroup", "text": "Table 1. The average number of rounds, prefill length, and decode length of each trace. Trace #Rounds Prefill Length Decode Length ToolBench 3.96 703.79 50.39 GAIA 11.32 6161.02 528.76 HotpotQA 3 3 1569.8 80.03 DuReader 3081.23 150.10", "source": "marker_v2", "marker_block_id": "/page/6/TableGroup/296"}
|
| 84 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0083", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "Baselines. We compare AMPD with three state-of-the-art LLM serving systems as follows.", "source": "marker_v2", "marker_block_id": "/page/6/Text/6"}
|
| 85 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0084", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "ListGroup", "text": "Dynamo (NVIDIA, 2026b): The original NVIDIA Dynamo disaggregated serving system under PD disaggregation without the techniques proposed in this work. It always separates the prefill and decode workloads onto different resources. vLLM (Kwon et al., 2023): One of the most prestigious", "source": "marker_v2", "marker_block_id": "/page/6/ListGroup/297"}
|
| 86 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0085", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "LLM serving system under PD co-location.", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
|
| 87 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0086", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "vLLM-Continuum (Li et al., 2025): A serving system based on vLLM tailored for multi-round workflows.", "source": "marker_v2", "marker_block_id": "/page/6/Text/10"}
|
| 88 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0087", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "Protocols. In all experiments, we utilize our offline planner to determine the model deployment of AMPD, while we tune the model deployment for all baselines and report the best results to be fair. By default, the hyper-parameters are set as \\alpha=0.9, \\beta=0.85, w=3 . We follow the previous standard to generate request arrival times using Poisson process with different request arrival rates (Kwon et al., 2023; Zhong et al., 2024; Yu et al., 2022), and take SLO attainment as the primary evaluation metric.", "source": "marker_v2", "marker_block_id": "/page/6/Text/11"}
|
| 89 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0088", "section": "7.2. Experiment Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "End-to-end comparison. To begin with, we conduct experiments to measure the SLO attainment of all counterparts under various request arrival rates, with results presented in Figure 4.", "source": "marker_v2", "marker_block_id": "/page/6/Text/13"}
|
| 90 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0089", "section": "7.2. Experiment Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "Overall, AMPD achieves the highest SLO attainment across all experiments. Compared to Dynamo (the disaggregated baseline) and vLLM (the co-located baseline), AMPD improves SLO attainment by up to 967.54% and 3435.1% (67.29% and 339.74% on average), respectively.", "source": "marker_v2", "marker_block_id": "/page/6/Text/14"}
|
| 91 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0090", "section": "7.2. Experiment Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "To understand the performance gain, we further provide a detailed breakdown in the bottom row of Figure 4. It can be observed that, both co-located and disaggregated serving exhibit divergent latency trade-offs. Co-located serving favors executing prefill tasks earlier (e.g., via prioritization or preemption) for the sake of continuous batching, which", "source": "marker_v2", "marker_block_id": "/page/6/Text/15"}
|
| 92 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0091", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 5. Ablation studies (Llama3.1-70B, 2 regs/s). Left: DuReader. Middle: GAIA. Right: Proportion of local and remote execution.", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/301"}
|
| 93 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0092", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 6. Sensitivity experiments w.r.t. w, \\alpha, \\beta (Llama3.1-70B, DuReader, 2 reqs/s).", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/302"}
|
| 94 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0093", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "reduces TTFT but disrupts the execution of decode tasks and thereby deteriorates ITL. In contrast, PD disaggregation decouples prefill from decode, reducing PD interference on decode workers and typically achieving lower ITL, yet TTFT often becomes the bottleneck due to the reduction in prefill resources and the overhead of KV cache transmission. These trends are also observed across tasks. On HotpotQA, DuReader, and ToolBench, disaggregated serving often outperforms co-located serving because its ITL advantage dominates end-to-end behavior. On GAIA, colocated serving becomes favorable (compared to Dynamo) since it provides competitive TTFT while not exhibiting a pronounced ITL disadvantage. Consequently, both vLLM and Dynamo are frequently dominated by either ITL or TTFT constraints, limiting the attainable SLO rate.", "source": "marker_v2", "marker_block_id": "/page/7/Text/10"}
|
| 95 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0094", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "AMPD enjoys the benefit of PD disaggregation, avoiding deteriorating ITL compared to vLLM. Meanwhile, compared to Dynamo, AMPD significantly reduces TTFT thanks to our adaptive scheduling. Consequently, AMPD achieves a more robust trade-off between first-token responsiveness and per-token generation speed.", "source": "marker_v2", "marker_block_id": "/page/7/Text/11"}
|
| 96 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0095", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "vLLM-Continuum follows the co-located architecture and adopts a queuing policy that prioritizes tasks within the same request (a.k.a., session). Since such tasks can reuse cached KV states, they typically require less computation, which shortens queuing delay and reduces TTFT while leaving ITL unaffected. However, in many settings, the TTFT reduction does not consistently translate into a substantial improvement in SLO attainment. Thus, vLLM-Continuum is often comparable to, or nearly tied with, vLLM.", "source": "marker_v2", "marker_block_id": "/page/7/Text/12"}
|
| 97 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0096", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "Ablation study. We conduct experiments to assess the effectiveness of the two techniques in our online scheduling. The results are provided in Figure 5. The adaptive routing mechanism routes 13.9%-31.7% prefill tasks to be executed locally on the decode workers, which relieves the burden of prefill workers, and thereby increases the SLO attainment by 27.37%-350%, demonstrating the effectiveness of adaptive routing in mitigating workload imbalance between phases.", "source": "marker_v2", "marker_block_id": "/page/7/Text/13"}
|
| 98 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0097", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "In addition, the prefill reordering policy further improves the SLO attainment by 13.42%-14.81%. This is reasonable as the queuing optimization helps reduce the tail of TTFT. Eventually, these two techniques together provision 44.47%-402% of improvement.", "source": "marker_v2", "marker_block_id": "/page/7/Text/14"}
|
| 99 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0098", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "Sensitivity. Both the two techniques in online scheduling introduce additional hyper-parameters. We evaluate the sensitivity of our work by varying these hyper-parameters. The results are shown in Figure 6.", "source": "marker_v2", "marker_block_id": "/page/7/Text/15"}
|
| 100 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0099", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "We first evaluate the SLO attainment with multiple window sizes (2, 3, 4, and 5) in prefill reordering. It can be seen that the performance of AMPD remains similar across these window sizes (within 3% gap). This suggests that a short time window is sufficient to capture load signals needed for effective routing decisions.", "source": "marker_v2", "marker_block_id": "/page/7/Text/16"}
|
| 101 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0100", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "Next, we evaluate the impact of \\alpha and \\beta , which control the sensitivity to congestion on the prefill and decode sides, respectively. In general, a smaller \\alpha enables earlier detection of prefill congestion but may lead to under-utilization of prefill workers, while a smaller \\beta triggers earlier detection of decode congestion at the cost of potentially reduced decode utilization. Consequently, moderate values of \\alpha and \\beta can strike a better balance between prefill and decode workers, improving the overall system efficiency.", "source": "marker_v2", "marker_block_id": "/page/7/Text/17"}
|
| 102 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0101", "section": "8. Conclusion", "page_start": 8, "page_end": 8, "type": "Text", "text": "We presented AMPD, a novel disaggregated serving framework for efficient multi-round LLM inference. AMPD addresses the interleaved prefill-decode workload patterns of multi-round inference by runtime adaptive scheduling, consisting of the adaptive routing mechanism and prefill reordering policy to balance prefill and decode loads. Extensive experiments show that, compared to existing works, AMPD improves SLO attainment by 67.29%-339.74% on average, provisioning an effective solution for serving complex, multi-round LLM workflows.", "source": "marker_v2", "marker_block_id": "/page/7/Text/19"}
|
| 103 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0102", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Abhyankar, R., He, Z., Srivatsa, V., Zhang, H., and Zhang, Y. Infercept: efficient intercept support for augmented large language model inference. In Proceedings of the 41st International Conference on Machine Learning , pp. 81–95, 2024. Bolusani, S., Besanc¸on, M., Bestuzheva, K., Chmiela, A., Dion´ısio, J., Donkiewicz, T., van Doornmalen, J., Eifler, L., Ghannam, M., Gleixner, A., et al. The scip optimization suite 9.0. arXiv preprint arXiv:2402.17702 , 2024. Chen, S., Wang, Y., Wu, Y.-F., Chen, Q., Xu, Z., Luo, W., Zhang, K., and Zhang, L. Advancing tool-augmented large language models: Integrating insights from errors in inference trees. Advances in Neural Information Process ing Systems (NeurIPS 2024) , 37:106555–106581, 2024. Dong, X., Liu, T., Zeng, Y., Liu, L., Liu, Y., Wu, S., Wu, Y., Yang, H., Zhang, K., and Li, J. Hydrainfer: Hybrid disaggregated scheduling for multimodal large language model serving. arXiv preprint arXiv:2505.12658 , 2025. Go, H. and Park, S. A study on classification based concurrent api calls and optimal model combination for tool augmented llms for ai agent. Scientific Reports , 15(1): 20579, 2025. Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783 , 2024. Guo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., et al. Deepseekr1 incentivizes reasoning in llms through reinforcement learning. Nature , 645(8081):633–638, 2025. Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. Stabletoolbench: Towards stable large-scale benchmarking on tool learning of large language models. arXiv preprint arXiv:2403.07714 , 2024. He, W., Liu, K., Liu, J., Lyu, Y., Zhao, S., Xiao, X., Liu, Y., Wang, Y., Wu, H., She, Q., et al. Dureader: a chinese machine reading comprehension dataset from real-world applications. In Proceedings of the workshop on machine reading for question answering , pp. 37–46, 2018. Hockney, R. W. The communication challenge for mpp: Intel paragon and meiko cs-2. Parallel computing , 20(3): 389–398, 1994. Hu, C., Huang, H., Xu, L., Chen, X., Xu, J., Chen, S., Feng, H., Wang, C., Wang, S., Bao, Y., et al. Inference without interference: Disaggregate llm inference for mixed downstream workloads. arXiv preprint arXiv:2401.11181 , 2024.", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/540"}
|
| 104 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0103", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Huangfu, Q. and Hall, J. J. Parallelizing the dual revised simplex method. Mathematical Programming Computa tion , 10(1):119–142, 2018. Jiang, A. Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D. S., Casas, D. d. l., Hanna, E. B., Bressand, F., et al. Mixtral of experts. arXiv preprint arXiv:2401.04088 , 2024. JIANG, Y., Fu, F., Yao, X., Wang, T., CUI, B., Klimovic, A., and Yoneki, E. Thunderserve: High-performance and cost-efficient llm serving in cloud environments. In Eighth Conference on Machine Learning and Systems (MLSys 2025) . Jin, B., Zeng, H., Yue, Z., Yoon, J., Arik, S., Wang, D., Zamani, H., and Han, J. Search-r1: Training llms to reason and leverage search engines with reinforcement learning. arXiv preprint arXiv:2503.09516 , 2025. Katevenis, M., Sidiropoulos, S., and Courcoubetis, C. Weighted round-robin cell multiplexing in a generalpurpose atm switch chip. IEEE Journal on selected Areas in Communications , 9(8):1265–1279, 1991. Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th sympo sium on operating systems principles (SOSP 2023) , pp. 611–626, 2023. Lai, R., Liu, H., Lu, C., Liu, Z., Cao, S., Shao, S., Zhang, Y., Mai, L., and Ustiugov, D. Tokenscale: Timely and accurate autoscaling for disaggregated llm serving with token velocity. arXiv preprint arXiv:2512.03416 , 2025. Li, H., Mang, Q., He, R., Zhang, Q., Mao, H., Chen, X., Cheung, A., Gonzalez, J., and Stoica, I. Continuum: Efficient and robust multi-turn llm agent scheduling with kv cache time-to-live. arXiv preprint arXiv:2511.02230 , 2025. Li, Z., Zheng, L., Zhong, Y., Liu, V., Sheng, Y., Jin, X., Huang, Y., Chen, Z., Zhang, H., Gonzalez, J. E., et al. {AlpaServe}: Statistical multiplexing with model parallelism for deep learning serving. In 17th USENIX Sympo sium on Operating Systems Design and Implementation (OSDI 23) , pp. 663–679, 2023. Liu, A., Feng, B., Xue, B., Wang, B., Wu, B., Lu, C., Zhao, C., Deng, C., Zhang, C., Ruan, C., et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437 , 2024. Mialon, G., Dess`ı, R., Lomeli, M., Nalmpantis, C., Pasunuru, R., Raileanu, R., Roziere, B., Schick, T., Dwivedi- ` Yu, J., Celikyilmaz, A., et al. Augmented language models: a survey. arXiv preprint arXiv:2302.07842 , 2023.", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/541"}
|
| 105 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0104", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "495 496 497 498 Mialon, G., Fourrier, C., Wolf, T., LeCun, Y., and Scialom, T. Gaia: a benchmark for general ai assistants. In The Twelfth International Conference on Learning Represen tations (ICLR 2024) , 2024.", "source": "marker_v2", "marker_block_id": "/page/9/Text/494"}
|
| 106 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0105", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "NVIDIA. Nvidia dynamo documentation: Kv router. latest/router/README.html , 2026a. NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. ai-dynamo/dynamo , 2026b. NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. ai-dynamo/nixl , 2026c. Pan, Z., PATEL, A., Shen, Y., Hu, Z., Guan, Y., Li, W.-L., Qin, L., Wang, Y., and Ding, Y. Kvflow: Efficient prefix caching for accelerating llm-based multi-agent workflows. In The Thirty-ninth Annual Conference on Neural Infor mation Processing Systems (NeurIPS 2025) , 2025. Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, ´I., Maleki, S., and Bianchini, R. Splitwise: Efficient generative llm inference using phase splitting. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architec ture (ISCA 2024) , pp. 118–132. IEEE, 2024. Pisinger, D. and Toth, P. Knapsack problems. In Handbook of Combinatorial Optimization: Volume1–3 , pp. 299–428. Springer, 1998. Qin, R., Li, Z., He, W., Cui, J., Ren, F., Zhang, M., Wu, Y., Zheng, W., and Xu, X. Mooncake: Trading more storage for less computation—a kvcache-centric architecture for serving llm chatbot. In 23rd USENIX Conference on File and Storage Technologies (FAST 25) , pp. 155–170, 2025. Shahout, R., Liang, C., Xin, S., Lao, Q., Cui, Y., Yu, M., and Mitzenmacher, M. Fast inference for augmented large language models. In The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025) , 2025. Shao, Z., Gong, Y., Shen, Y., Huang, M., Duan, N., and Chen, W. Enhancing retrieval-augmented large language models with iterative retrieval-generation synergy. arXiv preprint arXiv:2305.15294 , 2023. Shoeybi, M., Patwary, M., Puri, R., LeGresley, P., Casper, J., and Catanzaro, B. Megatron-lm: Training multibillion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053 , 2019.", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/492"}
|
| 107 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0106", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "Singh, G., Wang, X., Hu, Y., Yu, T. T. L., Xing, L., Jiang, W., Wang, Z., Xiaolong, B., Li, Y., Xiong, Y., et al. Efficiently serving large multimodal models using epd disaggregation. In Forty-second International Conference on Machine Learning (ICML 2025) , 2025. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. Attention is all you need. Advances in neural information processing systems (NeurIPS 2017) , 30, 2017. Vielma, J. P. Mixed integer linear programming formulation techniques. Siam Review , 57(1):3–57, 2015. Wang, Y., Jin, Z., Xu, J., Lin, W., Chen, Y., and Chen, W. Augserve: Adaptive request scheduling for augmented large language model inference serving. arXiv preprint arXiv:2512.04013 , 2025. Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388 , 2025. Yang, Z., Qi, P., Zhang, S., Bengio, Y., Cohen, W., Salakhutdinov, R., and Manning, C. D. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing , pp. 2369–2380, 2018. Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K. R., and Cao, Y. React: Synergizing reasoning and acting in language models. In The eleventh international con ference on learning representations (ICLR 2023) , 2023. Yu, G.-I., Jeong, J. S., Kim, G.-W., Kim, S., and Chun, B.- G. Orca: A distributed serving system for {Transformer-Based} generative models. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22) , pp. 521–538, 2022. Yue, Z., Zhuang, H., Bai, A., Hui, K., Jagerman, R., Zeng, H., Qin, Z., Wang, D., Wang, X., and Bendersky, M. Inference scaling for long-context retrieval augmented generation. arXiv preprint arXiv:2410.04343 , 2024. Zhang, D., Wang, H., Liu, Y., Wei, X., Shan, Y., Chen, R., and Chen, H. Blitzscale: Fast and live large model autoscaling with o(1) host caching. In 19th USENIX Sym posium on Operating Systems Design and Implementation (OSDI 25) , pp. 275–293, 2025a. Zhang, L., Jiang, Y., He, G., Chen, X., Lv, H., Yao, Q., Fu, F., and Chen, K. Efficient mixed-precision large language model inference with turbomind. arXiv preprint arXiv:2508.15601 , 2025b. Zheng, L., Yin, L., Xie, Z., Sun, C. L., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., et al.", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/493"}
|
| 108 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0107", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Sglang: Efficient execution of structured language model programs. Advances in neural information processing systems (NeurIPS 2024) , 37:62557–62583, 2024.", "source": "marker_v2", "marker_block_id": "/page/10/Text/1"}
|
| 109 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0108", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Zhong, Y., Liu, S., Chen, J., Hu, J., Zhu, Y., Liu, X., Jin, X., and Zhang, H. Distserve: Disaggregating prefill and decoding for goodput-optimized large language model serving. In 18th USENIX Symposium on Operating Sys tems Design and Implementation (OSDI 24) , pp. 193–210, 2024.", "source": "marker_v2", "marker_block_id": "/page/10/Text/3"}
|
| 110 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0109", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "The simulator generates simulated performance metrics (i.e., P95 latency) for various model deployment configurations.", "source": "marker_v2", "marker_block_id": "/page/11/Text/3"}
|
| 111 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0110", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Simulator inputs. In addition to the target model deployment configuration, the simulator requires three categories of inputs: (i) Model specifications , including the architecture type (e.g., dense or sparse) and parameter configurations (e.g., number of layers and hidden size); (ii) Hardware characteristics , encompassing GPU specifications such as memory capacity and inter-GPU communication bandwidth; and (iii) Workload characteristics , including request arrival rates and input/output sequence lengths. Collectively, these inputs enable the simulator to accurately model the serving behavior under specific deployment scenarios.", "source": "marker_v2", "marker_block_id": "/page/11/Text/4"}
|
| 112 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0111", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Simulation process. Given the aforementioned inputs, the simulation proceeds in two stages: The profiling stage and the execution stage . (i) The profiling stage is in the charge of the profiler mentioned in §3. It enumerates all operators within the model (including the Q, K, V linear projections, self-attention computations, and feed-forward layers) and profiles the execution time of each operator on the target hardware. (ii) During the execution stage, the simulator leverages the operator latencies obtained from the profiling stage to simulate the concurrent execution of multiple incoming requests. Key inference serving features, such as request dispatching (Katevenis et al., 1991), continuous batching (Yu et al., 2022), model replication (Li et al., 2023), and model parallelism (Shoeybi et al., 2019), are incorporated into this simulation process. The simulator ultimately outputs the P95 latency for the target model deployment configuration.", "source": "marker_v2", "marker_block_id": "/page/11/Text/5"}
|
| 113 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0112", "section": "A.1. Performance Simulation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Simulation for phase splitting and KV retransmission. To accurately evaluate deployment scenarios involving prefill-decoding disaggregation and KV retransmission, we explicitly integrate these features into our simulator. (i) Phase splitting : The simulator supports deploying prefill and decoding replicas onto distinct GPU resources, enabling independent configurations of model parallelism and GPU allocation for each phase. The KV transmission latency between phases is modeled using the \\alpha - \\beta model (Hockney, 1994). (ii) KV retransmission : The simulator incorporates a decision-making mechanism to dynamically determine whether to offload incremental prefill to the prefill model replica or execute it locally on the decoding model replica. This mechanism implements the scheduling policy presented in §4.", "source": "marker_v2", "marker_block_id": "/page/11/Text/6"}
|
| 114 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0113", "section": "A.2. Time Cost of Planning", "page_start": 12, "page_end": 12, "type": "Text", "text": "Figure 7 measures the time cost of our offline planning with different number of GPUs. Since the determination of deployment configuration is formulated as an Integer Linear Programming problem, it can be solved efficiently with existing solvers (Bolusani et al., 2024). Consequently, our planning finishes quickly, taking merely one minute over 256 GPUs. This represents a common cluster scale for LLM serving in many downstream applications.", "source": "marker_v2", "marker_block_id": "/page/11/Text/8"}
|
| 115 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0114", "section": "A.2. Time Cost of Planning", "page_start": 12, "page_end": 12, "type": "FigureGroup", "text": "Figure 7. Time cost offline planning with varying numbers of GPUs.", "source": "marker_v2", "marker_block_id": "/page/11/FigureGroup/303"}
|
| 116 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0115", "section": "A.3. Effectiveness of Planning", "page_start": 12, "page_end": 12, "type": "Text", "text": "Table 2 shows the top-3 ranking of deployment configurations based on our planner's deduction and actual serving. It shows that our planner successfully finds out the optimal configuration that empirically achieves the best performance.", "source": "marker_v2", "marker_block_id": "/page/11/Text/12"}
|
| 117 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0116", "section": "A.3. Effectiveness of Planning", "page_start": 13, "page_end": 13, "type": "TableGroup", "text": "Table 2. Top-3 model deployment configurations deduced by our planner and real-system serving. Across all experiments, our planner produces identical configurations to real-time serving. Model Trace Rank Planner Real-system Serving Llama3.1-70B [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: HotpotQA [#1] P: , D: P: , D: [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: ToolBench [#2] P: , D: P: , D: [#3] P: , D: P: , D: Qwen3-32B [#1] P: , D: P: , D: HotpotQA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: ToolBench [#1] P: , D: P: , D: [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D: Mixtral-8x7B [#1] P: , D: P: , D: HotpotQA [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: DuReader [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: ToolBench [#2] P: , D: P: , D: [#3] P: , D: P: , D: [#1] P: , D: P: , D: GAIA [#2] P: , D: P: , D: [#3] P: , D: P: , D:", "source": "marker_v2", "marker_block_id": "/page/12/TableGroup/398"}
|
| 118 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0117", "section": "B. More Details of Experiments", "page_start": 14, "page_end": 14, "type": "Text", "text": "Experimental traces. The traces used in our experiments are generated from public datasets. In particular, for ToolBench<sup>6</sup> and GAIA<sup>7</sup>, we adopt publicly available traces to represent agentic workflows, while for HotpotQA and DuReader, we record one trace for each dataset by running iterative retrieval augmented generation (Yue et al., 2024) using Qwen3-32B, with each request invoking three retrieval calls.", "source": "marker_v2", "marker_block_id": "/page/13/Text/2"}
|
| 119 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0118", "section": "More experimental results.", "page_start": 14, "page_end": 14, "type": "Text", "text": "Figure 8 compares the average end-to-end latency of all counterparts. AMPD maintains low latencies that are comparable against Dynamo. Although Dynamo has lower latencies in some cases, the gap is small. More importantly, AMPD delivers substantial improvement in terms of SLO attainment (as evaluated in §7), which is essential for real-world serving.", "source": "marker_v2", "marker_block_id": "/page/13/Text/4"}
|
| 120 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0119", "section": "More experimental results.", "page_start": 14, "page_end": 14, "type": "FigureGroup", "text": "Figure 8. The average end-to-end (E2E) latency, corresponding to the experiments in Figure 4.", "source": "marker_v2", "marker_block_id": "/page/13/FigureGroup/189"}
|
| 121 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0120", "section": "More experimental results.", "page_start": 14, "page_end": 14, "type": "Footnote", "text": "6", "source": "marker_v2", "marker_block_id": "/page/13/Footnote/7"}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/dataset_meta.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 14,
|
| 6 |
+
"chunk_count": 121,
|
| 7 |
+
"main_body_chunk_count": 102,
|
| 8 |
+
"appendix_chunk_count": 12,
|
| 9 |
+
"reference_chunk_count": 7,
|
| 10 |
+
"model_text_chars": 42074,
|
| 11 |
+
"raw_markdown_chars": 64518,
|
| 12 |
+
"sanitized_chars": 61162,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 14,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 1,
|
| 20 |
+
"Equation": 5,
|
| 21 |
+
"FigureGroup": 6,
|
| 22 |
+
"Footnote": 8,
|
| 23 |
+
"ListGroup": 10,
|
| 24 |
+
"PageFooter": 14,
|
| 25 |
+
"PageHeader": 24,
|
| 26 |
+
"PictureGroup": 1,
|
| 27 |
+
"SectionHeader": 27,
|
| 28 |
+
"TableGroup": 2,
|
| 29 |
+
"Text": 306
|
| 30 |
+
},
|
| 31 |
+
"asset_count_raw": 7,
|
| 32 |
+
"asset_count_model_kept": 6,
|
| 33 |
+
"asset_count_rejected": 1,
|
| 34 |
+
"asset_reject_reasons": {
|
| 35 |
+
"extreme_aspect_ratio": 1,
|
| 36 |
+
"kept": 6
|
| 37 |
+
},
|
| 38 |
+
"artifact_leak_audit": {
|
| 39 |
+
"ok": true,
|
| 40 |
+
"hits": {
|
| 41 |
+
"Anonymous Authors": [],
|
| 42 |
+
"ACKNOWLEDGMENT": [],
|
| 43 |
+
"OpenReview": [],
|
| 44 |
+
"\"accept_label\"": [],
|
| 45 |
+
"\"decision\"": [],
|
| 46 |
+
"\"decision_tier\"": [],
|
| 47 |
+
"\"source_status\"": [],
|
| 48 |
+
"Meta-review": [],
|
| 49 |
+
"Official Review": [],
|
| 50 |
+
"official_reviews": [],
|
| 51 |
+
"meta_reviews": [],
|
| 52 |
+
"suggested_verdict_score": []
|
| 53 |
+
},
|
| 54 |
+
"artifact_count": 2
|
| 55 |
+
},
|
| 56 |
+
"default_model_input": "model_text_v3.txt",
|
| 57 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 58 |
+
"reference_input": "reference_text_v3.txt",
|
| 59 |
+
"source": "koala_icml26_due_queue",
|
| 60 |
+
"run_name": "icml26_20260429_1952_duequeue"
|
| 61 |
+
}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/main_body_chunks.jsonl
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0000", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "With the rapid evolution of Large Language Models (LLMs), multi-round workflows, such as autonomous agents and iterative retrieval, have become increasingly prevalent. However, this raises hurdles for serving LLMs under prefill-decode (PD) disaggregation, a widely adopted paradigm that separates the compute-bound prefill phase and memory-bound decode phase onto individual resources. Specifically, existing systems overlook the interleaved prefill-decode workload pattern in multi-round inference, leading to sub-optimal handling of the incremental prefill workloads and model deployment for the two phases.", "source": "marker_v2", "marker_block_id": "/page/0/Text/14"}
|
| 2 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0001", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "In this work, we present AMPD, a brand new disaggregated serving framework for multi-round LLM inference. The core of AMPD is to coordinate the prefill workloads based on real-time workloads by adaptively determining where to carry out these workloads and how they are scheduled, in order to maximize service level objective (SLO) attainment. In addition, we tailor a planning algorithm for our scenario, facilitating the deduction of optimal resource allocation and parallel strategies for the two phases. Empirical results demonstrate that AMPD substantially improves SLO attainment compared to state-of-the-art baselines.", "source": "marker_v2", "marker_block_id": "/page/0/Text/15"}
|
| 3 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0002", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Recent years have witnessed the remarkable success of Large Language Models (LLMs), demonstrating exceptional capabilities in natural language understanding and generation (Vaswani et al., 2017; Guo et al., 2025; Yang et al., 2025). Nowadays, LLMs have been widely deployed across diverse domains, ranging from code generation to creative writing. As these application scenarios continue to", "source": "marker_v2", "marker_block_id": "/page/0/Text/17"}
|
| 4 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0003", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "PictureGroup", "text": "Figure 1. Illustration of multi-round LLM inference.", "source": "marker_v2", "marker_block_id": "/page/0/PictureGroup/279"}
|
| 5 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0004", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "scale, how to deploy and serve LLMs efficiently has become critical for both academia and industry (Kwon et al., 2023; Zheng et al., 2024; NVIDIA, 2026b; Zhang et al., 2025b).", "source": "marker_v2", "marker_block_id": "/page/0/Text/22"}
|
| 6 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0005", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Generally, given a request, the LLM inference comprises two sequential phases: prefill and decode. The prefill phase processes the entire input prompt at once to compute the Key-Value (KV) cache, exhibiting compute-bound characteristics. In contrast, the decode phase generates tokens step-by-step auto-regressively, which is highly memorybound. Given this distinct workload discrepancy, colocating both phases on the same hardware resources often leads to prefill-decode interference (a.k.a. resource contention) and low utilization. To address this, the prefill-decode (PD) disaggregation paradigm has emerged as a widely adopted solution (Zhong et al., 2024; Patel et al., 2024; Hu et al., 2024). By separating prefill and decode phases onto distinct hardware resources, PD disaggregation significantly improves LLM serving throughput and resource efficiency.", "source": "marker_v2", "marker_block_id": "/page/0/Text/23"}
|
| 7 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0006", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "To accommodate more complex tasks, LLM inference has moved beyond single-shot responses to multi-round LLM workflows. Representative examples include autonomous agents (Yao et al., 2023) and iterative retrieval-augmented generation (RAG) (Yue et al., 2024), where the model continuously interacts with external environments (e.g., by functional calls). As shown in Figure 1, unlike single-shot inference, these workflows require treating (part of, if not all) the output of environmental interactions as the input of subsequent generation. Consequently, from the perspective of LLM inference, these workflows necessitate an interleaved prefill-decode pattern, where incremental prefill computations occur between decoding steps throughout the inference process of a request.", "source": "marker_v2", "marker_block_id": "/page/0/Text/24"}
|
| 8 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0007", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Although research efforts have been made in both PD disaggregation and multi-round inference acceleration individually, the integration of them remains under-explored.", "source": "marker_v2", "marker_block_id": "/page/0/Text/25"}
|
| 9 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0008", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Essentially, we identify that existing serving systems suffer from two critical limitations when applying PD disaggregation to multi-round workflows.", "source": "marker_v2", "marker_block_id": "/page/1/Text/1"}
|
| 10 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0009", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "The first is the lack of adaptive scheduling . Specifically, in addition to the initial prefill and decode tasks, multi-round LLM inference further necessitates carrying out incremental prefill tasks (i.e., the prefill computations for subsequent rounds). To mitigate PD interference, all prefill 1 tasks are expected to be routed to the prefill instance(s). However, to meet service level objectives (SLOs), the serving system must dynamically decide two factors based on real-time workloads: (1) Whether an incremental prefill task should be executed locally on the decode instance, and if no, which prefill instance it should be routed to. (2) How to schedule the tasks on each prefill instance to cope with the increased burden brought by incremental prefill tasks. Existing systems lack adaptive mechanisms to handle these decisions to improve serving efficiency.", "source": "marker_v2", "marker_block_id": "/page/1/Text/2"}
|
| 11 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0010", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Secondly, there is a lack of awareness for model deployment . Specifically, the optimal configuration for model deployment (including resource allocation and parallel strategy) is strongly related to the workload characteristics. However, previous works determine the model deployment of each phase by merely considering the lengths of input prompts and output responses, which depict the prefill and decode workloads in single-round inference. Undoubtedly, this fails to take account of the unique interleaved workload pattern of multi-round inference, leading to sub-optimal resource provision and parallelism strategy deduction.", "source": "marker_v2", "marker_block_id": "/page/1/Text/3"}
|
| 12 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0011", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "To fill this gap, this work presents AMPD, a novel serving framework for Adaptive Multi-round workflows with PD disaggregation by optimizing the runtime scheduling and deployment strategy. The technical contributions of this work are summarized as follows:", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
|
| 13 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0012", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "We propose a runtime scheduling that addresses the unique interleaved workload pattern of multi-round inference. It consists of an adaptive routing strategy that dynamically decides where to execute prefill tasks based on real-time system loads, as well as a prefill reordering policy that optimizes the execution order of queuing tasks to maximize SLO attainment. We develop an offline deployment planner that formulates the determination of resource allocation and parallel strategies as an integer linear programming problem, and solves it to deduce the optimal deployment configuration. We implement AMPD and evaluate it across diverse multiround workloads. Extensive empirical results demon-", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/580"}
|
| 14 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0013", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "strate that AMPD improves SLO attainment by 67.29%- 339.74% on average compared to both co-located and disaggregated baselines.", "source": "marker_v2", "marker_block_id": "/page/1/Text/9"}
|
| 15 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0014", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Prefill-decode disaggregation. LLM inference consists of the compute-intensive prefill phase and the memorybound decode phase. The time cost of first-token responsiveness, namely Time-to-First-Token (TTFT) 2 , is dominated by the prefill phase, while the per-token generation time, namely Inter-Token Latency (ITL), is related to each decode step. In traditional LLM serving systems that co-locate both phases on the same GPU resources, the resource contention between the two phases leads to significant interference. Prefill-decode (PD) disaggregation (Zhong et al., 2024; Pa tel et al., 2024; Hu et al., 2024) is a promising technique to address such PD interference by dedicating GPU resources for each phase. Consequently, PD disaggregation has been widely adopted in LLM serving (Qin et al., 2025; Liu et al., 2024) , and many efforts have been devoted to optimizing PD disaggregation from various aspects, including elastic scaling (Zhang et al., 2025a; Lai et al., 2025) , mixed-GPU support (JIANG et al.) , and multi-modal support (Singh et al., 2025; Dong et al., 2025) . However, these works on PD disaggregation predominantly target single-round LLM inference, while our work has a different goal and can be incorporated with existing optimizations.", "source": "marker_v2", "marker_block_id": "/page/1/Text/11"}
|
| 16 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0015", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Multi-round LLM workflows. The capability of LLMs has evolved from simple, one-shot answering to complex, multiround workflows. There are two representative scenarios. The first is autonomous agents, typically represented by the ReAct-style agentic workflows, which enable agents to interleave reasoning (LLM generation) with acting (tool use) (Yao et al., 2023; Mialon et al., 2023; Go & Park, 2025; Chen et al., 2024) . The second is iterative retrievalaugmented generation (Shao et al., 2023; Yue et al., 2024; Jin et al., 2025) , which actively retrieves new documents during generation to correct or refine the output. From the serving system's perspective, these multi-round workflows generate interleaved prefill-decode workloads.", "source": "marker_v2", "marker_block_id": "/page/1/Text/12"}
|
| 17 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0016", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "System optimizations for multi-round inference. Recent works have proposed optimizations for multi-round LLM workflows. InferCept (Abhyankar et al., 2024) incorporates the discard, swap, and preserve operations when managing the history KV cache to reduce recomputation wastes. KVFlow (Pan et al., 2025) tailors the prefix caching for multi-agent workflows, allowing different agents to share common prefixes and thereby reduces redundant computation. vLLM-Continuum (Li et al., 2025) predicts the duration of the environmental interactions and decides", "source": "marker_v2", "marker_block_id": "/page/1/Text/13"}
|
| 18 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0017", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "1 Throughout this work, we explicitly distinguish \"initial prefill\" and \"incremental prefill\" when necessary. Unless specified otherwise, the term \"prefill\" refers to either or both variants.", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/8"}
|
| 19 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0018", "section": "2. Preliminaries and Related Works", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "In this work, we use TTFT to measure the latency of both initial and incremental prefill.", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/14"}
|
| 20 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0019", "section": "2. Preliminaries and Related Works", "page_start": 3, "page_end": 3, "type": "Text", "text": "whether to retain the KV cache via a time-to-live mechanism. MARS (Shahout et al., 2025) and AugServe (Wang et al., 2025) predict the output lengths and memory consumption respectively in multi-round LLM inference, and leverage such information to guide the scheduling of requests.", "source": "marker_v2", "marker_block_id": "/page/2/Text/2"}
|
| 21 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0020", "section": "2. Preliminaries and Related Works", "page_start": 3, "page_end": 3, "type": "Text", "text": "Although these works focus on how to optimize system performance for multi-round workflows, all of them are designed under the co-located serving paradigm. To achieve the holistic integration of multi-round workflows and PD disaggregation, there exist unexplored challenges of complex real-time task routing and scheduling as well as the disaggregated deployment configurations.", "source": "marker_v2", "marker_block_id": "/page/2/Text/3"}
|
| 22 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0021", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Figure 2 illustrates the overview of AMPD, which comprises offline and online stages.", "source": "marker_v2", "marker_block_id": "/page/2/Text/5"}
|
| 23 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0022", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Offline stage. The offline stage profiles the workload characteristics and conducts the model deployment planning.", "source": "marker_v2", "marker_block_id": "/page/2/Text/6"}
|
| 24 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0023", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The profiler is responsible for measuring the execution time of different workloads, constructing a performance model for both our offline deployment planner and online adaptive scheduling. We adopt a piecewise α-β model to capture the performance characteristics of three types of tasks and form three time cost functions: (i) Tpre(lhist, lincr; θ), which estimates the time cost of prefilling with history length lhist and incremental input length lincr under parallelism strategy θ (initial prefill tasks are associated with a history length of zero), (ii) Tdec(b; θ), which estimates the time cost of decoding with batch size b under parallelism strategy θ, and (iii) Tkv(lctx; θsrc, θdst), which estimates the time cost of transmitting KV cache with context length lctx across the", "source": "marker_v2", "marker_block_id": "/page/2/Text/7"}
|
| 25 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0024", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "source and destination parallelism strategies (θsrc → θdst).", "source": "marker_v2", "marker_block_id": "/page/2/Text/8"}
|
| 26 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0025", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The planner determines the optimal model deployment configuration (including the resource allocation and parallelism strategies for the two phases) prior to serving, by formulating and solving an integer linear programming problem.", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
|
| 27 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0026", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Online stage. The online stage consists of two major components, namely the coordinator and workers.", "source": "marker_v2", "marker_block_id": "/page/2/Text/10"}
|
| 28 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0027", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The coordinator is in charge of the assignment of different tasks based on the real-time system loads.", "source": "marker_v2", "marker_block_id": "/page/2/Text/11"}
|
| 29 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0028", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "The prefill and decode workers correspond to the two phases, respectively, maintaining task queues that record the metadata of pending tasks. Besides, each prefill/decode worker keeps recording its windowed TTFT/ITL statistic (by default, the average TTFT/ITL within the past 10 seconds). Furthermore, to facilitate up-to-date coordination, we implement these queues and windowed statistics with distributed shared memory so that they are globally accessible.", "source": "marker_v2", "marker_block_id": "/page/2/Text/12"}
|
| 30 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0029", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Text", "text": "Overall workflow. During the online serving, the inference of a request undergoes the following steps.", "source": "marker_v2", "marker_block_id": "/page/2/Text/13"}
|
| 31 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0030", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "ListGroup", "text": "⃝1 Binding : Upon the arrival of a request (a.k.a., a session), the coordinator first binds the request with a decode worker based on the memory usage (NVIDIA, 2026a) . In other words, the decode worker will be responsible for managing the request's KV cache and conducting all its decode workloads. Such binding helps us unify the handling of both initial and incremental prefill tasks. ⃝2 Routing : Whenever the request requires prefilling (either its initial prefill after the binding or an incremental prefill after an environmental interaction), the coordinator employs an adaptive routing mechanism ( §4.1) to determine where to carry out this prefill task, with two kinds of choices. Local execution: The task is determined to be executed directly on the responsible decode worker (i.e., the decode worker that the request bound to). This avoids network transmission and reduces prefill workers' burden, but pauses the worker's ongoing decoding batch. 3 Remote execution: The task is routed to a prefill worker. This mitigates PD interference but necessitates KV transmission: (i) before the execution of this task, the prefill worker reads the history KV cache from the responsible decode worker if necessary; (ii) after the execution, the newly generated KV cache is transmitted back to the responsible decode worker. 4", "source": "marker_v2", "marker_block_id": "/page/2/ListGroup/663"}
|
| 32 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0031", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Footnote", "text": "3 We follow the implementation in vLLM that prefill tasks are prioritized over decoding to avoid blocking subsequent generation.", "source": "marker_v2", "marker_block_id": "/page/2/Footnote/18"}
|
| 33 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0032", "section": "3. System Overview", "page_start": 3, "page_end": 3, "type": "Footnote", "text": "4 Each decode worker manages a local prefix cache, allowing it to merge the received incremental KV cache with the locally stored history KV cache. Thus, we only transmit the incremental KV cache to minimize network cost.", "source": "marker_v2", "marker_block_id": "/page/2/Footnote/19"}
|
| 34 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0033", "section": "3. System Overview", "page_start": 4, "page_end": 4, "type": "Text", "text": "⃝3 Prefilling : In either case, the designated worker enqueues the prefill task into its own prefill queue, and adopts a pre fill reordering policy ( §4.2) to schedule tasks in the prefill queue. If designated to a prefill worker, it performs KV transmission as described above.", "source": "marker_v2", "marker_block_id": "/page/3/Text/1"}
|
| 35 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0034", "section": "3. System Overview", "page_start": 4, "page_end": 4, "type": "Text", "text": "⃝4 Decoding : After step ⃝3 , the responsible decode worker possesses all KV cache of this request, and continues the auto-regressive decoding process.", "source": "marker_v2", "marker_block_id": "/page/3/Text/2"}
|
| 36 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0035", "section": "3. System Overview", "page_start": 4, "page_end": 4, "type": "Text", "text": "In multi-round inference, the request may trigger an interaction with external environments (e.g., a function call), which is typically handled by a background CPU process of the decode worker. Upon the completion of interaction, it forms an incremental prefill task. Then, the coordinator is notified and we loop back to step ⃝2 . This recursion repeats until the inference of this request reaches termination.", "source": "marker_v2", "marker_block_id": "/page/3/Text/3"}
|
| 37 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0036", "section": "4. Online Adaptive Scheduling", "page_start": 4, "page_end": 4, "type": "Text", "text": "Our online adaptive request scheduling consists of two techniques, namely adaptive routing and prefill reordering. These techniques address (i) where to carry out the prefill tasks, and (ii) how to schedule the prefill tasks within each worker, respectively.", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 38 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0037", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "In essence, PD disaggregation separates the computeintensive prefill phase and memory-bound decode phase onto individual resources, resolving the PD interference that occurs in co-located serving. Nevertheless, in multi-round inference, where to carry out the prefill tasks necessitates deliberation. For one thing, if we always route the prefill tasks (both initial and incremental) to prefill workers (remote execution), decode workers can remain focused on steady-state decoding and thus optimize ITL. However, it incurs extra transmission cost of KV cache and increases the burden of prefill workers, harming TTFT. For another, carrying out some prefill workloads by the decode workers themselves (local execution) eliminates the transmission cost and benefit TTFT, but makes decode workers more susceptible to PD interference, which leads to spikes in ITL.", "source": "marker_v2", "marker_block_id": "/page/3/Text/7"}
|
| 39 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0038", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "To strike a good balance between TTFT and ITL, we develop an SLO-oriented adaptive routing mechanism, which determines where each prefill task should be executed. The general idea is to leverage the windowed TTFT and ITL statistics to evaluate real-time system loads, and make the routing decision that is less likely to violate SLO requirements.", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
|
| 40 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0039", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Algorithm routine. Algorithm 1 shows the workflow of our adaptive routing mechanism. Given a prefill task (along with the corresponding decode worker), we first identify prefill workers with sufficient slack to meet the TTFT SLO", "source": "marker_v2", "marker_block_id": "/page/3/Text/9"}
|
| 41 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0040", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Algorithm 1 \\ Adaptive routing mechanism for prefill tasks. TTFT i denotes the windowed TTFT statistic of the i-th prefill worker. ITL d denotes the windowed ITL statistic of the current decode worker. TTFTthres and ITLthres are the thresholds for TTFT and ITL. α, β are hyper-parameters for identifying TTFT or ITL slack.", "source": "marker_v2", "marker_block_id": "/page/3/Text/10"}
|
| 42 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0041", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "ListGroup", "text": "1: for each prefill worker i in random order do 2: if TTFT \\ i ≤ α · TTFTthres then 3: return remote i 4: if ITL d ≤ β · ITLthres then 5: return local 6: Estimate local execution cost tlocal 7: for each prefill worker i do 8: Estimate remote execution cost tremote i via Eq. (2) 9: return arg minroute∈{local,remote1,remote2,··· } troute", "source": "marker_v2", "marker_block_id": "/page/3/ListGroup/830"}
|
| 43 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0042", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "and route the task to an eligible candidate (lines 1-3). If all prefill workers are under pressure (i.e., TTFT approaching the SLO threshold), we examine whether the current decoder worker's windowed ITL shows sufficient slack, and if yes, a local execution will be triggered (lines 4-5). Otherwise, we estimate and compare the time cost of both local and remote execution for the final routing decision (lines 6-9).", "source": "marker_v2", "marker_block_id": "/page/3/Text/20"}
|
| 44 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0043", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Particularly, as introduced in §3, we construct performance model based on offline profiling. Thus, the time cost of local execution on decode worker d can be easily estimated via", "source": "marker_v2", "marker_block_id": "/page/3/Text/21"}
|
| 45 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0044", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Equation", "text": "t_{\\text{local}} = T_{\\text{pre}}(l_{hist}, l_{incr}; \\theta_d) + \\sum_{k \\in \\text{prefill.queue}_d} T_{\\text{pre}}(l_{hist_k}, l_{incr_k}; \\theta_d), \\quad (1)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/22"}
|
| 46 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0045", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "where lhist denotes the history length, lincr denotes the incremental input length, θ d denotes the parallelism strategy of decode worker d, and prefill queue d denotes its prefill queue. The first term is the estimated time cost of executing this prefill task on decode worker d while the second term represents the estimated queuing time.", "source": "marker_v2", "marker_block_id": "/page/3/Text/23"}
|
| 47 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0046", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "Similarly, if we route the task to the i-th prefill worker for remote execution, the time cost can be estimated via", "source": "marker_v2", "marker_block_id": "/page/3/Text/24"}
|
| 48 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0047", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\begin{split} t_{\\text{remote}_{i}} &= t_{\\text{pre}_{i}} + t_{\\text{kv}_{i}} + t_{\\text{queue}_{i}}, \\text{ where} \\\\ t_{\\text{pre}_{i}} &= \\text{T}_{\\text{pre}}(l_{hist}, l_{incr}; \\theta_{p_{i}}), \\\\ t_{\\text{kv}_{i}} &= \\text{T}_{\\text{kv}}(l_{hist}; \\theta_{d}, \\theta_{p_{i}}) + \\text{T}_{\\text{kv}}(l_{incr}; \\theta_{p_{i}}, \\theta_{d}), \\\\ t_{\\text{queue}_{i}} &= \\sum_{k \\in \\text{prefill\\_queue}_{i}} \\text{T}_{\\text{pre}}(l_{hist_{k}}, l_{incr_{k}}; \\theta_{p_{i}}), \\end{split}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/25"}
|
| 49 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0048", "section": "4.1. Adaptive Routing", "page_start": 4, "page_end": 4, "type": "Text", "text": "where θ p i denotes the i-th prefill worker's parallelism strategy and prefill queue i denotes its prefill queue. The three terms correspond to the estimated time cost of (i) prefill computation, (ii) transmitting the KV cache back and forth, and (iii) queuing on the prefill worker.", "source": "marker_v2", "marker_block_id": "/page/3/Text/26"}
|
| 50 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0049", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "ListGroup", "text": "1: W \\leftarrow Q.\\operatorname{peek}(w), \\pi^* \\leftarrow \\phi 2: for each ordering \\pi over W do 3: if \\pi violates the postponement capacity then 4: continue", "source": "marker_v2", "marker_block_id": "/page/4/ListGroup/458"}
|
| 51 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0050", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "ListGroup", "text": "5: Compute the number of TTFT-satisfying tasks S_{\\pi} based on Eq (4). 6: \\pi^* \\leftarrow (\\pi^* == \\phi \\text{ or } S_{\\pi} > S_{\\pi^*}) ? \\pi : \\pi^* 7: Increment postponement counters for tasks that are postponed in \\pi^* 8: Q.\\operatorname{reorder}(\\pi^*), r \\leftarrow Q.\\operatorname{dequeue}() 9: Schedule r for execution", "source": "marker_v2", "marker_block_id": "/page/4/ListGroup/459"}
|
| 52 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0051", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "Text", "text": "Based on the estimated time cost, the prefill task will be routed to the one with the lowest cost.", "source": "marker_v2", "marker_block_id": "/page/4/Text/11"}
|
| 53 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0052", "section": "Algorithm 2 Prefill reordering policy.", "page_start": 5, "page_end": 5, "type": "Text", "text": "Discussion. Although our adaptive routing mechanism needs to gather the shared metadata (windowed statistics and queuing information) from different workers, this is done concurrently. And the time cost estimation is extremely fast. Thus, the overhead of this mechanism is minor.", "source": "marker_v2", "marker_block_id": "/page/4/Text/12"}
|
| 54 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0053", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "The routing mechanism in §4.1 leverages the TTFT/ITL slacks across prefill and decode workers to achieve real-time adaptive scheduling. In fact, thanks to our performance modeling, it is also feasible to identify the TTFT slacks of the tasks in each prefill queue. In other words, if a pending task is far from violating the TTFT SLO requirement, then we can schedule it later as a longer queuing time would not harm its TTFT SLO satisfaction.", "source": "marker_v2", "marker_block_id": "/page/4/Text/14"}
|
| 55 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0054", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Following this, we develop a lightweight TTFT-aware prefill reordering policy. In a nutshell, to schedule one task from its prefill queue for execution, we employ a small lookahead window with size w at the head of the queue, and reorder the tasks within the window in order to maximize the number of tasks satisfying the TTFT SLO.", "source": "marker_v2", "marker_block_id": "/page/4/Text/15"}
|
| 56 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0055", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Algorithm routine. The routine of our reordering policy is shown in Algorithm 2. Let T_{now} denote the current time, T_{\\rm enq}^{(r)} the enqueue time of task r, and t_{\\rm pre}^{(r)} the estimated time cost for r following our performance model. We first peek up to w head elements of the prefill queue to form a window W = \\{r_1, r_2, \\dots\\} (line 1). Then, we enumerate feasible orderings to optimize TTFT within W (lines 2-7). In particular, for any ordering \\pi over W, the completion time (relative to T_{now} ) of the \\pi(k) -th request (i.e., the k-th one in \\pi ) can be predicted as", "source": "marker_v2", "marker_block_id": "/page/4/Text/16"}
|
| 57 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0056", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Equation", "text": "C^{(\\pi(k))} = \\sum_{j=1}^{k} t_{\\text{pre}}^{(\\pi(j))}. (3)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/17"}
|
| 58 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0057", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Subsequently, the number of TTFT-satisfying tasks within", "source": "marker_v2", "marker_block_id": "/page/4/Text/18"}
|
| 59 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0058", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "W under ordering \\pi can be predicted as", "source": "marker_v2", "marker_block_id": "/page/4/Text/19"}
|
| 60 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0059", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Equation", "text": "S_{\\pi} = \\sum_{k=1}^{|W|} \\mathbb{I}\\left[ \\left( T_{now} - T_{\\text{enq}}^{(\\pi(k))} \\right) + C^{(\\pi(k))} \\le \\text{TTFT}_{\\text{thres}} \\right]. \\tag{4}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/20"}
|
| 61 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0060", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Consequently, to improve TTFT SLO attainment, we choose the ordering \\pi^* = \\arg \\max_{\\pi} S_{\\pi} that maximizes the number of TTFT-satisfying tasks within W (lines 5-6).", "source": "marker_v2", "marker_block_id": "/page/4/Text/21"}
|
| 62 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0061", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "In addition, we enforce that each task can be postponed by at most w times to prevent starvation. Particularly, we maintain a postponement counter for each task, and increment it whenever the task is postponed due to reordering (line 7). Once there are any tasks' postponement counters reaching w, we skip the orderings that postpone such tasks (lines 3-4).", "source": "marker_v2", "marker_block_id": "/page/4/Text/22"}
|
| 63 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0062", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "After the optimal ordering is obtained, the head elements of the prefill queue are reordered accordingly, after which, the first element will be scheduled for execution (lines 8-9).", "source": "marker_v2", "marker_block_id": "/page/4/Text/23"}
|
| 64 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0063", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Discussion. Since it is extremely fast to evaluate the number of TTFT-satisfying tasks for one ordering and the window size is typically small (less than 5 in practice), the overhead incurred by the reordering policy is negligible.", "source": "marker_v2", "marker_block_id": "/page/4/Text/24"}
|
| 65 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0064", "section": "4.2. Prefill Reordering", "page_start": 5, "page_end": 5, "type": "Text", "text": "Last but not least, it is noteworthy that the estimated queuing time in Eq. (2) does not take account of the prefill reordering policy. Nevertheless, it does not harm the effectiveness of our adaptive routing mechanism, since the window size is small compared to the size of the prefill queue in practice.", "source": "marker_v2", "marker_block_id": "/page/4/Text/25"}
|
| 66 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0065", "section": "5. Offline Deployment Planning", "page_start": 5, "page_end": 5, "type": "Text", "text": "As depicted in Figure 3, the deployment of disaggregated serving should consider two factors for each worker type (prefill and decode): (i) instantiating multiple independent replicas to handle concurrent requests (a.k.a., data parallelism (Li et al., 2023)), and (ii) partitioning each individual replica across multiple GPUs to satisfy memory and computational requirements (a.k.a., model parallelism (Shoeybi et al., 2019)). Consequently, to optimize the model deployment, we must establish appropriate data and model parallelism configurations for both worker types, while conforming to a fixed GPU resource capacity constraint.", "source": "marker_v2", "marker_block_id": "/page/4/Text/27"}
|
| 67 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0066", "section": "5. Offline Deployment Planning", "page_start": 5, "page_end": 5, "type": "Text", "text": "In response to this, we formulate the model deployment planning as a resource-constrained optimization problem . The goal is to identify the specific combination of model parallelism (partition) and data parallelism (replication) configurations for each worker type that maximizes performance.", "source": "marker_v2", "marker_block_id": "/page/4/Text/28"}
|
| 68 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0067", "section": "5. Offline Deployment Planning", "page_start": 5, "page_end": 5, "type": "Text", "text": "Formulation of planning. We first introduce the decision variables . Since model parallelism degrees are typically powers of 2, we can represent the deployment via the number of replicas associated with each feasible model parallelism degree. Specifically, given a discrete set of supported", "source": "marker_v2", "marker_block_id": "/page/4/Text/29"}
|
| 69 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0068", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "FigureGroup", "text": "Figure 3. Illustration of disaggregated LLM serving where prefill and decode workers are with different parallelism configurations.", "source": "marker_v2", "marker_block_id": "/page/5/FigureGroup/833"}
|
| 70 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0069", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "model parallelism degrees T (e.g., {1, 2, 4, 8}), the decision variables comprise two integer vectors, x, y ∈ Z |T | ≥0 (e.g., x = [x (1), x(2), x(4), x(8)], y = [y (1), y(2), y(4), y(8)]). For each model parallelism degree n ∈ T , the variable x (n) (y (n) ) denotes the number of prefill (decode) workers that are deployed with model parallelism degree n (i.e., each partitioned across n GPUs).", "source": "marker_v2", "marker_block_id": "/page/5/Text/4"}
|
| 71 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0070", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Subsequently, to establish the optimization target, we introduce an auxiliary variable Z, which represents the maximum P95 latency among all workers. We formulate this resource allocation problem as an Integer Linear Programming (ILP) problem (Vielma, 2015) :", "source": "marker_v2", "marker_block_id": "/page/5/Text/5"}
|
| 72 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0071", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Equation", "text": "\\underset{\\mathbf{x},\\mathbf{y} \\in \\mathbb{Z}_{\\geq 0}^{|\\mathcal{T}|}}{\\arg \\min} \\quad Z \\mathbf{x},\\mathbf{y} \\in \\mathbb{Z}_{\\geq 0}^{|\\mathcal{T}|} s.t. (C1) Z \\geq \\tau_{pre}(n), \\quad \\forall n \\in \\mathcal{T} \\text{ where } x^{(n)} \\geq 1 (C2) Z \\geq \\tau_{dec}(n), \\quad \\forall n \\in \\mathcal{T} \\text{ where } y^{(n)} \\geq 1 (C3) \\sum_{n \\in \\mathcal{T}} (x^{(n)} \\cdot n) + \\sum_{n \\in \\mathcal{T}} (y^{(n)} \\cdot n) \\leq N (5)", "source": "marker_v2", "marker_block_id": "/page/5/Equation/6"}
|
| 73 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0072", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Constraints (C1) and (C2) establish P95 latency bounds of disaggregated inference. The coefficients τpre(n), τdec(n) represent the estimated P95 latency 5 of a single prefill or decode worker replica configured with model parallelism degree n. Since the two constraints require that Z must be at least as large as the P95 latency of any instantiated worker replica, minimizing Z represents minimizing the worst-case P95 latency across all deployed worker replicas (i.e., optimizing the bottlenecked worker replicas). Constraint (C3) enforces the global GPU resource capacity. For each configuration with model parallelism degree n, the GPU consumption equals the product of the number of worker replicas (x (n) or y (n) ) and the parallelism degree n. This constraint ensures that the total number of GPUs allocated across all worker replicas does not exceed the available cluster capacity N.", "source": "marker_v2", "marker_block_id": "/page/5/Text/7"}
|
| 74 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0073", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Planning solver. The formulation in Eq. (5) constitutes a multi-dimensional variant of the Unbounded Knapsack", "source": "marker_v2", "marker_block_id": "/page/5/Text/8"}
|
| 75 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0074", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Problem (Pisinger & Toth, 1998) , requiring the solver to evaluate integer combinations of valid model parallelism degrees to identify the optimal resource allocation. We employ a standard Mixed Integer Linear Programming (MILP) solver (Huangfu & Hall, 2018) to solve this optimization problem. The solver accepts the simulated P95 latency coefficients τpre(n) and τdec(n) as constant parameters, and explores the feasible region defined by the integer vectors x and y. This approach is computationally efficient for typical cluster scales (see Appendix A.2 for details), and guarantees identification of the global optimum that balances both worker types while fully utilizing available GPU resources.", "source": "marker_v2", "marker_block_id": "/page/5/Text/10"}
|
| 76 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0075", "section": "5. Offline Deployment Planning", "page_start": 6, "page_end": 6, "type": "Text", "text": "Discussion. In Eq. (5) , we adopt the P95 latency as our surrogate objective, while the goal of our system (particularly, the two approaches in §4) is to maximize SLO attainment. This discrepancy is due to the infeasibility to solve the optimization of SLO attainment via efficient linear programming solvers. Particularly, owing to the binary output of SLO satisfaction, the SLO attainment metric cannot serve as a continuous surrogate objective. Consequently, our ILP is formulated to minimize the P95 latency. Despite this discrepancy, empirical evaluation demonstrates that our planning is effective in finding the optimal deployment. We refer interested readers to Appendix A.3 for more details.", "source": "marker_v2", "marker_block_id": "/page/5/Text/11"}
|
| 77 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0076", "section": "6. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "AMPD is implemented atop NVIDIA Dynamo (NVIDIA, 2026b) . We adopt Redis to enable global sharing of the queues and windowed TTFT/ITL statistics, and utilize the SCIP library (Bolusani et al., 2024) to solve Eq. (5) . For efficient KV cache transmission, we leverage the NVIDIA Inference Xfer Library (NIXL) (NVIDIA, 2026c) to achieve point-to-point RDMA network communication across prefill and decode workers. The transmission of history KV cache is implemented as lazy reads. To be specific, our routing mechanism ( §4.1) sends merely metadata to prefill workers for remote execution. Only when an incremental prefill task is scheduled for execution ( §4.2) , should the prefill worker read the history KV cache from the decode worker. Additionally, the KV cache transmission overlaps with the computation of the previous task to hide the network latency.", "source": "marker_v2", "marker_block_id": "/page/5/Text/13"}
|
| 78 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0077", "section": "7.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Environments. We conduct experiments over 4 servers, each with 8 NVIDIA H20 (96GB) GPUs. The GPUs within each server are interconnected via NVLink with a bandwidth of 900GB/s, while the servers are interconnected by InfiniBand with a bandwidth of 200GB/s.", "source": "marker_v2", "marker_block_id": "/page/5/Text/16"}
|
| 79 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0078", "section": "7.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Workloads. Three LLMs are used in our experiments,", "source": "marker_v2", "marker_block_id": "/page/5/Text/17"}
|
| 80 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0079", "section": "7.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Footnote", "text": "5 We adopt a simulator for estimating the P95 latency performance of different configurations based on the performance model, which is detailed in Appendix A.1.", "source": "marker_v2", "marker_block_id": "/page/5/Footnote/9"}
|
| 81 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0080", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "FigureGroup", "text": "Figure 4. End-to-end comparison. The top three rows are the SLO attainment under different configurations (traces and request arrival rates) for the three models. The bottom row is a detailed breakdown of Llama-3.1-70B with a request arrival rate of 2 reqs/s, including the average TTFT for initial prefill, average TTFT for incremental prefill, and average ITL for decoding.", "source": "marker_v2", "marker_block_id": "/page/6/FigureGroup/295"}
|
| 82 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0081", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "which are Qwen3-32B (Yang et al., 2025), Llama3.1-70B (Grattafiori et al., 2024), and Mixtral-8x7B (Jiang et al., 2024). Since our major focus is serving efficiency, we conduct experiments by running the same traces with AMPD and the baselines to achieve a fair comparison. Four workload traces are considered, which are generated from the ToolBench (Guo et al., 2024), GAIA (Mialon et al., 2024), HotpotQA (Yang et al., 2018), and DuReader (He et al., 2018) datasets, respectively. Due to the space constraint, we summarize the length information in Table 1, while leaving the details of these traces to Appendix B. For each model, we run HotpotQA and ToolBench workloads on a single server (8 GPUs), DuReader on two servers (16 GPUs), and GAIA on four servers (32 GPUs), to match the workload scale and system capacity.", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 83 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0082", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "TableGroup", "text": "Table 1. The average number of rounds, prefill length, and decode length of each trace. Trace #Rounds Prefill Length Decode Length ToolBench 3.96 703.79 50.39 GAIA 11.32 6161.02 528.76 HotpotQA 3 3 1569.8 80.03 DuReader 3081.23 150.10", "source": "marker_v2", "marker_block_id": "/page/6/TableGroup/296"}
|
| 84 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0083", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "Baselines. We compare AMPD with three state-of-the-art LLM serving systems as follows.", "source": "marker_v2", "marker_block_id": "/page/6/Text/6"}
|
| 85 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0084", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "ListGroup", "text": "Dynamo (NVIDIA, 2026b): The original NVIDIA Dynamo disaggregated serving system under PD disaggregation without the techniques proposed in this work. It always separates the prefill and decode workloads onto different resources. vLLM (Kwon et al., 2023): One of the most prestigious", "source": "marker_v2", "marker_block_id": "/page/6/ListGroup/297"}
|
| 86 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0085", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "LLM serving system under PD co-location.", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
|
| 87 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0086", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "vLLM-Continuum (Li et al., 2025): A serving system based on vLLM tailored for multi-round workflows.", "source": "marker_v2", "marker_block_id": "/page/6/Text/10"}
|
| 88 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0087", "section": "7.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Text", "text": "Protocols. In all experiments, we utilize our offline planner to determine the model deployment of AMPD, while we tune the model deployment for all baselines and report the best results to be fair. By default, the hyper-parameters are set as \\alpha=0.9, \\beta=0.85, w=3 . We follow the previous standard to generate request arrival times using Poisson process with different request arrival rates (Kwon et al., 2023; Zhong et al., 2024; Yu et al., 2022), and take SLO attainment as the primary evaluation metric.", "source": "marker_v2", "marker_block_id": "/page/6/Text/11"}
|
| 89 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0088", "section": "7.2. Experiment Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "End-to-end comparison. To begin with, we conduct experiments to measure the SLO attainment of all counterparts under various request arrival rates, with results presented in Figure 4.", "source": "marker_v2", "marker_block_id": "/page/6/Text/13"}
|
| 90 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0089", "section": "7.2. Experiment Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "Overall, AMPD achieves the highest SLO attainment across all experiments. Compared to Dynamo (the disaggregated baseline) and vLLM (the co-located baseline), AMPD improves SLO attainment by up to 967.54% and 3435.1% (67.29% and 339.74% on average), respectively.", "source": "marker_v2", "marker_block_id": "/page/6/Text/14"}
|
| 91 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0090", "section": "7.2. Experiment Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "To understand the performance gain, we further provide a detailed breakdown in the bottom row of Figure 4. It can be observed that, both co-located and disaggregated serving exhibit divergent latency trade-offs. Co-located serving favors executing prefill tasks earlier (e.g., via prioritization or preemption) for the sake of continuous batching, which", "source": "marker_v2", "marker_block_id": "/page/6/Text/15"}
|
| 92 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0091", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 5. Ablation studies (Llama3.1-70B, 2 regs/s). Left: DuReader. Middle: GAIA. Right: Proportion of local and remote execution.", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/301"}
|
| 93 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0092", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 6. Sensitivity experiments w.r.t. w, \\alpha, \\beta (Llama3.1-70B, DuReader, 2 reqs/s).", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/302"}
|
| 94 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0093", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "reduces TTFT but disrupts the execution of decode tasks and thereby deteriorates ITL. In contrast, PD disaggregation decouples prefill from decode, reducing PD interference on decode workers and typically achieving lower ITL, yet TTFT often becomes the bottleneck due to the reduction in prefill resources and the overhead of KV cache transmission. These trends are also observed across tasks. On HotpotQA, DuReader, and ToolBench, disaggregated serving often outperforms co-located serving because its ITL advantage dominates end-to-end behavior. On GAIA, colocated serving becomes favorable (compared to Dynamo) since it provides competitive TTFT while not exhibiting a pronounced ITL disadvantage. Consequently, both vLLM and Dynamo are frequently dominated by either ITL or TTFT constraints, limiting the attainable SLO rate.", "source": "marker_v2", "marker_block_id": "/page/7/Text/10"}
|
| 95 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0094", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "AMPD enjoys the benefit of PD disaggregation, avoiding deteriorating ITL compared to vLLM. Meanwhile, compared to Dynamo, AMPD significantly reduces TTFT thanks to our adaptive scheduling. Consequently, AMPD achieves a more robust trade-off between first-token responsiveness and per-token generation speed.", "source": "marker_v2", "marker_block_id": "/page/7/Text/11"}
|
| 96 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0095", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "vLLM-Continuum follows the co-located architecture and adopts a queuing policy that prioritizes tasks within the same request (a.k.a., session). Since such tasks can reuse cached KV states, they typically require less computation, which shortens queuing delay and reduces TTFT while leaving ITL unaffected. However, in many settings, the TTFT reduction does not consistently translate into a substantial improvement in SLO attainment. Thus, vLLM-Continuum is often comparable to, or nearly tied with, vLLM.", "source": "marker_v2", "marker_block_id": "/page/7/Text/12"}
|
| 97 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0096", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "Ablation study. We conduct experiments to assess the effectiveness of the two techniques in our online scheduling. The results are provided in Figure 5. The adaptive routing mechanism routes 13.9%-31.7% prefill tasks to be executed locally on the decode workers, which relieves the burden of prefill workers, and thereby increases the SLO attainment by 27.37%-350%, demonstrating the effectiveness of adaptive routing in mitigating workload imbalance between phases.", "source": "marker_v2", "marker_block_id": "/page/7/Text/13"}
|
| 98 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0097", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "In addition, the prefill reordering policy further improves the SLO attainment by 13.42%-14.81%. This is reasonable as the queuing optimization helps reduce the tail of TTFT. Eventually, these two techniques together provision 44.47%-402% of improvement.", "source": "marker_v2", "marker_block_id": "/page/7/Text/14"}
|
| 99 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0098", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "Sensitivity. Both the two techniques in online scheduling introduce additional hyper-parameters. We evaluate the sensitivity of our work by varying these hyper-parameters. The results are shown in Figure 6.", "source": "marker_v2", "marker_block_id": "/page/7/Text/15"}
|
| 100 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0099", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "We first evaluate the SLO attainment with multiple window sizes (2, 3, 4, and 5) in prefill reordering. It can be seen that the performance of AMPD remains similar across these window sizes (within 3% gap). This suggests that a short time window is sufficient to capture load signals needed for effective routing decisions.", "source": "marker_v2", "marker_block_id": "/page/7/Text/16"}
|
| 101 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0100", "section": "7.2. Experiment Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "Next, we evaluate the impact of \\alpha and \\beta , which control the sensitivity to congestion on the prefill and decode sides, respectively. In general, a smaller \\alpha enables earlier detection of prefill congestion but may lead to under-utilization of prefill workers, while a smaller \\beta triggers earlier detection of decode congestion at the cost of potentially reduced decode utilization. Consequently, moderate values of \\alpha and \\beta can strike a better balance between prefill and decode workers, improving the overall system efficiency.", "source": "marker_v2", "marker_block_id": "/page/7/Text/17"}
|
| 102 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0101", "section": "8. Conclusion", "page_start": 8, "page_end": 8, "type": "Text", "text": "We presented AMPD, a novel disaggregated serving framework for efficient multi-round LLM inference. AMPD addresses the interleaved prefill-decode workload patterns of multi-round inference by runtime adaptive scheduling, consisting of the adaptive routing mechanism and prefill reordering policy to balance prefill and decode loads. Extensive experiments show that, compared to existing works, AMPD improves SLO attainment by 67.29%-339.74% on average, provisioning an effective solution for serving complex, multi-round LLM workflows.", "source": "marker_v2", "marker_block_id": "/page/7/Text/19"}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/marker_meta.json
ADDED
|
@@ -0,0 +1,1392 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"table_of_contents": [
|
| 3 |
+
{
|
| 4 |
+
"title": "002\n003",
|
| 5 |
+
"heading_level": null,
|
| 6 |
+
"page_id": 0,
|
| 7 |
+
"polygon": [
|
| 8 |
+
[
|
| 9 |
+
23.25,
|
| 10 |
+
85.8515625
|
| 11 |
+
],
|
| 12 |
+
[
|
| 13 |
+
44.82421875,
|
| 14 |
+
85.8515625
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
44.82421875,
|
| 18 |
+
129.1640625
|
| 19 |
+
],
|
| 20 |
+
[
|
| 21 |
+
23.25,
|
| 22 |
+
129.1640625
|
| 23 |
+
]
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"title": "004\n005\n006\n007",
|
| 28 |
+
"heading_level": null,
|
| 29 |
+
"page_id": 0,
|
| 30 |
+
"polygon": [
|
| 31 |
+
[
|
| 32 |
+
23.25,
|
| 33 |
+
108.28125
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
42.43359375,
|
| 37 |
+
108.28125
|
| 38 |
+
],
|
| 39 |
+
[
|
| 40 |
+
42.43359375,
|
| 41 |
+
165.515625
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
23.25,
|
| 45 |
+
165.515625
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"title": "008\n009\n011",
|
| 51 |
+
"heading_level": null,
|
| 52 |
+
"page_id": 0,
|
| 53 |
+
"polygon": [
|
| 54 |
+
[
|
| 55 |
+
21.216796875,
|
| 56 |
+
150.046875
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
41.25,
|
| 60 |
+
150.046875
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
41.25,
|
| 64 |
+
208.5
|
| 65 |
+
],
|
| 66 |
+
[
|
| 67 |
+
21.216796875,
|
| 68 |
+
208.5
|
| 69 |
+
]
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"title": "012\n014\n015\n016",
|
| 74 |
+
"heading_level": null,
|
| 75 |
+
"page_id": 0,
|
| 76 |
+
"polygon": [
|
| 77 |
+
[
|
| 78 |
+
22.11328125,
|
| 79 |
+
212.25
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
42.43359375,
|
| 83 |
+
212.25
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
42.43359375,
|
| 87 |
+
283.46484375
|
| 88 |
+
],
|
| 89 |
+
[
|
| 90 |
+
22.11328125,
|
| 91 |
+
283.46484375
|
| 92 |
+
]
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"title": "Efficient Multi-round LLM Inference over Disaggregated Serving",
|
| 97 |
+
"heading_level": null,
|
| 98 |
+
"page_id": 0,
|
| 99 |
+
"polygon": [
|
| 100 |
+
[
|
| 101 |
+
96.0,
|
| 102 |
+
87.75
|
| 103 |
+
],
|
| 104 |
+
[
|
| 105 |
+
500.8359375,
|
| 106 |
+
90.0
|
| 107 |
+
],
|
| 108 |
+
[
|
| 109 |
+
500.8359375,
|
| 110 |
+
104.25
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
96.0,
|
| 114 |
+
104.02734375
|
| 115 |
+
]
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"title": "Anonymous Authors<sup>1</sup>",
|
| 120 |
+
"heading_level": null,
|
| 121 |
+
"page_id": 0,
|
| 122 |
+
"polygon": [
|
| 123 |
+
[
|
| 124 |
+
242.25,
|
| 125 |
+
141.75
|
| 126 |
+
],
|
| 127 |
+
[
|
| 128 |
+
335.28515625,
|
| 129 |
+
141.75
|
| 130 |
+
],
|
| 131 |
+
[
|
| 132 |
+
335.28515625,
|
| 133 |
+
151.98046875
|
| 134 |
+
],
|
| 135 |
+
[
|
| 136 |
+
242.25,
|
| 137 |
+
151.98046875
|
| 138 |
+
]
|
| 139 |
+
]
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"title": "Abstract",
|
| 143 |
+
"heading_level": null,
|
| 144 |
+
"page_id": 0,
|
| 145 |
+
"polygon": [
|
| 146 |
+
[
|
| 147 |
+
148.5,
|
| 148 |
+
175.18359375
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
195.75,
|
| 152 |
+
175.18359375
|
| 153 |
+
],
|
| 154 |
+
[
|
| 155 |
+
195.75,
|
| 156 |
+
185.25
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
148.5,
|
| 160 |
+
185.25
|
| 161 |
+
]
|
| 162 |
+
]
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"title": "1. Introduction",
|
| 166 |
+
"heading_level": null,
|
| 167 |
+
"page_id": 0,
|
| 168 |
+
"polygon": [
|
| 169 |
+
[
|
| 170 |
+
54.0,
|
| 171 |
+
546.0
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
133.5,
|
| 175 |
+
546.0
|
| 176 |
+
],
|
| 177 |
+
[
|
| 178 |
+
133.5,
|
| 179 |
+
555.0
|
| 180 |
+
],
|
| 181 |
+
[
|
| 182 |
+
54.0,
|
| 183 |
+
555.0
|
| 184 |
+
]
|
| 185 |
+
]
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"title": "2. Preliminaries and Related Works",
|
| 189 |
+
"heading_level": null,
|
| 190 |
+
"page_id": 1,
|
| 191 |
+
"polygon": [
|
| 192 |
+
[
|
| 193 |
+
305.40234375,
|
| 194 |
+
121.04296875
|
| 195 |
+
],
|
| 196 |
+
[
|
| 197 |
+
489.3025207519531,
|
| 198 |
+
121.04296875
|
| 199 |
+
],
|
| 200 |
+
[
|
| 201 |
+
489.3025207519531,
|
| 202 |
+
133.5303955078125
|
| 203 |
+
],
|
| 204 |
+
[
|
| 205 |
+
305.40234375,
|
| 206 |
+
133.5303955078125
|
| 207 |
+
]
|
| 208 |
+
]
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"title": "3. System Overview",
|
| 212 |
+
"heading_level": null,
|
| 213 |
+
"page_id": 2,
|
| 214 |
+
"polygon": [
|
| 215 |
+
[
|
| 216 |
+
52.294921875,
|
| 217 |
+
483.2741394042969
|
| 218 |
+
],
|
| 219 |
+
[
|
| 220 |
+
155.80389404296875,
|
| 221 |
+
483.2741394042969
|
| 222 |
+
],
|
| 223 |
+
[
|
| 224 |
+
155.80389404296875,
|
| 225 |
+
495.2293395996094
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
52.294921875,
|
| 229 |
+
495.2293395996094
|
| 230 |
+
]
|
| 231 |
+
]
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"title": "4. Online Adaptive Scheduling",
|
| 235 |
+
"heading_level": null,
|
| 236 |
+
"page_id": 3,
|
| 237 |
+
"polygon": [
|
| 238 |
+
[
|
| 239 |
+
53.7890625,
|
| 240 |
+
275.740234375
|
| 241 |
+
],
|
| 242 |
+
[
|
| 243 |
+
210.6543731689453,
|
| 244 |
+
275.740234375
|
| 245 |
+
],
|
| 246 |
+
[
|
| 247 |
+
210.6543731689453,
|
| 248 |
+
287.6954345703125
|
| 249 |
+
],
|
| 250 |
+
[
|
| 251 |
+
53.7890625,
|
| 252 |
+
287.6954345703125
|
| 253 |
+
]
|
| 254 |
+
]
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"title": "4.1. Adaptive Routing",
|
| 258 |
+
"heading_level": null,
|
| 259 |
+
"page_id": 3,
|
| 260 |
+
"polygon": [
|
| 261 |
+
[
|
| 262 |
+
52.59375,
|
| 263 |
+
369.5965270996094
|
| 264 |
+
],
|
| 265 |
+
[
|
| 266 |
+
148.23165893554688,
|
| 267 |
+
369.5965270996094
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
148.23165893554688,
|
| 271 |
+
379.5591125488281
|
| 272 |
+
],
|
| 273 |
+
[
|
| 274 |
+
52.59375,
|
| 275 |
+
379.5591125488281
|
| 276 |
+
]
|
| 277 |
+
]
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"title": "Algorithm 2 Prefill reordering policy.",
|
| 281 |
+
"heading_level": null,
|
| 282 |
+
"page_id": 4,
|
| 283 |
+
"polygon": [
|
| 284 |
+
[
|
| 285 |
+
54.0,
|
| 286 |
+
68.25
|
| 287 |
+
],
|
| 288 |
+
[
|
| 289 |
+
206.25,
|
| 290 |
+
68.25
|
| 291 |
+
],
|
| 292 |
+
[
|
| 293 |
+
206.25,
|
| 294 |
+
78.50390625
|
| 295 |
+
],
|
| 296 |
+
[
|
| 297 |
+
54.0,
|
| 298 |
+
78.50390625
|
| 299 |
+
]
|
| 300 |
+
]
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"title": "4.2. Prefill Reordering",
|
| 304 |
+
"heading_level": null,
|
| 305 |
+
"page_id": 4,
|
| 306 |
+
"polygon": [
|
| 307 |
+
[
|
| 308 |
+
54.0,
|
| 309 |
+
339.75
|
| 310 |
+
],
|
| 311 |
+
[
|
| 312 |
+
150.75,
|
| 313 |
+
339.75
|
| 314 |
+
],
|
| 315 |
+
[
|
| 316 |
+
150.75,
|
| 317 |
+
349.5
|
| 318 |
+
],
|
| 319 |
+
[
|
| 320 |
+
54.0,
|
| 321 |
+
349.5
|
| 322 |
+
]
|
| 323 |
+
]
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"title": "5. Offline Deployment Planning",
|
| 327 |
+
"heading_level": null,
|
| 328 |
+
"page_id": 4,
|
| 329 |
+
"polygon": [
|
| 330 |
+
[
|
| 331 |
+
306.0,
|
| 332 |
+
435.05859375
|
| 333 |
+
],
|
| 334 |
+
[
|
| 335 |
+
468.75,
|
| 336 |
+
435.05859375
|
| 337 |
+
],
|
| 338 |
+
[
|
| 339 |
+
468.75,
|
| 340 |
+
445.5
|
| 341 |
+
],
|
| 342 |
+
[
|
| 343 |
+
306.0,
|
| 344 |
+
445.5
|
| 345 |
+
]
|
| 346 |
+
]
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"title": "6. Implementation",
|
| 350 |
+
"heading_level": null,
|
| 351 |
+
"page_id": 5,
|
| 352 |
+
"polygon": [
|
| 353 |
+
[
|
| 354 |
+
306.59765625,
|
| 355 |
+
376.6640625
|
| 356 |
+
],
|
| 357 |
+
[
|
| 358 |
+
401.0850830078125,
|
| 359 |
+
376.6640625
|
| 360 |
+
],
|
| 361 |
+
[
|
| 362 |
+
401.0850830078125,
|
| 363 |
+
389.3143615722656
|
| 364 |
+
],
|
| 365 |
+
[
|
| 366 |
+
306.59765625,
|
| 367 |
+
389.3143615722656
|
| 368 |
+
]
|
| 369 |
+
]
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"title": "7. Experiments",
|
| 373 |
+
"heading_level": null,
|
| 374 |
+
"page_id": 5,
|
| 375 |
+
"polygon": [
|
| 376 |
+
[
|
| 377 |
+
305.701171875,
|
| 378 |
+
592.6691436767578
|
| 379 |
+
],
|
| 380 |
+
[
|
| 381 |
+
384.47930908203125,
|
| 382 |
+
592.6691436767578
|
| 383 |
+
],
|
| 384 |
+
[
|
| 385 |
+
384.47930908203125,
|
| 386 |
+
604.6243438720703
|
| 387 |
+
],
|
| 388 |
+
[
|
| 389 |
+
305.701171875,
|
| 390 |
+
604.6243438720703
|
| 391 |
+
]
|
| 392 |
+
]
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"title": "7.1. Experimental Setup",
|
| 396 |
+
"heading_level": null,
|
| 397 |
+
"page_id": 5,
|
| 398 |
+
"polygon": [
|
| 399 |
+
[
|
| 400 |
+
306.896484375,
|
| 401 |
+
613.5715026855469
|
| 402 |
+
],
|
| 403 |
+
[
|
| 404 |
+
410.291015625,
|
| 405 |
+
613.5715026855469
|
| 406 |
+
],
|
| 407 |
+
[
|
| 408 |
+
410.291015625,
|
| 409 |
+
623.5341033935547
|
| 410 |
+
],
|
| 411 |
+
[
|
| 412 |
+
306.896484375,
|
| 413 |
+
623.5341033935547
|
| 414 |
+
]
|
| 415 |
+
]
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"title": "7.2. Experiment Results",
|
| 419 |
+
"heading_level": null,
|
| 420 |
+
"page_id": 6,
|
| 421 |
+
"polygon": [
|
| 422 |
+
[
|
| 423 |
+
306.0,
|
| 424 |
+
508.5
|
| 425 |
+
],
|
| 426 |
+
[
|
| 427 |
+
410.25,
|
| 428 |
+
508.5
|
| 429 |
+
],
|
| 430 |
+
[
|
| 431 |
+
410.25,
|
| 432 |
+
517.81640625
|
| 433 |
+
],
|
| 434 |
+
[
|
| 435 |
+
306.0,
|
| 436 |
+
517.81640625
|
| 437 |
+
]
|
| 438 |
+
]
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"title": "8. Conclusion",
|
| 442 |
+
"heading_level": null,
|
| 443 |
+
"page_id": 7,
|
| 444 |
+
"polygon": [
|
| 445 |
+
[
|
| 446 |
+
306.0,
|
| 447 |
+
567.0
|
| 448 |
+
],
|
| 449 |
+
[
|
| 450 |
+
377.25,
|
| 451 |
+
567.0
|
| 452 |
+
],
|
| 453 |
+
[
|
| 454 |
+
377.25,
|
| 455 |
+
576.75
|
| 456 |
+
],
|
| 457 |
+
[
|
| 458 |
+
306.0,
|
| 459 |
+
576.75
|
| 460 |
+
]
|
| 461 |
+
]
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"title": "References",
|
| 465 |
+
"heading_level": null,
|
| 466 |
+
"page_id": 8,
|
| 467 |
+
"polygon": [
|
| 468 |
+
[
|
| 469 |
+
51.099609375,
|
| 470 |
+
67.67578125
|
| 471 |
+
],
|
| 472 |
+
[
|
| 473 |
+
110.9838638305664,
|
| 474 |
+
67.67578125
|
| 475 |
+
],
|
| 476 |
+
[
|
| 477 |
+
110.9838638305664,
|
| 478 |
+
79.80230712890625
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
51.099609375,
|
| 482 |
+
79.80230712890625
|
| 483 |
+
]
|
| 484 |
+
]
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"title": "A. More Details about Offline Planning",
|
| 488 |
+
"heading_level": null,
|
| 489 |
+
"page_id": 11,
|
| 490 |
+
"polygon": [
|
| 491 |
+
[
|
| 492 |
+
51.99609375,
|
| 493 |
+
67.5
|
| 494 |
+
],
|
| 495 |
+
[
|
| 496 |
+
256.5,
|
| 497 |
+
67.5
|
| 498 |
+
],
|
| 499 |
+
[
|
| 500 |
+
256.5,
|
| 501 |
+
78.890625
|
| 502 |
+
],
|
| 503 |
+
[
|
| 504 |
+
51.99609375,
|
| 505 |
+
78.890625
|
| 506 |
+
]
|
| 507 |
+
]
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"title": "A.1. Performance Simulation",
|
| 511 |
+
"heading_level": null,
|
| 512 |
+
"page_id": 11,
|
| 513 |
+
"polygon": [
|
| 514 |
+
[
|
| 515 |
+
52.294921875,
|
| 516 |
+
87.75
|
| 517 |
+
],
|
| 518 |
+
[
|
| 519 |
+
180.0,
|
| 520 |
+
87.75
|
| 521 |
+
],
|
| 522 |
+
[
|
| 523 |
+
180.0,
|
| 524 |
+
97.5
|
| 525 |
+
],
|
| 526 |
+
[
|
| 527 |
+
52.294921875,
|
| 528 |
+
97.5
|
| 529 |
+
]
|
| 530 |
+
]
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"title": "A.2. Time Cost of Planning",
|
| 534 |
+
"heading_level": null,
|
| 535 |
+
"page_id": 11,
|
| 536 |
+
"polygon": [
|
| 537 |
+
[
|
| 538 |
+
53.7890625,
|
| 539 |
+
401.02734375
|
| 540 |
+
],
|
| 541 |
+
[
|
| 542 |
+
171.75,
|
| 543 |
+
401.02734375
|
| 544 |
+
],
|
| 545 |
+
[
|
| 546 |
+
171.75,
|
| 547 |
+
410.25
|
| 548 |
+
],
|
| 549 |
+
[
|
| 550 |
+
53.7890625,
|
| 551 |
+
410.25
|
| 552 |
+
]
|
| 553 |
+
]
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"title": "A.3. Effectiveness of Planning",
|
| 557 |
+
"heading_level": null,
|
| 558 |
+
"page_id": 11,
|
| 559 |
+
"polygon": [
|
| 560 |
+
[
|
| 561 |
+
54.0,
|
| 562 |
+
631.5
|
| 563 |
+
],
|
| 564 |
+
[
|
| 565 |
+
183.0,
|
| 566 |
+
631.5
|
| 567 |
+
],
|
| 568 |
+
[
|
| 569 |
+
183.0,
|
| 570 |
+
641.56640625
|
| 571 |
+
],
|
| 572 |
+
[
|
| 573 |
+
54.0,
|
| 574 |
+
641.56640625
|
| 575 |
+
]
|
| 576 |
+
]
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"title": "B. More Details of Experiments",
|
| 580 |
+
"heading_level": null,
|
| 581 |
+
"page_id": 13,
|
| 582 |
+
"polygon": [
|
| 583 |
+
[
|
| 584 |
+
53.19140625,
|
| 585 |
+
66.75
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
217.5,
|
| 589 |
+
66.75
|
| 590 |
+
],
|
| 591 |
+
[
|
| 592 |
+
217.5,
|
| 593 |
+
78.890625
|
| 594 |
+
],
|
| 595 |
+
[
|
| 596 |
+
53.19140625,
|
| 597 |
+
78.890625
|
| 598 |
+
]
|
| 599 |
+
]
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"title": "More experimental results.",
|
| 603 |
+
"heading_level": null,
|
| 604 |
+
"page_id": 13,
|
| 605 |
+
"polygon": [
|
| 606 |
+
[
|
| 607 |
+
52.294921875,
|
| 608 |
+
141.75
|
| 609 |
+
],
|
| 610 |
+
[
|
| 611 |
+
171.0,
|
| 612 |
+
141.75
|
| 613 |
+
],
|
| 614 |
+
[
|
| 615 |
+
171.0,
|
| 616 |
+
151.59375
|
| 617 |
+
],
|
| 618 |
+
[
|
| 619 |
+
52.294921875,
|
| 620 |
+
151.59375
|
| 621 |
+
]
|
| 622 |
+
]
|
| 623 |
+
}
|
| 624 |
+
],
|
| 625 |
+
"page_stats": [
|
| 626 |
+
{
|
| 627 |
+
"page_id": 0,
|
| 628 |
+
"text_extraction_method": "surya",
|
| 629 |
+
"block_counts": [
|
| 630 |
+
[
|
| 631 |
+
"Line",
|
| 632 |
+
128
|
| 633 |
+
],
|
| 634 |
+
[
|
| 635 |
+
"Span",
|
| 636 |
+
119
|
| 637 |
+
],
|
| 638 |
+
[
|
| 639 |
+
"Text",
|
| 640 |
+
16
|
| 641 |
+
],
|
| 642 |
+
[
|
| 643 |
+
"SectionHeader",
|
| 644 |
+
8
|
| 645 |
+
],
|
| 646 |
+
[
|
| 647 |
+
"PageHeader",
|
| 648 |
+
4
|
| 649 |
+
],
|
| 650 |
+
[
|
| 651 |
+
"Footnote",
|
| 652 |
+
1
|
| 653 |
+
],
|
| 654 |
+
[
|
| 655 |
+
"Picture",
|
| 656 |
+
1
|
| 657 |
+
],
|
| 658 |
+
[
|
| 659 |
+
"Caption",
|
| 660 |
+
1
|
| 661 |
+
],
|
| 662 |
+
[
|
| 663 |
+
"PageFooter",
|
| 664 |
+
1
|
| 665 |
+
],
|
| 666 |
+
[
|
| 667 |
+
"PictureGroup",
|
| 668 |
+
1
|
| 669 |
+
],
|
| 670 |
+
[
|
| 671 |
+
"Reference",
|
| 672 |
+
1
|
| 673 |
+
]
|
| 674 |
+
],
|
| 675 |
+
"block_metadata": {
|
| 676 |
+
"llm_request_count": 0,
|
| 677 |
+
"llm_error_count": 0,
|
| 678 |
+
"llm_tokens_used": 0,
|
| 679 |
+
"previous_text": "",
|
| 680 |
+
"previous_type": "",
|
| 681 |
+
"previous_order": 0
|
| 682 |
+
}
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"page_id": 1,
|
| 686 |
+
"text_extraction_method": "pdftext",
|
| 687 |
+
"block_counts": [
|
| 688 |
+
[
|
| 689 |
+
"Span",
|
| 690 |
+
405
|
| 691 |
+
],
|
| 692 |
+
[
|
| 693 |
+
"Line",
|
| 694 |
+
155
|
| 695 |
+
],
|
| 696 |
+
[
|
| 697 |
+
"Text",
|
| 698 |
+
12
|
| 699 |
+
],
|
| 700 |
+
[
|
| 701 |
+
"ListItem",
|
| 702 |
+
3
|
| 703 |
+
],
|
| 704 |
+
[
|
| 705 |
+
"Footnote",
|
| 706 |
+
2
|
| 707 |
+
],
|
| 708 |
+
[
|
| 709 |
+
"Reference",
|
| 710 |
+
2
|
| 711 |
+
],
|
| 712 |
+
[
|
| 713 |
+
"PageHeader",
|
| 714 |
+
1
|
| 715 |
+
],
|
| 716 |
+
[
|
| 717 |
+
"SectionHeader",
|
| 718 |
+
1
|
| 719 |
+
],
|
| 720 |
+
[
|
| 721 |
+
"PageFooter",
|
| 722 |
+
1
|
| 723 |
+
],
|
| 724 |
+
[
|
| 725 |
+
"ListGroup",
|
| 726 |
+
1
|
| 727 |
+
]
|
| 728 |
+
],
|
| 729 |
+
"block_metadata": {
|
| 730 |
+
"llm_request_count": 0,
|
| 731 |
+
"llm_error_count": 0,
|
| 732 |
+
"llm_tokens_used": 0,
|
| 733 |
+
"previous_text": "",
|
| 734 |
+
"previous_type": "",
|
| 735 |
+
"previous_order": 0
|
| 736 |
+
}
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"page_id": 2,
|
| 740 |
+
"text_extraction_method": "pdftext",
|
| 741 |
+
"block_counts": [
|
| 742 |
+
[
|
| 743 |
+
"Span",
|
| 744 |
+
475
|
| 745 |
+
],
|
| 746 |
+
[
|
| 747 |
+
"Line",
|
| 748 |
+
164
|
| 749 |
+
],
|
| 750 |
+
[
|
| 751 |
+
"Text",
|
| 752 |
+
14
|
| 753 |
+
],
|
| 754 |
+
[
|
| 755 |
+
"ListItem",
|
| 756 |
+
4
|
| 757 |
+
],
|
| 758 |
+
[
|
| 759 |
+
"Reference",
|
| 760 |
+
4
|
| 761 |
+
],
|
| 762 |
+
[
|
| 763 |
+
"PageHeader",
|
| 764 |
+
2
|
| 765 |
+
],
|
| 766 |
+
[
|
| 767 |
+
"Footnote",
|
| 768 |
+
2
|
| 769 |
+
],
|
| 770 |
+
[
|
| 771 |
+
"SectionHeader",
|
| 772 |
+
1
|
| 773 |
+
],
|
| 774 |
+
[
|
| 775 |
+
"PageFooter",
|
| 776 |
+
1
|
| 777 |
+
],
|
| 778 |
+
[
|
| 779 |
+
"ListGroup",
|
| 780 |
+
1
|
| 781 |
+
]
|
| 782 |
+
],
|
| 783 |
+
"block_metadata": {
|
| 784 |
+
"llm_request_count": 0,
|
| 785 |
+
"llm_error_count": 0,
|
| 786 |
+
"llm_tokens_used": 0,
|
| 787 |
+
"previous_text": "",
|
| 788 |
+
"previous_type": "",
|
| 789 |
+
"previous_order": 0
|
| 790 |
+
}
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"page_id": 3,
|
| 794 |
+
"text_extraction_method": "pdftext",
|
| 795 |
+
"block_counts": [
|
| 796 |
+
[
|
| 797 |
+
"Span",
|
| 798 |
+
638
|
| 799 |
+
],
|
| 800 |
+
[
|
| 801 |
+
"Line",
|
| 802 |
+
156
|
| 803 |
+
],
|
| 804 |
+
[
|
| 805 |
+
"Text",
|
| 806 |
+
21
|
| 807 |
+
],
|
| 808 |
+
[
|
| 809 |
+
"ListItem",
|
| 810 |
+
9
|
| 811 |
+
],
|
| 812 |
+
[
|
| 813 |
+
"Reference",
|
| 814 |
+
4
|
| 815 |
+
],
|
| 816 |
+
[
|
| 817 |
+
"SectionHeader",
|
| 818 |
+
2
|
| 819 |
+
],
|
| 820 |
+
[
|
| 821 |
+
"Equation",
|
| 822 |
+
2
|
| 823 |
+
],
|
| 824 |
+
[
|
| 825 |
+
"PageHeader",
|
| 826 |
+
1
|
| 827 |
+
],
|
| 828 |
+
[
|
| 829 |
+
"PageFooter",
|
| 830 |
+
1
|
| 831 |
+
],
|
| 832 |
+
[
|
| 833 |
+
"ListGroup",
|
| 834 |
+
1
|
| 835 |
+
]
|
| 836 |
+
],
|
| 837 |
+
"block_metadata": {
|
| 838 |
+
"llm_request_count": 0,
|
| 839 |
+
"llm_error_count": 0,
|
| 840 |
+
"llm_tokens_used": 0,
|
| 841 |
+
"previous_text": "",
|
| 842 |
+
"previous_type": "",
|
| 843 |
+
"previous_order": 0
|
| 844 |
+
}
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"page_id": 4,
|
| 848 |
+
"text_extraction_method": "surya",
|
| 849 |
+
"block_counts": [
|
| 850 |
+
[
|
| 851 |
+
"Line",
|
| 852 |
+
226
|
| 853 |
+
],
|
| 854 |
+
[
|
| 855 |
+
"Span",
|
| 856 |
+
152
|
| 857 |
+
],
|
| 858 |
+
[
|
| 859 |
+
"Text",
|
| 860 |
+
64
|
| 861 |
+
],
|
| 862 |
+
[
|
| 863 |
+
"ListItem",
|
| 864 |
+
9
|
| 865 |
+
],
|
| 866 |
+
[
|
| 867 |
+
"SectionHeader",
|
| 868 |
+
3
|
| 869 |
+
],
|
| 870 |
+
[
|
| 871 |
+
"Reference",
|
| 872 |
+
3
|
| 873 |
+
],
|
| 874 |
+
[
|
| 875 |
+
"Equation",
|
| 876 |
+
2
|
| 877 |
+
],
|
| 878 |
+
[
|
| 879 |
+
"ListGroup",
|
| 880 |
+
2
|
| 881 |
+
],
|
| 882 |
+
[
|
| 883 |
+
"PageHeader",
|
| 884 |
+
1
|
| 885 |
+
],
|
| 886 |
+
[
|
| 887 |
+
"PageFooter",
|
| 888 |
+
1
|
| 889 |
+
]
|
| 890 |
+
],
|
| 891 |
+
"block_metadata": {
|
| 892 |
+
"llm_request_count": 0,
|
| 893 |
+
"llm_error_count": 0,
|
| 894 |
+
"llm_tokens_used": 0,
|
| 895 |
+
"previous_text": "",
|
| 896 |
+
"previous_type": "",
|
| 897 |
+
"previous_order": 0
|
| 898 |
+
}
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"page_id": 5,
|
| 902 |
+
"text_extraction_method": "pdftext",
|
| 903 |
+
"block_counts": [
|
| 904 |
+
[
|
| 905 |
+
"Span",
|
| 906 |
+
639
|
| 907 |
+
],
|
| 908 |
+
[
|
| 909 |
+
"Line",
|
| 910 |
+
165
|
| 911 |
+
],
|
| 912 |
+
[
|
| 913 |
+
"Text",
|
| 914 |
+
19
|
| 915 |
+
],
|
| 916 |
+
[
|
| 917 |
+
"Reference",
|
| 918 |
+
4
|
| 919 |
+
],
|
| 920 |
+
[
|
| 921 |
+
"SectionHeader",
|
| 922 |
+
3
|
| 923 |
+
],
|
| 924 |
+
[
|
| 925 |
+
"PageHeader",
|
| 926 |
+
2
|
| 927 |
+
],
|
| 928 |
+
[
|
| 929 |
+
"Figure",
|
| 930 |
+
1
|
| 931 |
+
],
|
| 932 |
+
[
|
| 933 |
+
"Caption",
|
| 934 |
+
1
|
| 935 |
+
],
|
| 936 |
+
[
|
| 937 |
+
"Equation",
|
| 938 |
+
1
|
| 939 |
+
],
|
| 940 |
+
[
|
| 941 |
+
"Footnote",
|
| 942 |
+
1
|
| 943 |
+
],
|
| 944 |
+
[
|
| 945 |
+
"PageFooter",
|
| 946 |
+
1
|
| 947 |
+
],
|
| 948 |
+
[
|
| 949 |
+
"FigureGroup",
|
| 950 |
+
1
|
| 951 |
+
]
|
| 952 |
+
],
|
| 953 |
+
"block_metadata": {
|
| 954 |
+
"llm_request_count": 0,
|
| 955 |
+
"llm_error_count": 0,
|
| 956 |
+
"llm_tokens_used": 0,
|
| 957 |
+
"previous_text": "",
|
| 958 |
+
"previous_type": "",
|
| 959 |
+
"previous_order": 0
|
| 960 |
+
}
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"page_id": 6,
|
| 964 |
+
"text_extraction_method": "surya",
|
| 965 |
+
"block_counts": [
|
| 966 |
+
[
|
| 967 |
+
"Line",
|
| 968 |
+
171
|
| 969 |
+
],
|
| 970 |
+
[
|
| 971 |
+
"Span",
|
| 972 |
+
67
|
| 973 |
+
],
|
| 974 |
+
[
|
| 975 |
+
"Text",
|
| 976 |
+
48
|
| 977 |
+
],
|
| 978 |
+
[
|
| 979 |
+
"TableCell",
|
| 980 |
+
20
|
| 981 |
+
],
|
| 982 |
+
[
|
| 983 |
+
"Caption",
|
| 984 |
+
2
|
| 985 |
+
],
|
| 986 |
+
[
|
| 987 |
+
"ListItem",
|
| 988 |
+
2
|
| 989 |
+
],
|
| 990 |
+
[
|
| 991 |
+
"Reference",
|
| 992 |
+
2
|
| 993 |
+
],
|
| 994 |
+
[
|
| 995 |
+
"PageHeader",
|
| 996 |
+
1
|
| 997 |
+
],
|
| 998 |
+
[
|
| 999 |
+
"Figure",
|
| 1000 |
+
1
|
| 1001 |
+
],
|
| 1002 |
+
[
|
| 1003 |
+
"Table",
|
| 1004 |
+
1
|
| 1005 |
+
],
|
| 1006 |
+
[
|
| 1007 |
+
"SectionHeader",
|
| 1008 |
+
1
|
| 1009 |
+
],
|
| 1010 |
+
[
|
| 1011 |
+
"PageFooter",
|
| 1012 |
+
1
|
| 1013 |
+
],
|
| 1014 |
+
[
|
| 1015 |
+
"FigureGroup",
|
| 1016 |
+
1
|
| 1017 |
+
],
|
| 1018 |
+
[
|
| 1019 |
+
"TableGroup",
|
| 1020 |
+
1
|
| 1021 |
+
],
|
| 1022 |
+
[
|
| 1023 |
+
"ListGroup",
|
| 1024 |
+
1
|
| 1025 |
+
]
|
| 1026 |
+
],
|
| 1027 |
+
"block_metadata": {
|
| 1028 |
+
"llm_request_count": 0,
|
| 1029 |
+
"llm_error_count": 0,
|
| 1030 |
+
"llm_tokens_used": 0,
|
| 1031 |
+
"previous_text": "",
|
| 1032 |
+
"previous_type": "",
|
| 1033 |
+
"previous_order": 0
|
| 1034 |
+
}
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"page_id": 7,
|
| 1038 |
+
"text_extraction_method": "surya",
|
| 1039 |
+
"block_counts": [
|
| 1040 |
+
[
|
| 1041 |
+
"Span",
|
| 1042 |
+
144
|
| 1043 |
+
],
|
| 1044 |
+
[
|
| 1045 |
+
"Line",
|
| 1046 |
+
134
|
| 1047 |
+
],
|
| 1048 |
+
[
|
| 1049 |
+
"Text",
|
| 1050 |
+
11
|
| 1051 |
+
],
|
| 1052 |
+
[
|
| 1053 |
+
"PageHeader",
|
| 1054 |
+
6
|
| 1055 |
+
],
|
| 1056 |
+
[
|
| 1057 |
+
"Figure",
|
| 1058 |
+
2
|
| 1059 |
+
],
|
| 1060 |
+
[
|
| 1061 |
+
"Caption",
|
| 1062 |
+
2
|
| 1063 |
+
],
|
| 1064 |
+
[
|
| 1065 |
+
"FigureGroup",
|
| 1066 |
+
2
|
| 1067 |
+
],
|
| 1068 |
+
[
|
| 1069 |
+
"Reference",
|
| 1070 |
+
2
|
| 1071 |
+
],
|
| 1072 |
+
[
|
| 1073 |
+
"SectionHeader",
|
| 1074 |
+
1
|
| 1075 |
+
],
|
| 1076 |
+
[
|
| 1077 |
+
"PageFooter",
|
| 1078 |
+
1
|
| 1079 |
+
]
|
| 1080 |
+
],
|
| 1081 |
+
"block_metadata": {
|
| 1082 |
+
"llm_request_count": 0,
|
| 1083 |
+
"llm_error_count": 0,
|
| 1084 |
+
"llm_tokens_used": 0,
|
| 1085 |
+
"previous_text": "",
|
| 1086 |
+
"previous_type": "",
|
| 1087 |
+
"previous_order": 0
|
| 1088 |
+
}
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"page_id": 8,
|
| 1092 |
+
"text_extraction_method": "pdftext",
|
| 1093 |
+
"block_counts": [
|
| 1094 |
+
[
|
| 1095 |
+
"Span",
|
| 1096 |
+
361
|
| 1097 |
+
],
|
| 1098 |
+
[
|
| 1099 |
+
"Line",
|
| 1100 |
+
153
|
| 1101 |
+
],
|
| 1102 |
+
[
|
| 1103 |
+
"ListItem",
|
| 1104 |
+
22
|
| 1105 |
+
],
|
| 1106 |
+
[
|
| 1107 |
+
"Reference",
|
| 1108 |
+
22
|
| 1109 |
+
],
|
| 1110 |
+
[
|
| 1111 |
+
"ListGroup",
|
| 1112 |
+
2
|
| 1113 |
+
],
|
| 1114 |
+
[
|
| 1115 |
+
"PageHeader",
|
| 1116 |
+
1
|
| 1117 |
+
],
|
| 1118 |
+
[
|
| 1119 |
+
"SectionHeader",
|
| 1120 |
+
1
|
| 1121 |
+
],
|
| 1122 |
+
[
|
| 1123 |
+
"PageFooter",
|
| 1124 |
+
1
|
| 1125 |
+
],
|
| 1126 |
+
[
|
| 1127 |
+
"Text",
|
| 1128 |
+
1
|
| 1129 |
+
]
|
| 1130 |
+
],
|
| 1131 |
+
"block_metadata": {
|
| 1132 |
+
"llm_request_count": 0,
|
| 1133 |
+
"llm_error_count": 0,
|
| 1134 |
+
"llm_tokens_used": 0,
|
| 1135 |
+
"previous_text": "",
|
| 1136 |
+
"previous_type": "",
|
| 1137 |
+
"previous_order": 0
|
| 1138 |
+
}
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"page_id": 9,
|
| 1142 |
+
"text_extraction_method": "pdftext",
|
| 1143 |
+
"block_counts": [
|
| 1144 |
+
[
|
| 1145 |
+
"Span",
|
| 1146 |
+
323
|
| 1147 |
+
],
|
| 1148 |
+
[
|
| 1149 |
+
"Line",
|
| 1150 |
+
133
|
| 1151 |
+
],
|
| 1152 |
+
[
|
| 1153 |
+
"ListItem",
|
| 1154 |
+
23
|
| 1155 |
+
],
|
| 1156 |
+
[
|
| 1157 |
+
"Reference",
|
| 1158 |
+
23
|
| 1159 |
+
],
|
| 1160 |
+
[
|
| 1161 |
+
"Text",
|
| 1162 |
+
12
|
| 1163 |
+
],
|
| 1164 |
+
[
|
| 1165 |
+
"ListGroup",
|
| 1166 |
+
2
|
| 1167 |
+
],
|
| 1168 |
+
[
|
| 1169 |
+
"PageHeader",
|
| 1170 |
+
1
|
| 1171 |
+
],
|
| 1172 |
+
[
|
| 1173 |
+
"PageFooter",
|
| 1174 |
+
1
|
| 1175 |
+
]
|
| 1176 |
+
],
|
| 1177 |
+
"block_metadata": {
|
| 1178 |
+
"llm_request_count": 0,
|
| 1179 |
+
"llm_error_count": 0,
|
| 1180 |
+
"llm_tokens_used": 0,
|
| 1181 |
+
"previous_text": "",
|
| 1182 |
+
"previous_type": "",
|
| 1183 |
+
"previous_order": 0
|
| 1184 |
+
}
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"page_id": 10,
|
| 1188 |
+
"text_extraction_method": "pdftext",
|
| 1189 |
+
"block_counts": [
|
| 1190 |
+
[
|
| 1191 |
+
"Span",
|
| 1192 |
+
108
|
| 1193 |
+
],
|
| 1194 |
+
[
|
| 1195 |
+
"Line",
|
| 1196 |
+
52
|
| 1197 |
+
],
|
| 1198 |
+
[
|
| 1199 |
+
"Text",
|
| 1200 |
+
17
|
| 1201 |
+
],
|
| 1202 |
+
[
|
| 1203 |
+
"PageHeader",
|
| 1204 |
+
1
|
| 1205 |
+
],
|
| 1206 |
+
[
|
| 1207 |
+
"PageFooter",
|
| 1208 |
+
1
|
| 1209 |
+
],
|
| 1210 |
+
[
|
| 1211 |
+
"Reference",
|
| 1212 |
+
1
|
| 1213 |
+
]
|
| 1214 |
+
],
|
| 1215 |
+
"block_metadata": {
|
| 1216 |
+
"llm_request_count": 0,
|
| 1217 |
+
"llm_error_count": 0,
|
| 1218 |
+
"llm_tokens_used": 0,
|
| 1219 |
+
"previous_text": "",
|
| 1220 |
+
"previous_type": "",
|
| 1221 |
+
"previous_order": 0
|
| 1222 |
+
}
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"page_id": 11,
|
| 1226 |
+
"text_extraction_method": "surya",
|
| 1227 |
+
"block_counts": [
|
| 1228 |
+
[
|
| 1229 |
+
"Line",
|
| 1230 |
+
166
|
| 1231 |
+
],
|
| 1232 |
+
[
|
| 1233 |
+
"Span",
|
| 1234 |
+
82
|
| 1235 |
+
],
|
| 1236 |
+
[
|
| 1237 |
+
"Text",
|
| 1238 |
+
47
|
| 1239 |
+
],
|
| 1240 |
+
[
|
| 1241 |
+
"SectionHeader",
|
| 1242 |
+
4
|
| 1243 |
+
],
|
| 1244 |
+
[
|
| 1245 |
+
"Reference",
|
| 1246 |
+
4
|
| 1247 |
+
],
|
| 1248 |
+
[
|
| 1249 |
+
"PageHeader",
|
| 1250 |
+
1
|
| 1251 |
+
],
|
| 1252 |
+
[
|
| 1253 |
+
"Figure",
|
| 1254 |
+
1
|
| 1255 |
+
],
|
| 1256 |
+
[
|
| 1257 |
+
"Caption",
|
| 1258 |
+
1
|
| 1259 |
+
],
|
| 1260 |
+
[
|
| 1261 |
+
"PageFooter",
|
| 1262 |
+
1
|
| 1263 |
+
],
|
| 1264 |
+
[
|
| 1265 |
+
"FigureGroup",
|
| 1266 |
+
1
|
| 1267 |
+
]
|
| 1268 |
+
],
|
| 1269 |
+
"block_metadata": {
|
| 1270 |
+
"llm_request_count": 0,
|
| 1271 |
+
"llm_error_count": 0,
|
| 1272 |
+
"llm_tokens_used": 0,
|
| 1273 |
+
"previous_text": "",
|
| 1274 |
+
"previous_type": "",
|
| 1275 |
+
"previous_order": 0
|
| 1276 |
+
}
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"page_id": 12,
|
| 1280 |
+
"text_extraction_method": "pdftext",
|
| 1281 |
+
"block_counts": [
|
| 1282 |
+
[
|
| 1283 |
+
"TableCell",
|
| 1284 |
+
366
|
| 1285 |
+
],
|
| 1286 |
+
[
|
| 1287 |
+
"Span",
|
| 1288 |
+
283
|
| 1289 |
+
],
|
| 1290 |
+
[
|
| 1291 |
+
"Line",
|
| 1292 |
+
105
|
| 1293 |
+
],
|
| 1294 |
+
[
|
| 1295 |
+
"Text",
|
| 1296 |
+
5
|
| 1297 |
+
],
|
| 1298 |
+
[
|
| 1299 |
+
"Caption",
|
| 1300 |
+
2
|
| 1301 |
+
],
|
| 1302 |
+
[
|
| 1303 |
+
"PageHeader",
|
| 1304 |
+
1
|
| 1305 |
+
],
|
| 1306 |
+
[
|
| 1307 |
+
"Table",
|
| 1308 |
+
1
|
| 1309 |
+
],
|
| 1310 |
+
[
|
| 1311 |
+
"PageFooter",
|
| 1312 |
+
1
|
| 1313 |
+
],
|
| 1314 |
+
[
|
| 1315 |
+
"TableGroup",
|
| 1316 |
+
1
|
| 1317 |
+
],
|
| 1318 |
+
[
|
| 1319 |
+
"Reference",
|
| 1320 |
+
1
|
| 1321 |
+
]
|
| 1322 |
+
],
|
| 1323 |
+
"block_metadata": {
|
| 1324 |
+
"llm_request_count": 0,
|
| 1325 |
+
"llm_error_count": 0,
|
| 1326 |
+
"llm_tokens_used": 0,
|
| 1327 |
+
"previous_text": "",
|
| 1328 |
+
"previous_type": "",
|
| 1329 |
+
"previous_order": 0
|
| 1330 |
+
}
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"page_id": 13,
|
| 1334 |
+
"text_extraction_method": "surya",
|
| 1335 |
+
"block_counts": [
|
| 1336 |
+
[
|
| 1337 |
+
"Line",
|
| 1338 |
+
105
|
| 1339 |
+
],
|
| 1340 |
+
[
|
| 1341 |
+
"Span",
|
| 1342 |
+
57
|
| 1343 |
+
],
|
| 1344 |
+
[
|
| 1345 |
+
"Text",
|
| 1346 |
+
19
|
| 1347 |
+
],
|
| 1348 |
+
[
|
| 1349 |
+
"Reference",
|
| 1350 |
+
4
|
| 1351 |
+
],
|
| 1352 |
+
[
|
| 1353 |
+
"SectionHeader",
|
| 1354 |
+
2
|
| 1355 |
+
],
|
| 1356 |
+
[
|
| 1357 |
+
"Footnote",
|
| 1358 |
+
2
|
| 1359 |
+
],
|
| 1360 |
+
[
|
| 1361 |
+
"PageHeader",
|
| 1362 |
+
1
|
| 1363 |
+
],
|
| 1364 |
+
[
|
| 1365 |
+
"Figure",
|
| 1366 |
+
1
|
| 1367 |
+
],
|
| 1368 |
+
[
|
| 1369 |
+
"Caption",
|
| 1370 |
+
1
|
| 1371 |
+
],
|
| 1372 |
+
[
|
| 1373 |
+
"PageFooter",
|
| 1374 |
+
1
|
| 1375 |
+
],
|
| 1376 |
+
[
|
| 1377 |
+
"FigureGroup",
|
| 1378 |
+
1
|
| 1379 |
+
]
|
| 1380 |
+
],
|
| 1381 |
+
"block_metadata": {
|
| 1382 |
+
"llm_request_count": 0,
|
| 1383 |
+
"llm_error_count": 0,
|
| 1384 |
+
"llm_tokens_used": 0,
|
| 1385 |
+
"previous_text": "",
|
| 1386 |
+
"previous_type": "",
|
| 1387 |
+
"previous_order": 0
|
| 1388 |
+
}
|
| 1389 |
+
}
|
| 1390 |
+
],
|
| 1391 |
+
"debug_data_path": "debug_data/8af66b7f-148e-4e46-958c-53d20970e979"
|
| 1392 |
+
}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/model_text_v3.txt
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 1 | section: Abstract | type: Text]
|
| 2 |
+
With the rapid evolution of Large Language Models (LLMs), multi-round workflows, such as autonomous agents and iterative retrieval, have become increasingly prevalent. However, this raises hurdles for serving LLMs under prefill-decode (PD) disaggregation, a widely adopted paradigm that separates the compute-bound prefill phase and memory-bound decode phase onto individual resources. Specifically, existing systems overlook the interleaved prefill-decode workload pattern in multi-round inference, leading to sub-optimal handling of the incremental prefill workloads and model deployment for the two phases.
|
| 3 |
+
|
| 4 |
+
[p. 1 | section: Abstract | type: Text]
|
| 5 |
+
In this work, we present AMPD, a brand new disaggregated serving framework for multi-round LLM inference. The core of AMPD is to coordinate the prefill workloads based on real-time workloads by adaptively determining where to carry out these workloads and how they are scheduled, in order to maximize service level objective (SLO) attainment. In addition, we tailor a planning algorithm for our scenario, facilitating the deduction of optimal resource allocation and parallel strategies for the two phases. Empirical results demonstrate that AMPD substantially improves SLO attainment compared to state-of-the-art baselines.
|
| 6 |
+
|
| 7 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 8 |
+
Recent years have witnessed the remarkable success of Large Language Models (LLMs), demonstrating exceptional capabilities in natural language understanding and generation (Vaswani et al., 2017; Guo et al., 2025; Yang et al., 2025). Nowadays, LLMs have been widely deployed across diverse domains, ranging from code generation to creative writing. As these application scenarios continue to
|
| 9 |
+
|
| 10 |
+
[p. 1 | section: 1. Introduction | type: PictureGroup]
|
| 11 |
+
Figure 1. Illustration of multi-round LLM inference.
|
| 12 |
+
|
| 13 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 14 |
+
scale, how to deploy and serve LLMs efficiently has become critical for both academia and industry (Kwon et al., 2023; Zheng et al., 2024; NVIDIA, 2026b; Zhang et al., 2025b).
|
| 15 |
+
|
| 16 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 17 |
+
Generally, given a request, the LLM inference comprises two sequential phases: prefill and decode. The prefill phase processes the entire input prompt at once to compute the Key-Value (KV) cache, exhibiting compute-bound characteristics. In contrast, the decode phase generates tokens step-by-step auto-regressively, which is highly memorybound. Given this distinct workload discrepancy, colocating both phases on the same hardware resources often leads to prefill-decode interference (a.k.a. resource contention) and low utilization. To address this, the prefill-decode (PD) disaggregation paradigm has emerged as a widely adopted solution (Zhong et al., 2024; Patel et al., 2024; Hu et al., 2024). By separating prefill and decode phases onto distinct hardware resources, PD disaggregation significantly improves LLM serving throughput and resource efficiency.
|
| 18 |
+
|
| 19 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 20 |
+
To accommodate more complex tasks, LLM inference has moved beyond single-shot responses to multi-round LLM workflows. Representative examples include autonomous agents (Yao et al., 2023) and iterative retrieval-augmented generation (RAG) (Yue et al., 2024), where the model continuously interacts with external environments (e.g., by functional calls). As shown in Figure 1, unlike single-shot inference, these workflows require treating (part of, if not all) the output of environmental interactions as the input of subsequent generation. Consequently, from the perspective of LLM inference, these workflows necessitate an interleaved prefill-decode pattern, where incremental prefill computations occur between decoding steps throughout the inference process of a request.
|
| 21 |
+
|
| 22 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 23 |
+
Although research efforts have been made in both PD disaggregation and multi-round inference acceleration individually, the integration of them remains under-explored.
|
| 24 |
+
|
| 25 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 26 |
+
Essentially, we identify that existing serving systems suffer from two critical limitations when applying PD disaggregation to multi-round workflows.
|
| 27 |
+
|
| 28 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 29 |
+
The first is the lack of adaptive scheduling . Specifically, in addition to the initial prefill and decode tasks, multi-round LLM inference further necessitates carrying out incremental prefill tasks (i.e., the prefill computations for subsequent rounds). To mitigate PD interference, all prefill 1 tasks are expected to be routed to the prefill instance(s). However, to meet service level objectives (SLOs), the serving system must dynamically decide two factors based on real-time workloads: (1) Whether an incremental prefill task should be executed locally on the decode instance, and if no, which prefill instance it should be routed to. (2) How to schedule the tasks on each prefill instance to cope with the increased burden brought by incremental prefill tasks. Existing systems lack adaptive mechanisms to handle these decisions to improve serving efficiency.
|
| 30 |
+
|
| 31 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 32 |
+
Secondly, there is a lack of awareness for model deployment . Specifically, the optimal configuration for model deployment (including resource allocation and parallel strategy) is strongly related to the workload characteristics. However, previous works determine the model deployment of each phase by merely considering the lengths of input prompts and output responses, which depict the prefill and decode workloads in single-round inference. Undoubtedly, this fails to take account of the unique interleaved workload pattern of multi-round inference, leading to sub-optimal resource provision and parallelism strategy deduction.
|
| 33 |
+
|
| 34 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 35 |
+
To fill this gap, this work presents AMPD, a novel serving framework for Adaptive Multi-round workflows with PD disaggregation by optimizing the runtime scheduling and deployment strategy. The technical contributions of this work are summarized as follows:
|
| 36 |
+
|
| 37 |
+
[p. 2 | section: 1. Introduction | type: ListGroup]
|
| 38 |
+
We propose a runtime scheduling that addresses the unique interleaved workload pattern of multi-round inference. It consists of an adaptive routing strategy that dynamically decides where to execute prefill tasks based on real-time system loads, as well as a prefill reordering policy that optimizes the execution order of queuing tasks to maximize SLO attainment. We develop an offline deployment planner that formulates the determination of resource allocation and parallel strategies as an integer linear programming problem, and solves it to deduce the optimal deployment configuration. We implement AMPD and evaluate it across diverse multiround workloads. Extensive empirical results demon-
|
| 39 |
+
|
| 40 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 41 |
+
strate that AMPD improves SLO attainment by 67.29%- 339.74% on average compared to both co-located and disaggregated baselines.
|
| 42 |
+
|
| 43 |
+
[p. 2 | section: 2. Preliminaries and Related Works | type: Text]
|
| 44 |
+
Prefill-decode disaggregation. LLM inference consists of the compute-intensive prefill phase and the memorybound decode phase. The time cost of first-token responsiveness, namely Time-to-First-Token (TTFT) 2 , is dominated by the prefill phase, while the per-token generation time, namely Inter-Token Latency (ITL), is related to each decode step. In traditional LLM serving systems that co-locate both phases on the same GPU resources, the resource contention between the two phases leads to significant interference. Prefill-decode (PD) disaggregation (Zhong et al., 2024; Pa tel et al., 2024; Hu et al., 2024) is a promising technique to address such PD interference by dedicating GPU resources for each phase. Consequently, PD disaggregation has been widely adopted in LLM serving (Qin et al., 2025; Liu et al., 2024) , and many efforts have been devoted to optimizing PD disaggregation from various aspects, including elastic scaling (Zhang et al., 2025a; Lai et al., 2025) , mixed-GPU support (JIANG et al.) , and multi-modal support (Singh et al., 2025; Dong et al., 2025) . However, these works on PD disaggregation predominantly target single-round LLM inference, while our work has a different goal and can be incorporated with existing optimizations.
|
| 45 |
+
|
| 46 |
+
[p. 2 | section: 2. Preliminaries and Related Works | type: Text]
|
| 47 |
+
Multi-round LLM workflows. The capability of LLMs has evolved from simple, one-shot answering to complex, multiround workflows. There are two representative scenarios. The first is autonomous agents, typically represented by the ReAct-style agentic workflows, which enable agents to interleave reasoning (LLM generation) with acting (tool use) (Yao et al., 2023; Mialon et al., 2023; Go & Park, 2025; Chen et al., 2024) . The second is iterative retrievalaugmented generation (Shao et al., 2023; Yue et al., 2024; Jin et al., 2025) , which actively retrieves new documents during generation to correct or refine the output. From the serving system's perspective, these multi-round workflows generate interleaved prefill-decode workloads.
|
| 48 |
+
|
| 49 |
+
[p. 2 | section: 2. Preliminaries and Related Works | type: Text]
|
| 50 |
+
System optimizations for multi-round inference. Recent works have proposed optimizations for multi-round LLM workflows. InferCept (Abhyankar et al., 2024) incorporates the discard, swap, and preserve operations when managing the history KV cache to reduce recomputation wastes. KVFlow (Pan et al., 2025) tailors the prefix caching for multi-agent workflows, allowing different agents to share common prefixes and thereby reduces redundant computation. vLLM-Continuum (Li et al., 2025) predicts the duration of the environmental interactions and decides
|
| 51 |
+
|
| 52 |
+
[p. 2 | section: 2. Preliminaries and Related Works | type: Footnote]
|
| 53 |
+
1 Throughout this work, we explicitly distinguish "initial prefill" and "incremental prefill" when necessary. Unless specified otherwise, the term "prefill" refers to either or both variants.
|
| 54 |
+
|
| 55 |
+
[p. 2 | section: 2. Preliminaries and Related Works | type: Footnote]
|
| 56 |
+
In this work, we use TTFT to measure the latency of both initial and incremental prefill.
|
| 57 |
+
|
| 58 |
+
[p. 3 | section: 2. Preliminaries and Related Works | type: Text]
|
| 59 |
+
whether to retain the KV cache via a time-to-live mechanism. MARS (Shahout et al., 2025) and AugServe (Wang et al., 2025) predict the output lengths and memory consumption respectively in multi-round LLM inference, and leverage such information to guide the scheduling of requests.
|
| 60 |
+
|
| 61 |
+
[p. 3 | section: 2. Preliminaries and Related Works | type: Text]
|
| 62 |
+
Although these works focus on how to optimize system performance for multi-round workflows, all of them are designed under the co-located serving paradigm. To achieve the holistic integration of multi-round workflows and PD disaggregation, there exist unexplored challenges of complex real-time task routing and scheduling as well as the disaggregated deployment configurations.
|
| 63 |
+
|
| 64 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 65 |
+
Figure 2 illustrates the overview of AMPD, which comprises offline and online stages.
|
| 66 |
+
|
| 67 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 68 |
+
Offline stage. The offline stage profiles the workload characteristics and conducts the model deployment planning.
|
| 69 |
+
|
| 70 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 71 |
+
The profiler is responsible for measuring the execution time of different workloads, constructing a performance model for both our offline deployment planner and online adaptive scheduling. We adopt a piecewise α-β model to capture the performance characteristics of three types of tasks and form three time cost functions: (i) Tpre(lhist, lincr; θ), which estimates the time cost of prefilling with history length lhist and incremental input length lincr under parallelism strategy θ (initial prefill tasks are associated with a history length of zero), (ii) Tdec(b; θ), which estimates the time cost of decoding with batch size b under parallelism strategy θ, and (iii) Tkv(lctx; θsrc, θdst), which estimates the time cost of transmitting KV cache with context length lctx across the
|
| 72 |
+
|
| 73 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 74 |
+
source and destination parallelism strategies (θsrc → θdst).
|
| 75 |
+
|
| 76 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 77 |
+
The planner determines the optimal model deployment configuration (including the resource allocation and parallelism strategies for the two phases) prior to serving, by formulating and solving an integer linear programming problem.
|
| 78 |
+
|
| 79 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 80 |
+
Online stage. The online stage consists of two major components, namely the coordinator and workers.
|
| 81 |
+
|
| 82 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 83 |
+
The coordinator is in charge of the assignment of different tasks based on the real-time system loads.
|
| 84 |
+
|
| 85 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 86 |
+
The prefill and decode workers correspond to the two phases, respectively, maintaining task queues that record the metadata of pending tasks. Besides, each prefill/decode worker keeps recording its windowed TTFT/ITL statistic (by default, the average TTFT/ITL within the past 10 seconds). Furthermore, to facilitate up-to-date coordination, we implement these queues and windowed statistics with distributed shared memory so that they are globally accessible.
|
| 87 |
+
|
| 88 |
+
[p. 3 | section: 3. System Overview | type: Text]
|
| 89 |
+
Overall workflow. During the online serving, the inference of a request undergoes the following steps.
|
| 90 |
+
|
| 91 |
+
[p. 3 | section: 3. System Overview | type: ListGroup]
|
| 92 |
+
⃝1 Binding : Upon the arrival of a request (a.k.a., a session), the coordinator first binds the request with a decode worker based on the memory usage (NVIDIA, 2026a) . In other words, the decode worker will be responsible for managing the request's KV cache and conducting all its decode workloads. Such binding helps us unify the handling of both initial and incremental prefill tasks. ⃝2 Routing : Whenever the request requires prefilling (either its initial prefill after the binding or an incremental prefill after an environmental interaction), the coordinator employs an adaptive routing mechanism ( §4.1) to determine where to carry out this prefill task, with two kinds of choices. Local execution: The task is determined to be executed directly on the responsible decode worker (i.e., the decode worker that the request bound to). This avoids network transmission and reduces prefill workers' burden, but pauses the worker's ongoing decoding batch. 3 Remote execution: The task is routed to a prefill worker. This mitigates PD interference but necessitates KV transmission: (i) before the execution of this task, the prefill worker reads the history KV cache from the responsible decode worker if necessary; (ii) after the execution, the newly generated KV cache is transmitted back to the responsible decode worker. 4
|
| 93 |
+
|
| 94 |
+
[p. 3 | section: 3. System Overview | type: Footnote]
|
| 95 |
+
3 We follow the implementation in vLLM that prefill tasks are prioritized over decoding to avoid blocking subsequent generation.
|
| 96 |
+
|
| 97 |
+
[p. 3 | section: 3. System Overview | type: Footnote]
|
| 98 |
+
4 Each decode worker manages a local prefix cache, allowing it to merge the received incremental KV cache with the locally stored history KV cache. Thus, we only transmit the incremental KV cache to minimize network cost.
|
| 99 |
+
|
| 100 |
+
[p. 4 | section: 3. System Overview | type: Text]
|
| 101 |
+
⃝3 Prefilling : In either case, the designated worker enqueues the prefill task into its own prefill queue, and adopts a pre fill reordering policy ( §4.2) to schedule tasks in the prefill queue. If designated to a prefill worker, it performs KV transmission as described above.
|
| 102 |
+
|
| 103 |
+
[p. 4 | section: 3. System Overview | type: Text]
|
| 104 |
+
⃝4 Decoding : After step ⃝3 , the responsible decode worker possesses all KV cache of this request, and continues the auto-regressive decoding process.
|
| 105 |
+
|
| 106 |
+
[p. 4 | section: 3. System Overview | type: Text]
|
| 107 |
+
In multi-round inference, the request may trigger an interaction with external environments (e.g., a function call), which is typically handled by a background CPU process of the decode worker. Upon the completion of interaction, it forms an incremental prefill task. Then, the coordinator is notified and we loop back to step ⃝2 . This recursion repeats until the inference of this request reaches termination.
|
| 108 |
+
|
| 109 |
+
[p. 4 | section: 4. Online Adaptive Scheduling | type: Text]
|
| 110 |
+
Our online adaptive request scheduling consists of two techniques, namely adaptive routing and prefill reordering. These techniques address (i) where to carry out the prefill tasks, and (ii) how to schedule the prefill tasks within each worker, respectively.
|
| 111 |
+
|
| 112 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 113 |
+
In essence, PD disaggregation separates the computeintensive prefill phase and memory-bound decode phase onto individual resources, resolving the PD interference that occurs in co-located serving. Nevertheless, in multi-round inference, where to carry out the prefill tasks necessitates deliberation. For one thing, if we always route the prefill tasks (both initial and incremental) to prefill workers (remote execution), decode workers can remain focused on steady-state decoding and thus optimize ITL. However, it incurs extra transmission cost of KV cache and increases the burden of prefill workers, harming TTFT. For another, carrying out some prefill workloads by the decode workers themselves (local execution) eliminates the transmission cost and benefit TTFT, but makes decode workers more susceptible to PD interference, which leads to spikes in ITL.
|
| 114 |
+
|
| 115 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 116 |
+
To strike a good balance between TTFT and ITL, we develop an SLO-oriented adaptive routing mechanism, which determines where each prefill task should be executed. The general idea is to leverage the windowed TTFT and ITL statistics to evaluate real-time system loads, and make the routing decision that is less likely to violate SLO requirements.
|
| 117 |
+
|
| 118 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 119 |
+
Algorithm routine. Algorithm 1 shows the workflow of our adaptive routing mechanism. Given a prefill task (along with the corresponding decode worker), we first identify prefill workers with sufficient slack to meet the TTFT SLO
|
| 120 |
+
|
| 121 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 122 |
+
Algorithm 1 \ Adaptive routing mechanism for prefill tasks. TTFT i denotes the windowed TTFT statistic of the i-th prefill worker. ITL d denotes the windowed ITL statistic of the current decode worker. TTFTthres and ITLthres are the thresholds for TTFT and ITL. α, β are hyper-parameters for identifying TTFT or ITL slack.
|
| 123 |
+
|
| 124 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: ListGroup]
|
| 125 |
+
1: for each prefill worker i in random order do 2: if TTFT \ i ≤ α · TTFTthres then 3: return remote i 4: if ITL d ≤ β · ITLthres then 5: return local 6: Estimate local execution cost tlocal 7: for each prefill worker i do 8: Estimate remote execution cost tremote i via Eq. (2) 9: return arg minroute∈{local,remote1,remote2,··· } troute
|
| 126 |
+
|
| 127 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 128 |
+
and route the task to an eligible candidate (lines 1-3). If all prefill workers are under pressure (i.e., TTFT approaching the SLO threshold), we examine whether the current decoder worker's windowed ITL shows sufficient slack, and if yes, a local execution will be triggered (lines 4-5). Otherwise, we estimate and compare the time cost of both local and remote execution for the final routing decision (lines 6-9).
|
| 129 |
+
|
| 130 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 131 |
+
Particularly, as introduced in §3, we construct performance model based on offline profiling. Thus, the time cost of local execution on decode worker d can be easily estimated via
|
| 132 |
+
|
| 133 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Equation]
|
| 134 |
+
t_{\text{local}} = T_{\text{pre}}(l_{hist}, l_{incr}; \theta_d) + \sum_{k \in \text{prefill.queue}_d} T_{\text{pre}}(l_{hist_k}, l_{incr_k}; \theta_d), \quad (1)
|
| 135 |
+
|
| 136 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 137 |
+
where lhist denotes the history length, lincr denotes the incremental input length, θ d denotes the parallelism strategy of decode worker d, and prefill queue d denotes its prefill queue. The first term is the estimated time cost of executing this prefill task on decode worker d while the second term represents the estimated queuing time.
|
| 138 |
+
|
| 139 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 140 |
+
Similarly, if we route the task to the i-th prefill worker for remote execution, the time cost can be estimated via
|
| 141 |
+
|
| 142 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Equation]
|
| 143 |
+
\begin{split} t_{\text{remote}_{i}} &= t_{\text{pre}_{i}} + t_{\text{kv}_{i}} + t_{\text{queue}_{i}}, \text{ where} \\ t_{\text{pre}_{i}} &= \text{T}_{\text{pre}}(l_{hist}, l_{incr}; \theta_{p_{i}}), \\ t_{\text{kv}_{i}} &= \text{T}_{\text{kv}}(l_{hist}; \theta_{d}, \theta_{p_{i}}) + \text{T}_{\text{kv}}(l_{incr}; \theta_{p_{i}}, \theta_{d}), \\ t_{\text{queue}_{i}} &= \sum_{k \in \text{prefill\_queue}_{i}} \text{T}_{\text{pre}}(l_{hist_{k}}, l_{incr_{k}}; \theta_{p_{i}}), \end{split}
|
| 144 |
+
|
| 145 |
+
[p. 4 | section: 4.1. Adaptive Routing | type: Text]
|
| 146 |
+
where θ p i denotes the i-th prefill worker's parallelism strategy and prefill queue i denotes its prefill queue. The three terms correspond to the estimated time cost of (i) prefill computation, (ii) transmitting the KV cache back and forth, and (iii) queuing on the prefill worker.
|
| 147 |
+
|
| 148 |
+
[p. 5 | section: Algorithm 2 Prefill reordering policy. | type: ListGroup]
|
| 149 |
+
1: W \leftarrow Q.\operatorname{peek}(w), \pi^* \leftarrow \phi 2: for each ordering \pi over W do 3: if \pi violates the postponement capacity then 4: continue
|
| 150 |
+
|
| 151 |
+
[p. 5 | section: Algorithm 2 Prefill reordering policy. | type: ListGroup]
|
| 152 |
+
5: Compute the number of TTFT-satisfying tasks S_{\pi} based on Eq (4). 6: \pi^* \leftarrow (\pi^* == \phi \text{ or } S_{\pi} > S_{\pi^*}) ? \pi : \pi^* 7: Increment postponement counters for tasks that are postponed in \pi^* 8: Q.\operatorname{reorder}(\pi^*), r \leftarrow Q.\operatorname{dequeue}() 9: Schedule r for execution
|
| 153 |
+
|
| 154 |
+
[p. 5 | section: Algorithm 2 Prefill reordering policy. | type: Text]
|
| 155 |
+
Based on the estimated time cost, the prefill task will be routed to the one with the lowest cost.
|
| 156 |
+
|
| 157 |
+
[p. 5 | section: Algorithm 2 Prefill reordering policy. | type: Text]
|
| 158 |
+
Discussion. Although our adaptive routing mechanism needs to gather the shared metadata (windowed statistics and queuing information) from different workers, this is done concurrently. And the time cost estimation is extremely fast. Thus, the overhead of this mechanism is minor.
|
| 159 |
+
|
| 160 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 161 |
+
The routing mechanism in §4.1 leverages the TTFT/ITL slacks across prefill and decode workers to achieve real-time adaptive scheduling. In fact, thanks to our performance modeling, it is also feasible to identify the TTFT slacks of the tasks in each prefill queue. In other words, if a pending task is far from violating the TTFT SLO requirement, then we can schedule it later as a longer queuing time would not harm its TTFT SLO satisfaction.
|
| 162 |
+
|
| 163 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 164 |
+
Following this, we develop a lightweight TTFT-aware prefill reordering policy. In a nutshell, to schedule one task from its prefill queue for execution, we employ a small lookahead window with size w at the head of the queue, and reorder the tasks within the window in order to maximize the number of tasks satisfying the TTFT SLO.
|
| 165 |
+
|
| 166 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 167 |
+
Algorithm routine. The routine of our reordering policy is shown in Algorithm 2. Let T_{now} denote the current time, T_{\rm enq}^{(r)} the enqueue time of task r, and t_{\rm pre}^{(r)} the estimated time cost for r following our performance model. We first peek up to w head elements of the prefill queue to form a window W = \{r_1, r_2, \dots\} (line 1). Then, we enumerate feasible orderings to optimize TTFT within W (lines 2-7). In particular, for any ordering \pi over W, the completion time (relative to T_{now} ) of the \pi(k) -th request (i.e., the k-th one in \pi ) can be predicted as
|
| 168 |
+
|
| 169 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Equation]
|
| 170 |
+
C^{(\pi(k))} = \sum_{j=1}^{k} t_{\text{pre}}^{(\pi(j))}. (3)
|
| 171 |
+
|
| 172 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 173 |
+
Subsequently, the number of TTFT-satisfying tasks within
|
| 174 |
+
|
| 175 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 176 |
+
W under ordering \pi can be predicted as
|
| 177 |
+
|
| 178 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Equation]
|
| 179 |
+
S_{\pi} = \sum_{k=1}^{|W|} \mathbb{I}\left[ \left( T_{now} - T_{\text{enq}}^{(\pi(k))} \right) + C^{(\pi(k))} \le \text{TTFT}_{\text{thres}} \right]. \tag{4}
|
| 180 |
+
|
| 181 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 182 |
+
Consequently, to improve TTFT SLO attainment, we choose the ordering \pi^* = \arg \max_{\pi} S_{\pi} that maximizes the number of TTFT-satisfying tasks within W (lines 5-6).
|
| 183 |
+
|
| 184 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 185 |
+
In addition, we enforce that each task can be postponed by at most w times to prevent starvation. Particularly, we maintain a postponement counter for each task, and increment it whenever the task is postponed due to reordering (line 7). Once there are any tasks' postponement counters reaching w, we skip the orderings that postpone such tasks (lines 3-4).
|
| 186 |
+
|
| 187 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 188 |
+
After the optimal ordering is obtained, the head elements of the prefill queue are reordered accordingly, after which, the first element will be scheduled for execution (lines 8-9).
|
| 189 |
+
|
| 190 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 191 |
+
Discussion. Since it is extremely fast to evaluate the number of TTFT-satisfying tasks for one ordering and the window size is typically small (less than 5 in practice), the overhead incurred by the reordering policy is negligible.
|
| 192 |
+
|
| 193 |
+
[p. 5 | section: 4.2. Prefill Reordering | type: Text]
|
| 194 |
+
Last but not least, it is noteworthy that the estimated queuing time in Eq. (2) does not take account of the prefill reordering policy. Nevertheless, it does not harm the effectiveness of our adaptive routing mechanism, since the window size is small compared to the size of the prefill queue in practice.
|
| 195 |
+
|
| 196 |
+
[p. 5 | section: 5. Offline Deployment Planning | type: Text]
|
| 197 |
+
As depicted in Figure 3, the deployment of disaggregated serving should consider two factors for each worker type (prefill and decode): (i) instantiating multiple independent replicas to handle concurrent requests (a.k.a., data parallelism (Li et al., 2023)), and (ii) partitioning each individual replica across multiple GPUs to satisfy memory and computational requirements (a.k.a., model parallelism (Shoeybi et al., 2019)). Consequently, to optimize the model deployment, we must establish appropriate data and model parallelism configurations for both worker types, while conforming to a fixed GPU resource capacity constraint.
|
| 198 |
+
|
| 199 |
+
[p. 5 | section: 5. Offline Deployment Planning | type: Text]
|
| 200 |
+
In response to this, we formulate the model deployment planning as a resource-constrained optimization problem . The goal is to identify the specific combination of model parallelism (partition) and data parallelism (replication) configurations for each worker type that maximizes performance.
|
| 201 |
+
|
| 202 |
+
[p. 5 | section: 5. Offline Deployment Planning | type: Text]
|
| 203 |
+
Formulation of planning. We first introduce the decision variables . Since model parallelism degrees are typically powers of 2, we can represent the deployment via the number of replicas associated with each feasible model parallelism degree. Specifically, given a discrete set of supported
|
| 204 |
+
|
| 205 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: FigureGroup]
|
| 206 |
+
Figure 3. Illustration of disaggregated LLM serving where prefill and decode workers are with different parallelism configurations.
|
| 207 |
+
|
| 208 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: Text]
|
| 209 |
+
model parallelism degrees T (e.g., {1, 2, 4, 8}), the decision variables comprise two integer vectors, x, y ∈ Z |T | ≥0 (e.g., x = [x (1), x(2), x(4), x(8)], y = [y (1), y(2), y(4), y(8)]). For each model parallelism degree n ∈ T , the variable x (n) (y (n) ) denotes the number of prefill (decode) workers that are deployed with model parallelism degree n (i.e., each partitioned across n GPUs).
|
| 210 |
+
|
| 211 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: Text]
|
| 212 |
+
Subsequently, to establish the optimization target, we introduce an auxiliary variable Z, which represents the maximum P95 latency among all workers. We formulate this resource allocation problem as an Integer Linear Programming (ILP) problem (Vielma, 2015) :
|
| 213 |
+
|
| 214 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: Equation]
|
| 215 |
+
\underset{\mathbf{x},\mathbf{y} \in \mathbb{Z}_{\geq 0}^{|\mathcal{T}|}}{\arg \min} \quad Z \mathbf{x},\mathbf{y} \in \mathbb{Z}_{\geq 0}^{|\mathcal{T}|} s.t. (C1) Z \geq \tau_{pre}(n), \quad \forall n \in \mathcal{T} \text{ where } x^{(n)} \geq 1 (C2) Z \geq \tau_{dec}(n), \quad \forall n \in \mathcal{T} \text{ where } y^{(n)} \geq 1 (C3) \sum_{n \in \mathcal{T}} (x^{(n)} \cdot n) + \sum_{n \in \mathcal{T}} (y^{(n)} \cdot n) \leq N (5)
|
| 216 |
+
|
| 217 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: Text]
|
| 218 |
+
Constraints (C1) and (C2) establish P95 latency bounds of disaggregated inference. The coefficients τpre(n), τdec(n) represent the estimated P95 latency 5 of a single prefill or decode worker replica configured with model parallelism degree n. Since the two constraints require that Z must be at least as large as the P95 latency of any instantiated worker replica, minimizing Z represents minimizing the worst-case P95 latency across all deployed worker replicas (i.e., optimizing the bottlenecked worker replicas). Constraint (C3) enforces the global GPU resource capacity. For each configuration with model parallelism degree n, the GPU consumption equals the product of the number of worker replicas (x (n) or y (n) ) and the parallelism degree n. This constraint ensures that the total number of GPUs allocated across all worker replicas does not exceed the available cluster capacity N.
|
| 219 |
+
|
| 220 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: Text]
|
| 221 |
+
Planning solver. The formulation in Eq. (5) constitutes a multi-dimensional variant of the Unbounded Knapsack
|
| 222 |
+
|
| 223 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: Text]
|
| 224 |
+
Problem (Pisinger & Toth, 1998) , requiring the solver to evaluate integer combinations of valid model parallelism degrees to identify the optimal resource allocation. We employ a standard Mixed Integer Linear Programming (MILP) solver (Huangfu & Hall, 2018) to solve this optimization problem. The solver accepts the simulated P95 latency coefficients τpre(n) and τdec(n) as constant parameters, and explores the feasible region defined by the integer vectors x and y. This approach is computationally efficient for typical cluster scales (see Appendix A.2 for details), and guarantees identification of the global optimum that balances both worker types while fully utilizing available GPU resources.
|
| 225 |
+
|
| 226 |
+
[p. 6 | section: 5. Offline Deployment Planning | type: Text]
|
| 227 |
+
Discussion. In Eq. (5) , we adopt the P95 latency as our surrogate objective, while the goal of our system (particularly, the two approaches in §4) is to maximize SLO attainment. This discrepancy is due to the infeasibility to solve the optimization of SLO attainment via efficient linear programming solvers. Particularly, owing to the binary output of SLO satisfaction, the SLO attainment metric cannot serve as a continuous surrogate objective. Consequently, our ILP is formulated to minimize the P95 latency. Despite this discrepancy, empirical evaluation demonstrates that our planning is effective in finding the optimal deployment. We refer interested readers to Appendix A.3 for more details.
|
| 228 |
+
|
| 229 |
+
[p. 6 | section: 6. Implementation | type: Text]
|
| 230 |
+
AMPD is implemented atop NVIDIA Dynamo (NVIDIA, 2026b) . We adopt Redis to enable global sharing of the queues and windowed TTFT/ITL statistics, and utilize the SCIP library (Bolusani et al., 2024) to solve Eq. (5) . For efficient KV cache transmission, we leverage the NVIDIA Inference Xfer Library (NIXL) (NVIDIA, 2026c) to achieve point-to-point RDMA network communication across prefill and decode workers. The transmission of history KV cache is implemented as lazy reads. To be specific, our routing mechanism ( §4.1) sends merely metadata to prefill workers for remote execution. Only when an incremental prefill task is scheduled for execution ( §4.2) , should the prefill worker read the history KV cache from the decode worker. Additionally, the KV cache transmission overlaps with the computation of the previous task to hide the network latency.
|
| 231 |
+
|
| 232 |
+
[p. 6 | section: 7.1. Experimental Setup | type: Text]
|
| 233 |
+
Environments. We conduct experiments over 4 servers, each with 8 NVIDIA H20 (96GB) GPUs. The GPUs within each server are interconnected via NVLink with a bandwidth of 900GB/s, while the servers are interconnected by InfiniBand with a bandwidth of 200GB/s.
|
| 234 |
+
|
| 235 |
+
[p. 6 | section: 7.1. Experimental Setup | type: Text]
|
| 236 |
+
Workloads. Three LLMs are used in our experiments,
|
| 237 |
+
|
| 238 |
+
[p. 6 | section: 7.1. Experimental Setup | type: Footnote]
|
| 239 |
+
5 We adopt a simulator for estimating the P95 latency performance of different configurations based on the performance model, which is detailed in Appendix A.1.
|
| 240 |
+
|
| 241 |
+
[p. 7 | section: 7.1. Experimental Setup | type: FigureGroup]
|
| 242 |
+
Figure 4. End-to-end comparison. The top three rows are the SLO attainment under different configurations (traces and request arrival rates) for the three models. The bottom row is a detailed breakdown of Llama-3.1-70B with a request arrival rate of 2 reqs/s, including the average TTFT for initial prefill, average TTFT for incremental prefill, and average ITL for decoding.
|
| 243 |
+
|
| 244 |
+
[p. 7 | section: 7.1. Experimental Setup | type: Text]
|
| 245 |
+
which are Qwen3-32B (Yang et al., 2025), Llama3.1-70B (Grattafiori et al., 2024), and Mixtral-8x7B (Jiang et al., 2024). Since our major focus is serving efficiency, we conduct experiments by running the same traces with AMPD and the baselines to achieve a fair comparison. Four workload traces are considered, which are generated from the ToolBench (Guo et al., 2024), GAIA (Mialon et al., 2024), HotpotQA (Yang et al., 2018), and DuReader (He et al., 2018) datasets, respectively. Due to the space constraint, we summarize the length information in Table 1, while leaving the details of these traces to Appendix B. For each model, we run HotpotQA and ToolBench workloads on a single server (8 GPUs), DuReader on two servers (16 GPUs), and GAIA on four servers (32 GPUs), to match the workload scale and system capacity.
|
| 246 |
+
|
| 247 |
+
[p. 7 | section: 7.1. Experimental Setup | type: TableGroup]
|
| 248 |
+
Table 1. The average number of rounds, prefill length, and decode length of each trace. Trace #Rounds Prefill Length Decode Length ToolBench 3.96 703.79 50.39 GAIA 11.32 6161.02 528.76 HotpotQA 3 3 1569.8 80.03 DuReader 3081.23 150.10
|
| 249 |
+
|
| 250 |
+
[p. 7 | section: 7.1. Experimental Setup | type: Text]
|
| 251 |
+
Baselines. We compare AMPD with three state-of-the-art LLM serving systems as follows.
|
| 252 |
+
|
| 253 |
+
[p. 7 | section: 7.1. Experimental Setup | type: ListGroup]
|
| 254 |
+
Dynamo (NVIDIA, 2026b): The original NVIDIA Dynamo disaggregated serving system under PD disaggregation without the techniques proposed in this work. It always separates the prefill and decode workloads onto different resources. vLLM (Kwon et al., 2023): One of the most prestigious
|
| 255 |
+
|
| 256 |
+
[p. 7 | section: 7.1. Experimental Setup | type: Text]
|
| 257 |
+
LLM serving system under PD co-location.
|
| 258 |
+
|
| 259 |
+
[p. 7 | section: 7.1. Experimental Setup | type: Text]
|
| 260 |
+
vLLM-Continuum (Li et al., 2025): A serving system based on vLLM tailored for multi-round workflows.
|
| 261 |
+
|
| 262 |
+
[p. 7 | section: 7.1. Experimental Setup | type: Text]
|
| 263 |
+
Protocols. In all experiments, we utilize our offline planner to determine the model deployment of AMPD, while we tune the model deployment for all baselines and report the best results to be fair. By default, the hyper-parameters are set as \alpha=0.9, \beta=0.85, w=3 . We follow the previous standard to generate request arrival times using Poisson process with different request arrival rates (Kwon et al., 2023; Zhong et al., 2024; Yu et al., 2022), and take SLO attainment as the primary evaluation metric.
|
| 264 |
+
|
| 265 |
+
[p. 7 | section: 7.2. Experiment Results | type: Text]
|
| 266 |
+
End-to-end comparison. To begin with, we conduct experiments to measure the SLO attainment of all counterparts under various request arrival rates, with results presented in Figure 4.
|
| 267 |
+
|
| 268 |
+
[p. 7 | section: 7.2. Experiment Results | type: Text]
|
| 269 |
+
Overall, AMPD achieves the highest SLO attainment across all experiments. Compared to Dynamo (the disaggregated baseline) and vLLM (the co-located baseline), AMPD improves SLO attainment by up to 967.54% and 3435.1% (67.29% and 339.74% on average), respectively.
|
| 270 |
+
|
| 271 |
+
[p. 7 | section: 7.2. Experiment Results | type: Text]
|
| 272 |
+
To understand the performance gain, we further provide a detailed breakdown in the bottom row of Figure 4. It can be observed that, both co-located and disaggregated serving exhibit divergent latency trade-offs. Co-located serving favors executing prefill tasks earlier (e.g., via prioritization or preemption) for the sake of continuous batching, which
|
| 273 |
+
|
| 274 |
+
[p. 8 | section: 7.2. Experiment Results | type: FigureGroup]
|
| 275 |
+
Figure 5. Ablation studies (Llama3.1-70B, 2 regs/s). Left: DuReader. Middle: GAIA. Right: Proportion of local and remote execution.
|
| 276 |
+
|
| 277 |
+
[p. 8 | section: 7.2. Experiment Results | type: FigureGroup]
|
| 278 |
+
Figure 6. Sensitivity experiments w.r.t. w, \alpha, \beta (Llama3.1-70B, DuReader, 2 reqs/s).
|
| 279 |
+
|
| 280 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 281 |
+
reduces TTFT but disrupts the execution of decode tasks and thereby deteriorates ITL. In contrast, PD disaggregation decouples prefill from decode, reducing PD interference on decode workers and typically achieving lower ITL, yet TTFT often becomes the bottleneck due to the reduction in prefill resources and the overhead of KV cache transmission. These trends are also observed across tasks. On HotpotQA, DuReader, and ToolBench, disaggregated serving often outperforms co-located serving because its ITL advantage dominates end-to-end behavior. On GAIA, colocated serving becomes favorable (compared to Dynamo) since it provides competitive TTFT while not exhibiting a pronounced ITL disadvantage. Consequently, both vLLM and Dynamo are frequently dominated by either ITL or TTFT constraints, limiting the attainable SLO rate.
|
| 282 |
+
|
| 283 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 284 |
+
AMPD enjoys the benefit of PD disaggregation, avoiding deteriorating ITL compared to vLLM. Meanwhile, compared to Dynamo, AMPD significantly reduces TTFT thanks to our adaptive scheduling. Consequently, AMPD achieves a more robust trade-off between first-token responsiveness and per-token generation speed.
|
| 285 |
+
|
| 286 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 287 |
+
vLLM-Continuum follows the co-located architecture and adopts a queuing policy that prioritizes tasks within the same request (a.k.a., session). Since such tasks can reuse cached KV states, they typically require less computation, which shortens queuing delay and reduces TTFT while leaving ITL unaffected. However, in many settings, the TTFT reduction does not consistently translate into a substantial improvement in SLO attainment. Thus, vLLM-Continuum is often comparable to, or nearly tied with, vLLM.
|
| 288 |
+
|
| 289 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 290 |
+
Ablation study. We conduct experiments to assess the effectiveness of the two techniques in our online scheduling. The results are provided in Figure 5. The adaptive routing mechanism routes 13.9%-31.7% prefill tasks to be executed locally on the decode workers, which relieves the burden of prefill workers, and thereby increases the SLO attainment by 27.37%-350%, demonstrating the effectiveness of adaptive routing in mitigating workload imbalance between phases.
|
| 291 |
+
|
| 292 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 293 |
+
In addition, the prefill reordering policy further improves the SLO attainment by 13.42%-14.81%. This is reasonable as the queuing optimization helps reduce the tail of TTFT. Eventually, these two techniques together provision 44.47%-402% of improvement.
|
| 294 |
+
|
| 295 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 296 |
+
Sensitivity. Both the two techniques in online scheduling introduce additional hyper-parameters. We evaluate the sensitivity of our work by varying these hyper-parameters. The results are shown in Figure 6.
|
| 297 |
+
|
| 298 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 299 |
+
We first evaluate the SLO attainment with multiple window sizes (2, 3, 4, and 5) in prefill reordering. It can be seen that the performance of AMPD remains similar across these window sizes (within 3% gap). This suggests that a short time window is sufficient to capture load signals needed for effective routing decisions.
|
| 300 |
+
|
| 301 |
+
[p. 8 | section: 7.2. Experiment Results | type: Text]
|
| 302 |
+
Next, we evaluate the impact of \alpha and \beta , which control the sensitivity to congestion on the prefill and decode sides, respectively. In general, a smaller \alpha enables earlier detection of prefill congestion but may lead to under-utilization of prefill workers, while a smaller \beta triggers earlier detection of decode congestion at the cost of potentially reduced decode utilization. Consequently, moderate values of \alpha and \beta can strike a better balance between prefill and decode workers, improving the overall system efficiency.
|
| 303 |
+
|
| 304 |
+
[p. 8 | section: 8. Conclusion | type: Text]
|
| 305 |
+
We presented AMPD, a novel disaggregated serving framework for efficient multi-round LLM inference. AMPD addresses the interleaved prefill-decode workload patterns of multi-round inference by runtime adaptive scheduling, consisting of the adaptive routing mechanism and prefill reordering policy to balance prefill and decode loads. Extensive experiments show that, compared to existing works, AMPD improves SLO attainment by 67.29%-339.74% on average, provisioning an effective solution for serving complex, multi-round LLM workflows.
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/paper.blocks.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/paper.md
ADDED
|
@@ -0,0 +1,527 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
{0}------------------------------------------------
|
| 4 |
+
|
| 5 |
+
## 004 005 006 007
|
| 6 |
+
|
| 7 |
+
# 008 009 011
|
| 8 |
+
|
| 9 |
+
## 012 014 015 016
|
| 10 |
+
|
| 11 |
+
018 022
|
| 12 |
+
|
| 13 |
+
031
|
| 14 |
+
|
| 15 |
+
043
|
| 16 |
+
|
| 17 |
+
044
|
| 18 |
+
|
| 19 |
+
052
|
| 20 |
+
|
| 21 |
+
053
|
| 22 |
+
|
| 23 |
+
054
|
| 24 |
+
|
| 25 |
+
## Efficient Multi-round LLM Inference over Disaggregated Serving
|
| 26 |
+
|
| 27 |
+
#### Anonymous Authors<sup>1</sup>
|
| 28 |
+
|
| 29 |
+
#### **Abstract**
|
| 30 |
+
|
| 31 |
+
With the rapid evolution of Large Language Models (LLMs), multi-round workflows, such as autonomous agents and iterative retrieval, have become increasingly prevalent. However, this raises hurdles for serving LLMs under prefill-decode (PD) disaggregation, a widely adopted paradigm that separates the compute-bound prefill phase and memory-bound decode phase onto individual resources. Specifically, existing systems overlook the interleaved prefill-decode workload pattern in multi-round inference, leading to sub-optimal handling of the incremental prefill workloads and model deployment for the two phases.
|
| 32 |
+
|
| 33 |
+
In this work, we present AMPD, a brand new disaggregated serving framework for multi-round LLM inference. The core of AMPD is to coordinate the prefill workloads based on real-time workloads by adaptively determining where to carry out these workloads and how they are scheduled, in order to maximize service level objective (SLO) attainment. In addition, we tailor a planning algorithm for our scenario, facilitating the deduction of optimal resource allocation and parallel strategies for the two phases. Empirical results demonstrate that AMPD substantially improves SLO attainment compared to state-of-the-art baselines.
|
| 34 |
+
|
| 35 |
+
#### 1. Introduction
|
| 36 |
+
|
| 37 |
+
Recent years have witnessed the remarkable success of Large Language Models (LLMs), demonstrating exceptional capabilities in natural language understanding and generation (Vaswani et al., 2017; Guo et al., 2025; Yang et al., 2025). Nowadays, LLMs have been widely deployed across diverse domains, ranging from code generation to creative writing. As these application scenarios continue to
|
| 38 |
+
|
| 39 |
+
Preliminary work. Under review by the International Conference on Machine Learning (ICML). Do not distribute.
|
| 40 |
+
|
| 41 |
+
<span id="page-0-0"></span>
|
| 42 |
+
|
| 43 |
+
Figure 1. Illustration of multi-round LLM inference.
|
| 44 |
+
|
| 45 |
+
scale, how to deploy and serve LLMs efficiently has become critical for both academia and industry (Kwon et al., 2023; Zheng et al., 2024; NVIDIA, 2026b; Zhang et al., 2025b).
|
| 46 |
+
|
| 47 |
+
Generally, given a request, the LLM inference comprises two sequential phases: prefill and decode. The prefill phase processes the entire input prompt at once to compute the Key-Value (KV) cache, exhibiting compute-bound characteristics. In contrast, the decode phase generates tokens step-by-step auto-regressively, which is highly memorybound. Given this distinct workload discrepancy, colocating both phases on the same hardware resources often leads to prefill-decode interference (a.k.a. resource contention) and low utilization. To address this, the prefill-decode (PD) disaggregation paradigm has emerged as a widely adopted solution (Zhong et al., 2024; Patel et al., 2024; Hu et al., 2024). By separating prefill and decode phases onto distinct hardware resources, PD disaggregation significantly improves LLM serving throughput and resource efficiency.
|
| 48 |
+
|
| 49 |
+
To accommodate more complex tasks, LLM inference has moved beyond single-shot responses to multi-round LLM workflows. Representative examples include autonomous agents (Yao et al., 2023) and iterative retrieval-augmented generation (RAG) (Yue et al., 2024), where the model continuously interacts with external environments (e.g., by functional calls). As shown in Figure 1, unlike single-shot inference, these workflows require treating (part of, if not all) the output of environmental interactions as the input of subsequent generation. Consequently, from the perspective of LLM inference, these workflows necessitate an interleaved prefill-decode pattern, where incremental prefill computations occur between decoding steps throughout the inference process of a request.
|
| 50 |
+
|
| 51 |
+
Although research efforts have been made in both PD disaggregation and multi-round inference acceleration individually, the integration of them remains under-explored.
|
| 52 |
+
|
| 53 |
+
<sup>&</sup>lt;sup>1</sup>Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country. Correspondence to: Anonymous Author <anon.email@domain.com>.
|
| 54 |
+
|
| 55 |
+
{1}------------------------------------------------
|
| 56 |
+
|
| 57 |
+
Essentially, we identify that existing serving systems suffer from two critical limitations when applying PD disaggregation to multi-round workflows.
|
| 58 |
+
|
| 59 |
+
104
|
| 60 |
+
|
| 61 |
+
106
|
| 62 |
+
|
| 63 |
+
108 109 The first is the *lack of adaptive scheduling*. Specifically, in addition to the initial prefill and decode tasks, multi-round LLM inference further necessitates carrying out incremental prefill tasks (i.e., the prefill computations for subsequent rounds). To mitigate PD interference, all prefill[1](#page-1-0) tasks are expected to be routed to the prefill instance(s). However, to meet service level objectives (SLOs), the serving system must dynamically decide two factors based on real-time workloads: (1) Whether an incremental prefill task should be executed locally on the decode instance, and if no, which prefill instance it should be routed to. (2) How to schedule the tasks on each prefill instance to cope with the increased burden brought by incremental prefill tasks. Existing systems lack adaptive mechanisms to handle these decisions to improve serving efficiency.
|
| 64 |
+
|
| 65 |
+
Secondly, there is a *lack of awareness for model deployment*. Specifically, the optimal configuration for model deployment (including resource allocation and parallel strategy) is strongly related to the workload characteristics. However, previous works determine the model deployment of each phase by merely considering the lengths of input prompts and output responses, which depict the prefill and decode workloads in single-round inference. Undoubtedly, this fails to take account of the unique interleaved workload pattern of multi-round inference, leading to sub-optimal resource provision and parallelism strategy deduction.
|
| 66 |
+
|
| 67 |
+
To fill this gap, this work presents AMPD, a novel serving framework for Adaptive Multi-round workflows with PD disaggregation by optimizing the runtime scheduling and deployment strategy. The technical contributions of this work are summarized as follows:
|
| 68 |
+
|
| 69 |
+
- We propose a runtime scheduling that addresses the unique interleaved workload pattern of multi-round inference. It consists of an adaptive routing strategy that dynamically decides where to execute prefill tasks based on real-time system loads, as well as a prefill reordering policy that optimizes the execution order of queuing tasks to maximize SLO attainment.
|
| 70 |
+
- We develop an offline deployment planner that formulates the determination of resource allocation and parallel strategies as an integer linear programming problem, and solves it to deduce the optimal deployment configuration.
|
| 71 |
+
- We implement AMPD and evaluate it across diverse multiround workloads. Extensive empirical results demon-
|
| 72 |
+
|
| 73 |
+
strate that AMPD improves SLO attainment by 67.29%- 339.74% on average compared to both co-located and disaggregated baselines.
|
| 74 |
+
|
| 75 |
+
## 2. Preliminaries and Related Works
|
| 76 |
+
|
| 77 |
+
Prefill-decode disaggregation. LLM inference consists of the compute-intensive prefill phase and the memorybound decode phase. The time cost of first-token responsiveness, namely Time-to-First-Token (TTFT)[2](#page-1-1) , is dominated by the prefill phase, while the per-token generation time, namely Inter-Token Latency (ITL), is related to each decode step. In traditional LLM serving systems that co-locate both phases on the same GPU resources, the resource contention between the two phases leads to significant interference. Prefill-decode (PD) disaggregation [\(Zhong et al.,](#page-10-0) [2024;](#page-10-0) [Pa](#page-9-5)[tel et al.,](#page-9-5) [2024;](#page-9-5) [Hu et al.,](#page-8-2) [2024\)](#page-8-2) is a promising technique to address such PD interference by dedicating GPU resources for each phase. Consequently, PD disaggregation has been widely adopted in LLM serving [\(Qin et al.,](#page-9-8) [2025;](#page-9-8) [Liu et al.,](#page-8-3) [2024\)](#page-8-3), and many efforts have been devoted to optimizing PD disaggregation from various aspects, including elastic scaling [\(Zhang et al.,](#page-9-9) [2025a;](#page-9-9) [Lai et al.,](#page-8-4) [2025\)](#page-8-4), mixed-GPU support [\(JIANG et al.\)](#page-8-5), and multi-modal support [\(Singh](#page-9-10) [et al.,](#page-9-10) [2025;](#page-9-10) [Dong et al.,](#page-8-6) [2025\)](#page-8-6). However, these works on PD disaggregation predominantly target single-round LLM inference, while our work has a different goal and can be incorporated with existing optimizations.
|
| 78 |
+
|
| 79 |
+
Multi-round LLM workflows. The capability of LLMs has evolved from simple, one-shot answering to complex, multiround workflows. There are two representative scenarios. The first is autonomous agents, typically represented by the ReAct-style agentic workflows, which enable agents to interleave reasoning (LLM generation) with acting (tool use) [\(Yao et al.,](#page-9-6) [2023;](#page-9-6) [Mialon et al.,](#page-8-7) [2023;](#page-8-7) [Go & Park,](#page-8-8) [2025;](#page-8-8) [Chen et al.,](#page-8-9) [2024\)](#page-8-9). The second is iterative retrievalaugmented generation [\(Shao et al.,](#page-9-11) [2023;](#page-9-11) [Yue et al.,](#page-9-7) [2024;](#page-9-7) [Jin et al.,](#page-8-10) [2025\)](#page-8-10), which actively retrieves new documents during generation to correct or refine the output. From the serving system's perspective, these multi-round workflows generate interleaved prefill-decode workloads.
|
| 80 |
+
|
| 81 |
+
System optimizations for multi-round inference. Recent works have proposed optimizations for multi-round LLM workflows. InferCept [\(Abhyankar et al.,](#page-8-11) [2024\)](#page-8-11) incorporates the discard, swap, and preserve operations when managing the history KV cache to reduce recomputation wastes. KVFlow [\(Pan et al.,](#page-9-12) [2025\)](#page-9-12) tailors the prefix caching for multi-agent workflows, allowing different agents to share common prefixes and thereby reduces redundant computation. vLLM-Continuum [\(Li et al.,](#page-8-12) [2025\)](#page-8-12) predicts the duration of the environmental interactions and decides
|
| 82 |
+
|
| 83 |
+
<span id="page-1-0"></span><sup>1</sup>Throughout this work, we explicitly distinguish "initial prefill" and "incremental prefill" when necessary. Unless specified otherwise, the term "prefill" refers to either or both variants.
|
| 84 |
+
|
| 85 |
+
<span id="page-1-1"></span>In this work, we use TTFT to measure the latency of both initial and incremental prefill.
|
| 86 |
+
|
| 87 |
+
{2}------------------------------------------------
|
| 88 |
+
|
| 89 |
+
whether to retain the KV cache via a time-to-live mechanism. MARS [\(Shahout et al.,](#page-9-13) [2025\)](#page-9-13) and AugServe [\(Wang et al.,](#page-9-14) [2025\)](#page-9-14) predict the output lengths and memory consumption respectively in multi-round LLM inference, and leverage such information to guide the scheduling of requests.
|
| 90 |
+
|
| 91 |
+
Although these works focus on how to optimize system performance for multi-round workflows, all of them are designed under the co-located serving paradigm. To achieve the holistic integration of multi-round workflows and PD disaggregation, there exist unexplored challenges of complex real-time task routing and scheduling as well as the disaggregated deployment configurations.
|
| 92 |
+
|
| 93 |
+
## <span id="page-2-3"></span>3. System Overview
|
| 94 |
+
|
| 95 |
+
153 154
|
| 96 |
+
|
| 97 |
+
Figure [2](#page-2-0) illustrates the overview of AMPD, which comprises offline and online stages.
|
| 98 |
+
|
| 99 |
+
Offline stage. The offline stage profiles the workload characteristics and conducts the model deployment planning.
|
| 100 |
+
|
| 101 |
+
The *profiler* is responsible for measuring the execution time of different workloads, constructing a *performance model* for both our offline deployment planner and online adaptive scheduling. We adopt a piecewise α-β model to capture the performance characteristics of three types of tasks and form three time cost functions: (i) Tpre(lhist, lincr; θ), which estimates the time cost of prefilling with history length lhist and incremental input length lincr under parallelism strategy θ (initial prefill tasks are associated with a history length of zero), (ii) Tdec(b; θ), which estimates the time cost of decoding with batch size b under parallelism strategy θ, and (iii) Tkv(lctx; θsrc, θdst), which estimates the time cost of transmitting KV cache with context length lctx across the <span id="page-2-0"></span>source and destination parallelism strategies (θsrc → θdst).
|
| 102 |
+
|
| 103 |
+
The *planner* determines the optimal model deployment configuration (including the resource allocation and parallelism strategies for the two phases) prior to serving, by formulating and solving an *integer linear programming* problem.
|
| 104 |
+
|
| 105 |
+
Online stage. The online stage consists of two major components, namely the coordinator and workers.
|
| 106 |
+
|
| 107 |
+
The *coordinator* is in charge of the assignment of different tasks based on the real-time system loads.
|
| 108 |
+
|
| 109 |
+
The *prefill and decode workers* correspond to the two phases, respectively, maintaining task queues that record the metadata of pending tasks. Besides, each prefill/decode worker keeps recording its windowed TTFT/ITL statistic (by default, the average TTFT/ITL within the past 10 seconds). Furthermore, to facilitate up-to-date coordination, we implement these queues and windowed statistics with distributed shared memory so that they are globally accessible.
|
| 110 |
+
|
| 111 |
+
*Overall workflow.* During the online serving, the inference of a request undergoes the following steps.
|
| 112 |
+
|
| 113 |
+
- ⃝1 *Binding*: Upon the arrival of a request (a.k.a., a session), the coordinator first binds the request with a decode worker based on the memory usage [\(NVIDIA,](#page-9-15) [2026a\)](#page-9-15). In other words, the decode worker will be responsible for managing the request's KV cache and conducting all its decode workloads. Such binding helps us unify the handling of both initial and incremental prefill tasks.
|
| 114 |
+
- ⃝2 *Routing*: Whenever the request requires prefilling (either its initial prefill after the binding or an incremental prefill after an environmental interaction), the coordinator employs an *adaptive routing mechanism* ([§4.1\)](#page-3-0) to determine where to carry out this prefill task, with two kinds of choices.
|
| 115 |
+
- Local execution: The task is determined to be executed directly on the responsible decode worker (i.e., the decode worker that the request bound to). This avoids network transmission and reduces prefill workers' burden, but pauses the worker's ongoing decoding batch.[3](#page-2-1)
|
| 116 |
+
- Remote execution: The task is routed to a prefill worker. This mitigates PD interference but necessitates KV transmission: (i) before the execution of this task, the prefill worker reads the history KV cache from the responsible decode worker if necessary; (ii) after the execution, the newly generated KV cache is transmitted back to the responsible decode worker.[4](#page-2-2)
|
| 117 |
+
|
| 118 |
+
<span id="page-2-1"></span><sup>3</sup>We follow the implementation in vLLM that prefill tasks are prioritized over decoding to avoid blocking subsequent generation.
|
| 119 |
+
|
| 120 |
+
<span id="page-2-2"></span><sup>4</sup>Each decode worker manages a local prefix cache, allowing it to merge the received incremental KV cache with the locally stored history KV cache. Thus, we only transmit the incremental KV cache to minimize network cost.
|
| 121 |
+
|
| 122 |
+
{3}------------------------------------------------
|
| 123 |
+
|
| 124 |
+
⃝3 *Prefilling*: In either case, the designated worker enqueues the prefill task into its own prefill queue, and adopts a *prefill reordering policy* ([§4.2\)](#page-4-0) to schedule tasks in the prefill queue. If designated to a prefill worker, it performs KV transmission as described above.
|
| 125 |
+
|
| 126 |
+
⃝4 *Decoding*: After step ⃝3 , the responsible decode worker possesses all KV cache of this request, and continues the auto-regressive decoding process.
|
| 127 |
+
|
| 128 |
+
In multi-round inference, the request may trigger an interaction with external environments (e.g., a function call), which is typically handled by a background CPU process of the decode worker. Upon the completion of interaction, it forms an incremental prefill task. Then, the coordinator is notified and we loop back to step ⃝2 . This recursion repeats until the inference of this request reaches termination.
|
| 129 |
+
|
| 130 |
+
## <span id="page-3-3"></span>4. Online Adaptive Scheduling
|
| 131 |
+
|
| 132 |
+
Our online adaptive request scheduling consists of two techniques, namely adaptive routing and prefill reordering. These techniques address (i) where to carry out the prefill tasks, and (ii) how to schedule the prefill tasks within each worker, respectively.
|
| 133 |
+
|
| 134 |
+
#### <span id="page-3-0"></span>4.1. Adaptive Routing
|
| 135 |
+
|
| 136 |
+
204
|
| 137 |
+
|
| 138 |
+
206
|
| 139 |
+
|
| 140 |
+
213 214
|
| 141 |
+
|
| 142 |
+
216
|
| 143 |
+
|
| 144 |
+
218 219 In essence, PD disaggregation separates the computeintensive prefill phase and memory-bound decode phase onto individual resources, resolving the PD interference that occurs in co-located serving. Nevertheless, in multi-round inference, where to carry out the prefill tasks necessitates deliberation. For one thing, if we always route the prefill tasks (both initial and incremental) to prefill workers (remote execution), decode workers can remain focused on steady-state decoding and thus optimize ITL. However, it incurs extra transmission cost of KV cache and increases the burden of prefill workers, harming TTFT. For another, carrying out some prefill workloads by the decode workers themselves (local execution) eliminates the transmission cost and benefit TTFT, but makes decode workers more susceptible to PD interference, which leads to spikes in ITL.
|
| 145 |
+
|
| 146 |
+
To strike a good balance between TTFT and ITL, we develop an *SLO-oriented* adaptive routing mechanism, which determines where each prefill task should be executed. The general idea is to leverage the windowed TTFT and ITL statistics to evaluate real-time system loads, and make the routing decision that is less likely to violate SLO requirements.
|
| 147 |
+
|
| 148 |
+
Algorithm routine. Algorithm [1](#page-3-1) shows the workflow of our adaptive routing mechanism. Given a prefill task (along with the corresponding decode worker), we first identify prefill workers with sufficient slack to meet the TTFT SLO <span id="page-3-1"></span>Algorithm 1 \ Adaptive routing mechanism for prefill tasks. TTFT<sup>i</sup> denotes the windowed TTFT statistic of the i-th prefill worker. ITL <sup>d</sup> denotes the windowed ITL statistic of the current decode worker. TTFTthres and ITLthres are the thresholds for TTFT and ITL. α, β are hyper-parameters for identifying TTFT or ITL slack.
|
| 149 |
+
|
| 150 |
+
- 1: for each prefill worker i in random order do
|
| 151 |
+
- 2: if TTFT \<sup>i</sup> <sup>≤</sup> <sup>α</sup> · TTFTthres then
|
| 152 |
+
- 3: return remote<sup>i</sup>
|
| 153 |
+
- 4: if ITL <sup>d</sup> <sup>≤</sup> <sup>β</sup> · ITLthres then
|
| 154 |
+
- 5: return local
|
| 155 |
+
- 6: Estimate local execution cost tlocal
|
| 156 |
+
- 7: for each prefill worker i do
|
| 157 |
+
- 8: Estimate remote execution cost tremote<sup>i</sup> via Eq. [\(2\)](#page-3-2)
|
| 158 |
+
- 9: return arg minroute∈{local,remote1,remote2,··· } troute
|
| 159 |
+
|
| 160 |
+
and route the task to an eligible candidate (lines 1-3). If all prefill workers are under pressure (i.e., TTFT approaching the SLO threshold), we examine whether the current decoder worker's windowed ITL shows sufficient slack, and if yes, a local execution will be triggered (lines 4-5). Otherwise, we estimate and compare the time cost of both local and remote execution for the final routing decision (lines 6-9).
|
| 161 |
+
|
| 162 |
+
Particularly, as introduced in [§3,](#page-2-3) we construct performance model based on offline profiling. Thus, the time cost of local execution on decode worker d can be easily estimated via
|
| 163 |
+
|
| 164 |
+
$$t_{\text{local}} = T_{\text{pre}}(l_{hist}, l_{incr}; \theta_d) + \sum_{k \in \text{prefill.queue}_d} T_{\text{pre}}(l_{hist_k}, l_{incr_k}; \theta_d), \quad (1)$$
|
| 165 |
+
|
| 166 |
+
where lhist denotes the history length, lincr denotes the incremental input length, θ<sup>d</sup> denotes the parallelism strategy of decode worker d, and prefill queue<sup>d</sup> denotes its prefill queue. The first term is the estimated time cost of executing this prefill task on decode worker d while the second term represents the estimated queuing time.
|
| 167 |
+
|
| 168 |
+
Similarly, if we route the task to the i-th prefill worker for remote execution, the time cost can be estimated via
|
| 169 |
+
|
| 170 |
+
<span id="page-3-2"></span>
|
| 171 |
+
$$\begin{split} t_{\text{remote}_{i}} &= t_{\text{pre}_{i}} + t_{\text{kv}_{i}} + t_{\text{queue}_{i}}, \text{ where} \\ t_{\text{pre}_{i}} &= \text{T}_{\text{pre}}(l_{hist}, l_{incr}; \theta_{p_{i}}), \\ t_{\text{kv}_{i}} &= \text{T}_{\text{kv}}(l_{hist}; \theta_{d}, \theta_{p_{i}}) + \text{T}_{\text{kv}}(l_{incr}; \theta_{p_{i}}, \theta_{d}), \\ t_{\text{queue}_{i}} &= \sum_{k \in \text{prefill\_queue}_{i}} \text{T}_{\text{pre}}(l_{hist_{k}}, l_{incr_{k}}; \theta_{p_{i}}), \end{split}$$
|
| 172 |
+
|
| 173 |
+
where θ<sup>p</sup><sup>i</sup> denotes the i-th prefill worker's parallelism strategy and prefill queue<sup>i</sup> denotes its prefill queue. The three terms correspond to the estimated time cost of (i) prefill computation, (ii) transmitting the KV cache back and forth, and (iii) queuing on the prefill worker.
|
| 174 |
+
|
| 175 |
+
{4}------------------------------------------------
|
| 176 |
+
|
| 177 |
+
#### <span id="page-4-2"></span>Algorithm 2 Prefill reordering policy.
|
| 178 |
+
|
| 179 |
+
- 1: $W \leftarrow Q.\operatorname{peek}(w), \pi^* \leftarrow \phi$
|
| 180 |
+
- 2: **for each** ordering $\pi$ over W **do**
|
| 181 |
+
- 3: **if** $\pi$ violates the postponement capacity **then**
|
| 182 |
+
- 4: **continue**
|
| 183 |
+
|
| 184 |
+
- 5: Compute the number of TTFT-satisfying tasks $S_{\pi}$ based on Eq (4).
|
| 185 |
+
- 6: $\pi^* \leftarrow (\pi^* == \phi \text{ or } S_{\pi} > S_{\pi^*}) ? \pi : \pi^*$
|
| 186 |
+
- 7: Increment postponement counters for tasks that are postponed in $\pi^*$
|
| 187 |
+
- 8: $Q.\operatorname{reorder}(\pi^*), r \leftarrow Q.\operatorname{dequeue}()$
|
| 188 |
+
- 9: Schedule r for execution
|
| 189 |
+
|
| 190 |
+
Based on the estimated time cost, the prefill task will be routed to the one with the lowest cost.
|
| 191 |
+
|
| 192 |
+
**Discussion.** Although our adaptive routing mechanism needs to gather the shared metadata (windowed statistics and queuing information) from different workers, this is done concurrently. And the time cost estimation is extremely fast. Thus, the overhead of this mechanism is minor.
|
| 193 |
+
|
| 194 |
+
#### <span id="page-4-0"></span>4.2. Prefill Reordering
|
| 195 |
+
|
| 196 |
+
The routing mechanism in §4.1 leverages the TTFT/ITL slacks across prefill and decode workers to achieve real-time adaptive scheduling. In fact, thanks to our performance modeling, it is also feasible to identify the TTFT slacks of the tasks in each prefill queue. In other words, if a pending task is far from violating the TTFT SLO requirement, then we can schedule it later as a longer queuing time would not harm its TTFT SLO satisfaction.
|
| 197 |
+
|
| 198 |
+
Following this, we develop a lightweight *TTFT-aware* prefill reordering policy. In a nutshell, to schedule one task from its prefill queue for execution, we employ a small lookahead window with size w at the head of the queue, and reorder the tasks within the window in order to maximize the number of tasks satisfying the TTFT SLO.
|
| 199 |
+
|
| 200 |
+
Algorithm routine. The routine of our reordering policy is shown in Algorithm 2. Let $T_{now}$ denote the current time, $T_{\rm enq}^{(r)}$ the enqueue time of task r, and $t_{\rm pre}^{(r)}$ the estimated time cost for r following our performance model. We first peek up to w head elements of the prefill queue to form a window $W = \{r_1, r_2, \dots\}$ (line 1). Then, we enumerate feasible orderings to optimize TTFT within W (lines 2-7). In particular, for any ordering $\pi$ over W, the completion time (relative to $T_{now}$ ) of the $\pi(k)$ -th request (i.e., the k-th one in $\pi$ ) can be predicted as
|
| 201 |
+
|
| 202 |
+
$$C^{(\pi(k))} = \sum_{j=1}^{k} t_{\text{pre}}^{(\pi(j))}.$$
|
| 203 |
+
(3)
|
| 204 |
+
|
| 205 |
+
Subsequently, the number of TTFT-satisfying tasks within
|
| 206 |
+
|
| 207 |
+
W under ordering $\pi$ can be predicted as
|
| 208 |
+
|
| 209 |
+
<span id="page-4-1"></span>
|
| 210 |
+
$$S_{\pi} = \sum_{k=1}^{|W|} \mathbb{I}\left[ \left( T_{now} - T_{\text{enq}}^{(\pi(k))} \right) + C^{(\pi(k))} \le \text{TTFT}_{\text{thres}} \right].$$
|
| 211 |
+
|
| 212 |
+
$$\tag{4}$$
|
| 213 |
+
|
| 214 |
+
Consequently, to improve TTFT SLO attainment, we choose the ordering $\pi^* = \arg \max_{\pi} S_{\pi}$ that maximizes the number of TTFT-satisfying tasks within W (lines 5-6).
|
| 215 |
+
|
| 216 |
+
In addition, we enforce that each task can be postponed by at most w times to prevent starvation. Particularly, we maintain a *postponement counter* for each task, and increment it whenever the task is postponed due to reordering (line 7). Once there are any tasks' postponement counters reaching w, we skip the orderings that postpone such tasks (lines 3-4).
|
| 217 |
+
|
| 218 |
+
After the optimal ordering is obtained, the head elements of the prefill queue are reordered accordingly, after which, the first element will be scheduled for execution (lines 8-9).
|
| 219 |
+
|
| 220 |
+
**Discussion.** Since it is extremely fast to evaluate the number of TTFT-satisfying tasks for one ordering and the window size is typically small (less than 5 in practice), the overhead incurred by the reordering policy is negligible.
|
| 221 |
+
|
| 222 |
+
Last but not least, it is noteworthy that the estimated queuing time in Eq. (2) does not take account of the prefill reordering policy. Nevertheless, it does not harm the effectiveness of our adaptive routing mechanism, since the window size is small compared to the size of the prefill queue in practice.
|
| 223 |
+
|
| 224 |
+
#### 5. Offline Deployment Planning
|
| 225 |
+
|
| 226 |
+
As depicted in Figure 3, the deployment of disaggregated serving should consider two factors for each worker type (prefill and decode): (i) instantiating multiple independent replicas to handle concurrent requests (a.k.a., data parallelism (Li et al., 2023)), and (ii) partitioning each individual replica across multiple GPUs to satisfy memory and computational requirements (a.k.a., model parallelism (Shoeybi et al., 2019)). Consequently, to optimize the model deployment, we must establish appropriate data and model parallelism configurations for both worker types, while conforming to a fixed GPU resource capacity constraint.
|
| 227 |
+
|
| 228 |
+
In response to this, we formulate the model deployment planning as a *resource-constrained optimization problem*. The goal is to identify the specific combination of model parallelism (partition) and data parallelism (replication) configurations for each worker type that maximizes performance.
|
| 229 |
+
|
| 230 |
+
**Formulation of planning.** We first introduce the *decision variables*. Since model parallelism degrees are typically powers of 2, we can represent the deployment via the number of replicas associated with each feasible model parallelism degree. Specifically, given a discrete set of supported
|
| 231 |
+
|
| 232 |
+
{5}------------------------------------------------
|
| 233 |
+
|
| 234 |
+
294
|
| 235 |
+
|
| 236 |
+
296
|
| 237 |
+
|
| 238 |
+
313 314
|
| 239 |
+
|
| 240 |
+
316
|
| 241 |
+
|
| 242 |
+
324
|
| 243 |
+
|
| 244 |
+
326
|
| 245 |
+
|
| 246 |
+
328 329
|
| 247 |
+
|
| 248 |
+
<span id="page-5-0"></span>
|
| 249 |
+
|
| 250 |
+
*Figure 3.* Illustration of disaggregated LLM serving where prefill and decode workers are with different parallelism configurations.
|
| 251 |
+
|
| 252 |
+
model parallelism degrees T (e.g., {1, 2, 4, 8}), the decision variables comprise two integer vectors, x, y ∈ Z |T | ≥0 (e.g., x = [x (1), x(2), x(4), x(8)], y = [y (1), y(2), y(4), y(8)]). For each model parallelism degree n ∈ T , the variable x (n) (y (n) ) denotes the number of prefill (decode) workers that are deployed with model parallelism degree n (i.e., each partitioned across n GPUs).
|
| 253 |
+
|
| 254 |
+
Subsequently, to establish the optimization target, we introduce an auxiliary variable Z, which represents the maximum P95 latency among all workers. We formulate this resource allocation problem as an Integer Linear Programming (ILP) problem [\(Vielma,](#page-9-17) [2015\)](#page-9-17):
|
| 255 |
+
|
| 256 |
+
<span id="page-5-2"></span>
|
| 257 |
+
$$\underset{\mathbf{x},\mathbf{y} \in \mathbb{Z}_{\geq 0}^{|\mathcal{T}|}}{\arg \min} \quad Z$$
|
| 258 |
+
|
| 259 |
+
$$\mathbf{x},\mathbf{y} \in \mathbb{Z}_{\geq 0}^{|\mathcal{T}|}$$
|
| 260 |
+
s.t. (C1) $Z \geq \tau_{pre}(n), \quad \forall n \in \mathcal{T} \text{ where } x^{(n)} \geq 1$
|
| 261 |
+
(C2) $Z \geq \tau_{dec}(n), \quad \forall n \in \mathcal{T} \text{ where } y^{(n)} \geq 1$
|
| 262 |
+
(C3)
|
| 263 |
+
$$\sum_{n \in \mathcal{T}} (x^{(n)} \cdot n) + \sum_{n \in \mathcal{T}} (y^{(n)} \cdot n) \leq N$$
|
| 264 |
+
(5)
|
| 265 |
+
|
| 266 |
+
Constraints (C1) and (C2) establish P95 latency bounds of disaggregated inference. The coefficients τpre(n), τdec(n) represent the estimated P95 latency[5](#page-5-1) of a single prefill or decode worker replica configured with model parallelism degree n. Since the two constraints require that Z must be at least as large as the P95 latency of any instantiated worker replica, minimizing Z represents minimizing the worst-case P95 latency across all deployed worker replicas (i.e., optimizing the bottlenecked worker replicas). Constraint (C3) enforces the global GPU resource capacity. For each configuration with model parallelism degree n, the GPU consumption equals the product of the number of worker replicas (x (n) or y (n) ) and the parallelism degree n. This constraint ensures that the total number of GPUs allocated across all worker replicas does not exceed the available cluster capacity N.
|
| 267 |
+
|
| 268 |
+
Planning solver. The formulation in Eq. [\(5\)](#page-5-2) constitutes a multi-dimensional variant of the *Unbounded Knapsack* *Problem* [\(Pisinger & Toth,](#page-9-18) [1998\)](#page-9-18), requiring the solver to evaluate integer combinations of valid model parallelism degrees to identify the optimal resource allocation. We employ a standard Mixed Integer Linear Programming (MILP) solver [\(Huangfu & Hall,](#page-8-14) [2018\)](#page-8-14) to solve this optimization problem. The solver accepts the simulated P95 latency coefficients τpre(n) and τdec(n) as constant parameters, and explores the feasible region defined by the integer vectors x and y. This approach is computationally efficient for typical cluster scales (see Appendix [A.2](#page-11-1) for details), and guarantees identification of the global optimum that balances both worker types while fully utilizing available GPU resources.
|
| 269 |
+
|
| 270 |
+
Discussion. In Eq. [\(5\)](#page-5-2), we adopt the P95 latency as our surrogate objective, while the goal of our system (particularly, the two approaches in [§4\)](#page-3-3) is to maximize SLO attainment. This discrepancy is due to the infeasibility to solve the optimization of SLO attainment via efficient linear programming solvers. Particularly, owing to the binary output of SLO satisfaction, the SLO attainment metric cannot serve as a continuous surrogate objective. Consequently, our ILP is formulated to minimize the P95 latency. Despite this discrepancy, empirical evaluation demonstrates that our planning is effective in finding the optimal deployment. We refer interested readers to Appendix [A.3](#page-11-2) for more details.
|
| 271 |
+
|
| 272 |
+
## 6. Implementation
|
| 273 |
+
|
| 274 |
+
AMPD is implemented atop NVIDIA Dynamo [\(NVIDIA,](#page-9-3) [2026b\)](#page-9-3). We adopt Redis to enable global sharing of the queues and windowed TTFT/ITL statistics, and utilize the SCIP library [\(Bolusani et al.,](#page-8-15) [2024\)](#page-8-15) to solve Eq. [\(5\)](#page-5-2). For efficient KV cache transmission, we leverage the NVIDIA Inference Xfer Library (NIXL) [\(NVIDIA,](#page-9-19) [2026c\)](#page-9-19) to achieve point-to-point RDMA network communication across prefill and decode workers. The transmission of history KV cache is implemented as lazy reads. To be specific, our routing mechanism ([§4.1\)](#page-3-0) sends merely metadata to prefill workers for remote execution. Only when an incremental prefill task is scheduled for execution ([§4.2\)](#page-4-0), should the prefill worker read the history KV cache from the decode worker. Additionally, the KV cache transmission overlaps with the computation of the previous task to hide the network latency.
|
| 275 |
+
|
| 276 |
+
## <span id="page-5-3"></span>7. Experiments
|
| 277 |
+
|
| 278 |
+
#### 7.1. Experimental Setup
|
| 279 |
+
|
| 280 |
+
Environments. We conduct experiments over 4 servers, each with 8 NVIDIA H20 (96GB) GPUs. The GPUs within each server are interconnected via NVLink with a bandwidth of 900GB/s, while the servers are interconnected by InfiniBand with a bandwidth of 200GB/s.
|
| 281 |
+
|
| 282 |
+
Workloads. Three LLMs are used in our experiments,
|
| 283 |
+
|
| 284 |
+
<span id="page-5-1"></span><sup>5</sup>We adopt a simulator for estimating the P95 latency performance of different configurations based on the performance model, which is detailed in Appendix [A.1.](#page-11-0)
|
| 285 |
+
|
| 286 |
+
{6}------------------------------------------------
|
| 287 |
+
|
| 288 |
+
<span id="page-6-1"></span>
|
| 289 |
+
|
| 290 |
+
Figure 4. End-to-end comparison. The top three rows are the SLO attainment under different configurations (traces and request arrival rates) for the three models. The bottom row is a detailed breakdown of Llama-3.1-70B with a request arrival rate of 2 reqs/s, including the average TTFT for initial prefill, average TTFT for incremental prefill, and average ITL for decoding.
|
| 291 |
+
|
| 292 |
+
which are Qwen3-32B (Yang et al., 2025), Llama3.1-70B (Grattafiori et al., 2024), and Mixtral-8x7B (Jiang et al., 2024). Since our major focus is serving efficiency, we conduct experiments by running the same traces with AMPD and the baselines to achieve a fair comparison. Four workload traces are considered, which are generated from the ToolBench (Guo et al., 2024), GAIA (Mialon et al., 2024), HotpotQA (Yang et al., 2018), and DuReader (He et al., 2018) datasets, respectively. Due to the space constraint, we summarize the length information in Table 1, while leaving the details of these traces to Appendix B. For each model, we run HotpotQA and ToolBench workloads on a single server (8 GPUs), DuReader on two servers (16 GPUs), and GAIA on four servers (32 GPUs), to match the workload scale and system capacity.
|
| 293 |
+
|
| 294 |
+
<span id="page-6-0"></span>Table 1. The average number of rounds, prefill length, and decode length of each trace.
|
| 295 |
+
|
| 296 |
+
| Trace | #Rounds | Prefill Length | Decode Length |
|
| 297 |
+
|-----------|---------|----------------|---------------|
|
| 298 |
+
| ToolBench | 3.96 | 703.79 | 50.39 |
|
| 299 |
+
| GAIA | 11.32 | 6161.02 | 528.76 |
|
| 300 |
+
| HotpotQA | 3 3 | 1569.8 | 80.03 |
|
| 301 |
+
| DuReader | | 3081.23 | 150.10 |
|
| 302 |
+
|
| 303 |
+
**Baselines.** We compare AMPD with three state-of-the-art LLM serving systems as follows.
|
| 304 |
+
|
| 305 |
+
- Dynamo (NVIDIA, 2026b): The original NVIDIA Dynamo disaggregated serving system under PD disaggregation without the techniques proposed in this work. It always separates the prefill and decode workloads onto different resources.
|
| 306 |
+
- vLLM (Kwon et al., 2023): One of the most prestigious
|
| 307 |
+
|
| 308 |
+
LLM serving system under PD co-location.
|
| 309 |
+
|
| 310 |
+
vLLM-Continuum (Li et al., 2025): A serving system based on vLLM tailored for multi-round workflows.
|
| 311 |
+
|
| 312 |
+
**Protocols.** In all experiments, we utilize our offline planner to determine the model deployment of AMPD, while we tune the model deployment for all baselines and report the best results to be fair. By default, the hyper-parameters are set as $\alpha=0.9, \beta=0.85, w=3$ . We follow the previous standard to generate request arrival times using Poisson process with different request arrival rates (Kwon et al., 2023; Zhong et al., 2024; Yu et al., 2022), and take SLO attainment as the primary evaluation metric.
|
| 313 |
+
|
| 314 |
+
#### 7.2. Experiment Results
|
| 315 |
+
|
| 316 |
+
**End-to-end comparison.** To begin with, we conduct experiments to measure the SLO attainment of all counterparts under various request arrival rates, with results presented in Figure 4.
|
| 317 |
+
|
| 318 |
+
Overall, AMPD achieves the highest SLO attainment across all experiments. Compared to Dynamo (the disaggregated baseline) and vLLM (the co-located baseline), AMPD improves SLO attainment by up to 967.54% and 3435.1% (67.29% and 339.74% on average), respectively.
|
| 319 |
+
|
| 320 |
+
To understand the performance gain, we further provide a detailed breakdown in the bottom row of Figure 4. It can be observed that, both co-located and disaggregated serving exhibit divergent latency trade-offs. Co-located serving favors executing prefill tasks earlier (e.g., via prioritization or preemption) for the sake of continuous batching, which
|
| 321 |
+
|
| 322 |
+
{7}------------------------------------------------
|
| 323 |
+
|
| 324 |
+
421
|
| 325 |
+
|
| 326 |
+
<span id="page-7-0"></span>
|
| 327 |
+
|
| 328 |
+
Figure 5. Ablation studies (Llama3.1-70B, 2 regs/s). Left: DuReader. Middle: GAIA. Right: Proportion of local and remote execution.
|
| 329 |
+
|
| 330 |
+
<span id="page-7-1"></span>
|
| 331 |
+
|
| 332 |
+
Figure 6. Sensitivity experiments w.r.t. $w, \alpha, \beta$ (Llama3.1-70B, DuReader, 2 reqs/s).
|
| 333 |
+
|
| 334 |
+
reduces TTFT but disrupts the execution of decode tasks and thereby deteriorates ITL. In contrast, PD disaggregation decouples prefill from decode, reducing PD interference on decode workers and typically achieving lower ITL, yet TTFT often becomes the bottleneck due to the reduction in prefill resources and the overhead of KV cache transmission. These trends are also observed across tasks. On HotpotQA, DuReader, and ToolBench, disaggregated serving often outperforms co-located serving because its ITL advantage dominates end-to-end behavior. On GAIA, colocated serving becomes favorable (compared to Dynamo) since it provides competitive TTFT while not exhibiting a pronounced ITL disadvantage. Consequently, both vLLM and Dynamo are frequently dominated by either ITL or TTFT constraints, limiting the attainable SLO rate.
|
| 335 |
+
|
| 336 |
+
AMPD enjoys the benefit of PD disaggregation, avoiding deteriorating ITL compared to vLLM. Meanwhile, compared to Dynamo, AMPD significantly reduces TTFT thanks to our adaptive scheduling. Consequently, AMPD achieves a more robust trade-off between first-token responsiveness and per-token generation speed.
|
| 337 |
+
|
| 338 |
+
vLLM-Continuum follows the co-located architecture and adopts a queuing policy that prioritizes tasks within the same request (a.k.a., session). Since such tasks can reuse cached KV states, they typically require less computation, which shortens queuing delay and reduces TTFT while leaving ITL unaffected. However, in many settings, the TTFT reduction does not consistently translate into a substantial improvement in SLO attainment. Thus, vLLM-Continuum is often comparable to, or nearly tied with, vLLM.
|
| 339 |
+
|
| 340 |
+
Ablation study. We conduct experiments to assess the effectiveness of the two techniques in our online scheduling. The results are provided in Figure 5. The adaptive routing mechanism routes 13.9%-31.7% prefill tasks to be executed locally on the decode workers, which relieves the burden of prefill workers, and thereby increases the SLO attainment by 27.37%-350%, demonstrating the effectiveness of adaptive routing in mitigating workload imbalance between phases. In addition, the prefill reordering policy further improves the SLO attainment by 13.42%-14.81%. This is reasonable as the queuing optimization helps reduce the tail of TTFT. Eventually, these two techniques together provision 44.47%-402% of improvement.
|
| 341 |
+
|
| 342 |
+
**Sensitivity.** Both the two techniques in online scheduling introduce additional hyper-parameters. We evaluate the sensitivity of our work by varying these hyper-parameters. The results are shown in Figure 6.
|
| 343 |
+
|
| 344 |
+
We first evaluate the SLO attainment with multiple window sizes (2, 3, 4, and 5) in prefill reordering. It can be seen that the performance of AMPD remains similar across these window sizes (within 3% gap). This suggests that a short time window is sufficient to capture load signals needed for effective routing decisions.
|
| 345 |
+
|
| 346 |
+
Next, we evaluate the impact of $\alpha$ and $\beta$ , which control the sensitivity to congestion on the prefill and decode sides, respectively. In general, a smaller $\alpha$ enables earlier detection of prefill congestion but may lead to under-utilization of prefill workers, while a smaller $\beta$ triggers earlier detection of decode congestion at the cost of potentially reduced decode utilization. Consequently, moderate values of $\alpha$ and $\beta$ can strike a better balance between prefill and decode workers, improving the overall system efficiency.
|
| 347 |
+
|
| 348 |
+
#### 8. Conclusion
|
| 349 |
+
|
| 350 |
+
We presented AMPD, a novel disaggregated serving framework for efficient multi-round LLM inference. AMPD addresses the interleaved prefill-decode workload patterns of multi-round inference by runtime adaptive scheduling, consisting of the adaptive routing mechanism and prefill reordering policy to balance prefill and decode loads. Extensive experiments show that, compared to existing works, AMPD improves SLO attainment by 67.29%-339.74% on average, provisioning an effective solution for serving complex, multi-round LLM workflows.
|
| 351 |
+
|
| 352 |
+
{8}------------------------------------------------
|
| 353 |
+
|
| 354 |
+
## References
|
| 355 |
+
|
| 356 |
+
- <span id="page-8-11"></span>Abhyankar, R., He, Z., Srivatsa, V., Zhang, H., and Zhang, Y. Infercept: efficient intercept support for augmented large language model inference. In *Proceedings of the 41st International Conference on Machine Learning*, pp. 81–95, 2024.
|
| 357 |
+
- <span id="page-8-15"></span>Bolusani, S., Besanc¸on, M., Bestuzheva, K., Chmiela, A., Dion´ısio, J., Donkiewicz, T., van Doornmalen, J., Eifler, L., Ghannam, M., Gleixner, A., et al. The scip optimization suite 9.0. *arXiv preprint arXiv:2402.17702*, 2024.
|
| 358 |
+
- <span id="page-8-9"></span>Chen, S., Wang, Y., Wu, Y.-F., Chen, Q., Xu, Z., Luo, W., Zhang, K., and Zhang, L. Advancing tool-augmented large language models: Integrating insights from errors in inference trees. *Advances in Neural Information Processing Systems (NeurIPS 2024)*, 37:106555–106581, 2024.
|
| 359 |
+
- <span id="page-8-6"></span>Dong, X., Liu, T., Zeng, Y., Liu, L., Liu, Y., Wu, S., Wu, Y., Yang, H., Zhang, K., and Li, J. Hydrainfer: Hybrid disaggregated scheduling for multimodal large language model serving. *arXiv preprint arXiv:2505.12658*, 2025.
|
| 360 |
+
- <span id="page-8-8"></span>Go, H. and Park, S. A study on classification based concurrent api calls and optimal model combination for tool augmented llms for ai agent. *Scientific Reports*, 15(1): 20579, 2025.
|
| 361 |
+
- <span id="page-8-16"></span>Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. The llama 3 herd of models. *arXiv preprint arXiv:2407.21783*, 2024.
|
| 362 |
+
- <span id="page-8-0"></span>Guo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., et al. Deepseekr1 incentivizes reasoning in llms through reinforcement learning. *Nature*, 645(8081):633–638, 2025.
|
| 363 |
+
- <span id="page-8-18"></span>Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. Stabletoolbench: Towards stable large-scale benchmarking on tool learning of large language models. *arXiv preprint arXiv:2403.07714*, 2024.
|
| 364 |
+
- <span id="page-8-19"></span>He, W., Liu, K., Liu, J., Lyu, Y., Zhao, S., Xiao, X., Liu, Y., Wang, Y., Wu, H., She, Q., et al. Dureader: a chinese machine reading comprehension dataset from real-world applications. In *Proceedings of the workshop on machine reading for question answering*, pp. 37–46, 2018.
|
| 365 |
+
- <span id="page-8-21"></span>Hockney, R. W. The communication challenge for mpp: Intel paragon and meiko cs-2. *Parallel computing*, 20(3): 389–398, 1994.
|
| 366 |
+
- <span id="page-8-2"></span>Hu, C., Huang, H., Xu, L., Chen, X., Xu, J., Chen, S., Feng, H., Wang, C., Wang, S., Bao, Y., et al. Inference without interference: Disaggregate llm inference for mixed downstream workloads. *arXiv preprint arXiv:2401.11181*, 2024.
|
| 367 |
+
|
| 368 |
+
- <span id="page-8-14"></span>Huangfu, Q. and Hall, J. J. Parallelizing the dual revised simplex method. *Mathematical Programming Computation*, 10(1):119–142, 2018.
|
| 369 |
+
- <span id="page-8-17"></span>Jiang, A. Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D. S., Casas, D. d. l., Hanna, E. B., Bressand, F., et al. Mixtral of experts. *arXiv preprint arXiv:2401.04088*, 2024.
|
| 370 |
+
- <span id="page-8-5"></span>JIANG, Y., Fu, F., Yao, X., Wang, T., CUI, B., Klimovic, A., and Yoneki, E. Thunderserve: High-performance and cost-efficient llm serving in cloud environments. In *Eighth Conference on Machine Learning and Systems (MLSys 2025)*.
|
| 371 |
+
- <span id="page-8-10"></span>Jin, B., Zeng, H., Yue, Z., Yoon, J., Arik, S., Wang, D., Zamani, H., and Han, J. Search-r1: Training llms to reason and leverage search engines with reinforcement learning. *arXiv preprint arXiv:2503.09516*, 2025.
|
| 372 |
+
- <span id="page-8-20"></span>Katevenis, M., Sidiropoulos, S., and Courcoubetis, C. Weighted round-robin cell multiplexing in a generalpurpose atm switch chip. *IEEE Journal on selected Areas in Communications*, 9(8):1265–1279, 1991.
|
| 373 |
+
- <span id="page-8-1"></span>Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with pagedattention. In *Proceedings of the 29th symposium on operating systems principles (SOSP 2023)*, pp. 611–626, 2023.
|
| 374 |
+
- <span id="page-8-4"></span>Lai, R., Liu, H., Lu, C., Liu, Z., Cao, S., Shao, S., Zhang, Y., Mai, L., and Ustiugov, D. Tokenscale: Timely and accurate autoscaling for disaggregated llm serving with token velocity. *arXiv preprint arXiv:2512.03416*, 2025.
|
| 375 |
+
- <span id="page-8-12"></span>Li, H., Mang, Q., He, R., Zhang, Q., Mao, H., Chen, X., Cheung, A., Gonzalez, J., and Stoica, I. Continuum: Efficient and robust multi-turn llm agent scheduling with kv cache time-to-live. *arXiv preprint arXiv:2511.02230*, 2025.
|
| 376 |
+
- <span id="page-8-13"></span>Li, Z., Zheng, L., Zhong, Y., Liu, V., Sheng, Y., Jin, X., Huang, Y., Chen, Z., Zhang, H., Gonzalez, J. E., et al. {AlpaServe}: Statistical multiplexing with model parallelism for deep learning serving. In *17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23)*, pp. 663–679, 2023.
|
| 377 |
+
- <span id="page-8-3"></span>Liu, A., Feng, B., Xue, B., Wang, B., Wu, B., Lu, C., Zhao, C., Deng, C., Zhang, C., Ruan, C., et al. Deepseek-v3 technical report. *arXiv preprint arXiv:2412.19437*, 2024.
|
| 378 |
+
- <span id="page-8-7"></span>Mialon, G., Dess`ı, R., Lomeli, M., Nalmpantis, C., Pasunuru, R., Raileanu, R., Roziere, B., Schick, T., Dwivedi- ` Yu, J., Celikyilmaz, A., et al. Augmented language models: a survey. *arXiv preprint arXiv:2302.07842*, 2023.
|
| 379 |
+
|
| 380 |
+
{9}------------------------------------------------
|
| 381 |
+
|
| 382 |
+
<span id="page-9-20"></span>495 496 497 498 Mialon, G., Fourrier, C., Wolf, T., LeCun, Y., and Scialom, T. Gaia: a benchmark for general ai assistants. In *The Twelfth International Conference on Learning Representations (ICLR 2024)*, 2024.
|
| 383 |
+
|
| 384 |
+
<span id="page-9-15"></span>499 500 501
|
| 385 |
+
|
| 386 |
+
<span id="page-9-3"></span>504
|
| 387 |
+
|
| 388 |
+
<span id="page-9-12"></span>513 514
|
| 389 |
+
|
| 390 |
+
516
|
| 391 |
+
|
| 392 |
+
<span id="page-9-5"></span>518 519 520
|
| 393 |
+
|
| 394 |
+
<span id="page-9-18"></span>524 525 526
|
| 395 |
+
|
| 396 |
+
<span id="page-9-8"></span>528 529 530
|
| 397 |
+
|
| 398 |
+
<span id="page-9-13"></span>534
|
| 399 |
+
|
| 400 |
+
536
|
| 401 |
+
|
| 402 |
+
- NVIDIA. Nvidia dynamo documentation: Kv router. [https://docs.nvidia.com/dynamo/](https://docs.nvidia.com/dynamo/latest/router/README.html) [latest/router/README.html](https://docs.nvidia.com/dynamo/latest/router/README.html), 2026a.
|
| 403 |
+
- NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. [https://github.com/](https://github.com/ai-dynamo/dynamo) [ai-dynamo/dynamo](https://github.com/ai-dynamo/dynamo), 2026b.
|
| 404 |
+
- <span id="page-9-19"></span>NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. [https://github.com/](https://github.com/ai-dynamo/nixl) [ai-dynamo/nixl](https://github.com/ai-dynamo/nixl), 2026c.
|
| 405 |
+
- Pan, Z., PATEL, A., Shen, Y., Hu, Z., Guan, Y., Li, W.-L., Qin, L., Wang, Y., and Ding, Y. Kvflow: Efficient prefix caching for accelerating llm-based multi-agent workflows. In *The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025)*, 2025.
|
| 406 |
+
- Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, ´I., Maleki, S., and Bianchini, R. Splitwise: Efficient generative llm inference using phase splitting. In *2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA 2024)*, pp. 118–132. IEEE, 2024.
|
| 407 |
+
- Pisinger, D. and Toth, P. Knapsack problems. In *Handbook of Combinatorial Optimization: Volume1–3*, pp. 299–428. Springer, 1998.
|
| 408 |
+
- Qin, R., Li, Z., He, W., Cui, J., Ren, F., Zhang, M., Wu, Y., Zheng, W., and Xu, X. Mooncake: Trading more storage for less computation—a kvcache-centric architecture for serving llm chatbot. In *23rd USENIX Conference on File and Storage Technologies (FAST 25)*, pp. 155–170, 2025.
|
| 409 |
+
- Shahout, R., Liang, C., Xin, S., Lao, Q., Cui, Y., Yu, M., and Mitzenmacher, M. Fast inference for augmented large language models. In *The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025)*, 2025.
|
| 410 |
+
- <span id="page-9-11"></span>Shao, Z., Gong, Y., Shen, Y., Huang, M., Duan, N., and Chen, W. Enhancing retrieval-augmented large language models with iterative retrieval-generation synergy. *arXiv preprint arXiv:2305.15294*, 2023.
|
| 411 |
+
- <span id="page-9-16"></span>Shoeybi, M., Patwary, M., Puri, R., LeGresley, P., Casper, J., and Catanzaro, B. Megatron-lm: Training multibillion parameter language models using model parallelism. *arXiv preprint arXiv:1909.08053*, 2019.
|
| 412 |
+
|
| 413 |
+
- <span id="page-9-10"></span>Singh, G., Wang, X., Hu, Y., Yu, T. T. L., Xing, L., Jiang, W., Wang, Z., Xiaolong, B., Li, Y., Xiong, Y., et al. Efficiently serving large multimodal models using epd disaggregation. In *Forty-second International Conference on Machine Learning (ICML 2025)*, 2025.
|
| 414 |
+
- <span id="page-9-0"></span>Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. Attention is all you need. *Advances in neural information processing systems (NeurIPS 2017)*, 30, 2017.
|
| 415 |
+
- <span id="page-9-17"></span>Vielma, J. P. Mixed integer linear programming formulation techniques. *Siam Review*, 57(1):3–57, 2015.
|
| 416 |
+
- <span id="page-9-14"></span>Wang, Y., Jin, Z., Xu, J., Lin, W., Chen, Y., and Chen, W. Augserve: Adaptive request scheduling for augmented large language model inference serving. *arXiv preprint arXiv:2512.04013*, 2025.
|
| 417 |
+
- <span id="page-9-1"></span>Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., et al. Qwen3 technical report. *arXiv preprint arXiv:2505.09388*, 2025.
|
| 418 |
+
- <span id="page-9-21"></span>Yang, Z., Qi, P., Zhang, S., Bengio, Y., Cohen, W., Salakhutdinov, R., and Manning, C. D. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In *Proceedings of the 2018 conference on empirical methods in natural language processing*, pp. 2369–2380, 2018.
|
| 419 |
+
- <span id="page-9-6"></span>Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K. R., and Cao, Y. React: Synergizing reasoning and acting in language models. In *The eleventh international conference on learning representations (ICLR 2023)*, 2023.
|
| 420 |
+
- <span id="page-9-22"></span>Yu, G.-I., Jeong, J. S., Kim, G.-W., Kim, S., and Chun, B.- G. Orca: A distributed serving system for {Transformer-Based} generative models. In *16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22)*, pp. 521–538, 2022.
|
| 421 |
+
- <span id="page-9-7"></span>Yue, Z., Zhuang, H., Bai, A., Hui, K., Jagerman, R., Zeng, H., Qin, Z., Wang, D., Wang, X., and Bendersky, M. Inference scaling for long-context retrieval augmented generation. *arXiv preprint arXiv:2410.04343*, 2024.
|
| 422 |
+
- <span id="page-9-9"></span>Zhang, D., Wang, H., Liu, Y., Wei, X., Shan, Y., Chen, R., and Chen, H. Blitzscale: Fast and live large model autoscaling with o(1) host caching. In *19th USENIX Symposium on Operating Systems Design and Implementation (OSDI 25)*, pp. 275–293, 2025a.
|
| 423 |
+
- <span id="page-9-4"></span>Zhang, L., Jiang, Y., He, G., Chen, X., Lv, H., Yao, Q., Fu, F., and Chen, K. Efficient mixed-precision large language model inference with turbomind. *arXiv preprint arXiv:2508.15601*, 2025b.
|
| 424 |
+
- <span id="page-9-2"></span>Zheng, L., Yin, L., Xie, Z., Sun, C. L., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., et al.
|
| 425 |
+
|
| 426 |
+
{10}------------------------------------------------
|
| 427 |
+
|
| 428 |
+
Sglang: Efficient execution of structured language model programs. *Advances in neural information processing systems (NeurIPS 2024)*, 37:62557–62583, 2024.
|
| 429 |
+
|
| 430 |
+
<span id="page-10-0"></span>
|
| 431 |
+
|
| 432 |
+
Zhong, Y., Liu, S., Chen, J., Hu, J., Zhu, Y., Liu, X., Jin, X., and Zhang, H. Distserve: Disaggregating prefill and decoding for goodput-optimized large language model serving. In *18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24)*, pp. 193–210, 2024.
|
| 433 |
+
|
| 434 |
+
{11}------------------------------------------------
|
| 435 |
+
|
| 436 |
+
### A. More Details about Offline Planning
|
| 437 |
+
|
| 438 |
+
#### <span id="page-11-0"></span>A.1. Performance Simulation
|
| 439 |
+
|
| 440 |
+
<span id="page-11-3"></span>
|
| 441 |
+
|
| 442 |
+
The simulator generates simulated performance metrics (i.e., P95 latency) for various model deployment configurations.
|
| 443 |
+
|
| 444 |
+
**Simulator inputs.** In addition to the target model deployment configuration, the simulator requires three categories of inputs: (i) *Model specifications*, including the architecture type (e.g., dense or sparse) and parameter configurations (e.g., number of layers and hidden size); (ii) *Hardware characteristics*, encompassing GPU specifications such as memory capacity and inter-GPU communication bandwidth; and (iii) *Workload characteristics*, including request arrival rates and input/output sequence lengths. Collectively, these inputs enable the simulator to accurately model the serving behavior under specific deployment scenarios.
|
| 445 |
+
|
| 446 |
+
**Simulation process.** Given the aforementioned inputs, the simulation proceeds in two stages: The *profiling stage* and the *execution stage*. (i) The profiling stage is in the charge of the profiler mentioned in §3. It enumerates all operators within the model (including the Q, K, V linear projections, self-attention computations, and feed-forward layers) and profiles the execution time of each operator on the target hardware. (ii) During the execution stage, the simulator leverages the operator latencies obtained from the profiling stage to simulate the concurrent execution of multiple incoming requests. Key inference serving features, such as request dispatching (Katevenis et al., 1991), continuous batching (Yu et al., 2022), model replication (Li et al., 2023), and model parallelism (Shoeybi et al., 2019), are incorporated into this simulation process. The simulator ultimately outputs the P95 latency for the target model deployment configuration.
|
| 447 |
+
|
| 448 |
+
Simulation for phase splitting and KV retransmission. To accurately evaluate deployment scenarios involving prefill-decoding disaggregation and KV retransmission, we explicitly integrate these features into our simulator. (i) *Phase splitting*: The simulator supports deploying prefill and decoding replicas onto distinct GPU resources, enabling independent configurations of model parallelism and GPU allocation for each phase. The KV transmission latency between phases is modeled using the $\alpha$ - $\beta$ model (Hockney, 1994). (ii) *KV retransmission*: The simulator incorporates a decision-making mechanism to dynamically determine whether to offload incremental prefill to the prefill model replica or execute it locally on the decoding model replica. This mechanism implements the scheduling policy presented in §4.
|
| 449 |
+
|
| 450 |
+
#### <span id="page-11-1"></span>A.2. Time Cost of Planning
|
| 451 |
+
|
| 452 |
+
Figure 7 measures the time cost of our offline planning with different number of GPUs. Since the determination of deployment configuration is formulated as an Integer Linear Programming problem, it can be solved efficiently with existing solvers (Bolusani et al., 2024). Consequently, our planning finishes quickly, taking merely one minute over 256 GPUs. This represents a common cluster scale for LLM serving in many downstream applications.
|
| 453 |
+
|
| 454 |
+

|
| 455 |
+
|
| 456 |
+
Figure 7. Time cost offline planning with varying numbers of GPUs.
|
| 457 |
+
|
| 458 |
+
#### <span id="page-11-2"></span>A.3. Effectiveness of Planning
|
| 459 |
+
|
| 460 |
+
Table 2 shows the top-3 ranking of deployment configurations based on our planner's deduction and actual serving. It shows that our planner successfully finds out the optimal configuration that empirically achieves the best performance.
|
| 461 |
+
|
| 462 |
+
{12}------------------------------------------------
|
| 463 |
+
|
| 464 |
+
660 661 662 663 664 665 666
|
| 465 |
+
|
| 466 |
+
704
|
| 467 |
+
|
| 468 |
+
706
|
| 469 |
+
|
| 470 |
+
<span id="page-12-0"></span>*Table 2.* Top-3 model deployment configurations deduced by our planner and real-system serving. Across all experiments, our planner produces identical configurations to real-time serving.
|
| 471 |
+
|
| 472 |
+
| Model | Trace | Rank | Planner | | | Real-system Serving | | | | |
|
| 473 |
+
|--------------|-----------|------|---------|--|-----------------------------------------------------|---------------------|--|--|-----------------------------------------------------|--|
|
| 474 |
+
| Llama3.1-70B | | [#1] | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | |
|
| 475 |
+
| | DuReader | [#2] | | | P: <tp=2, dp="4">, D:<tp=8, dp="1"></tp=8,></tp=2,> | | | | P: <tp=2, dp="4">, D:<tp=8, dp="1"></tp=8,></tp=2,> | |
|
| 476 |
+
| | | [#3] | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 477 |
+
| | HotpotQA | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 478 |
+
| | | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 479 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 480 |
+
| | | [#1] | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | |
|
| 481 |
+
| | GAIA | [#2] | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 482 |
+
| | | [#3] | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | |
|
| 483 |
+
| | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 484 |
+
| | ToolBench | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 485 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 486 |
+
| Qwen3-32B | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 487 |
+
| | HotpotQA | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 488 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 489 |
+
| | | [#1] | | | P: <tp=4, dp="2">, D:<tp=4, dp="2"></tp=4,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=4, dp="2"></tp=4,></tp=4,> | |
|
| 490 |
+
| | DuReader | [#2] | | | P: <tp=4, dp="2">, D:<tp=2, dp="4"></tp=2,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=2, dp="4"></tp=2,></tp=4,> | |
|
| 491 |
+
| | | [#3] | | | P: <tp=2, dp="4">, D:<tp=4, dp="2"></tp=4,></tp=2,> | | | | P: <tp=2, dp="4">, D:<tp=4, dp="2"></tp=4,></tp=2,> | |
|
| 492 |
+
| | ToolBench | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 493 |
+
| | | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 494 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 495 |
+
| | | [#1] | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | |
|
| 496 |
+
| | GAIA | [#2] | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 497 |
+
| | | [#3] | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | |
|
| 498 |
+
| Mixtral-8x7B | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 499 |
+
| | HotpotQA | [#2] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 500 |
+
| | | [#3] | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | |
|
| 501 |
+
| | | [#1] | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 502 |
+
| | DuReader | [#2] | | | P: <tp=8, dp="1">, D:<tp=4, dp="2"></tp=4,></tp=8,> | | | | P: <tp=8, dp="1">, D:<tp=4, dp="2"></tp=4,></tp=8,> | |
|
| 503 |
+
| | | [#3] | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | |
|
| 504 |
+
| | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 505 |
+
| | ToolBench | [#2] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 506 |
+
| | | [#3] | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | |
|
| 507 |
+
| | | [#1] | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | |
|
| 508 |
+
| | GAIA | [#2] | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 509 |
+
| | | [#3] | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | |
|
| 510 |
+
|
| 511 |
+
{13}------------------------------------------------
|
| 512 |
+
|
| 513 |
+
## <span id="page-13-0"></span>**B.** More Details of Experiments
|
| 514 |
+
|
| 515 |
+
**Experimental traces.** The traces used in our experiments are generated from public datasets. In particular, for ToolBench<sup>6</sup> and GAIA<sup>7</sup>, we adopt publicly available traces to represent agentic workflows, while for HotpotQA and DuReader, we record one trace for each dataset by running iterative retrieval augmented generation (Yue et al., 2024) using Qwen3-32B, with each request invoking three retrieval calls.
|
| 516 |
+
|
| 517 |
+
#### More experimental results.
|
| 518 |
+
|
| 519 |
+
Figure 8 compares the average end-to-end latency of all counterparts. AMPD maintains low latencies that are comparable against Dynamo. Although Dynamo has lower latencies in some cases, the gap is small. More importantly, AMPD delivers substantial improvement in terms of SLO attainment (as evaluated in §7), which is essential for real-world serving.
|
| 520 |
+
|
| 521 |
+
<span id="page-13-3"></span>
|
| 522 |
+
|
| 523 |
+
Figure 8. The average end-to-end (E2E) latency, corresponding to the experiments in Figure 4.
|
| 524 |
+
|
| 525 |
+
<span id="page-13-1"></span><sup>6</sup>https://github.com/OpenBMB/ToolBench.git
|
| 526 |
+
|
| 527 |
+
<span id="page-13-2"></span>https://huggingface.co/datasets/PatronusAI/TRAIL
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/parse_report.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979",
|
| 3 |
+
"pipeline": "marker_non_llm_v3",
|
| 4 |
+
"parser": "marker_single",
|
| 5 |
+
"formats": [
|
| 6 |
+
"markdown",
|
| 7 |
+
"chunks"
|
| 8 |
+
],
|
| 9 |
+
"llm_enabled": false,
|
| 10 |
+
"pdf_path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/icml26_20260429_1952_duequeue/raw/8af66b7f-148e-4e46-958c-53d20970e979.pdf",
|
| 11 |
+
"pdf_sha256": "a3edaa52ce68158ab468558b2ed8d9d29ed02af82a54d0379b8bddc1fe63405c",
|
| 12 |
+
"bytes": 888900,
|
| 13 |
+
"source": "https://koala.science/storage/pdfs/8af66b7f-148e-4e46-958c-53d20970e979.pdf",
|
| 14 |
+
"page_count": 14,
|
| 15 |
+
"ok": true,
|
| 16 |
+
"elapsed_seconds": 176.65,
|
| 17 |
+
"paper2markdown_v3": {
|
| 18 |
+
"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979",
|
| 19 |
+
"pipeline": "Paper2Markdown-V3",
|
| 20 |
+
"ok": true,
|
| 21 |
+
"page_count": 14,
|
| 22 |
+
"chunk_count": 121,
|
| 23 |
+
"main_body_chunk_count": 102,
|
| 24 |
+
"appendix_chunk_count": 12,
|
| 25 |
+
"reference_chunk_count": 7,
|
| 26 |
+
"model_text_chars": 42074,
|
| 27 |
+
"raw_markdown_chars": 64518,
|
| 28 |
+
"sanitized_chars": 61162,
|
| 29 |
+
"page_provenance": {
|
| 30 |
+
"min_page": 1,
|
| 31 |
+
"max_page": 14,
|
| 32 |
+
"invalid_count": 0
|
| 33 |
+
},
|
| 34 |
+
"marker_block_type_counts": {
|
| 35 |
+
"Caption": 1,
|
| 36 |
+
"Equation": 5,
|
| 37 |
+
"FigureGroup": 6,
|
| 38 |
+
"Footnote": 8,
|
| 39 |
+
"ListGroup": 10,
|
| 40 |
+
"PageFooter": 14,
|
| 41 |
+
"PageHeader": 24,
|
| 42 |
+
"PictureGroup": 1,
|
| 43 |
+
"SectionHeader": 27,
|
| 44 |
+
"TableGroup": 2,
|
| 45 |
+
"Text": 306
|
| 46 |
+
},
|
| 47 |
+
"asset_count_raw": 7,
|
| 48 |
+
"asset_count_model_kept": 6,
|
| 49 |
+
"asset_count_rejected": 1,
|
| 50 |
+
"asset_reject_reasons": {
|
| 51 |
+
"extreme_aspect_ratio": 1,
|
| 52 |
+
"kept": 6
|
| 53 |
+
},
|
| 54 |
+
"artifact_leak_audit": {
|
| 55 |
+
"ok": true,
|
| 56 |
+
"hits": {
|
| 57 |
+
"Anonymous Authors": [],
|
| 58 |
+
"ACKNOWLEDGMENT": [],
|
| 59 |
+
"OpenReview": [],
|
| 60 |
+
"\"accept_label\"": [],
|
| 61 |
+
"\"decision\"": [],
|
| 62 |
+
"\"decision_tier\"": [],
|
| 63 |
+
"\"source_status\"": [],
|
| 64 |
+
"Meta-review": [],
|
| 65 |
+
"Official Review": [],
|
| 66 |
+
"official_reviews": [],
|
| 67 |
+
"meta_reviews": [],
|
| 68 |
+
"suggested_verdict_score": []
|
| 69 |
+
},
|
| 70 |
+
"artifact_count": 2
|
| 71 |
+
},
|
| 72 |
+
"default_model_input": "model_text_v3.txt",
|
| 73 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 74 |
+
"reference_input": "reference_text_v3.txt"
|
| 75 |
+
}
|
| 76 |
+
}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/reference_chunks.jsonl
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0102", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Abhyankar, R., He, Z., Srivatsa, V., Zhang, H., and Zhang, Y. Infercept: efficient intercept support for augmented large language model inference. In Proceedings of the 41st International Conference on Machine Learning , pp. 81–95, 2024. Bolusani, S., Besanc¸on, M., Bestuzheva, K., Chmiela, A., Dion´ısio, J., Donkiewicz, T., van Doornmalen, J., Eifler, L., Ghannam, M., Gleixner, A., et al. The scip optimization suite 9.0. arXiv preprint arXiv:2402.17702 , 2024. Chen, S., Wang, Y., Wu, Y.-F., Chen, Q., Xu, Z., Luo, W., Zhang, K., and Zhang, L. Advancing tool-augmented large language models: Integrating insights from errors in inference trees. Advances in Neural Information Process ing Systems (NeurIPS 2024) , 37:106555–106581, 2024. Dong, X., Liu, T., Zeng, Y., Liu, L., Liu, Y., Wu, S., Wu, Y., Yang, H., Zhang, K., and Li, J. Hydrainfer: Hybrid disaggregated scheduling for multimodal large language model serving. arXiv preprint arXiv:2505.12658 , 2025. Go, H. and Park, S. A study on classification based concurrent api calls and optimal model combination for tool augmented llms for ai agent. Scientific Reports , 15(1): 20579, 2025. Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783 , 2024. Guo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., et al. Deepseekr1 incentivizes reasoning in llms through reinforcement learning. Nature , 645(8081):633–638, 2025. Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. Stabletoolbench: Towards stable large-scale benchmarking on tool learning of large language models. arXiv preprint arXiv:2403.07714 , 2024. He, W., Liu, K., Liu, J., Lyu, Y., Zhao, S., Xiao, X., Liu, Y., Wang, Y., Wu, H., She, Q., et al. Dureader: a chinese machine reading comprehension dataset from real-world applications. In Proceedings of the workshop on machine reading for question answering , pp. 37–46, 2018. Hockney, R. W. The communication challenge for mpp: Intel paragon and meiko cs-2. Parallel computing , 20(3): 389–398, 1994. Hu, C., Huang, H., Xu, L., Chen, X., Xu, J., Chen, S., Feng, H., Wang, C., Wang, S., Bao, Y., et al. Inference without interference: Disaggregate llm inference for mixed downstream workloads. arXiv preprint arXiv:2401.11181 , 2024.", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/540"}
|
| 2 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0103", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Huangfu, Q. and Hall, J. J. Parallelizing the dual revised simplex method. Mathematical Programming Computa tion , 10(1):119–142, 2018. Jiang, A. Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D. S., Casas, D. d. l., Hanna, E. B., Bressand, F., et al. Mixtral of experts. arXiv preprint arXiv:2401.04088 , 2024. JIANG, Y., Fu, F., Yao, X., Wang, T., CUI, B., Klimovic, A., and Yoneki, E. Thunderserve: High-performance and cost-efficient llm serving in cloud environments. In Eighth Conference on Machine Learning and Systems (MLSys 2025) . Jin, B., Zeng, H., Yue, Z., Yoon, J., Arik, S., Wang, D., Zamani, H., and Han, J. Search-r1: Training llms to reason and leverage search engines with reinforcement learning. arXiv preprint arXiv:2503.09516 , 2025. Katevenis, M., Sidiropoulos, S., and Courcoubetis, C. Weighted round-robin cell multiplexing in a generalpurpose atm switch chip. IEEE Journal on selected Areas in Communications , 9(8):1265–1279, 1991. Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th sympo sium on operating systems principles (SOSP 2023) , pp. 611–626, 2023. Lai, R., Liu, H., Lu, C., Liu, Z., Cao, S., Shao, S., Zhang, Y., Mai, L., and Ustiugov, D. Tokenscale: Timely and accurate autoscaling for disaggregated llm serving with token velocity. arXiv preprint arXiv:2512.03416 , 2025. Li, H., Mang, Q., He, R., Zhang, Q., Mao, H., Chen, X., Cheung, A., Gonzalez, J., and Stoica, I. Continuum: Efficient and robust multi-turn llm agent scheduling with kv cache time-to-live. arXiv preprint arXiv:2511.02230 , 2025. Li, Z., Zheng, L., Zhong, Y., Liu, V., Sheng, Y., Jin, X., Huang, Y., Chen, Z., Zhang, H., Gonzalez, J. E., et al. {AlpaServe}: Statistical multiplexing with model parallelism for deep learning serving. In 17th USENIX Sympo sium on Operating Systems Design and Implementation (OSDI 23) , pp. 663–679, 2023. Liu, A., Feng, B., Xue, B., Wang, B., Wu, B., Lu, C., Zhao, C., Deng, C., Zhang, C., Ruan, C., et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437 , 2024. Mialon, G., Dess`ı, R., Lomeli, M., Nalmpantis, C., Pasunuru, R., Raileanu, R., Roziere, B., Schick, T., Dwivedi- ` Yu, J., Celikyilmaz, A., et al. Augmented language models: a survey. arXiv preprint arXiv:2302.07842 , 2023.", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/541"}
|
| 3 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0104", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "495 496 497 498 Mialon, G., Fourrier, C., Wolf, T., LeCun, Y., and Scialom, T. Gaia: a benchmark for general ai assistants. In The Twelfth International Conference on Learning Represen tations (ICLR 2024) , 2024.", "source": "marker_v2", "marker_block_id": "/page/9/Text/494"}
|
| 4 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0105", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "NVIDIA. Nvidia dynamo documentation: Kv router. latest/router/README.html , 2026a. NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. ai-dynamo/dynamo , 2026b. NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. ai-dynamo/nixl , 2026c. Pan, Z., PATEL, A., Shen, Y., Hu, Z., Guan, Y., Li, W.-L., Qin, L., Wang, Y., and Ding, Y. Kvflow: Efficient prefix caching for accelerating llm-based multi-agent workflows. In The Thirty-ninth Annual Conference on Neural Infor mation Processing Systems (NeurIPS 2025) , 2025. Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, ´I., Maleki, S., and Bianchini, R. Splitwise: Efficient generative llm inference using phase splitting. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architec ture (ISCA 2024) , pp. 118–132. IEEE, 2024. Pisinger, D. and Toth, P. Knapsack problems. In Handbook of Combinatorial Optimization: Volume1–3 , pp. 299–428. Springer, 1998. Qin, R., Li, Z., He, W., Cui, J., Ren, F., Zhang, M., Wu, Y., Zheng, W., and Xu, X. Mooncake: Trading more storage for less computation—a kvcache-centric architecture for serving llm chatbot. In 23rd USENIX Conference on File and Storage Technologies (FAST 25) , pp. 155–170, 2025. Shahout, R., Liang, C., Xin, S., Lao, Q., Cui, Y., Yu, M., and Mitzenmacher, M. Fast inference for augmented large language models. In The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025) , 2025. Shao, Z., Gong, Y., Shen, Y., Huang, M., Duan, N., and Chen, W. Enhancing retrieval-augmented large language models with iterative retrieval-generation synergy. arXiv preprint arXiv:2305.15294 , 2023. Shoeybi, M., Patwary, M., Puri, R., LeGresley, P., Casper, J., and Catanzaro, B. Megatron-lm: Training multibillion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053 , 2019.", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/492"}
|
| 5 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0106", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "Singh, G., Wang, X., Hu, Y., Yu, T. T. L., Xing, L., Jiang, W., Wang, Z., Xiaolong, B., Li, Y., Xiong, Y., et al. Efficiently serving large multimodal models using epd disaggregation. In Forty-second International Conference on Machine Learning (ICML 2025) , 2025. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. Attention is all you need. Advances in neural information processing systems (NeurIPS 2017) , 30, 2017. Vielma, J. P. Mixed integer linear programming formulation techniques. Siam Review , 57(1):3–57, 2015. Wang, Y., Jin, Z., Xu, J., Lin, W., Chen, Y., and Chen, W. Augserve: Adaptive request scheduling for augmented large language model inference serving. arXiv preprint arXiv:2512.04013 , 2025. Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388 , 2025. Yang, Z., Qi, P., Zhang, S., Bengio, Y., Cohen, W., Salakhutdinov, R., and Manning, C. D. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing , pp. 2369–2380, 2018. Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K. R., and Cao, Y. React: Synergizing reasoning and acting in language models. In The eleventh international con ference on learning representations (ICLR 2023) , 2023. Yu, G.-I., Jeong, J. S., Kim, G.-W., Kim, S., and Chun, B.- G. Orca: A distributed serving system for {Transformer-Based} generative models. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22) , pp. 521–538, 2022. Yue, Z., Zhuang, H., Bai, A., Hui, K., Jagerman, R., Zeng, H., Qin, Z., Wang, D., Wang, X., and Bendersky, M. Inference scaling for long-context retrieval augmented generation. arXiv preprint arXiv:2410.04343 , 2024. Zhang, D., Wang, H., Liu, Y., Wei, X., Shan, Y., Chen, R., and Chen, H. Blitzscale: Fast and live large model autoscaling with o(1) host caching. In 19th USENIX Sym posium on Operating Systems Design and Implementation (OSDI 25) , pp. 275–293, 2025a. Zhang, L., Jiang, Y., He, G., Chen, X., Lv, H., Yao, Q., Fu, F., and Chen, K. Efficient mixed-precision large language model inference with turbomind. arXiv preprint arXiv:2508.15601 , 2025b. Zheng, L., Yin, L., Xie, Z., Sun, C. L., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., et al.", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/493"}
|
| 6 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0107", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Sglang: Efficient execution of structured language model programs. Advances in neural information processing systems (NeurIPS 2024) , 37:62557–62583, 2024.", "source": "marker_v2", "marker_block_id": "/page/10/Text/1"}
|
| 7 |
+
{"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979", "chunk_id": "8af66b7f-148e-4e46-958c-53d20970e979:0108", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Zhong, Y., Liu, S., Chen, J., Hu, J., Zhu, Y., Liu, X., Jin, X., and Zhang, H. Distserve: Disaggregating prefill and decoding for goodput-optimized large language model serving. In 18th USENIX Symposium on Operating Sys tems Design and Implementation (OSDI 24) , pp. 193–210, 2024.", "source": "marker_v2", "marker_block_id": "/page/10/Text/3"}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/reference_text_v3.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 9 | section: References | type: ListGroup]
|
| 2 |
+
Abhyankar, R., He, Z., Srivatsa, V., Zhang, H., and Zhang, Y. Infercept: efficient intercept support for augmented large language model inference. In Proceedings of the 41st International Conference on Machine Learning , pp. 81–95, 2024. Bolusani, S., Besanc¸on, M., Bestuzheva, K., Chmiela, A., Dion´ısio, J., Donkiewicz, T., van Doornmalen, J., Eifler, L., Ghannam, M., Gleixner, A., et al. The scip optimization suite 9.0. arXiv preprint arXiv:2402.17702 , 2024. Chen, S., Wang, Y., Wu, Y.-F., Chen, Q., Xu, Z., Luo, W., Zhang, K., and Zhang, L. Advancing tool-augmented large language models: Integrating insights from errors in inference trees. Advances in Neural Information Process ing Systems (NeurIPS 2024) , 37:106555–106581, 2024. Dong, X., Liu, T., Zeng, Y., Liu, L., Liu, Y., Wu, S., Wu, Y., Yang, H., Zhang, K., and Li, J. Hydrainfer: Hybrid disaggregated scheduling for multimodal large language model serving. arXiv preprint arXiv:2505.12658 , 2025. Go, H. and Park, S. A study on classification based concurrent api calls and optimal model combination for tool augmented llms for ai agent. Scientific Reports , 15(1): 20579, 2025. Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783 , 2024. Guo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., et al. Deepseekr1 incentivizes reasoning in llms through reinforcement learning. Nature , 645(8081):633–638, 2025. Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. Stabletoolbench: Towards stable large-scale benchmarking on tool learning of large language models. arXiv preprint arXiv:2403.07714 , 2024. He, W., Liu, K., Liu, J., Lyu, Y., Zhao, S., Xiao, X., Liu, Y., Wang, Y., Wu, H., She, Q., et al. Dureader: a chinese machine reading comprehension dataset from real-world applications. In Proceedings of the workshop on machine reading for question answering , pp. 37–46, 2018. Hockney, R. W. The communication challenge for mpp: Intel paragon and meiko cs-2. Parallel computing , 20(3): 389–398, 1994. Hu, C., Huang, H., Xu, L., Chen, X., Xu, J., Chen, S., Feng, H., Wang, C., Wang, S., Bao, Y., et al. Inference without interference: Disaggregate llm inference for mixed downstream workloads. arXiv preprint arXiv:2401.11181 , 2024.
|
| 3 |
+
|
| 4 |
+
[p. 9 | section: References | type: ListGroup]
|
| 5 |
+
Huangfu, Q. and Hall, J. J. Parallelizing the dual revised simplex method. Mathematical Programming Computa tion , 10(1):119–142, 2018. Jiang, A. Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D. S., Casas, D. d. l., Hanna, E. B., Bressand, F., et al. Mixtral of experts. arXiv preprint arXiv:2401.04088 , 2024. JIANG, Y., Fu, F., Yao, X., Wang, T., CUI, B., Klimovic, A., and Yoneki, E. Thunderserve: High-performance and cost-efficient llm serving in cloud environments. In Eighth Conference on Machine Learning and Systems (MLSys 2025) . Jin, B., Zeng, H., Yue, Z., Yoon, J., Arik, S., Wang, D., Zamani, H., and Han, J. Search-r1: Training llms to reason and leverage search engines with reinforcement learning. arXiv preprint arXiv:2503.09516 , 2025. Katevenis, M., Sidiropoulos, S., and Courcoubetis, C. Weighted round-robin cell multiplexing in a generalpurpose atm switch chip. IEEE Journal on selected Areas in Communications , 9(8):1265–1279, 1991. Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th sympo sium on operating systems principles (SOSP 2023) , pp. 611–626, 2023. Lai, R., Liu, H., Lu, C., Liu, Z., Cao, S., Shao, S., Zhang, Y., Mai, L., and Ustiugov, D. Tokenscale: Timely and accurate autoscaling for disaggregated llm serving with token velocity. arXiv preprint arXiv:2512.03416 , 2025. Li, H., Mang, Q., He, R., Zhang, Q., Mao, H., Chen, X., Cheung, A., Gonzalez, J., and Stoica, I. Continuum: Efficient and robust multi-turn llm agent scheduling with kv cache time-to-live. arXiv preprint arXiv:2511.02230 , 2025. Li, Z., Zheng, L., Zhong, Y., Liu, V., Sheng, Y., Jin, X., Huang, Y., Chen, Z., Zhang, H., Gonzalez, J. E., et al. {AlpaServe}: Statistical multiplexing with model parallelism for deep learning serving. In 17th USENIX Sympo sium on Operating Systems Design and Implementation (OSDI 23) , pp. 663–679, 2023. Liu, A., Feng, B., Xue, B., Wang, B., Wu, B., Lu, C., Zhao, C., Deng, C., Zhang, C., Ruan, C., et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437 , 2024. Mialon, G., Dess`ı, R., Lomeli, M., Nalmpantis, C., Pasunuru, R., Raileanu, R., Roziere, B., Schick, T., Dwivedi- ` Yu, J., Celikyilmaz, A., et al. Augmented language models: a survey. arXiv preprint arXiv:2302.07842 , 2023.
|
| 6 |
+
|
| 7 |
+
[p. 10 | section: References | type: Text]
|
| 8 |
+
495 496 497 498 Mialon, G., Fourrier, C., Wolf, T., LeCun, Y., and Scialom, T. Gaia: a benchmark for general ai assistants. In The Twelfth International Conference on Learning Represen tations (ICLR 2024) , 2024.
|
| 9 |
+
|
| 10 |
+
[p. 10 | section: References | type: ListGroup]
|
| 11 |
+
NVIDIA. Nvidia dynamo documentation: Kv router. latest/router/README.html , 2026a. NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. ai-dynamo/dynamo , 2026b. NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. ai-dynamo/nixl , 2026c. Pan, Z., PATEL, A., Shen, Y., Hu, Z., Guan, Y., Li, W.-L., Qin, L., Wang, Y., and Ding, Y. Kvflow: Efficient prefix caching for accelerating llm-based multi-agent workflows. In The Thirty-ninth Annual Conference on Neural Infor mation Processing Systems (NeurIPS 2025) , 2025. Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, ´I., Maleki, S., and Bianchini, R. Splitwise: Efficient generative llm inference using phase splitting. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architec ture (ISCA 2024) , pp. 118–132. IEEE, 2024. Pisinger, D. and Toth, P. Knapsack problems. In Handbook of Combinatorial Optimization: Volume1–3 , pp. 299–428. Springer, 1998. Qin, R., Li, Z., He, W., Cui, J., Ren, F., Zhang, M., Wu, Y., Zheng, W., and Xu, X. Mooncake: Trading more storage for less computation—a kvcache-centric architecture for serving llm chatbot. In 23rd USENIX Conference on File and Storage Technologies (FAST 25) , pp. 155–170, 2025. Shahout, R., Liang, C., Xin, S., Lao, Q., Cui, Y., Yu, M., and Mitzenmacher, M. Fast inference for augmented large language models. In The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025) , 2025. Shao, Z., Gong, Y., Shen, Y., Huang, M., Duan, N., and Chen, W. Enhancing retrieval-augmented large language models with iterative retrieval-generation synergy. arXiv preprint arXiv:2305.15294 , 2023. Shoeybi, M., Patwary, M., Puri, R., LeGresley, P., Casper, J., and Catanzaro, B. Megatron-lm: Training multibillion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053 , 2019.
|
| 12 |
+
|
| 13 |
+
[p. 10 | section: References | type: ListGroup]
|
| 14 |
+
Singh, G., Wang, X., Hu, Y., Yu, T. T. L., Xing, L., Jiang, W., Wang, Z., Xiaolong, B., Li, Y., Xiong, Y., et al. Efficiently serving large multimodal models using epd disaggregation. In Forty-second International Conference on Machine Learning (ICML 2025) , 2025. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. Attention is all you need. Advances in neural information processing systems (NeurIPS 2017) , 30, 2017. Vielma, J. P. Mixed integer linear programming formulation techniques. Siam Review , 57(1):3–57, 2015. Wang, Y., Jin, Z., Xu, J., Lin, W., Chen, Y., and Chen, W. Augserve: Adaptive request scheduling for augmented large language model inference serving. arXiv preprint arXiv:2512.04013 , 2025. Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388 , 2025. Yang, Z., Qi, P., Zhang, S., Bengio, Y., Cohen, W., Salakhutdinov, R., and Manning, C. D. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing , pp. 2369–2380, 2018. Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K. R., and Cao, Y. React: Synergizing reasoning and acting in language models. In The eleventh international con ference on learning representations (ICLR 2023) , 2023. Yu, G.-I., Jeong, J. S., Kim, G.-W., Kim, S., and Chun, B.- G. Orca: A distributed serving system for {Transformer-Based} generative models. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22) , pp. 521–538, 2022. Yue, Z., Zhuang, H., Bai, A., Hui, K., Jagerman, R., Zeng, H., Qin, Z., Wang, D., Wang, X., and Bendersky, M. Inference scaling for long-context retrieval augmented generation. arXiv preprint arXiv:2410.04343 , 2024. Zhang, D., Wang, H., Liu, Y., Wei, X., Shan, Y., Chen, R., and Chen, H. Blitzscale: Fast and live large model autoscaling with o(1) host caching. In 19th USENIX Sym posium on Operating Systems Design and Implementation (OSDI 25) , pp. 275–293, 2025a. Zhang, L., Jiang, Y., He, G., Chen, X., Lv, H., Yao, Q., Fu, F., and Chen, K. Efficient mixed-precision large language model inference with turbomind. arXiv preprint arXiv:2508.15601 , 2025b. Zheng, L., Yin, L., Xie, Z., Sun, C. L., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., et al.
|
| 15 |
+
|
| 16 |
+
[p. 11 | section: References | type: Text]
|
| 17 |
+
Sglang: Efficient execution of structured language model programs. Advances in neural information processing systems (NeurIPS 2024) , 37:62557–62583, 2024.
|
| 18 |
+
|
| 19 |
+
[p. 11 | section: References | type: Text]
|
| 20 |
+
Zhong, Y., Liu, S., Chen, J., Hu, J., Zhu, Y., Liu, X., Jin, X., and Zhang, H. Distserve: Disaggregating prefill and decoding for goodput-optimized large language model serving. In 18th USENIX Symposium on Operating Sys tems Design and Implementation (OSDI 24) , pp. 193–210, 2024.
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/sanitization_report.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "8af66b7f-148e-4e46-958c-53d20970e979",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 14,
|
| 6 |
+
"chunk_count": 121,
|
| 7 |
+
"main_body_chunk_count": 102,
|
| 8 |
+
"appendix_chunk_count": 12,
|
| 9 |
+
"reference_chunk_count": 7,
|
| 10 |
+
"model_text_chars": 42074,
|
| 11 |
+
"raw_markdown_chars": 64518,
|
| 12 |
+
"sanitized_chars": 61162,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 14,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 1,
|
| 20 |
+
"Equation": 5,
|
| 21 |
+
"FigureGroup": 6,
|
| 22 |
+
"Footnote": 8,
|
| 23 |
+
"ListGroup": 10,
|
| 24 |
+
"PageFooter": 14,
|
| 25 |
+
"PageHeader": 24,
|
| 26 |
+
"PictureGroup": 1,
|
| 27 |
+
"SectionHeader": 27,
|
| 28 |
+
"TableGroup": 2,
|
| 29 |
+
"Text": 306
|
| 30 |
+
},
|
| 31 |
+
"asset_count_raw": 7,
|
| 32 |
+
"asset_count_model_kept": 6,
|
| 33 |
+
"asset_count_rejected": 1,
|
| 34 |
+
"asset_reject_reasons": {
|
| 35 |
+
"extreme_aspect_ratio": 1,
|
| 36 |
+
"kept": 6
|
| 37 |
+
},
|
| 38 |
+
"artifact_leak_audit": {
|
| 39 |
+
"ok": true,
|
| 40 |
+
"hits": {
|
| 41 |
+
"Anonymous Authors": [],
|
| 42 |
+
"ACKNOWLEDGMENT": [],
|
| 43 |
+
"OpenReview": [],
|
| 44 |
+
"\"accept_label\"": [],
|
| 45 |
+
"\"decision\"": [],
|
| 46 |
+
"\"decision_tier\"": [],
|
| 47 |
+
"\"source_status\"": [],
|
| 48 |
+
"Meta-review": [],
|
| 49 |
+
"Official Review": [],
|
| 50 |
+
"official_reviews": [],
|
| 51 |
+
"meta_reviews": [],
|
| 52 |
+
"suggested_verdict_score": []
|
| 53 |
+
},
|
| 54 |
+
"artifact_count": 2
|
| 55 |
+
},
|
| 56 |
+
"default_model_input": "model_text_v3.txt",
|
| 57 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 58 |
+
"reference_input": "reference_text_v3.txt"
|
| 59 |
+
}
|
icml26/8af66b7f-148e-4e46-958c-53d20970e979/sanitized_v3.txt
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{0}
|
| 2 |
+
#### **Abstract**
|
| 3 |
+
With the rapid evolution of Large Language Models (LLMs), multi-round workflows, such as autonomous agents and iterative retrieval, have become increasingly prevalent. However, this raises hurdles for serving LLMs under prefill-decode (PD) disaggregation, a widely adopted paradigm that separates the compute-bound prefill phase and memory-bound decode phase onto individual resources. Specifically, existing systems overlook the interleaved prefill-decode workload pattern in multi-round inference, leading to sub-optimal handling of the incremental prefill workloads and model deployment for the two phases.
|
| 4 |
+
In this work, we present AMPD, a brand new disaggregated serving framework for multi-round LLM inference. The core of AMPD is to coordinate the prefill workloads based on real-time workloads by adaptively determining where to carry out these workloads and how they are scheduled, in order to maximize service level objective (SLO) attainment. In addition, we tailor a planning algorithm for our scenario, facilitating the deduction of optimal resource allocation and parallel strategies for the two phases. Empirical results demonstrate that AMPD substantially improves SLO attainment compared to state-of-the-art baselines.
|
| 5 |
+
#### 1. Introduction
|
| 6 |
+
Recent years have witnessed the remarkable success of Large Language Models (LLMs), demonstrating exceptional capabilities in natural language understanding and generation (Vaswani et al., 2017; Guo et al., 2025; Yang et al., 2025). Nowadays, LLMs have been widely deployed across diverse domains, ranging from code generation to creative writing. As these application scenarios continue to
|
| 7 |
+
<span id="page-0-0"></span>
|
| 8 |
+
Figure 1. Illustration of multi-round LLM inference.
|
| 9 |
+
scale, how to deploy and serve LLMs efficiently has become critical for both academia and industry (Kwon et al., 2023; Zheng et al., 2024; NVIDIA, 2026b; Zhang et al., 2025b).
|
| 10 |
+
Generally, given a request, the LLM inference comprises two sequential phases: prefill and decode. The prefill phase processes the entire input prompt at once to compute the Key-Value (KV) cache, exhibiting compute-bound characteristics. In contrast, the decode phase generates tokens step-by-step auto-regressively, which is highly memorybound. Given this distinct workload discrepancy, colocating both phases on the same hardware resources often leads to prefill-decode interference (a.k.a. resource contention) and low utilization. To address this, the prefill-decode (PD) disaggregation paradigm has emerged as a widely adopted solution (Zhong et al., 2024; Patel et al., 2024; Hu et al., 2024). By separating prefill and decode phases onto distinct hardware resources, PD disaggregation significantly improves LLM serving throughput and resource efficiency.
|
| 11 |
+
To accommodate more complex tasks, LLM inference has moved beyond single-shot responses to multi-round LLM workflows. Representative examples include autonomous agents (Yao et al., 2023) and iterative retrieval-augmented generation (RAG) (Yue et al., 2024), where the model continuously interacts with external environments (e.g., by functional calls). As shown in Figure 1, unlike single-shot inference, these workflows require treating (part of, if not all) the output of environmental interactions as the input of subsequent generation. Consequently, from the perspective of LLM inference, these workflows necessitate an interleaved prefill-decode pattern, where incremental prefill computations occur between decoding steps throughout the inference process of a request.
|
| 12 |
+
Although research efforts have been made in both PD disaggregation and multi-round inference acceleration individually, the integration of them remains under-explored.
|
| 13 |
+
{1}------------------------------------------------
|
| 14 |
+
Essentially, we identify that existing serving systems suffer from two critical limitations when applying PD disaggregation to multi-round workflows.
|
| 15 |
+
108 109 The first is the *lack of adaptive scheduling*. Specifically, in addition to the initial prefill and decode tasks, multi-round LLM inference further necessitates carrying out incremental prefill tasks (i.e., the prefill computations for subsequent rounds). To mitigate PD interference, all prefill[1](#page-1-0) tasks are expected to be routed to the prefill instance(s). However, to meet service level objectives (SLOs), the serving system must dynamically decide two factors based on real-time workloads: (1) Whether an incremental prefill task should be executed locally on the decode instance, and if no, which prefill instance it should be routed to. (2) How to schedule the tasks on each prefill instance to cope with the increased burden brought by incremental prefill tasks. Existing systems lack adaptive mechanisms to handle these decisions to improve serving efficiency.
|
| 16 |
+
Secondly, there is a *lack of awareness for model deployment*. Specifically, the optimal configuration for model deployment (including resource allocation and parallel strategy) is strongly related to the workload characteristics. However, previous works determine the model deployment of each phase by merely considering the lengths of input prompts and output responses, which depict the prefill and decode workloads in single-round inference. Undoubtedly, this fails to take account of the unique interleaved workload pattern of multi-round inference, leading to sub-optimal resource provision and parallelism strategy deduction.
|
| 17 |
+
To fill this gap, this work presents AMPD, a novel serving framework for Adaptive Multi-round workflows with PD disaggregation by optimizing the runtime scheduling and deployment strategy. The technical contributions of this work are summarized as follows:
|
| 18 |
+
- We propose a runtime scheduling that addresses the unique interleaved workload pattern of multi-round inference. It consists of an adaptive routing strategy that dynamically decides where to execute prefill tasks based on real-time system loads, as well as a prefill reordering policy that optimizes the execution order of queuing tasks to maximize SLO attainment.
|
| 19 |
+
- We develop an offline deployment planner that formulates the determination of resource allocation and parallel strategies as an integer linear programming problem, and solves it to deduce the optimal deployment configuration.
|
| 20 |
+
- We implement AMPD and evaluate it across diverse multiround workloads. Extensive empirical results demon-
|
| 21 |
+
strate that AMPD improves SLO attainment by 67.29%- 339.74% on average compared to both co-located and disaggregated baselines.
|
| 22 |
+
## 2. Preliminaries and Related Works
|
| 23 |
+
Prefill-decode disaggregation. LLM inference consists of the compute-intensive prefill phase and the memorybound decode phase. The time cost of first-token responsiveness, namely Time-to-First-Token (TTFT)[2](#page-1-1) , is dominated by the prefill phase, while the per-token generation time, namely Inter-Token Latency (ITL), is related to each decode step. In traditional LLM serving systems that co-locate both phases on the same GPU resources, the resource contention between the two phases leads to significant interference. Prefill-decode (PD) disaggregation [\(Zhong et al.,](#page-10-0) [2024;](#page-10-0) [Pa](#page-9-5)[tel et al.,](#page-9-5) [2024;](#page-9-5) [Hu et al.,](#page-8-2) [2024\)](#page-8-2) is a promising technique to address such PD interference by dedicating GPU resources for each phase. Consequently, PD disaggregation has been widely adopted in LLM serving [\(Qin et al.,](#page-9-8) [2025;](#page-9-8) [Liu et al.,](#page-8-3) [2024\)](#page-8-3), and many efforts have been devoted to optimizing PD disaggregation from various aspects, including elastic scaling [\(Zhang et al.,](#page-9-9) [2025a;](#page-9-9) [Lai et al.,](#page-8-4) [2025\)](#page-8-4), mixed-GPU support [\(JIANG et al.\)](#page-8-5), and multi-modal support [\(Singh](#page-9-10) [et al.,](#page-9-10) [2025;](#page-9-10) [Dong et al.,](#page-8-6) [2025\)](#page-8-6). However, these works on PD disaggregation predominantly target single-round LLM inference, while our work has a different goal and can be incorporated with existing optimizations.
|
| 24 |
+
Multi-round LLM workflows. The capability of LLMs has evolved from simple, one-shot answering to complex, multiround workflows. There are two representative scenarios. The first is autonomous agents, typically represented by the ReAct-style agentic workflows, which enable agents to interleave reasoning (LLM generation) with acting (tool use) [\(Yao et al.,](#page-9-6) [2023;](#page-9-6) [Mialon et al.,](#page-8-7) [2023;](#page-8-7) [Go & Park,](#page-8-8) [2025;](#page-8-8) [Chen et al.,](#page-8-9) [2024\)](#page-8-9). The second is iterative retrievalaugmented generation [\(Shao et al.,](#page-9-11) [2023;](#page-9-11) [Yue et al.,](#page-9-7) [2024;](#page-9-7) [Jin et al.,](#page-8-10) [2025\)](#page-8-10), which actively retrieves new documents during generation to correct or refine the output. From the serving system's perspective, these multi-round workflows generate interleaved prefill-decode workloads.
|
| 25 |
+
System optimizations for multi-round inference. Recent works have proposed optimizations for multi-round LLM workflows. InferCept [\(Abhyankar et al.,](#page-8-11) [2024\)](#page-8-11) incorporates the discard, swap, and preserve operations when managing the history KV cache to reduce recomputation wastes. KVFlow [\(Pan et al.,](#page-9-12) [2025\)](#page-9-12) tailors the prefix caching for multi-agent workflows, allowing different agents to share common prefixes and thereby reduces redundant computation. vLLM-Continuum [\(Li et al.,](#page-8-12) [2025\)](#page-8-12) predicts the duration of the environmental interactions and decides
|
| 26 |
+
<span id="page-1-0"></span><sup>1</sup>Throughout this work, we explicitly distinguish "initial prefill" and "incremental prefill" when necessary. Unless specified otherwise, the term "prefill" refers to either or both variants.
|
| 27 |
+
<span id="page-1-1"></span>In this work, we use TTFT to measure the latency of both initial and incremental prefill.
|
| 28 |
+
{2}------------------------------------------------
|
| 29 |
+
whether to retain the KV cache via a time-to-live mechanism. MARS [\(Shahout et al.,](#page-9-13) [2025\)](#page-9-13) and AugServe [\(Wang et al.,](#page-9-14) [2025\)](#page-9-14) predict the output lengths and memory consumption respectively in multi-round LLM inference, and leverage such information to guide the scheduling of requests.
|
| 30 |
+
Although these works focus on how to optimize system performance for multi-round workflows, all of them are designed under the co-located serving paradigm. To achieve the holistic integration of multi-round workflows and PD disaggregation, there exist unexplored challenges of complex real-time task routing and scheduling as well as the disaggregated deployment configurations.
|
| 31 |
+
## <span id="page-2-3"></span>3. System Overview
|
| 32 |
+
Figure [2](#page-2-0) illustrates the overview of AMPD, which comprises offline and online stages.
|
| 33 |
+
Offline stage. The offline stage profiles the workload characteristics and conducts the model deployment planning.
|
| 34 |
+
The *profiler* is responsible for measuring the execution time of different workloads, constructing a *performance model* for both our offline deployment planner and online adaptive scheduling. We adopt a piecewise α-β model to capture the performance characteristics of three types of tasks and form three time cost functions: (i) Tpre(lhist, lincr; θ), which estimates the time cost of prefilling with history length lhist and incremental input length lincr under parallelism strategy θ (initial prefill tasks are associated with a history length of zero), (ii) Tdec(b; θ), which estimates the time cost of decoding with batch size b under parallelism strategy θ, and (iii) Tkv(lctx; θsrc, θdst), which estimates the time cost of transmitting KV cache with context length lctx across the <span id="page-2-0"></span>source and destination parallelism strategies (θsrc → θdst).
|
| 35 |
+
The *planner* determines the optimal model deployment configuration (including the resource allocation and parallelism strategies for the two phases) prior to serving, by formulating and solving an *integer linear programming* problem.
|
| 36 |
+
Online stage. The online stage consists of two major components, namely the coordinator and workers.
|
| 37 |
+
The *coordinator* is in charge of the assignment of different tasks based on the real-time system loads.
|
| 38 |
+
The *prefill and decode workers* correspond to the two phases, respectively, maintaining task queues that record the metadata of pending tasks. Besides, each prefill/decode worker keeps recording its windowed TTFT/ITL statistic (by default, the average TTFT/ITL within the past 10 seconds). Furthermore, to facilitate up-to-date coordination, we implement these queues and windowed statistics with distributed shared memory so that they are globally accessible.
|
| 39 |
+
*Overall workflow.* During the online serving, the inference of a request undergoes the following steps.
|
| 40 |
+
- ⃝1 *Binding*: Upon the arrival of a request (a.k.a., a session), the coordinator first binds the request with a decode worker based on the memory usage [\(NVIDIA,](#page-9-15) [2026a\)](#page-9-15). In other words, the decode worker will be responsible for managing the request's KV cache and conducting all its decode workloads. Such binding helps us unify the handling of both initial and incremental prefill tasks.
|
| 41 |
+
- ⃝2 *Routing*: Whenever the request requires prefilling (either its initial prefill after the binding or an incremental prefill after an environmental interaction), the coordinator employs an *adaptive routing mechanism* ([§4.1\)](#page-3-0) to determine where to carry out this prefill task, with two kinds of choices.
|
| 42 |
+
- Local execution: The task is determined to be executed directly on the responsible decode worker (i.e., the decode worker that the request bound to). This avoids network transmission and reduces prefill workers' burden, but pauses the worker's ongoing decoding batch.[3](#page-2-1)
|
| 43 |
+
- Remote execution: The task is routed to a prefill worker. This mitigates PD interference but necessitates KV transmission: (i) before the execution of this task, the prefill worker reads the history KV cache from the responsible decode worker if necessary; (ii) after the execution, the newly generated KV cache is transmitted back to the responsible decode worker.[4](#page-2-2)
|
| 44 |
+
<span id="page-2-1"></span><sup>3</sup>We follow the implementation in vLLM that prefill tasks are prioritized over decoding to avoid blocking subsequent generation.
|
| 45 |
+
<span id="page-2-2"></span><sup>4</sup>Each decode worker manages a local prefix cache, allowing it to merge the received incremental KV cache with the locally stored history KV cache. Thus, we only transmit the incremental KV cache to minimize network cost.
|
| 46 |
+
{3}------------------------------------------------
|
| 47 |
+
⃝3 *Prefilling*: In either case, the designated worker enqueues the prefill task into its own prefill queue, and adopts a *prefill reordering policy* ([§4.2\)](#page-4-0) to schedule tasks in the prefill queue. If designated to a prefill worker, it performs KV transmission as described above.
|
| 48 |
+
⃝4 *Decoding*: After step ⃝3 , the responsible decode worker possesses all KV cache of this request, and continues the auto-regressive decoding process.
|
| 49 |
+
In multi-round inference, the request may trigger an interaction with external environments (e.g., a function call), which is typically handled by a background CPU process of the decode worker. Upon the completion of interaction, it forms an incremental prefill task. Then, the coordinator is notified and we loop back to step ⃝2 . This recursion repeats until the inference of this request reaches termination.
|
| 50 |
+
## <span id="page-3-3"></span>4. Online Adaptive Scheduling
|
| 51 |
+
Our online adaptive request scheduling consists of two techniques, namely adaptive routing and prefill reordering. These techniques address (i) where to carry out the prefill tasks, and (ii) how to schedule the prefill tasks within each worker, respectively.
|
| 52 |
+
#### <span id="page-3-0"></span>4.1. Adaptive Routing
|
| 53 |
+
218 219 In essence, PD disaggregation separates the computeintensive prefill phase and memory-bound decode phase onto individual resources, resolving the PD interference that occurs in co-located serving. Nevertheless, in multi-round inference, where to carry out the prefill tasks necessitates deliberation. For one thing, if we always route the prefill tasks (both initial and incremental) to prefill workers (remote execution), decode workers can remain focused on steady-state decoding and thus optimize ITL. However, it incurs extra transmission cost of KV cache and increases the burden of prefill workers, harming TTFT. For another, carrying out some prefill workloads by the decode workers themselves (local execution) eliminates the transmission cost and benefit TTFT, but makes decode workers more susceptible to PD interference, which leads to spikes in ITL.
|
| 54 |
+
To strike a good balance between TTFT and ITL, we develop an *SLO-oriented* adaptive routing mechanism, which determines where each prefill task should be executed. The general idea is to leverage the windowed TTFT and ITL statistics to evaluate real-time system loads, and make the routing decision that is less likely to violate SLO requirements.
|
| 55 |
+
Algorithm routine. Algorithm [1](#page-3-1) shows the workflow of our adaptive routing mechanism. Given a prefill task (along with the corresponding decode worker), we first identify prefill workers with sufficient slack to meet the TTFT SLO <span id="page-3-1"></span>Algorithm 1 \ Adaptive routing mechanism for prefill tasks. TTFT<sup>i</sup> denotes the windowed TTFT statistic of the i-th prefill worker. ITL <sup>d</sup> denotes the windowed ITL statistic of the current decode worker. TTFTthres and ITLthres are the thresholds for TTFT and ITL. α, β are hyper-parameters for identifying TTFT or ITL slack.
|
| 56 |
+
- 1: for each prefill worker i in random order do
|
| 57 |
+
- 2: if TTFT \<sup>i</sup> <sup>≤</sup> <sup>α</sup> · TTFTthres then
|
| 58 |
+
- 3: return remote<sup>i</sup>
|
| 59 |
+
- 4: if ITL <sup>d</sup> <sup>≤</sup> <sup>β</sup> · ITLthres then
|
| 60 |
+
- 5: return local
|
| 61 |
+
- 6: Estimate local execution cost tlocal
|
| 62 |
+
- 7: for each prefill worker i do
|
| 63 |
+
- 8: Estimate remote execution cost tremote<sup>i</sup> via Eq. [\(2\)](#page-3-2)
|
| 64 |
+
- 9: return arg minroute∈{local,remote1,remote2,··· } troute
|
| 65 |
+
and route the task to an eligible candidate (lines 1-3). If all prefill workers are under pressure (i.e., TTFT approaching the SLO threshold), we examine whether the current decoder worker's windowed ITL shows sufficient slack, and if yes, a local execution will be triggered (lines 4-5). Otherwise, we estimate and compare the time cost of both local and remote execution for the final routing decision (lines 6-9).
|
| 66 |
+
Particularly, as introduced in [§3,](#page-2-3) we construct performance model based on offline profiling. Thus, the time cost of local execution on decode worker d can be easily estimated via
|
| 67 |
+
$$t_{\text{local}} = T_{\text{pre}}(l_{hist}, l_{incr}; \theta_d) + \sum_{k \in \text{prefill.queue}_d} T_{\text{pre}}(l_{hist_k}, l_{incr_k}; \theta_d), \quad (1)$$
|
| 68 |
+
where lhist denotes the history length, lincr denotes the incremental input length, θ<sup>d</sup> denotes the parallelism strategy of decode worker d, and prefill queue<sup>d</sup> denotes its prefill queue. The first term is the estimated time cost of executing this prefill task on decode worker d while the second term represents the estimated queuing time.
|
| 69 |
+
Similarly, if we route the task to the i-th prefill worker for remote execution, the time cost can be estimated via
|
| 70 |
+
<span id="page-3-2"></span>
|
| 71 |
+
$$\begin{split} t_{\text{remote}_{i}} &= t_{\text{pre}_{i}} + t_{\text{kv}_{i}} + t_{\text{queue}_{i}}, \text{ where} \\ t_{\text{pre}_{i}} &= \text{T}_{\text{pre}}(l_{hist}, l_{incr}; \theta_{p_{i}}), \\ t_{\text{kv}_{i}} &= \text{T}_{\text{kv}}(l_{hist}; \theta_{d}, \theta_{p_{i}}) + \text{T}_{\text{kv}}(l_{incr}; \theta_{p_{i}}, \theta_{d}), \\ t_{\text{queue}_{i}} &= \sum_{k \in \text{prefill\_queue}_{i}} \text{T}_{\text{pre}}(l_{hist_{k}}, l_{incr_{k}}; \theta_{p_{i}}), \end{split}$$
|
| 72 |
+
where θ<sup>p</sup><sup>i</sup> denotes the i-th prefill worker's parallelism strategy and prefill queue<sup>i</sup> denotes its prefill queue. The three terms correspond to the estimated time cost of (i) prefill computation, (ii) transmitting the KV cache back and forth, and (iii) queuing on the prefill worker.
|
| 73 |
+
{4}------------------------------------------------
|
| 74 |
+
#### <span id="page-4-2"></span>Algorithm 2 Prefill reordering policy.
|
| 75 |
+
- 1: $W \leftarrow Q.\operatorname{peek}(w), \pi^* \leftarrow \phi$
|
| 76 |
+
- 2: **for each** ordering $\pi$ over W **do**
|
| 77 |
+
- 3: **if** $\pi$ violates the postponement capacity **then**
|
| 78 |
+
- 4: **continue**
|
| 79 |
+
- 5: Compute the number of TTFT-satisfying tasks $S_{\pi}$ based on Eq (4).
|
| 80 |
+
- 6: $\pi^* \leftarrow (\pi^* == \phi \text{ or } S_{\pi} > S_{\pi^*}) ? \pi : \pi^*$
|
| 81 |
+
- 7: Increment postponement counters for tasks that are postponed in $\pi^*$
|
| 82 |
+
- 8: $Q.\operatorname{reorder}(\pi^*), r \leftarrow Q.\operatorname{dequeue}()$
|
| 83 |
+
- 9: Schedule r for execution
|
| 84 |
+
Based on the estimated time cost, the prefill task will be routed to the one with the lowest cost.
|
| 85 |
+
**Discussion.** Although our adaptive routing mechanism needs to gather the shared metadata (windowed statistics and queuing information) from different workers, this is done concurrently. And the time cost estimation is extremely fast. Thus, the overhead of this mechanism is minor.
|
| 86 |
+
#### <span id="page-4-0"></span>4.2. Prefill Reordering
|
| 87 |
+
The routing mechanism in §4.1 leverages the TTFT/ITL slacks across prefill and decode workers to achieve real-time adaptive scheduling. In fact, thanks to our performance modeling, it is also feasible to identify the TTFT slacks of the tasks in each prefill queue. In other words, if a pending task is far from violating the TTFT SLO requirement, then we can schedule it later as a longer queuing time would not harm its TTFT SLO satisfaction.
|
| 88 |
+
Following this, we develop a lightweight *TTFT-aware* prefill reordering policy. In a nutshell, to schedule one task from its prefill queue for execution, we employ a small lookahead window with size w at the head of the queue, and reorder the tasks within the window in order to maximize the number of tasks satisfying the TTFT SLO.
|
| 89 |
+
Algorithm routine. The routine of our reordering policy is shown in Algorithm 2. Let $T_{now}$ denote the current time, $T_{\rm enq}^{(r)}$ the enqueue time of task r, and $t_{\rm pre}^{(r)}$ the estimated time cost for r following our performance model. We first peek up to w head elements of the prefill queue to form a window $W = \{r_1, r_2, \dots\}$ (line 1). Then, we enumerate feasible orderings to optimize TTFT within W (lines 2-7). In particular, for any ordering $\pi$ over W, the completion time (relative to $T_{now}$ ) of the $\pi(k)$ -th request (i.e., the k-th one in $\pi$ ) can be predicted as
|
| 90 |
+
$$C^{(\pi(k))} = \sum_{j=1}^{k} t_{\text{pre}}^{(\pi(j))}.$$
|
| 91 |
+
(3)
|
| 92 |
+
Subsequently, the number of TTFT-satisfying tasks within
|
| 93 |
+
W under ordering $\pi$ can be predicted as
|
| 94 |
+
<span id="page-4-1"></span>
|
| 95 |
+
$$S_{\pi} = \sum_{k=1}^{|W|} \mathbb{I}\left[ \left( T_{now} - T_{\text{enq}}^{(\pi(k))} \right) + C^{(\pi(k))} \le \text{TTFT}_{\text{thres}} \right].$$
|
| 96 |
+
$$\tag{4}$$
|
| 97 |
+
Consequently, to improve TTFT SLO attainment, we choose the ordering $\pi^* = \arg \max_{\pi} S_{\pi}$ that maximizes the number of TTFT-satisfying tasks within W (lines 5-6).
|
| 98 |
+
In addition, we enforce that each task can be postponed by at most w times to prevent starvation. Particularly, we maintain a *postponement counter* for each task, and increment it whenever the task is postponed due to reordering (line 7). Once there are any tasks' postponement counters reaching w, we skip the orderings that postpone such tasks (lines 3-4).
|
| 99 |
+
After the optimal ordering is obtained, the head elements of the prefill queue are reordered accordingly, after which, the first element will be scheduled for execution (lines 8-9).
|
| 100 |
+
**Discussion.** Since it is extremely fast to evaluate the number of TTFT-satisfying tasks for one ordering and the window size is typically small (less than 5 in practice), the overhead incurred by the reordering policy is negligible.
|
| 101 |
+
Last but not least, it is noteworthy that the estimated queuing time in Eq. (2) does not take account of the prefill reordering policy. Nevertheless, it does not harm the effectiveness of our adaptive routing mechanism, since the window size is small compared to the size of the prefill queue in practice.
|
| 102 |
+
#### 5. Offline Deployment Planning
|
| 103 |
+
As depicted in Figure 3, the deployment of disaggregated serving should consider two factors for each worker type (prefill and decode): (i) instantiating multiple independent replicas to handle concurrent requests (a.k.a., data parallelism (Li et al., 2023)), and (ii) partitioning each individual replica across multiple GPUs to satisfy memory and computational requirements (a.k.a., model parallelism (Shoeybi et al., 2019)). Consequently, to optimize the model deployment, we must establish appropriate data and model parallelism configurations for both worker types, while conforming to a fixed GPU resource capacity constraint.
|
| 104 |
+
In response to this, we formulate the model deployment planning as a *resource-constrained optimization problem*. The goal is to identify the specific combination of model parallelism (partition) and data parallelism (replication) configurations for each worker type that maximizes performance.
|
| 105 |
+
**Formulation of planning.** We first introduce the *decision variables*. Since model parallelism degrees are typically powers of 2, we can represent the deployment via the number of replicas associated with each feasible model parallelism degree. Specifically, given a discrete set of supported
|
| 106 |
+
{5}------------------------------------------------
|
| 107 |
+
<span id="page-5-0"></span>
|
| 108 |
+
*Figure 3.* Illustration of disaggregated LLM serving where prefill and decode workers are with different parallelism configurations.
|
| 109 |
+
model parallelism degrees T (e.g., {1, 2, 4, 8}), the decision variables comprise two integer vectors, x, y ∈ Z |T | ≥0 (e.g., x = [x (1), x(2), x(4), x(8)], y = [y (1), y(2), y(4), y(8)]). For each model parallelism degree n ∈ T , the variable x (n) (y (n) ) denotes the number of prefill (decode) workers that are deployed with model parallelism degree n (i.e., each partitioned across n GPUs).
|
| 110 |
+
Subsequently, to establish the optimization target, we introduce an auxiliary variable Z, which represents the maximum P95 latency among all workers. We formulate this resource allocation problem as an Integer Linear Programming (ILP) problem [\(Vielma,](#page-9-17) [2015\)](#page-9-17):
|
| 111 |
+
<span id="page-5-2"></span>
|
| 112 |
+
$$\underset{\mathbf{x},\mathbf{y} \in \mathbb{Z}_{\geq 0}^{|\mathcal{T}|}}{\arg \min} \quad Z$$
|
| 113 |
+
$$\mathbf{x},\mathbf{y} \in \mathbb{Z}_{\geq 0}^{|\mathcal{T}|}$$
|
| 114 |
+
s.t. (C1) $Z \geq \tau_{pre}(n), \quad \forall n \in \mathcal{T} \text{ where } x^{(n)} \geq 1$
|
| 115 |
+
(C2) $Z \geq \tau_{dec}(n), \quad \forall n \in \mathcal{T} \text{ where } y^{(n)} \geq 1$
|
| 116 |
+
(C3)
|
| 117 |
+
$$\sum_{n \in \mathcal{T}} (x^{(n)} \cdot n) + \sum_{n \in \mathcal{T}} (y^{(n)} \cdot n) \leq N$$
|
| 118 |
+
(5)
|
| 119 |
+
Constraints (C1) and (C2) establish P95 latency bounds of disaggregated inference. The coefficients τpre(n), τdec(n) represent the estimated P95 latency[5](#page-5-1) of a single prefill or decode worker replica configured with model parallelism degree n. Since the two constraints require that Z must be at least as large as the P95 latency of any instantiated worker replica, minimizing Z represents minimizing the worst-case P95 latency across all deployed worker replicas (i.e., optimizing the bottlenecked worker replicas). Constraint (C3) enforces the global GPU resource capacity. For each configuration with model parallelism degree n, the GPU consumption equals the product of the number of worker replicas (x (n) or y (n) ) and the parallelism degree n. This constraint ensures that the total number of GPUs allocated across all worker replicas does not exceed the available cluster capacity N.
|
| 120 |
+
Planning solver. The formulation in Eq. [\(5\)](#page-5-2) constitutes a multi-dimensional variant of the *Unbounded Knapsack* *Problem* [\(Pisinger & Toth,](#page-9-18) [1998\)](#page-9-18), requiring the solver to evaluate integer combinations of valid model parallelism degrees to identify the optimal resource allocation. We employ a standard Mixed Integer Linear Programming (MILP) solver [\(Huangfu & Hall,](#page-8-14) [2018\)](#page-8-14) to solve this optimization problem. The solver accepts the simulated P95 latency coefficients τpre(n) and τdec(n) as constant parameters, and explores the feasible region defined by the integer vectors x and y. This approach is computationally efficient for typical cluster scales (see Appendix [A.2](#page-11-1) for details), and guarantees identification of the global optimum that balances both worker types while fully utilizing available GPU resources.
|
| 121 |
+
Discussion. In Eq. [\(5\)](#page-5-2), we adopt the P95 latency as our surrogate objective, while the goal of our system (particularly, the two approaches in [§4\)](#page-3-3) is to maximize SLO attainment. This discrepancy is due to the infeasibility to solve the optimization of SLO attainment via efficient linear programming solvers. Particularly, owing to the binary output of SLO satisfaction, the SLO attainment metric cannot serve as a continuous surrogate objective. Consequently, our ILP is formulated to minimize the P95 latency. Despite this discrepancy, empirical evaluation demonstrates that our planning is effective in finding the optimal deployment. We refer interested readers to Appendix [A.3](#page-11-2) for more details.
|
| 122 |
+
## 6. Implementation
|
| 123 |
+
AMPD is implemented atop NVIDIA Dynamo [\(NVIDIA,](#page-9-3) [2026b\)](#page-9-3). We adopt Redis to enable global sharing of the queues and windowed TTFT/ITL statistics, and utilize the SCIP library [\(Bolusani et al.,](#page-8-15) [2024\)](#page-8-15) to solve Eq. [\(5\)](#page-5-2). For efficient KV cache transmission, we leverage the NVIDIA Inference Xfer Library (NIXL) [\(NVIDIA,](#page-9-19) [2026c\)](#page-9-19) to achieve point-to-point RDMA network communication across prefill and decode workers. The transmission of history KV cache is implemented as lazy reads. To be specific, our routing mechanism ([§4.1\)](#page-3-0) sends merely metadata to prefill workers for remote execution. Only when an incremental prefill task is scheduled for execution ([§4.2\)](#page-4-0), should the prefill worker read the history KV cache from the decode worker. Additionally, the KV cache transmission overlaps with the computation of the previous task to hide the network latency.
|
| 124 |
+
## <span id="page-5-3"></span>7. Experiments
|
| 125 |
+
#### 7.1. Experimental Setup
|
| 126 |
+
Environments. We conduct experiments over 4 servers, each with 8 NVIDIA H20 (96GB) GPUs. The GPUs within each server are interconnected via NVLink with a bandwidth of 900GB/s, while the servers are interconnected by InfiniBand with a bandwidth of 200GB/s.
|
| 127 |
+
Workloads. Three LLMs are used in our experiments,
|
| 128 |
+
<span id="page-5-1"></span><sup>5</sup>We adopt a simulator for estimating the P95 latency performance of different configurations based on the performance model, which is detailed in Appendix [A.1.](#page-11-0)
|
| 129 |
+
{6}------------------------------------------------
|
| 130 |
+
<span id="page-6-1"></span>
|
| 131 |
+
Figure 4. End-to-end comparison. The top three rows are the SLO attainment under different configurations (traces and request arrival rates) for the three models. The bottom row is a detailed breakdown of Llama-3.1-70B with a request arrival rate of 2 reqs/s, including the average TTFT for initial prefill, average TTFT for incremental prefill, and average ITL for decoding.
|
| 132 |
+
which are Qwen3-32B (Yang et al., 2025), Llama3.1-70B (Grattafiori et al., 2024), and Mixtral-8x7B (Jiang et al., 2024). Since our major focus is serving efficiency, we conduct experiments by running the same traces with AMPD and the baselines to achieve a fair comparison. Four workload traces are considered, which are generated from the ToolBench (Guo et al., 2024), GAIA (Mialon et al., 2024), HotpotQA (Yang et al., 2018), and DuReader (He et al., 2018) datasets, respectively. Due to the space constraint, we summarize the length information in Table 1, while leaving the details of these traces to Appendix B. For each model, we run HotpotQA and ToolBench workloads on a single server (8 GPUs), DuReader on two servers (16 GPUs), and GAIA on four servers (32 GPUs), to match the workload scale and system capacity.
|
| 133 |
+
<span id="page-6-0"></span>Table 1. The average number of rounds, prefill length, and decode length of each trace.
|
| 134 |
+
| Trace | #Rounds | Prefill Length | Decode Length |
|
| 135 |
+
|-----------|---------|----------------|---------------|
|
| 136 |
+
| ToolBench | 3.96 | 703.79 | 50.39 |
|
| 137 |
+
| GAIA | 11.32 | 6161.02 | 528.76 |
|
| 138 |
+
| HotpotQA | 3 3 | 1569.8 | 80.03 |
|
| 139 |
+
| DuReader | | 3081.23 | 150.10 |
|
| 140 |
+
**Baselines.** We compare AMPD with three state-of-the-art LLM serving systems as follows.
|
| 141 |
+
- Dynamo (NVIDIA, 2026b): The original NVIDIA Dynamo disaggregated serving system under PD disaggregation without the techniques proposed in this work. It always separates the prefill and decode workloads onto different resources.
|
| 142 |
+
- vLLM (Kwon et al., 2023): One of the most prestigious
|
| 143 |
+
LLM serving system under PD co-location.
|
| 144 |
+
vLLM-Continuum (Li et al., 2025): A serving system based on vLLM tailored for multi-round workflows.
|
| 145 |
+
**Protocols.** In all experiments, we utilize our offline planner to determine the model deployment of AMPD, while we tune the model deployment for all baselines and report the best results to be fair. By default, the hyper-parameters are set as $\alpha=0.9, \beta=0.85, w=3$ . We follow the previous standard to generate request arrival times using Poisson process with different request arrival rates (Kwon et al., 2023; Zhong et al., 2024; Yu et al., 2022), and take SLO attainment as the primary evaluation metric.
|
| 146 |
+
#### 7.2. Experiment Results
|
| 147 |
+
**End-to-end comparison.** To begin with, we conduct experiments to measure the SLO attainment of all counterparts under various request arrival rates, with results presented in Figure 4.
|
| 148 |
+
Overall, AMPD achieves the highest SLO attainment across all experiments. Compared to Dynamo (the disaggregated baseline) and vLLM (the co-located baseline), AMPD improves SLO attainment by up to 967.54% and 3435.1% (67.29% and 339.74% on average), respectively.
|
| 149 |
+
To understand the performance gain, we further provide a detailed breakdown in the bottom row of Figure 4. It can be observed that, both co-located and disaggregated serving exhibit divergent latency trade-offs. Co-located serving favors executing prefill tasks earlier (e.g., via prioritization or preemption) for the sake of continuous batching, which
|
| 150 |
+
{7}------------------------------------------------
|
| 151 |
+
<span id="page-7-0"></span>
|
| 152 |
+
Figure 5. Ablation studies (Llama3.1-70B, 2 regs/s). Left: DuReader. Middle: GAIA. Right: Proportion of local and remote execution.
|
| 153 |
+
<span id="page-7-1"></span>
|
| 154 |
+
Figure 6. Sensitivity experiments w.r.t. $w, \alpha, \beta$ (Llama3.1-70B, DuReader, 2 reqs/s).
|
| 155 |
+
reduces TTFT but disrupts the execution of decode tasks and thereby deteriorates ITL. In contrast, PD disaggregation decouples prefill from decode, reducing PD interference on decode workers and typically achieving lower ITL, yet TTFT often becomes the bottleneck due to the reduction in prefill resources and the overhead of KV cache transmission. These trends are also observed across tasks. On HotpotQA, DuReader, and ToolBench, disaggregated serving often outperforms co-located serving because its ITL advantage dominates end-to-end behavior. On GAIA, colocated serving becomes favorable (compared to Dynamo) since it provides competitive TTFT while not exhibiting a pronounced ITL disadvantage. Consequently, both vLLM and Dynamo are frequently dominated by either ITL or TTFT constraints, limiting the attainable SLO rate.
|
| 156 |
+
AMPD enjoys the benefit of PD disaggregation, avoiding deteriorating ITL compared to vLLM. Meanwhile, compared to Dynamo, AMPD significantly reduces TTFT thanks to our adaptive scheduling. Consequently, AMPD achieves a more robust trade-off between first-token responsiveness and per-token generation speed.
|
| 157 |
+
vLLM-Continuum follows the co-located architecture and adopts a queuing policy that prioritizes tasks within the same request (a.k.a., session). Since such tasks can reuse cached KV states, they typically require less computation, which shortens queuing delay and reduces TTFT while leaving ITL unaffected. However, in many settings, the TTFT reduction does not consistently translate into a substantial improvement in SLO attainment. Thus, vLLM-Continuum is often comparable to, or nearly tied with, vLLM.
|
| 158 |
+
Ablation study. We conduct experiments to assess the effectiveness of the two techniques in our online scheduling. The results are provided in Figure 5. The adaptive routing mechanism routes 13.9%-31.7% prefill tasks to be executed locally on the decode workers, which relieves the burden of prefill workers, and thereby increases the SLO attainment by 27.37%-350%, demonstrating the effectiveness of adaptive routing in mitigating workload imbalance between phases. In addition, the prefill reordering policy further improves the SLO attainment by 13.42%-14.81%. This is reasonable as the queuing optimization helps reduce the tail of TTFT. Eventually, these two techniques together provision 44.47%-402% of improvement.
|
| 159 |
+
**Sensitivity.** Both the two techniques in online scheduling introduce additional hyper-parameters. We evaluate the sensitivity of our work by varying these hyper-parameters. The results are shown in Figure 6.
|
| 160 |
+
We first evaluate the SLO attainment with multiple window sizes (2, 3, 4, and 5) in prefill reordering. It can be seen that the performance of AMPD remains similar across these window sizes (within 3% gap). This suggests that a short time window is sufficient to capture load signals needed for effective routing decisions.
|
| 161 |
+
Next, we evaluate the impact of $\alpha$ and $\beta$ , which control the sensitivity to congestion on the prefill and decode sides, respectively. In general, a smaller $\alpha$ enables earlier detection of prefill congestion but may lead to under-utilization of prefill workers, while a smaller $\beta$ triggers earlier detection of decode congestion at the cost of potentially reduced decode utilization. Consequently, moderate values of $\alpha$ and $\beta$ can strike a better balance between prefill and decode workers, improving the overall system efficiency.
|
| 162 |
+
#### 8. Conclusion
|
| 163 |
+
We presented AMPD, a novel disaggregated serving framework for efficient multi-round LLM inference. AMPD addresses the interleaved prefill-decode workload patterns of multi-round inference by runtime adaptive scheduling, consisting of the adaptive routing mechanism and prefill reordering policy to balance prefill and decode loads. Extensive experiments show that, compared to existing works, AMPD improves SLO attainment by 67.29%-339.74% on average, provisioning an effective solution for serving complex, multi-round LLM workflows.
|
| 164 |
+
{8}------------------------------------------------
|
| 165 |
+
## References
|
| 166 |
+
- <span id="page-8-11"></span>Abhyankar, R., He, Z., Srivatsa, V., Zhang, H., and Zhang, Y. Infercept: efficient intercept support for augmented large language model inference. In *Proceedings of the 41st International Conference on Machine Learning*, pp. 81–95, 2024.
|
| 167 |
+
- <span id="page-8-15"></span>Bolusani, S., Besanc¸on, M., Bestuzheva, K., Chmiela, A., Dion´ısio, J., Donkiewicz, T., van Doornmalen, J., Eifler, L., Ghannam, M., Gleixner, A., et al. The scip optimization suite 9.0. *arXiv preprint arXiv:2402.17702*, 2024.
|
| 168 |
+
- <span id="page-8-9"></span>Chen, S., Wang, Y., Wu, Y.-F., Chen, Q., Xu, Z., Luo, W., Zhang, K., and Zhang, L. Advancing tool-augmented large language models: Integrating insights from errors in inference trees. *Advances in Neural Information Processing Systems (NeurIPS 2024)*, 37:106555–106581, 2024.
|
| 169 |
+
- <span id="page-8-6"></span>Dong, X., Liu, T., Zeng, Y., Liu, L., Liu, Y., Wu, S., Wu, Y., Yang, H., Zhang, K., and Li, J. Hydrainfer: Hybrid disaggregated scheduling for multimodal large language model serving. *arXiv preprint arXiv:2505.12658*, 2025.
|
| 170 |
+
- <span id="page-8-8"></span>Go, H. and Park, S. A study on classification based concurrent api calls and optimal model combination for tool augmented llms for ai agent. *Scientific Reports*, 15(1): 20579, 2025.
|
| 171 |
+
- <span id="page-8-16"></span>Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. The llama 3 herd of models. *arXiv preprint arXiv:2407.21783*, 2024.
|
| 172 |
+
- <span id="page-8-0"></span>Guo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., et al. Deepseekr1 incentivizes reasoning in llms through reinforcement learning. *Nature*, 645(8081):633–638, 2025.
|
| 173 |
+
- <span id="page-8-18"></span>Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. Stabletoolbench: Towards stable large-scale benchmarking on tool learning of large language models. *arXiv preprint arXiv:2403.07714*, 2024.
|
| 174 |
+
- <span id="page-8-19"></span>He, W., Liu, K., Liu, J., Lyu, Y., Zhao, S., Xiao, X., Liu, Y., Wang, Y., Wu, H., She, Q., et al. Dureader: a chinese machine reading comprehension dataset from real-world applications. In *Proceedings of the workshop on machine reading for question answering*, pp. 37–46, 2018.
|
| 175 |
+
- <span id="page-8-21"></span>Hockney, R. W. The communication challenge for mpp: Intel paragon and meiko cs-2. *Parallel computing*, 20(3): 389–398, 1994.
|
| 176 |
+
- <span id="page-8-2"></span>Hu, C., Huang, H., Xu, L., Chen, X., Xu, J., Chen, S., Feng, H., Wang, C., Wang, S., Bao, Y., et al. Inference without interference: Disaggregate llm inference for mixed downstream workloads. *arXiv preprint arXiv:2401.11181*, 2024.
|
| 177 |
+
- <span id="page-8-14"></span>Huangfu, Q. and Hall, J. J. Parallelizing the dual revised simplex method. *Mathematical Programming Computation*, 10(1):119–142, 2018.
|
| 178 |
+
- <span id="page-8-17"></span>Jiang, A. Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D. S., Casas, D. d. l., Hanna, E. B., Bressand, F., et al. Mixtral of experts. *arXiv preprint arXiv:2401.04088*, 2024.
|
| 179 |
+
- <span id="page-8-5"></span>JIANG, Y., Fu, F., Yao, X., Wang, T., CUI, B., Klimovic, A., and Yoneki, E. Thunderserve: High-performance and cost-efficient llm serving in cloud environments. In *Eighth Conference on Machine Learning and Systems (MLSys 2025)*.
|
| 180 |
+
- <span id="page-8-10"></span>Jin, B., Zeng, H., Yue, Z., Yoon, J., Arik, S., Wang, D., Zamani, H., and Han, J. Search-r1: Training llms to reason and leverage search engines with reinforcement learning. *arXiv preprint arXiv:2503.09516*, 2025.
|
| 181 |
+
- <span id="page-8-20"></span>Katevenis, M., Sidiropoulos, S., and Courcoubetis, C. Weighted round-robin cell multiplexing in a generalpurpose atm switch chip. *IEEE Journal on selected Areas in Communications*, 9(8):1265–1279, 1991.
|
| 182 |
+
- <span id="page-8-1"></span>Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with pagedattention. In *Proceedings of the 29th symposium on operating systems principles (SOSP 2023)*, pp. 611–626, 2023.
|
| 183 |
+
- <span id="page-8-4"></span>Lai, R., Liu, H., Lu, C., Liu, Z., Cao, S., Shao, S., Zhang, Y., Mai, L., and Ustiugov, D. Tokenscale: Timely and accurate autoscaling for disaggregated llm serving with token velocity. *arXiv preprint arXiv:2512.03416*, 2025.
|
| 184 |
+
- <span id="page-8-12"></span>Li, H., Mang, Q., He, R., Zhang, Q., Mao, H., Chen, X., Cheung, A., Gonzalez, J., and Stoica, I. Continuum: Efficient and robust multi-turn llm agent scheduling with kv cache time-to-live. *arXiv preprint arXiv:2511.02230*, 2025.
|
| 185 |
+
- <span id="page-8-13"></span>Li, Z., Zheng, L., Zhong, Y., Liu, V., Sheng, Y., Jin, X., Huang, Y., Chen, Z., Zhang, H., Gonzalez, J. E., et al. {AlpaServe}: Statistical multiplexing with model parallelism for deep learning serving. In *17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23)*, pp. 663–679, 2023.
|
| 186 |
+
- <span id="page-8-3"></span>Liu, A., Feng, B., Xue, B., Wang, B., Wu, B., Lu, C., Zhao, C., Deng, C., Zhang, C., Ruan, C., et al. Deepseek-v3 technical report. *arXiv preprint arXiv:2412.19437*, 2024.
|
| 187 |
+
- <span id="page-8-7"></span>Mialon, G., Dess`ı, R., Lomeli, M., Nalmpantis, C., Pasunuru, R., Raileanu, R., Roziere, B., Schick, T., Dwivedi- ` Yu, J., Celikyilmaz, A., et al. Augmented language models: a survey. *arXiv preprint arXiv:2302.07842*, 2023.
|
| 188 |
+
{9}------------------------------------------------
|
| 189 |
+
<span id="page-9-20"></span>495 496 497 498 Mialon, G., Fourrier, C., Wolf, T., LeCun, Y., and Scialom, T. Gaia: a benchmark for general ai assistants. In *The Twelfth International Conference on Learning Representations (ICLR 2024)*, 2024.
|
| 190 |
+
<span id="page-9-15"></span>499 500 501
|
| 191 |
+
<span id="page-9-3"></span>504
|
| 192 |
+
<span id="page-9-12"></span>513 514
|
| 193 |
+
<span id="page-9-5"></span>518 519 520
|
| 194 |
+
<span id="page-9-18"></span>524 525 526
|
| 195 |
+
<span id="page-9-8"></span>528 529 530
|
| 196 |
+
<span id="page-9-13"></span>534
|
| 197 |
+
- NVIDIA. Nvidia dynamo documentation: Kv router. [ [latest/router/README.html]( 2026a.
|
| 198 |
+
- NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. [ [ai-dynamo/dynamo]( 2026b.
|
| 199 |
+
- <span id="page-9-19"></span>NVIDIA. Nvidia dynamo: A datacenter scale distributed inference serving framework. [ [ai-dynamo/nixl]( 2026c.
|
| 200 |
+
- Pan, Z., PATEL, A., Shen, Y., Hu, Z., Guan, Y., Li, W.-L., Qin, L., Wang, Y., and Ding, Y. Kvflow: Efficient prefix caching for accelerating llm-based multi-agent workflows. In *The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025)*, 2025.
|
| 201 |
+
- Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, ´I., Maleki, S., and Bianchini, R. Splitwise: Efficient generative llm inference using phase splitting. In *2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA 2024)*, pp. 118–132. IEEE, 2024.
|
| 202 |
+
- Pisinger, D. and Toth, P. Knapsack problems. In *Handbook of Combinatorial Optimization: Volume1–3*, pp. 299–428. Springer, 1998.
|
| 203 |
+
- Qin, R., Li, Z., He, W., Cui, J., Ren, F., Zhang, M., Wu, Y., Zheng, W., and Xu, X. Mooncake: Trading more storage for less computation—a kvcache-centric architecture for serving llm chatbot. In *23rd USENIX Conference on File and Storage Technologies (FAST 25)*, pp. 155–170, 2025.
|
| 204 |
+
- Shahout, R., Liang, C., Xin, S., Lao, Q., Cui, Y., Yu, M., and Mitzenmacher, M. Fast inference for augmented large language models. In *The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS 2025)*, 2025.
|
| 205 |
+
- <span id="page-9-11"></span>Shao, Z., Gong, Y., Shen, Y., Huang, M., Duan, N., and Chen, W. Enhancing retrieval-augmented large language models with iterative retrieval-generation synergy. *arXiv preprint arXiv:2305.15294*, 2023.
|
| 206 |
+
- <span id="page-9-16"></span>Shoeybi, M., Patwary, M., Puri, R., LeGresley, P., Casper, J., and Catanzaro, B. Megatron-lm: Training multibillion parameter language models using model parallelism. *arXiv preprint arXiv:1909.08053*, 2019.
|
| 207 |
+
- <span id="page-9-10"></span>Singh, G., Wang, X., Hu, Y., Yu, T. T. L., Xing, L., Jiang, W., Wang, Z., Xiaolong, B., Li, Y., Xiong, Y., et al. Efficiently serving large multimodal models using epd disaggregation. In *Forty-second International Conference on Machine Learning (ICML 2025)*, 2025.
|
| 208 |
+
- <span id="page-9-0"></span>Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., and Polosukhin, I. Attention is all you need. *Advances in neural information processing systems (NeurIPS 2017)*, 30, 2017.
|
| 209 |
+
- <span id="page-9-17"></span>Vielma, J. P. Mixed integer linear programming formulation techniques. *Siam Review*, 57(1):3–57, 2015.
|
| 210 |
+
- <span id="page-9-14"></span>Wang, Y., Jin, Z., Xu, J., Lin, W., Chen, Y., and Chen, W. Augserve: Adaptive request scheduling for augmented large language model inference serving. *arXiv preprint arXiv:2512.04013*, 2025.
|
| 211 |
+
- <span id="page-9-1"></span>Yang, A., Li, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Gao, C., Huang, C., Lv, C., et al. Qwen3 technical report. *arXiv preprint arXiv:2505.09388*, 2025.
|
| 212 |
+
- <span id="page-9-21"></span>Yang, Z., Qi, P., Zhang, S., Bengio, Y., Cohen, W., Salakhutdinov, R., and Manning, C. D. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In *Proceedings of the 2018 conference on empirical methods in natural language processing*, pp. 2369–2380, 2018.
|
| 213 |
+
- <span id="page-9-6"></span>Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K. R., and Cao, Y. React: Synergizing reasoning and acting in language models. In *The eleventh international conference on learning representations (ICLR 2023)*, 2023.
|
| 214 |
+
- <span id="page-9-22"></span>Yu, G.-I., Jeong, J. S., Kim, G.-W., Kim, S., and Chun, B.- G. Orca: A distributed serving system for {Transformer-Based} generative models. In *16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22)*, pp. 521–538, 2022.
|
| 215 |
+
- <span id="page-9-7"></span>Yue, Z., Zhuang, H., Bai, A., Hui, K., Jagerman, R., Zeng, H., Qin, Z., Wang, D., Wang, X., and Bendersky, M. Inference scaling for long-context retrieval augmented generation. *arXiv preprint arXiv:2410.04343*, 2024.
|
| 216 |
+
- <span id="page-9-9"></span>Zhang, D., Wang, H., Liu, Y., Wei, X., Shan, Y., Chen, R., and Chen, H. Blitzscale: Fast and live large model autoscaling with o(1) host caching. In *19th USENIX Symposium on Operating Systems Design and Implementation (OSDI 25)*, pp. 275–293, 2025a.
|
| 217 |
+
- <span id="page-9-4"></span>Zhang, L., Jiang, Y., He, G., Chen, X., Lv, H., Yao, Q., Fu, F., and Chen, K. Efficient mixed-precision large language model inference with turbomind. *arXiv preprint arXiv:2508.15601*, 2025b.
|
| 218 |
+
- <span id="page-9-2"></span>Zheng, L., Yin, L., Xie, Z., Sun, C. L., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., et al.
|
| 219 |
+
{10}------------------------------------------------
|
| 220 |
+
Sglang: Efficient execution of structured language model programs. *Advances in neural information processing systems (NeurIPS 2024)*, 37:62557–62583, 2024.
|
| 221 |
+
<span id="page-10-0"></span>
|
| 222 |
+
Zhong, Y., Liu, S., Chen, J., Hu, J., Zhu, Y., Liu, X., Jin, X., and Zhang, H. Distserve: Disaggregating prefill and decoding for goodput-optimized large language model serving. In *18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24)*, pp. 193–210, 2024.
|
| 223 |
+
{11}------------------------------------------------
|
| 224 |
+
### A. More Details about Offline Planning
|
| 225 |
+
#### <span id="page-11-0"></span>A.1. Performance Simulation
|
| 226 |
+
<span id="page-11-3"></span>
|
| 227 |
+
The simulator generates simulated performance metrics (i.e., P95 latency) for various model deployment configurations.
|
| 228 |
+
**Simulator inputs.** In addition to the target model deployment configuration, the simulator requires three categories of inputs: (i) *Model specifications*, including the architecture type (e.g., dense or sparse) and parameter configurations (e.g., number of layers and hidden size); (ii) *Hardware characteristics*, encompassing GPU specifications such as memory capacity and inter-GPU communication bandwidth; and (iii) *Workload characteristics*, including request arrival rates and input/output sequence lengths. Collectively, these inputs enable the simulator to accurately model the serving behavior under specific deployment scenarios.
|
| 229 |
+
**Simulation process.** Given the aforementioned inputs, the simulation proceeds in two stages: The *profiling stage* and the *execution stage*. (i) The profiling stage is in the charge of the profiler mentioned in §3. It enumerates all operators within the model (including the Q, K, V linear projections, self-attention computations, and feed-forward layers) and profiles the execution time of each operator on the target hardware. (ii) During the execution stage, the simulator leverages the operator latencies obtained from the profiling stage to simulate the concurrent execution of multiple incoming requests. Key inference serving features, such as request dispatching (Katevenis et al., 1991), continuous batching (Yu et al., 2022), model replication (Li et al., 2023), and model parallelism (Shoeybi et al., 2019), are incorporated into this simulation process. The simulator ultimately outputs the P95 latency for the target model deployment configuration.
|
| 230 |
+
Simulation for phase splitting and KV retransmission. To accurately evaluate deployment scenarios involving prefill-decoding disaggregation and KV retransmission, we explicitly integrate these features into our simulator. (i) *Phase splitting*: The simulator supports deploying prefill and decoding replicas onto distinct GPU resources, enabling independent configurations of model parallelism and GPU allocation for each phase. The KV transmission latency between phases is modeled using the $\alpha$ - $\beta$ model (Hockney, 1994). (ii) *KV retransmission*: The simulator incorporates a decision-making mechanism to dynamically determine whether to offload incremental prefill to the prefill model replica or execute it locally on the decoding model replica. This mechanism implements the scheduling policy presented in §4.
|
| 231 |
+
#### <span id="page-11-1"></span>A.2. Time Cost of Planning
|
| 232 |
+
Figure 7 measures the time cost of our offline planning with different number of GPUs. Since the determination of deployment configuration is formulated as an Integer Linear Programming problem, it can be solved efficiently with existing solvers (Bolusani et al., 2024). Consequently, our planning finishes quickly, taking merely one minute over 256 GPUs. This represents a common cluster scale for LLM serving in many downstream applications.
|
| 233 |
+

|
| 234 |
+
Figure 7. Time cost offline planning with varying numbers of GPUs.
|
| 235 |
+
#### <span id="page-11-2"></span>A.3. Effectiveness of Planning
|
| 236 |
+
Table 2 shows the top-3 ranking of deployment configurations based on our planner's deduction and actual serving. It shows that our planner successfully finds out the optimal configuration that empirically achieves the best performance.
|
| 237 |
+
{12}------------------------------------------------
|
| 238 |
+
<span id="page-12-0"></span>*Table 2.* Top-3 model deployment configurations deduced by our planner and real-system serving. Across all experiments, our planner produces identical configurations to real-time serving.
|
| 239 |
+
| Model | Trace | Rank | Planner | | | Real-system Serving | | | | |
|
| 240 |
+
|--------------|-----------|------|---------|--|-----------------------------------------------------|---------------------|--|--|-----------------------------------------------------|--|
|
| 241 |
+
| Llama3.1-70B | | [#1] | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | |
|
| 242 |
+
| | DuReader | [#2] | | | P: <tp=2, dp="4">, D:<tp=8, dp="1"></tp=8,></tp=2,> | | | | P: <tp=2, dp="4">, D:<tp=8, dp="1"></tp=8,></tp=2,> | |
|
| 243 |
+
| | | [#3] | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 244 |
+
| | HotpotQA | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 245 |
+
| | | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 246 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 247 |
+
| | | [#1] | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | |
|
| 248 |
+
| | GAIA | [#2] | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 249 |
+
| | | [#3] | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | |
|
| 250 |
+
| | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 251 |
+
| | ToolBench | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 252 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 253 |
+
| Qwen3-32B | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 254 |
+
| | HotpotQA | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 255 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 256 |
+
| | | [#1] | | | P: <tp=4, dp="2">, D:<tp=4, dp="2"></tp=4,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=4, dp="2"></tp=4,></tp=4,> | |
|
| 257 |
+
| | DuReader | [#2] | | | P: <tp=4, dp="2">, D:<tp=2, dp="4"></tp=2,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=2, dp="4"></tp=2,></tp=4,> | |
|
| 258 |
+
| | | [#3] | | | P: <tp=2, dp="4">, D:<tp=4, dp="2"></tp=4,></tp=2,> | | | | P: <tp=2, dp="4">, D:<tp=4, dp="2"></tp=4,></tp=2,> | |
|
| 259 |
+
| | ToolBench | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 260 |
+
| | | [#2] | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | | | | P: <tp=2, dp="2">, D:<tp=4, dp="1"></tp=4,></tp=2,> | |
|
| 261 |
+
| | | [#3] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 262 |
+
| | | [#1] | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | |
|
| 263 |
+
| | GAIA | [#2] | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 264 |
+
| | | [#3] | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | |
|
| 265 |
+
| Mixtral-8x7B | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 266 |
+
| | HotpotQA | [#2] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 267 |
+
| | | [#3] | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | |
|
| 268 |
+
| | | [#1] | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="1">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 269 |
+
| | DuReader | [#2] | | | P: <tp=8, dp="1">, D:<tp=4, dp="2"></tp=4,></tp=8,> | | | | P: <tp=8, dp="1">, D:<tp=4, dp="2"></tp=4,></tp=8,> | |
|
| 270 |
+
| | | [#3] | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | | | | P: <tp=4, dp="2">, D:<tp=8, dp="1"></tp=8,></tp=4,> | |
|
| 271 |
+
| | | [#1] | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=4, dp="1"></tp=4,></tp=4,> | |
|
| 272 |
+
| | ToolBench | [#2] | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | | | | P: <tp=2, dp="1">, D:<tp=2, dp="3"></tp=2,></tp=2,> | |
|
| 273 |
+
| | | [#3] | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | | | | P: <tp=4, dp="1">, D:<tp=2, dp="2"></tp=2,></tp=4,> | |
|
| 274 |
+
| | | [#1] | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | | | | P: <tp=8, dp="2">, D:<tp=8, dp="2"></tp=8,></tp=8,> | |
|
| 275 |
+
| | GAIA | [#2] | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | | | | P: <tp=8, dp="3">, D:<tp=8, dp="1"></tp=8,></tp=8,> | |
|
| 276 |
+
| | | [#3] | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | | | | P: <tp=4, dp="4">, D:<tp=8, dp="2"></tp=8,></tp=4,> | |
|
| 277 |
+
{13}------------------------------------------------
|
| 278 |
+
## <span id="page-13-0"></span>**B.** More Details of Experiments
|
| 279 |
+
**Experimental traces.** The traces used in our experiments are generated from public datasets. In particular, for ToolBench<sup>6</sup> and GAIA<sup>7</sup>, we adopt publicly available traces to represent agentic workflows, while for HotpotQA and DuReader, we record one trace for each dataset by running iterative retrieval augmented generation (Yue et al., 2024) using Qwen3-32B, with each request invoking three retrieval calls.
|
| 280 |
+
#### More experimental results.
|
| 281 |
+
Figure 8 compares the average end-to-end latency of all counterparts. AMPD maintains low latencies that are comparable against Dynamo. Although Dynamo has lower latencies in some cases, the gap is small. More importantly, AMPD delivers substantial improvement in terms of SLO attainment (as evaluated in §7), which is essential for real-world serving.
|
| 282 |
+
<span id="page-13-3"></span>
|
| 283 |
+
Figure 8. The average end-to-end (E2E) latency, corresponding to the experiments in Figure 4.
|
| 284 |
+
<span id="page-13-1"></span><sup>6</sup>
|
| 285 |
+
<span id="page-13-2"></span>
|