SRT: Accelerating Reinforcement Learning via Speculative Rollout with Tree-Structured Cache
Chi-Chih Chang, Siqi Zhu, Zhichen Zeng, Haibin Lin, Jiaxuan You, Mohamed S. Abdelfattah, Ziheng Jiang, Xuehai Qian
TL;DR
This work tackles the rollout bottleneck in on-policy reinforcement learning for language models by introducing Speculative Rollout with Tree-Structured Cache (SRT). SRT maintains a per-prompt tree-structured cache of past rollouts and uses it to draft speculative continuations, which are then verified against the current policy to preserve the on-policy distribution, ensuring correctness. Cache updates occur online from ongoing rollouts and via run-ahead generation during idle GPU time, providing richer drafts without affecting learning targets. Across PPO, GRPO, DAPO, and multi-turn settings, SRT achieves up to $2.08\times$ speedups in rollout and end-to-end reductions in latency and per-token cost, demonstrating a practical approach to scalable, efficient RL training for large language models.
Abstract
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.
