跳到正文
arXiv:cs.LG· Javad Mirzaei, Jeebak Mitra·· 4 小时前

LLM 推理并行扩展:吞吐-延迟权衡研究

Scaling LLM Inference via Parallelism: Throughput-Latency Trade-off

AI 导读

研究提出一套系统性框架,通过构建 TTFT-ITL 可行集与 Pareto 前沿刻画 LLM 推理并行配置的工作区域,揭示工作负载越偏向 prefill 时配置从 TP 主导转向 PP 主导的规律。

正文

View PDF HTML (experimental)

Abstract:Large Language Model (LLM) serving systems must balance latency and throughput while efficiently utilizing distributed GPU resources. This challenge arises because inference consists of two fundamentally different phases: prefill, which determines time-to-first-token (TTFT), and decode, which determines inter-token latency (ITL). The use of tensor parallelism (TP), pipeline parallelism (PP), and hybrid configurations exposes different trade-offs between these latency dimensions, making the optimal parallelism configuration highly dependent on workload characteristics, latency requirements, and context length. Moreover, despite the widespread adoption of distributed inference, there is still limited understanding of how parallelism configurations should be selected under varying workload conditions and service-level objectives (SLO). In this paper, we develop a systematic framework for characterizing LLM inference parallelism via throughput-latency trade-offs, SLO-aware serving, and long-context scalability. We introduce the notion of parallelism operating regions by constructing TTFT-ITL feasible sets and Pareto frontiers across different workload compositions, thereby revealing a systematic transition from TP-dominant to PP-dominant configurations as workloads become increasingly prefill-heavy. We further formulate SLO-aware parallelism selection using goodput, showing that stringent TTFT requirements favor PP-dominated configurations, whereas relaxed latency constraints progressively shift the optimality toward TP-dominated configurations with higher serving capacity. Finally, we demonstrate that increasing context length fundamentally changes the relative advantages of parallelism configurations, with PP-dominant configurations exhibiting more favorable scalability and SLO attainment in the long-context regime.
Comments: 15 pages, 7 figures
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Performance (cs.PF)
Cite as: arXiv:2610.19405 [cs.DC]
  (or arXiv:2610.19405v1 [cs.DC] for this version)
  https://doi.org/10.48550/arXiv.2610.19405

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Javad Mirzaei Mr. [view email]
[v1] Wed, 14 Oct 2026 01:53:24 UTC (1,180 KB)

来源:arXiv:cs.LG · arxiv.org