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

更好的接受度何时能带来收益?推测解码的对照研究

When Does Better Acceptance Pay? A Controlled Study of Speculative Decoding

Tianjin University of Technology(天津理工大学);Baidu Inc.(百度公司);Shandong University(山东大学);Peking University(北京大学);Nanjing University(南京大学)

Yongchao Long, Chunrui Zheng, Yuxuan Zhou, Guangkun Nie, Tian-Chi Ma, Chao Pang, Shuohuan Wang, Yuchen Ding, Xianbin Wen, Dianhai Yu, Junyuan Shang, Yuxi Zhou, Shenda Hong

AI总结:

本研究通过对照实验探究推测解码中接受度与吞吐量的权衡,发现接受度可通过低成本或高成本方式提升,收益受任务不确定性等条件影响,为草稿模型设计提供参考。

摘要:

推测解码的吞吐量提升取决于接受长度与执行延迟之间的权衡。我们探究额外的接受是否值得付出获取它的成本。我们建立了涵盖训练、推理和评估的比较协议,重新测量已发布的检查点,并在10个基准和2个目标模型上,使用共享的目标生成数据重新训练6种草稿模型方案。对齐改变了情况:在共享训练和推理条件下,已发布比较中看似很大的差距大幅缩小。这种缩小引出两个更深层次的问题:如何以不同成本提升接受度,以及这些提升何时能改善吞吐量?我们发现,接受度可通过几乎无成本的目标和上下文变化,或更昂贵的逐词条件化来提升。DCore作为强大的基线,体现了前一种路径,几乎没有额外的测量草稿开销。收益是有条件的:任务不确定性和服务条件会影响接受回报、执行成本,以及首选的草稿模型和预算。这些发现为未来的草稿模型设计和部署选择提供了参考。

英文摘要:

The throughput gains of speculative decoding depend on the trade-off between acceptance length and execution latency. We ask when additional acceptance is worth the cost of obtaining it. We establish a comparison protocol spanning training, inference, and evaluation, remeasuring released checkpoints and retraining six drafter recipes on shared target-generated data across ten benchmarks and two target models. Alignment changes the picture: gaps that appear large in published comparisons shrink substantially under shared training and inference conditions. This narrowing motivates two deeper questions: how is acceptance improved at different costs, and when do these gains improve throughput? We find that acceptance can be improved through nearly free objective and context changes or more expensive token-to-token conditioning, which pays off most clearly under sampled drafting. DCore illustrates the former route as a strong baseline with little additional measured drafting overhead. The payoff is conditional: task uncertainty and serving conditions affect acceptance returns, execution costs, and the preferred drafter and budget. These findings inform future drafter design and deployment choices.

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

↑