Draft Model Latency: The #1 Bottleneck for Speculative Decoding Speed
Speculative decoding's overall speedup is fundamentally limited by the draft model's per-token generation latency, as its slow autoregressive passes can negate the benefits of the faster batched verification by the larger target model.
The top 3
- Draft Model Latency's Top Architectural Culprit: The primary bottleneck for draft model latency in speculative decoding is its 'model depth,' where deeper models inherently lead to increased inference time, even with a similar number of parameters.
- Draft Model's True Performance Metric: Latency Over Accuracy: Draft model accuracy on language modeling tasks does not strongly correlate with speculative decoding performance; instead, low latency and a high token acceptance rate by the target model are the critical factors for achieving significant speedup.
- Three Key Strategies to Slash Draft Model Latency: Optimizing draft model latency for speculative decoding involves three main approaches: designing hardware-efficient models (e.g., achieving 111% higher throughput), maintaining a size ratio of 1/10 to 1/50 of the target model, and fine-tuning for up to a 15% acceptance rate boost.
Sources
Open the full topic