RCSD:面向领域特定推测解码的强化与持续学习
RCSD: Reinforcement and Continual Learning for Domain-Specific Speculative Decoding
AI总结:
针对传统推测解码训练的缺陷,提出RCSD框架,利用推测推理的接受/拒绝序列构建隐式偏好对,提升平均接受长度与推理速度且不损害生成质量。
摘要:
推测解码通过使用紧凑的草稿模型提出候选token,再由目标模型并行验证,从而加速大语言模型的推理。传统训练依赖软标签蒸馏,这会迫使草稿模型模仿目标模型的完整输出分布,包括高熵区域,而这些区域会降低接受率并增加早期拒绝风险。我们提出RCSD(面向推测解码的强化与持续学习,Reinforcement and Continual Learning for Speculative Decoding),这是一个使草稿模型优化与最大化接受长度的系统级目标对齐的训练框架。RCSD利用推测推理过程中自然产生的接受和拒绝序列来构建隐式偏好对,并采用掩码损失以避免惩罚与目标对齐的token。在多个基准上评估显示,RCSD相比HASS将平均接受长度提高了35%,在实际工作负载上实现了比HASS快1.35倍的端到端推理,且未损害生成质量。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。