跳到正文
arXiv cs.AI· Abhishek Malvankar, Paul Castro, Nick Mitchell, Lionel Villard·· 3 小时前AI 评分46

TableTune:面向动态投机解码的实测自校正草稿长度表

TableTune: Measured, Self-Correcting Draft-Length Tables for Dynamic Speculative Decoding

AI 导读

TableTune 是一个针对 vLLM 投机解码的调优系统,通过实测每个 batch size 下各草稿长度的解码耗时生成最优草稿长度表,并借助 vLLM 插件控制器在服务中实时重建该表。

正文 · 原文

View PDF HTML (experimental)

Abstract:Speculative decoding speeds up large language model (LLM) serving only while the GPU has spare compute, so the best draft length, the number of tokens a small drafter guesses per step, shrinks as the batch grows. vLLM lets operators set the draft length for each batch size with a hand-written table, but nothing measures or corrects that table. We present TableTune. Its tuner times the decoding step for every batch size and draft length on vLLM's own serving path and computes, in minutes, the table that maximizes throughput. Its controller, a vLLM plugin, tracks how many guesses are accepted in live traffic and rebuilds the table while serving. We measure TableTune only against other ways to speculate. On an H100, the tuned table delivers at least 94% of the throughput of the best fixed draft length at every load in four of five drafter settings (88% in the fifth) without the operator having to know which length that is. Against reimplementations of TurboSpec- and Nightjar-style control on the same engine, its worst-case loss is never higher than theirs, and with the EAGLE-3 drafter it is 3% against 9% and 12%. On a mixture-of-experts model, vLLM's documented table loses up to 18% and the tuned table at most 3%. Starting from mistuned tables, the controller raises throughput by up to 58% (up to 45% on vLLM's default runner), and after a workload switch with the DFlash drafter it recovers 96% of a stale table's loss. In llm-d's optimized-baseline deployment as shipped, two Qwen3-32B replicas on four GPUs, the tuned table is up to 32% faster than a fixed draft length of 3 and up to 25% faster than vLLM's documented table at high load, and the controller raises the documented table's throughput by up to 29%.
Subjects: Emerging Technologies (cs.ET); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.38968 [cs.ET]
  (or arXiv:2610.38968v1 [cs.ET] for this version)
  https://doi.org/10.48550/arXiv.2610.38968

arXiv-issued DOI via DataCite

Submission history

From: Abhishek Malvankar [view email]
[v1] Wed, 28 Oct 2026 21:52:13 UTC (100 KB)

来源:arXiv cs.AI · arxiv.org