Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding

Hyun Ryu, Eric Kim

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

Abstract

Efficient inference in large language models (LLMs) has become a critical focus as their scale and complexity grow. Traditional autoregressive decoding, while effective, suffers from computational inefficiencies due to its sequential token generation process. Speculative decoding addresses this bottleneck by introducing a two-stage framework: drafting and verification. A smaller, efficient model generates a preliminary draft, which is then refined by a larger, more sophisticated model. This paper provides a comprehensive survey of speculative decoding methods, categorizing them into draft-centric and model-centric approaches. We discuss key ideas associated with each method, highlighting their potential for scaling LLM inference. This survey aims to guide future research in optimizing speculative decoding and its integration into real-world LLM applications.

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:2411.13157
Published
Nov 20, 2024
Updated
Nov 27, 2024
arXiv
2411.13157
Categories
cs.CL, cs.AI, cs.LG
Provenance
arxiv

Topics