arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.13668cs.DCcs.LG
收藏

预填充-解码分离式LLM推理中的自适应重调度

Adaptive Rescheduling in Prefill-Decode Disaggregated LLM Inference

State Key Laboratory for Novel Software Technology(新型软件技术国家重点实验室);Nanjing University(南京大学);Alibaba Group(阿里巴巴集团)

Zhibin Wang, Zetao Hong, Xue Li, Zibo Wang, Shipeng Li, Qingkai Meng, Qing Wang, Chengying Huan, Rong Gu, Sheng Zhong, Chen Tian

AI总结:

针对预填充-解码分离式LLM推理中解码阶段负载不均问题,提出基于长度预测的自适应重调度系统ARES,显著降低延迟并提升吞吐量。

摘要:

大语言模型(LLM)推理已成为一种基础范式。在真实场景中,输出长度的变化会导致解码阶段出现严重的工作负载不平衡,尤其是在长输出推理任务中。现有系统(如PD分离架构)依赖静态的预填充到解码调度,在解码工作负载动态变化时,往往导致SLO违规和OOM故障。本文提出ARES,一种由长度预测驱动的自适应解码重调度系统,用于预测未来工作负载。我们的核心贡献包括:(1)一种轻量级且连续的LLM原生预测方法,利用LLM隐藏状态对剩余生成长度进行高精度建模(MAE降低49.42%),且开销低(预测器参数减少93.28%);(2)解码阶段的重调度解决方案:一种动态平衡机制,整合当前和预测的工作负载,将P99 TPOT降低74.77%,并实现高达2.24倍的吞吐量提升。

英文摘要:

Large Language Model (LLM) inference has emerged as a fundamental paradigm. In real-world scenarios, variations in output length cause severe workload imbalance in the decode phase, particularly for long-output reasoning tasks. Existing systems, such as PD disaggregation architectures, rely on static prefill-to-decode scheduling, which often results in SLO violations and OOM failures under evolving decode workloads. In this paper, we propose ARES, an adaptive decoding rescheduling system powered by length prediction to anticipate future workloads. Our core contributions include: (1) A lightweight and continuous LLM-native prediction method that leverages LLM hidden state to model remaining generation length with high precision (reducing MAE by 49.42%) and low overhead (cutting predictor parameters by 93.28%); (2) A rescheduling solution in decode phase with : A dynamic balancing mechanism that integrates current and predicted workloads, reducing P99 TPOT by 74.77% and achieving up to 2.24 times higher goodput.

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

↑