Key Factors for Maximizing Draft Model Acceptance Rate
A high acceptance rate, crucial for speculative decoding speedups, is primarily achieved by training the draft model on data *similar* to the target model and using specialized objectives like LK losses, which can yield 8-10% gains in average acceptance length over standard KL divergence. Distilled versions of the target model are also good candidates.
The top 3
- Top Factor: Draft Model-Target Distribution Alignment: Achieving a high acceptance rate (α ≥ 0.6 for 2-3x speedup) hinges on the draft model's output distribution closely matching the target LLM's, ensuring the generated text is statistically identical to the target model's autoregressive output.
- Custom Training Data: Key to Domain Acceptance Boost: Training draft models on data that closely aligns with the target model's training distribution or the specific workload's domain, often through fine-tuning, is critical for maximizing acceptance rates, especially for specialized applications.
- Optimal Draft Length: Balancing Acceptance and Speed: Maximizing acceptance rate involves finding an optimal number of tokens for the draft model to propose; generating too many can decrease the overall probability of full acceptance, while too few limit potential latency reductions.
Sources
Open the full topic