DICE 方法通过预采样同步随机性提升投机解码吞吐量
Speculative Decoding Is Less Speculative Than You Think
搞推理优化的朋友可以看看这篇论文:它发现采样随机数其实起草前就知道,DICE 拿这个信息挑候选,不训练不改动采样分布就比现有基线快最多 24.6 个百分点。自己搭推理服务、用 vLLM 这类框架的都值得复现试试。
arXiv 论文提出 DICE(Draw-Informed Candidate Selection),将投机解码的加速上限再推高一截:在不训练额外 drafter、不改动目标模型采样分布的前提下,在多种场景拿到 SOTA 解码吞吐,相对强基线最高提升 24.6 个百分点。
论文的核心观察是:投机解码的效率损失来自两类不确定性——目标模型的预测分布需要一次前向传播才能确定,而采样随机性其实在起草阶段开始前就可以固定下来。DICE 把采样用的随机数预先抽取,并在起草和验证两侧同步这些已知的 draws,再结合现有 drafter 的预测,把有限的起草算力集中到更可能被当前采样路径采纳的候选续写上。这一原则贯穿 draft-tree 的节点选择,还延伸到异步预取:DICE 能预测下一轮该提前准备哪些草稿。
对部署推理服务的团队来说,这意味着无需更换 drafter 或重训模型,只要改写候选选择逻辑就可能拿到可观的吞吐收益,且输出分布与原模型保持一致。相比 EAGLE 等依赖额外训练的投机解码方案,DICE 是更轻量的改造路径。
Speculative Decoding Is Less Speculative Than You Think
Speculative decoding accelerates language-model inference by preparing candidate continuations before the target model generates them. Its efficiency depends on how well limited drafting computation anticipates the path the target will actually follow. Anticipating this path involves two sources of uncertainty: the target model's predictions and the randomness of sampling. Yet the former requires a target-model forward pass, while the latter can be fixed before drafting. Building on this observation, we introduce DICE (Draw-Informed Candidate Selection), which pre-samples and synchronizes verification randomness across drafting and verification. By combining these known draws with predictions from an existing drafter, DICE allocates computation toward continuations more likely to be used in the current sampling run. This principle guides node selection throughout draft-tree construction and extends to asynchronous prefetching, where DICE predicts which next-round drafts to prepare. Without additional drafter training or changes to the target sampling distribution, DICE achieves state-of-the-art decoding throughput across diverse settings, with speedups of up to 24.6pp over strong baselines.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Speculative Decoding, inference optimization, open-source models, DICE.
Source attribution: curated from arXiv cs.AI (@Guanning Zeng, Andrea Zanette).