arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.27027cs.CLcs.AI
收藏

TAPS: 任务感知的提案分布用于推测采样

TAPS: Task Aware Proposal Distributions for Speculative Sampling

King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);American University of Beirut (AUB)(贝鲁特美国大学)

Mohamad Zbib, Mohamad Bazzi, Ammar Mohanna, Hasan Abed Al Kader Hammoud, Bernard Ghanem

AI总结:

研究探讨了推测解码质量依赖于提案模型训练分布与下游任务匹配程度,提出通过任务特定训练和混合数据训练提升提案分布性能,证明在推理时结合专用提案模型比在权重空间中结合更有效。

摘要:

推测解码通过让轻量级草案模型提出未来token,由更大目标模型并行验证,从而加速自回归生成。然而,草案模型通常在广泛通用语料上训练,不清楚推测解码质量依赖于草案训练分布的程度。本文通过轻量级HASS和EAGLE-2草案器在MathInstruct、ShareGPT和混合数据变体上训练,评估在MT-Bench、GSM8K、MATH-500和SVAMP上的表现。通过接受长度衡量,任务特定训练显示出明显专业化:MathInstruct训练的草案在推理基准上最强,而ShareGPT训练的草案在MT-Bench最强。混合数据训练提高鲁棒性,但更大混合体不主导所有解码温度。此外,研究如何在推理时结合专用草案器。简单检查点平均表现不佳,而基于置信度的路由优于单领域草案,合并树验证在两种backbone上均产生最高接受长度。最终,置信度比熵更有效:被拒绝的token通常具有更高熵,但置信度产生更清晰的基准级路由决策。这些结果表明,推测解码质量不仅取决于草案架构,还取决于草案训练数据与下游工作负载的匹配程度,并且在推理时结合专用草案器比在权重空间中结合更有效。

英文摘要:

Speculative decoding accelerates autoregressive generation by letting a lightweight draft model propose future tokens that a larger target model then verifies in parallel. In practice, however, draft models are usually trained on broad generic corpora, which leaves it unclear how much speculative decoding quality depends on the draft training distribution. We study this question with lightweight HASS and EAGLE-2 drafters trained on MathInstruct, ShareGPT, and mixed-data variants, evaluated on MT-Bench, GSM8K, MATH-500, and SVAMP. Measured by acceptance length, task-specific training yields clear specialization: MathInstruct-trained drafts are strongest on reasoning benchmarks, while ShareGPT-trained drafts are strongest on MT-Bench. Mixed-data training improves robustness, but larger mixtures do not dominate across decoding temperatures. We also study how to combine specialized drafters at inference time. Naive checkpoint averaging performs poorly, whereas confidence-based routing improves over single-domain drafts and merged-tree verification yields the highest acceptance length overall for both backbones. Finally, confidence is a more useful routing signal than entropy: rejected tokens tend to have higher entropy, but confidence produces much clearer benchmark-level routing decisions. These results show that speculative decoding quality depends not only on draft architecture, but also on the match between draft training data and downstream workload, and that specialized drafters are better combined at inference time than in weight space.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑