arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.01839cs.DCcs.ARcs.LG
收藏

观察而非预测:面向智能体服务的对话级解耦调度

Observation, Not Prediction: Conversation-Level Disaggregated Scheduling for Agentic Serving

Anonymous Authors(匿名作者)

Jianru Ding, Ryien Hosseini, Pouya Mahdi Gholami, Mingyuan Xiang, Henry Hoffmann

AI总结:

提出将调度单元从单轮提升至整个对话,利用对话中首轮计算密集与后续内存密集的两阶段可观察特性,实现无需预测的解耦调度,显著降低延迟并提升能效。

摘要:

基于LLM的智能体通过多轮依赖推理和工具调用来解决用户任务,产生的工作负载在任务到达时总成本未知。现有的多轮系统以轮次为调度单元,逐轮决定是否将预填充与解码解耦。该决策依赖于该轮的解码长度、工具行为和KV增长,这些量在调度器必须行动时不可观察,迫使系统进行预测。我们表明这种对预测的依赖是由调度单元而非工作负载强加的。将调度单元从轮次提升到对话,将轮次级的不规则性转化为稳定的两阶段结构:1) 计算密集的首轮预填充,随后是2) 长尾内存密集阶段。因此,以对话为调度单元,放置问题简化为读取首轮输入长度和每解码器KV占用率,两者均可直接观察。我们在ConServe中实例化这一原则,它将首轮预填充路由到高吞吐预填充器,精确传输KV缓存一次,并将对话固定到单个解码器处理其整个尾部,无需学习解码侧成本模型。与每轮预测基线相比,ConServe将p95首次有效令牌时间(对话首个用户可见输出的延迟)降低51.08%,能效提升7.51%,同时保持最后一轮的TBT和SLO;将两阶段映射到异构GPU层级可进一步增加22.75%的能效。

英文摘要:

LLM-based agents resolve a user task through many turns of dependent inference and tool calls, producing a workload whose total cost is unknown when the task arrives. Existing multi-turn systems keep the turn as the scheduling unit and decide, turn by turn, whether to disaggregate prefill from decode. That decision rests on the turn's decode length, tool behavior, and KV growth, quantities that are not observable when the scheduler must act, forcing the system to predict them. We show this dependence on prediction is imposed by the scheduling unit, not the workload. Raising the scheduling unit from the turn to the conversation converts turn-level irregularity into a stable, two-phase structure: 1) a compute-bound turn-1 prefill followed by 2) a long, memory-bound tail. Thus, with the conversation as the scheduling unit, placement reduces to reading the first-turn input length and per-decoder KV occupancy, both directly observable. We instantiate this principle in ConServe, which routes the first-turn prefill to a high-throughput prefiller, transfers the KV cache exactly once, and pins the conversation to a single decoder for its entire tail, with no learned model of decode-side cost. Against a per-turn prediction baseline, ConServe reduces p95 time-to-first-effective-token (the latency of a conversation's first user-visible output) by 51.08% and improves energy efficiency by 7.51% while preserving last-turn TBT and SLOs; mapping the two phases onto heterogeneous GPU tiers adds a further 22.75% in energy efficiency.

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

↑