English

Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding

Computation and Language 2024-06-05 v3

Abstract

To mitigate the high inference latency stemming from autoregressive decoding in Large Language Models (LLMs), Speculative Decoding has emerged as a novel decoding paradigm for LLM inference. In each decoding step, this method first drafts several future tokens efficiently and then verifies them in parallel. Unlike autoregressive decoding, Speculative Decoding facilitates the simultaneous decoding of multiple tokens per step, thereby accelerating inference. This paper presents a comprehensive overview and analysis of this promising decoding paradigm. We begin by providing a formal definition and formulation of Speculative Decoding. Then, we organize in-depth discussions on its key facets, such as drafter selection and verification strategies. Furthermore, we present a comparative analysis of leading methods under third-party testing environments. We aim for this work to serve as a catalyst for further research on Speculative Decoding, ultimately contributing to more efficient LLM inference.

Keywords

Cite

@article{arxiv.2401.07851,
  title  = {Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding},
  author = {Heming Xia and Zhe Yang and Qingxiu Dong and Peiyi Wang and Yongqi Li and Tao Ge and Tianyu Liu and Wenjie Li and Zhifang Sui},
  journal= {arXiv preprint arXiv:2401.07851},
  year   = {2024}
}

Comments

ACL 2024 Findings (Long Paper), camera-ready version

R2 v1 2026-06-28T14:17:18.422Z