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

动态深度解码:面向大语言模型的更快速投机解码

Dynamic Depth Decoding: Faster Speculative Decoding for LLMs

ML Research Labs(ML研究实验室);Australian National University(澳大利亚国立大学)

Oscar Brown, Zhengjie Wang, Andrea Do, Nikhil Mathew, Cheng Yu

AI总结:

本文提出动态深度解码(DDD),通过动态深度优化 EAGLE-2 的草稿树生成,将平均加速比提升至 3.16 倍,比 EAGLE-2 对 EAGLE 的加速再提高 44%。

摘要:

利用投机解码加速大语言模型(LLMs)可以在不损失任何精度的情况下显著提升运行速度。目前,EAGLE-2 是最先进的投机解码方法,它通过动态草稿树对 EAGLE 进行了改进。我们提出动态深度解码(DDD),该方法利用动态深度优化 EAGLE-2 的树草稿生成方法。这使得 EAGLE-2 相对于 EAGLE 的平均加速比进一步提高了 44%,使 DDD 的平均加速比达到 3.16 倍。

英文摘要:

The acceleration of Large Language Models (LLMs) with speculative decoding provides a significant runtime improvement without any loss of accuracy. Currently, EAGLE-2 is the state-of-the-art speculative decoding method, improving on EAGLE with a dynamic draft tree. We introduce Dynamic Depth Decoding (DDD), which optimises EAGLE-2's tree drafting method using a dynamic depth. This extends the average speedup that EAGLE-2 achieves over EAGLE by $44\%$, giving DDD an average speedup of $3.16$x.

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

↑