arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.13358cs.NI
收藏

并非所有预填充都相同:多轮LLM服务中的PPD拆分

Not All Prefills Are Equal: PPD Disaggregation for Multi-turn LLM Serving

University of Chicago(芝加哥大学)

Zongze Li, Jingyu Liu, Zach Xu, Yineng Zhang, Tahseen Rabbani, Ce Zhang

AI总结:

本文提出PPD拆分架构,通过动态路由减少多轮交互中的KV传输拥堵,提升TTFT性能同时保持TPOT效率。

摘要:

Prefill-Decode (PD)拆分已成为现代LLM推理引擎的标准架构,通过缓解两种不同工作负载的干扰。随着聊天机器人和智能系统对多轮交互需求的增长,我们重新审视了PD在该场景中的应用,并发现两个根本性的低效问题:(1) 每个回合都需要从上一个回合预填充新的提示和响应,(2) 预填充和解码节点之间的重复KV传输饱和了带宽,导致高延迟和甚至服务降级。我们的关键洞察是并非所有预填充操作都同等具有破坏性:append-prefill—仅处理新的输入标记并重用缓存的KV状态—带来的解码减速显著小于完整的预填充。这促使我们将append-prefill路由到解码节点本地。然而,通过全面分析,我们表明没有单一固定的路由策略能满足所有服务级别目标(SLOs)同时。基于这一洞察,我们提出了Prefill Prefill-capable Decode (PPD)拆分,一种动态路由系统,通过配置权重适应不同SLOs,并无缝集成到传统PD部署中。通过广泛的评估,我们证明PPD将Turn 2+的时间到第一个标记(TTFT)减少了68%,同时保持具有竞争力的时间每输出标记(TPOT),有效缓解了高负载下的KV传输拥堵。我们相信PPD代表了一种灵活且高效的多轮LLM服务范式。

英文摘要:

Prefill-Decode (PD) disaggregation has become the standard architecture for modern LLM inference engines, which alleviates the interference of two distinctive workloads. With the growing demand for multi-turn interactions in chatbots and agentic systems, we re-examined PD in this case and found two fundamental inefficiencies: (1) every turn requires prefilling the new prompt and response from the last turn, and (2) repeated KV transfers between prefill and decode nodes saturate the bandwidth, leading to high latency and even service degradation. Our key insight is that not all prefill operations are equally disruptive: append-prefill -- processing only the new input tokens while reusing cached KV states -- incurs substantially less decoding slowdown than full prefill. This motivates routing append-prefill to decode nodes locally. However, through comprehensive analysis, we show that no single fixed routing strategy satisfies all Service Level Objectives (SLOs) simultaneously. Based on this insight, we propose Prefill Prefill-capable Decode (PPD) disaggregation, a dynamic routing system that decides when to process Turn 2+ requests locally on decode nodes using cached KV states. PPD adapts to varying SLOs via configurable weights and seamlessly integrates with traditional PD deployments. With extensive evaluations, we show that PPD reduces Turn 2+ time-to-first-token (TTFT) by 68% while maintaining competitive time-per-output-token (TPOT), effectively alleviating KV transfer congestion under high load. We believe PPD represents a flexible and efficient paradigm for multi-turn LLM serving.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑