跳到正文
arXiv (AI + Vision + Imaging)· Seil Kang, Hangoo Kang, Tarun Suresh, Youngeun Kim, Shreyas Pimpalgaonkar, Seong Jae Hwang, Azalia Mirhoseini·· 2 天前AI 评分30

ThunderSync:无策略陈旧的无损智能体强化学习加速方案

ThunderSync: Lossless Acceleration of Agentic Reinforcement Learning

AI 导读

ThunderSync 提出一种无策略陈旧(policy staleness)的梯度流式训练方法,在 GRPO 中每条轨迹奖励到达即计算其得分梯度、无需等待整组,在 OPD 中每个智能体回合完成即计算教师评分动作的梯度。

正文 · 原文

arXiv:2610.05935v2 Announce Type: replace Abstract: Language models are moving beyond generating answers to pursuing long-horizon goals in interactive environments. Post-training these agents requires long, heterogeneous trajectories, and synchronous systems leave learner engines idle until rollout and verification finish. To squeeze out these pipeline bubbles, asynchronous training overlaps rollout and learning across updates, but comes at the cost of policy staleness. We introduce ThunderSync, which starts gradient computation as soon as all required inputs are fixed, without policy staleness. For group relative policy optimization (GRPO), ThunderSync computes each trajectory's score gradient as soon as the reward for that trajectory arrives, without waiting for the group. For on-policy distillation (OPD), it computes gradients for each completed agentic turn's teacher-scored actions while tool calls run in the sandbox. We prove that gradient streaming produces the same GRPO and OPD updates as batch-synchronous training, without changing either objective. On SWE-bench Verified and Terminal Bench 4.0, we train models to the same performance up to $1.9 \times$ faster than synchronous training. With zero policy staleness, ThunderSync also outperforms asynchronous training at a fixed budget by up to $2.47$ percentage points.

来源:arXiv (AI + Vision + Imaging) · arxiv.org