← All entries
Paper2026#1313

ThunderSyncRL: Lossless Acceleration of Agentic Reinforcement Learning

Summary

ThunderSyncRL resolves the sync/async dilemma in agentic RL training. Synchronous GRPO/OPD leaves learner GPUs idle 49.5% of step time waiting for rollouts and verification to finish (measured training on SWE-smith); asynchronous training overlaps rollout and learning but learns from stale policies and performs worse. ThunderSyncRL streams gradient computation as soon as each piece's inputs are fixed while holding the policy snapshot constant, then takes one synchronous optimizer step. For GRPO, each trajectory's score gradient (the weighted action-token log-probability gradient H_i evaluated at the fixed policy, which does not depend on other rewards) is computed the moment its reward arrives; two running buffers (sum of r_i*H_i and sum of H_i) are regrouped at group close into the exact group gradient using the group mean and standard deviation. For OPD (on-policy distillation), each completed agentic turn contributes a gradient as soon as its teacher scores arrive while its tool call keeps running in the sandbox; per-turn unnormalized contributions accumulate and are divided once by the total scored-token count at batch closure, before clipping and the single optimizer step. The paper proves these streaming updates are identical to batch-synchronous GRPO/OPD without changing either objective. On Qwen-3.8-27B, ThunderSyncRL reaches the GRPO target of 74.01% pass@3 on SWE-bench Verified at 121.3 GPU-hours versus 233.5 for Sync (1.9x). Speedups to Sync's pass@3: SWE-bench Verified GRPO 1.9x, OPD 1.9x; Terminal Bench 4.0 GRPO 1.8x, OPD 1.9x. Pass@3 gains over Async at a fixed 128 GPU-hour budget: +2.47pp (SWE-bench GRPO), +1.27 (OPD), +1.52 (TB4 GRPO), +2.02 (TB4 OPD); model, workload, optimizer, and GPU allocation fixed per comparison. Code: github.com/seilk/thundersync (Apache-2.0) — a Python library with streaming GRPO/OPD objectives, engine, scheduling, rollout sandboxes (Docker/uDocker), and accel kernels; examples run on small randomly-initialized Qwen3 models on CPU or CUDA.

Venue
arXiv 2610.05935 (cs.LG), submitted 5 Oct 2026
Source
x
Access
free
Language
en
Added
Oct 8, 2026
Verified
Oct 8, 2026

Topics

agentic RL, GRPO, on-policy distillation, training efficiency, pipeline parallelism

Research notes

  • Discovery: Seil Kang (@seilk_, Visiting Scholar @ Stanford AILab / ScalingIntelLab, PhD student CS @ Yonsei, verified) X post 2026-10-08 ~1:23 AM ET (~3.3K views, 63 likes, 29 bookmarks) announcing ThunderSyncRL; co-lead Hangoo Kang, Azalia Mirhoseini (Stanford); built with Tarun Suresh, Youngeun Kim (Korea Univ), Shreyas Pimpalgaonkar (Bespoke Labs), Seong Jae Hwang (Yonsei). Links: paper https://arxiv.org/abs/2610.05935, code https://github.com/seilk/thundersync, blog https://seilk.github.io/thundersync. arXiv 2610.05935 (cs.LG), submitted 5 Oct 2026, CC BY 4.0; code repo Apache-2.0 (created 2026-10-06). Relevance: directly relevant to the user's RL post-training work (RL training-infra efficiency). Pairs with entry 1610 (NeMo-DCR): NeMo-DCR attacks checkpoint-transfer time to rollout clusters (1T refit in 150s vs 87.5 min), while ThunderSyncRL attacks learner-GPU idle time inside the training loop — complementary speedups for agentic RL. Caveats: README notes GRPO's objective is one fixed-snapshot semigradient epoch with group population-std normalization (not a multi-epoch PPO trainer); tensor dtype, accumulation order, batch partitioning, and kernel choice can affect finite-precision results.

Similar entries