Speculative Decoding: How LLMs Write Tokens 3x Faster
Speculative decoding accelerates LLM inference by having a cheap drafter propose several tokens that the target model verifies in one parallel forward pass, with a rejection-sampling step that makes the output distribution provably identical to the target model's. The landscape runs from separate draft models through Medusa (2.2-3.6x) and EAGLE-3 (up to 6.5x) to DeepSeek's co-trained MTP heads (85-90% second-token acceptance) and model-free n-gram lookup. The catch: speculation spends surplus compute to save memory bandwidth, so gains shrink as batch size rises and can go negative once the GPU becomes compute-bound.




