Speculative decoding
Speculative decoding is an inference-time optimization for autoregressive large language models (LLMs) that generates multiple tokens per decoding step instead of one. A smaller draft model proposes a sequence of candidate tokens, and the larger target model verifies them in a single forward pass through a modified rejection sampling scheme. The verification preserves the target model's original output distribution, so the technique produces the same results as standard decoding while cutting latency by roughly two to three times. The name is an analogy to speculative execution in CPU design, where a processor runs instructions along a predicted branch before the outcome is known.
Speculative decoding is an inference-time optimization for autoregressive large language models (LLMs) that generates multiple tokens per decoding step instead of one. A smaller draft model proposes a sequence of candidate tokens, and the larger target model verifies them in a single forward pass through a modified rejection sampling scheme. The verification preserves the target model's original output distribution, so the technique produces the same results as standard decoding while cutting latency by roughly two to three times. The name is an analogy to speculative execution in CPU design, where a processor runs instructions along a predicted branch before the outcome is known.
References
- Boost Llama 3.3 70B Inference Throughput 3x with NVIDIA TensorRT-LLM Speculative Decoding · retrieved 2026-04-04 · rev 1367879801
Cite this reference
MLA "Boost Llama 3.3 70B Inference Throughput 3x with NVIDIA TensorRT-LLM Speculative Decoding." "Boost Llama 3. 2026-04-04. https://developer.nvidia.com/blog/boost-llama-3-3-70b-inference-throughput-3x-with-nvidia-tensorrt-llm-speculative-decoding/. Accessed 24 November 2026.
Chicago "Boost Llama 3.3 70B Inference Throughput 3x with NVIDIA TensorRT-LLM Speculative Decoding." "Boost Llama 3. 2026-04-04. https://developer.nvidia.com/blog/boost-llama-3-3-70b-inference-throughput-3x-with-nvidia-tensorrt-llm-speculative-decoding/.
APA "Boost Llama 3. (2026). Boost Llama 3.3 70B Inference Throughput 3x with NVIDIA TensorRT-LLM Speculative Decoding. Retrieved November 24, 2026, from https://developer.nvidia.com/blog/boost-llama-3-3-70b-inference-throughput-3x-with-nvidia-tensorrt-llm-speculative-decoding/
- Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding." Xia, Heming; Yang, Zhe; Dong, Qingxiu; Wang, Peiyi; Li, Yongqi; Ge, Tao; Liu, Tianyu; Li, Wenjie; Sui, Zhifang (2024-06-. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding." Xia, Heming; Yang, Zhe; Dong, Qingxiu; Wang, Peiyi; Li, Yongqi; Ge, Tao; Liu, Tianyu; Li, Wenjie; Sui, Zhifang (2024-06-. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA Xia, Heming; Yang, Zhe; Dong, Qingxiu; Wang, Peiyi; Li, Yongqi; Ge, Tao; Liu, Tianyu; Li, Wenjie; Sui, Zhifang (2024-06-. (2026). Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- Blockwise Parallel Decoding for Deep Autoregressive Models · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "Blockwise Parallel Decoding for Deep Autoregressive Models." Stern, Mitchell; Shazeer, Noam; Uszkoreit, Jakob (2018-11-07). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "Blockwise Parallel Decoding for Deep Autoregressive Models." Stern, Mitchell; Shazeer, Noam; Uszkoreit, Jakob (2018-11-07). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA Stern, Mitchell; Shazeer, Noam; Uszkoreit, Jakob (2018-11-07). (2026). Blockwise Parallel Decoding for Deep Autoregressive Models. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification." Miao, Xupeng; Oliaro, Gabriele; Zhang, Zhihao; Cheng, Xinhao; Wang, Zeyu; Zhang, Zhengxin; Wong, Rae Ying Yee; Zhu, Alan. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification." Miao, Xupeng; Oliaro, Gabriele; Zhang, Zhihao; Cheng, Xinhao; Wang, Zeyu; Zhang, Zhengxin; Wong, Rae Ying Yee; Zhu, Alan. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA Miao, Xupeng; Oliaro, Gabriele; Zhang, Zhihao; Cheng, Xinhao; Wang, Zeyu; Zhang, Zhengxin; Wong, Rae Ying Yee; Zhu, Alan. (2026). SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads." Cai, Tianle; Li, Yuhong; Geng, Zhengyang; Peng, Hongwu; Lee, Jason D. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads." Cai, Tianle; Li, Yuhong; Geng, Zhengyang; Peng, Hongwu; Lee, Jason D. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA Cai, Tianle; Li, Yuhong; Geng, Zhengyang; Peng, Hongwu; Lee, Jason D. (2026). Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty." Li, Yuhui; Wei, Fangyun; Zhang, Chao; Zhang, Hongyang (2025-03-04). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty." Li, Yuhui; Wei, Fangyun; Zhang, Chao; Zhang, Hongyang (2025-03-04). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA Li, Yuhui; Wei, Fangyun; Zhang, Chao; Zhang, Hongyang (2025-03-04). (2026). EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- Looking back at speculative decoding · retrieved 2026-04-04 · rev 1367879801
Cite this reference
MLA "Looking back at speculative decoding." a b c d "Looking back at speculative decoding". 2026-04-04. https://research.google/blog/looking-back-at-speculative-decoding/. Accessed 24 November 2026.
Chicago "Looking back at speculative decoding." a b c d "Looking back at speculative decoding". 2026-04-04. https://research.google/blog/looking-back-at-speculative-decoding/.
APA a b c d "Looking back at speculative decoding". (2026). Looking back at speculative decoding. Retrieved November 24, 2026, from https://research.google/blog/looking-back-at-speculative-decoding/
- An Introduction to Speculative Decoding for Reducing Latency in AI Inference · retrieved 2026-04-04 · rev 1367879801
Cite this reference
MLA "An Introduction to Speculative Decoding for Reducing Latency in AI Inference." a b "An Introduction to Speculative Decoding for Reducing Latency in AI Inference". 2026-04-04. https://developer.nvidia.com/blog/an-introduction-to-speculative-decoding-for-reducing-latency-in-ai-inference/. Accessed 24 November 2026.
Chicago "An Introduction to Speculative Decoding for Reducing Latency in AI Inference." a b "An Introduction to Speculative Decoding for Reducing Latency in AI Inference". 2026-04-04. https://developer.nvidia.com/blog/an-introduction-to-speculative-decoding-for-reducing-latency-in-ai-inference/.
APA a b "An Introduction to Speculative Decoding for Reducing Latency in AI Inference". (2026). An Introduction to Speculative Decoding for Reducing Latency in AI Inference. Retrieved November 24, 2026, from https://developer.nvidia.com/blog/an-introduction-to-speculative-decoding-for-reducing-latency-in-ai-inference/
- Accelerating Large Language Model Decoding with Speculative Sampling · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "Accelerating Large Language Model Decoding with Speculative Sampling." a b c Chen, Charlie; Borgeaud, Sebastian; Irving, Geoffrey; Lespiau, Jean-Baptiste; Sifre, Laurent; Jumper, John (2023-0. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "Accelerating Large Language Model Decoding with Speculative Sampling." a b c Chen, Charlie; Borgeaud, Sebastian; Irving, Geoffrey; Lespiau, Jean-Baptiste; Sifre, Laurent; Jumper, John (2023-0. 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA a b c Chen, Charlie; Borgeaud, Sebastian; Irving, Geoffrey; Lespiau, Jean-Baptiste; Sifre, Laurent; Jumper, John (2023-0. (2026). Accelerating Large Language Model Decoding with Speculative Sampling. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- Fast Inference from Transformers via Speculative Decoding · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "Fast Inference from Transformers via Speculative Decoding." a b c d e Leviathan, Yaniv; Kalman, Matan; Matias, Yossi (2022). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "Fast Inference from Transformers via Speculative Decoding." a b c d e Leviathan, Yaniv; Kalman, Matan; Matias, Yossi (2022). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA a b c d e Leviathan, Yaniv; Kalman, Matan; Matias, Yossi (2022). (2026). Fast Inference from Transformers via Speculative Decoding. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
- Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding · retrieved 2026-11-18 · rev 1367879801
Cite this reference
MLA "Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding." Ryu, Hyun; Kim, Eric (2024-11-20). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.
Chicago "Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding." Ryu, Hyun; Kim, Eric (2024-11-20). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).
APA Ryu, Hyun; Kim, Eric (2024-11-20). (2026). Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)
Cite this article
MLA
"Speculative decoding." encyclopegia.org, 2026, https://encyclopegia.org/wiki/speculative-decoding. Accessed 24 November 2026.
Chicago
"Speculative decoding." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/speculative-decoding.
APA
encyclopegia.org. (2026). Speculative decoding. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/speculative-decoding
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON