paper-with-me

홈 › Papers

Training Domain Draft Models for Speculative Decoding: Best Practices and Insights

2025-03-10 · Fenglu Hong, Ravi Raju, Jonathan Lingjie Li, Bo Li, Urmish Thakker, Avinash Ravichandran, Swayambhoo Jain, Changran Hu

Speculative decoding is an effective method for accelerating inference of large language models (LLMs) by employing a small draft model to predict the output of a target model. However, when adapting speculative decoding to domain-specific target models, the acceptance rate of the generic draft model drops significantly due to domain shift. In this work, we systematically investigate knowledge distillation techniques for training domain draft models to improve their speculation accuracy. We compare white-box and black-box distillation approaches and explore their effectiveness in various data accessibility scenarios, including historical user queries, curated domain data, and synthetically generated alignment data. Our experiments across Function Calling, Biology, and Chinese domains show that offline distillation consistently outperforms online distillation by 11% to 25%, white-box distillation surpasses black-box distillation by 2% to 10%, and data scaling trends hold across domains. Additionally, we find that synthetic data can effectively align draft models and achieve 80% to 93% of the performance of training on historical user queries. These findings provide practical guidelines for training domain-specific draft models to improve speculative decoding efficiency.

📄 PDF Abstract BibTeX arXiv:2503.07807

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge Distillation

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Not-a-Bandit: Provably No-Regret Drafter Selection in Speculative Decoding for LLMs

2025-10-22 · Hongyi Liu, Jiaji Huang, Zhen Jia, Youngsuk Park 외 arxiv

Speculative decoding is widely used in accelerating large language model (LLM) inference. In this work, we focus on the online draft model selection problem in speculative decoding. We design an algorithm that provably c…

RASD: Retrieval-Augmented Speculative Decoding

2025-03-05 · Guofeng Quan, Wenfeng Feng, Chuzhan Hao, Guochao Jiang 외

Speculative decoding accelerates inference in large language models (LLMs) by generating draft tokens for target model verification. Current approaches for obtaining draft tokens rely on lightweight draft models or addit…

Retrieval

ParallelSpec: Parallel Drafter for Efficient Speculative Decoding

2024-10-08 · Zilin Xiao, Hongming Zhang, Tao Ge, Siru Ouyang 외

Speculative decoding has proven to be an efficient solution to large language model (LLM) inference, where the small drafter predicts future tokens at a low cost, and the target model is leveraged to verify them in paral…

Language ModelingLanguage ModellingLarge Language ModelText Generation

Accelerating Speculative Decoding with Block Diffusion Draft Trees

2026-04-14 · Liran Ringel, Yaniv Romano arxiv

Speculative decoding accelerates autoregressive language models by using a lightweight drafter to propose multiple future tokens, which the target model then verifies in parallel. DFlash shows that a block diffusion draf…

Decoding Speculative Decoding

2024-02-02 · Minghao Yan, Saurabh Agarwal, Shivaram Venkataraman

Speculative Decoding is a widely used technique to speed up inference for Large Language Models (LLMs) without sacrificing quality. When performing inference, speculative decoding uses a smaller draft model to generate s…

Language ModelingLanguage Modelling