arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.08690cs.LGcs.AI
收藏

无训练的松弛推测解码的实践研究

A Practical Investigation of Training-free Relaxed Speculative Decoding

Graphcore(Graphcore公司)

Guoxuan Xia, Luka Ribar, Paul Balanca

AI总结:

研究无训练的松弛推测解码技术,统一现有方法于共享框架,在当代环境下基准测试,发现松弛需大量能力评估,且许多方法依赖良好语言模型作为起草器,不适用于轻量级专用多令牌预测起草器。

摘要:

推测解码通过使用更快的辅助模型来起草令牌,然后由自回归语言模型并行验证,从而加速从自回归语言模型中采样。标准推测解码是无损的,而最近的工作认为放宽这种严格保证可以进一步提高速度、实现可控的能力-速度权衡,甚至获得能力提升。我们对无训练的松弛推测解码技术进行了实践研究,将现有方法统一在一个共享框架内,在当代环境下对它们进行基准测试,并为从业者提炼出要点和实证结果。重要要点包括:与无损推测解码不同,松弛可能需要大量的能力评估,而且许多松弛方法依赖于一个良好的语言模型作为起草器,这使得它们不适用于轻量级专用多令牌预测起草器。

英文摘要:

Speculative decoding accelerates sampling from an autoregressive LLM by using a faster auxiliary model to draft tokens which are then verified in parallel by the LLM. Standard speculative decoding is lossless: its rejection and resampling steps exactly preserve the LLM's sampling distribution. Recent work argues that relaxing this strict guarantee can yield further speed-ups, controlled capability-speed trade-offs, or even capability gains. We practically investigate training-free relaxed speculative decoding techniques, unify existing approaches within a shared framework, benchmark them on contemporary settings, and distil takeaways and empirical findings for practitioners. Important takeaways include: relaxation can require considerable capability evaluation unlike lossless speculative decoding, and many relaxed approaches rely on a drafter that is a good language model, making them unsuited for lightweight dedicated multi-token-prediction drafters.

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

↑