Domain Alignment Boosts Acceptance Rates 100%+
Aligning the draft model's data distribution with the target model's specific workload, often via custom training or fine-tuning, can increase acceptance rates by over 100% and ensure up to 3x speedups.
The top 3
- Up to 3x Speedup: Acceptance Rate's Linear Impact: Higher acceptance rates (α), significantly boosted by domain alignment, lead to nearly linear drops in latency and increases in throughput, enabling 2-3x speedups over baseline decoding at α ≥ 0.6 and speculative token counts (γ) ≥ 5.
- Top Alignment Methods: Distillation & Synthetic Data: Effective domain alignment for draft models leverages techniques like offline knowledge distillation, which consistently outperforms online distillation by 11% to 25%, and the use of synthetic data, capable of achieving 80% to 93% of the performance of historical user queries for training.
- Misalignment's Cost: Reduced Speedup, Wasted Compute: A significant domain shift between the draft and target models leads to a sharp reduction in token acceptance rates, eroding the speedup from speculative decoding and wasting computational resources on rejected tokens, often forcing a fallback to slower sequential decoding.
Open the full topic