arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.09083cs.LG
收藏

SRT:通过树结构缓存的推测式回滚加速强化学习

SRT: Accelerating Reinforcement Learning via Speculative Rollout with Tree-Structured Cache

Cornell University(康奈尔大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Tsinghua University(清华大学);University of Washington(华盛顿大学);ByteDance(字节跳动)

Chi-Chih Chang, Siqi Zhu, Zhichen Zeng, Haibin Lin, Jiaxuan You, Mohamed S. Abdelfattah, Ziheng Jiang, Xuehai Qian

AI总结:

SRT通过树结构缓存的推测式回滚方法,有效加速语言模型的在线强化学习,提升生成效率并降低推理成本。

摘要:

我们提出了Speculative Rollout with Tree-Structured Cache(SRT),一种简单且模型无关的方法,用于加速语言模型的在线强化学习(RL),而不会牺牲分布正确性。SRT利用相同提示在不同训练步骤中回滚的实证相似性,通过在每个提示中存储先前生成的延续来构建树结构的缓存。在生成过程中,当前策略使用该树作为草案模型进行推测解码。为了保持缓存的最新并提高草案模型的质量,SRT从正在进行的回滚中在线更新树,并在GPU空闲时主动进行提前生成。SRT被集成到标准的RL管道(例如PPO、GRPO和DAPO)和多轮设置中,能够一致地减少生成和步骤延迟,并降低每token推理成本,在回滚过程中实现了高达2.08倍的实时时钟时间加速。

英文摘要:

We present Speculative Rollout with Tree-Structured Cache (SRT), a simple, model-free approach to accelerate on-policy reinforcement learning (RL) for language models without sacrificing distributional correctness. SRT exploits the empirical similarity of rollouts for the same prompt across training steps by storing previously generated continuations in a per-prompt tree-structured cache. During generation, the current policy uses this tree as the draft model for performing speculative decoding. To keep the cache fresh and improve draft model quality, SRT updates trees online from ongoing rollouts and proactively performs run-ahead generation during idle GPU bubbles. Integrated into standard RL pipelines (\textit{e.g.}, PPO, GRPO and DAPO) and multi-turn settings, SRT consistently reduces generation and step latency and lowers per-token inference cost, achieving up to 2.08x wall-clock time speedup during rollout.

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

↑