Speculative decoding accelerates generation by verifying multiple drafted tokens in a single target-model forward pass, reducing sequential decoding iterations. Model-free variants avoid auxiliary draft models by reusing text and model states already available during generation, but their speedup depends on the reliability of the constructed drafts. We identify two limitations of existing reuse-based methods: lexically anchored retrieval has limited recall under surface-form variation, and deterministic span copying can be brittle when the retrieved context does not uniquely determine the continuation. We propose \emph{AdaPLD}, a training-free method that adaptively improves both retrieval and draft construction. AdaPLD preserves high-precision lexical reuse while using semantic similarity to recover additional reuse opportunities when lexical matching fails. It further constructs branched reuse hypotheses to account for continuation uncertainty, rather than relying on a single copied span. Across diverse benchmarks, AdaPLD reduces target-model forward passes and achieves up to $3.10\times$ decoding speedup.


翻译:摘要:推测解码通过在单次目标模型前向传播中验证多个草稿令牌,减少顺序解码迭代次数,从而加速生成过程。无模型变体通过复用生成过程中已可获取的文本和模型状态来避免辅助草案模型,但其加速效果取决于所构建草案的可靠性。我们指出现有基于复用的方法存在两大局限:词汇锚定检索在表层形式变化下召回率有限,且当检索到的上下文无法唯一确定续写内容时,确定性跨度复制可能表现脆弱。为此,我们提出免训练的《AdaPLD》方法,自适应改进检索与草案构建。AdaPLD在保持高精度词汇复用的同时,在词汇匹配失败时利用语义相似性发掘额外复用机会;并构建分支式复用假设以应对续写不确定性,而非依赖单一复制跨度。在多样化基准测试中,AdaPLD减少目标模型前向传播次数,实现高达$3.10\times$的解码加速。

0
下载
关闭预览

相关内容

【CVPR2024】掩码自解码器是有效的多任务视觉通用模型
专知会员服务
20+阅读 · 2024年3月16日
Attention模型方法综述 | 多篇经典论文解读
PaperWeekly
107+阅读 · 2018年6月11日
国家自然科学基金
3+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
6+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
20+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
13+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
9+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
10+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
20+阅读 · 11月25日
相关VIP内容
【CVPR2024】掩码自解码器是有效的多任务视觉通用模型
专知会员服务
20+阅读 · 2024年3月16日
相关基金
国家自然科学基金
3+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
6+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员