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

快速LLM后训练通过解耦和最快-N推测

Fast LLM Post-training via Decoupled and Fastest-of-N Speculation

Institute of Parallel and Distributed Systems, Shanghai Jiao Tong University(并行与分布式系统研究所,上海交通大学);ByteDance Seed(字节跳动种子)

Rongxin Cheng, Kai Zhou, Xingda Wei, Siyuan Liu, Mingcong Han, Mingjing Ai, Yeju Zhou, Baoquan Zhong, Wencong Xiao, Rong Chen, Haibo Chen

AI总结:

SpecActor通过解耦和最快-N推测方法提升LLM后训练效率,实现2.0-2.7倍的rollout加速和1.4-2.3倍的端到端训练时间提升。

摘要:

在大型语言模型(LLM)后训练中,rollout(回放)主导了训练时间,其中训练好的模型被用来在一批提示下生成token。SpecActor通过推测解码实现了快速rollout,部署了快速草稿路径以加速不可并行化的生成,同时通过快速并行验证与原始模型的输出保证正确性。SpecActor解决了两个阻碍推测效率的基础挑战:(1)一种解耦的推测方法,克服了在执行推测解码时使用相对较大的每 worker 批量大小时的计算低效问题——这是训练中常见的配置,但不利于推测;(2)一种最快-N的推测方法,根据rollout进度选择和结合不同的草稿方法,以近似最优的草稿方法,即使在事先不知道最佳方法的情况下。在生产跟踪上的广泛评估显示,SpecActor在常见后训练基线上的平均rollout速度加快了2.0-2.4倍,最高可达2.7倍。结果在密集模型和MoE模型以及不同RL算法中都是一致的。值得注意的是,SpecActor在不同跟踪中比vanilla推测rollout快1.1-2.6倍。加速的rollout实现了1.4-2.3倍更快的端到端训练时间。

英文摘要:

Rollout dominates the training time in large language model (LLM) post-training, where the trained model is used to generate tokens given a batch of prompts. This work, SpecActor, achieves fast rollout with speculative decoding that deploys a fast draft path to accelerate the unparallelizable generation, while the correctness is guaranteed by fast parallel verification of the outputs with the original model. SpecActor addresses two foundational challenges that hinder speculation efficiency: (1) a Decoupled speculation method that overcomes the computation inefficiency issue when executing speculative decoding with relative large per-worker batch size -- a common configuration in training but unfriendly to speculation, and (2) a Fastest-of-N speculation method that selects and combines different draft methods according to the rollout progress to approximate the optimal draft method even when the best one is unknown a priori. Extensive evaluations on production traces show that SpecActor accelerates mean rollout speed by 2.0--2.4x, with up to 2.7x speedup, over common post-training baselines. The results are consistent across both dense and MoE models and across different RL algorithms. Notably, SpecActor is 1.1--2.6x faster compared to vanilla speculative rollout in different traces. The accelerated rollout achieves 1.4--2.3x faster end-to-end training time.

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

↑