Dynamic Depth Decoding: Faster Speculative Decoding for LLMs

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

Preprint: not peer reviewed. Results may change in later versions.

Abstract

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.

Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.

Record

Archive ID
arxiv:2409.00142
Published
Aug 30, 2024
arXiv
2409.00142
Categories
cs.CL, cs.AI
Provenance
arxiv