RCSD: Reinforcement and Continual Learning for Domain-Specific Speculative Decoding
Mingkang Liu, Weiming Meng, Peipei Jiao, Jiawei Zhang, Tianyuan Liu, Junyan Li, Lichen Pang
Abstract
Speculative decoding accelerates large language model inference by employing a compact draft model to propose candidate tokens that are verified in parallel by a target model. Conventional training relies on soft-label distillation, which forces the draft model to mimic the target's full output distribution, including high-entropy regions that degrade acceptance rates and increase early rejection risk. We propose RCSD (Reinforcement and Continual Learning for Speculative Decoding), a training framework that aligns draft model optimization with the system-level objective of maximizing acceptance length. RCSD leverages naturally occurring accepted and rejected sequences during speculative inference to construct implicit preference pairs, with masked loss to avoid penalizing target-aligned tokens. Evaluated across multiple benchmarks, RCSD improves average acceptance length by 35% over HASS and achieves 1.35x faster end-to-end inference than HASS on practical workloads, without compromising generation quality.
Create a lesson
Metadata
- Comments
- 9 pages, 3 figures
Related papers
Look Back, Draft Ahead: Corrective Prefix Attention for Parallel Speculative Decoding
Shared title terminologycs.CLMohammad Mahdi Moradi, Ali Pourranjbar, Zongzuo Wang et al.
Understanding Target Probability Reuse in Speculative Decoding
Shared title terminologycs.CLJungseob Lee, Giyoon Jang, Chailin Nam et al.
Target Regeneration Shrinks the Gains of Draft-Training Objectives in Speculative Decoding
Shared title terminologycs.CLJungseob Lee, Hogun Seong, Euijun Choi et al.
Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity
Shared title terminologycs.CLYuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis et al.
From Rewarding What Models Say to How They Think: Attention Process Reward Model for LLM Reinforcement Learning
Shared title terminologycs.CLKairong Han, Nuanqiao Shan, Ziyu Zhao et al.
Quantizing Diffusion LLMs under Parallel Decoding: Commitment Risk and the Parallelism Tax
Shared title terminologycs.CLHuan Xu, Maosen Zhao, Pengtao Chen et al.