AdaTree:根据服务状态动态调整投机解码树结构
AdaTree: Serving-Aware Adaptive Tree Construction for Speculative Decoding
做 LLM 推理服务的可以看看这篇。它把投机解码的树结构做成了随负载自动调节的插件,比固定的链式或静态树方案更抗负载波动,适合请求量起伏大的线上服务。
AdaTree 是一个面向 LLM 服务系统的投机解码优化组件,可作为插件动态调整树状草稿结构。作者分析发现,最优树配置会随两个服务条件变化:请求到达率和单个请求的特征,静态配置在实际服务中往往表现不佳。
工作机制上,AdaTree 先预测不同树配置下的模型执行时间和接受长度,再选择使投机解码效率最大的配置。由于树配置与执行时间之间是非线性关系,它用决策树作为核心建模单元来完成这一预测。
评测结果显示,AdaTree 在多种服务条件下稳定优于基于链式和静态树的投机解码方案。对部署推理服务的团队来说,这是一个不改目标模型、只调草稿策略的加速思路。
AdaTree: Serving-Aware Adaptive Tree Construction for Speculative Decoding
Speculative decoding accelerates generative inference of large language models (LLMs) by using a small draft model to propose multiple candidate tokens, which are then verified in parallel with the target model in a single decoding iteration. While the state-of-the-art method of tree-based speculative decoding helps improve generation throughput over non-speculative inference, deploying it in LLM serving systems often yields suboptimal performance due to dynamically changing serving conditions. In particular, our analysis shows that the optimal tree configuration---the one that maximizes performance---varies with two key serving conditions: request rate and per-request characteristics. Based on the analysis, we present AdaTree, a plug-in component for LLM serving systems that dynamically adapts tree configurations to varying serving conditions. AdaTree predicts model execution time and acceptance length across different tree configurations and selects the one that maximizes speculative decoding efficiency. To capture the non-linear relationship between tree configuration and model execution time, AdaTree employs decision trees as its core modeling primitive. Our evaluation shows that AdaTree consistently outperforms both chain-based and static tree-based speculative decoding across diverse serving conditions.
本条情报归属 AITOP「模型」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:投机解码、AdaTree、LLM推理、推理加速,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Soohyun Cha, Jungi Lee, Jaewoong Sim),经 AITOP 多维评分管线结构化提炼。