Large Language Models (LLMs) have achieved impressive success across a wide range of
applications, but deploying them efficiently remains challenging due to the high latency and
computational cost of autoregressive generation. Speculative decoding has emerged as an
effective solution to this challenge by using a smaller draft model to predict multiple
future tokens and a larger target model to verify these predictions in parallel. In practice,
speculative decoding can provide 2–4× inference speedups while maintaining the
same generation quality.
This tutorial provides an overview of the key ideas, algorithms, and recent developments in
speculative decoding. We will introduce how speculative generation works, discuss recent
advances in draft model design, verification mechanisms, and discuss practical considerations
for applying speculative decoding to real-world LLM systems. Through this tutorial, we aim to
provide a comprehensive understanding of the current landscape of speculative decoding and
highlight its potential for building faster and more efficient LLM applications, as well as
the challenges that remain for future research.