arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.13841cs.LG
收藏

攻克长尾问题:面向强化学习训练的分布感知投机解码

Beat the long tail: Distribution-Aware Speculative Decoding for RL Training

Zelei Shao, Vikranth Srivatsa, Sanjana Srivastava, Qingyang Wu, Alpay Ariyak, Xiaoxia Wu, Ameen Patel, Jue Wang, Percy Liang, Tri Dao, Ce Zhang, Yiying Zhang, B… 展开作者

Zelei Shao, Vikranth Srivatsa, Sanjana Srivastava, Qingyang Wu, Alpay Ariyak, Xiaoxia Wu, Ameen Patel, Jue Wang, Percy Liang, Tri Dao, Ce Zhang, Yiying Zhang, Ben Athiwaratkun, Chenfeng Xu, Junxiong Wang

AI总结:

针对强化学习后训练推演阶段的长尾长度瓶颈,本文提出分布感知投机解码框架DAS,利用历史推演数据设计自适应起草器与长度感知投机策略,可在不损失训练质量的前提下将推演时间最高降低50%。

摘要:

强化学习(RL)后训练已成为对齐大语言模型(LLM)的关键环节,但其效率日益受到逐token生成长轨迹的推演阶段限制。我们发现了一大核心瓶颈:推演长度呈长尾分布,少量长生成任务占据了绝大部分挂钟时间;同时也存在配套机遇:各训练轮次中可用的历史推演数据可揭示稳定的提示级模式。基于上述观察,我们提出DAS(分布感知投机解码)框架,可在不改变模型输出的前提下加速RL推演。DAS融合两大核心设计:一是基于近期推演数据、通过增量维护后缀树构建的自适应非参数起草器;二是长度感知投机策略,为占据总完成时间主导地位的长轨迹分配更激进的起草预算。该设计利用推演历史维持高接受率,同时在解码过程中平衡基础成本与token级成本。在数学与代码推理任务上的实验显示,DAS可将推演时间最高降低50%,同时保持完全一致的训练曲线,证明分布感知投机解码可在不损失学习质量的前提下显著加速RL后训练。

英文摘要:

Reinforcement learning(RL) post-training has become essential for aligning large language models (LLMs), yet its efficiency is increasingly constrained by the rollout phase, where long trajectories are generated token by token. We identify a major bottleneck:the long-tail distribution of rollout lengths, where a small fraction of long generations dominates wall clock time and a complementary opportunity; the availability of historical rollouts that reveal stable prompt level patterns across training epochs. Motivated by these observations, we propose DAS, a Distribution Aware Speculative decoding framework that accelerates RL rollouts without altering model outputs. DAS integrates two key ideas: an adaptive, nonparametric drafter built from recent rollouts using an incrementally maintained suffix tree, and a length aware speculation policy that allocates more aggressive draft budgets to long trajectories that dominate makespan. This design exploits rollout history to sustain acceptance while balancing base and token level costs during decoding. Experiments on math and code reasoning tasks show that DAS reduces rollout time up to 50% while preserving identical training curves, demonstrating that distribution-aware speculative decoding can significantly accelerate RL post training without compromising learning quality.

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

↑