arXiv:2610.05935cs.LGOct 2026

Manuscript Offprint

arXiv:2610.05935

ThunderSyncRL: Lossless Acceleration of Agentic Reinforcement Learning

Seil Kang, Hangoo Kang, Tarun Suresh, Youngeun Kim, Shreyas Pimpalgaonkar, Seong Jae Hwang, Azalia Mirhoseini

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 ThunderSyncRL, which starts gradient computation as soon as all required inputs are fixed, without policy staleness. For group relative policy optimization (GRPO), ThunderSyncRL 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×1.9\times faster than synchronous training. With zero policy staleness, ThunderSyncRL also outperforms asynchronous training at a fixed budget by up to 2.47 percentage points.

Figure

Figure 1: ThunderSyncRL matches Sync’s SWE-bench Verified pass@3 at up to 1.9×1.9\times lower training cost under GRPO (left pair) and OPD (right pair). At a 128-GPU-hour budget, its zero-staleness schedule improves pass@3 by up to 2.47 percentage points over Async and Fully Async, both of which admit stale rollouts.

∗^{*}Core contributor.

†^{\dagger}Co-corresponding author.

∗^{*}Main corresponding author.

1 Introduction

Language models are increasingly trained as agents for long-horizon decision-making in interactive environments, reasoning and using tools in response to feedback. Reinforcement learning (RL) from environment or verifier feedback has emerged as a promising way to improve this behavior [JZY+25; FHQ+26; PWN+25; WDC+25; GZC+25]. However, training these agents requires interaction trajectories that are expensive to generate and heterogeneous in duration, with long-tailed completion times [HOC+26; CTL+26; RWL+26]. In batch-synchronous RL, learner engines remain idle until rollout engines finish the batch and all rewards arrive [FGS+25; RWL+26]. We found that learner GPUs sit idle for 49.5% of step time in synchronous GRPO and OPD training while they wait for rollout and verification (Figure 3). Prior work reports idle fractions as high as 81% [RWL+26], and the slowest 10% of rollout requests can take up to half of rollout time [QHH+26], which itself accounts for 70% to over 90% of training time [GZA+25; ZLS+25].

Existing systems reduce these pipeline bubbles, idle gaps between dependent stages, by overlapping computation and coordinating resource allocation [MFL+25; SZY+25; ZZW+25; FGS+25; HYW+26]. Asynchronous execution overlaps rollout and learning across updates, but some trajectories come from older policies. This policy staleness can require extra algorithmic machinery, including importance-weighted off-policy correction, filtering, clipping, or explicit staleness control [ESM+18; FGS+25; HYW+26; HLT+26]. On-policy pipelines overlap execution within a fixed rollout, but complete-group schedules still delay trajectory-local backward passes until all group rewards arrive [CHY+26].

We argue that the apparent trade-off between pipeline overlap and zero staleness is artifactual, arising from coarse execution barriers. Although a synchronous update requires the complete batch, its gradient computation can begin earlier. For example, in group relative policy optimization (GRPO) [SWZ+24], group rewards determine how to weight each trajectory's score gradient, but the gradient can be computed before all rewards arrive. We therefore ask: can learner computation begin as soon as its objective dependencies are satisfied with zero staleness?

We introduce ThunderSyncRL, which streams gradients through dependency-aware scheduling of learner work. During update k, trajectories are sampled from πθk\pi_{\theta_k} and gradients are evaluated at θk\theta_k. For GRPO, a trajectory's advantage seems to need every reward in its group. ThunderSyncRL nevertheless starts that trajectory's backward pass as soon as its own reward arrives, and two running sums of score gradients recover the exact group gradient once the group closes (Section 3.4). For on-policy distillation (OPD) [AVZ+24], ThunderSyncRL releases a turn's student backward pass once a frozen teacher scores the turn's action tokens, allowing overlap with tool execution and later turns. After all trajectories, groups, and gradient work finish, ThunderSyncRL combines the gradients, takes one optimizer step, and publishes θk+1\theta_{k+1}. ThunderSyncRL is therefore asynchronous in execution and synchronous in policy updates.

We use SWE-smith and SETA-Env for post-training [YLJ+25; SHK+26] and evaluate on SWE-bench Verified and Terminal Bench 4.0 [JYW+24; MSC+26]. Our scheduling analysis predicts step wall time speedup approaching 2×2 \times over synchronous execution when rollout and learner work are balanced and the residual tail and publication cost vanish. With a fixed trajectory batch size, shorter steps let ThunderSyncRL learn from more trajectories within the same GPU-hours, potentially improving end-to-end performance. Figure 1 compares ThunderSyncRL with Sync by training cost: each arrow marks where ThunderSyncRL reaches the pass@3 of a Sync checkpoint, at 1.6 to 1.9×1.9 \times lower cost.

Our main contributions are as follows:

• We introduce ThunderSyncRL and gradient streaming, overlapping rollout and learner computation while preserving a synchronous optimizer step and zero policy staleness.

• We derive exact gradient reductions for GRPO and turn-level OPD, allowing early backward computation while preserving their batch-synchronous updates.

• We evaluate ThunderSyncRL on SWE-bench Verified and Terminal Bench 4.0 under GRPO and OPD. ThunderSyncRL reaches the common pass@3 targets up to 1.9×1.9\times faster than Sync while retaining zero policy staleness. At 128 GPU-hours, ThunderSyncRL achieves the highest pass@3 in all settings, 1.27 to 2.47 points above Async.

Figure

Figure 2: Schematic schedules for GRPO (a) and OPD (b). • Sync waits for full batches; • Async overlaps adjacent batches with one-step staleness; • Fully Async updates rollout weights while trajectories remain in flight. • ThunderSyncRL streams ready gradients with one batch-synchronous optimizer step and zero staleness.

References (100)

Couldn't load all references. Reload the page to try again.