← Back to Paper Radar

QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agents

Weiqi Wang, Yuxin Zhou, Mouxiang Chen, Siyuan Zhang, Yi Zhang, Yuyan Luo, Zhiyu Yin, Chencan Wu, Jiemin Jiang, Wentao Yao, Chujie Zheng, JianWei Zhang
arXiv.org | 2026

Reading guide · Based on sections of the original paper

The authors present QwenGyre, an online RL framework for hours-long, black-box agent-harness rollouts. It moves GPU cells between rollout and training without interrupting live executions, and it turns branching execution records into a bounded, deduplicated set of training trajectories.

Why read this

Read it if you run agentic RL with long-tailed, multi-hour rollouts and want to recover idle GPU time over colocated or fixed-partition async setups without changing the harness.

What the authors found

  • For the flagship Qwen 3.8 2.4T on NL2RepoBench, the authors report that 48 training steps took 75.42 h with QwenGyre, 134.55 h with Async and 91.47 h with Colocate. That is a 1.78× and 1.21× end-to-end speedup. Training scores matched the baselines, and evaluation passrate rose from 52.48% to 58.54%. The paper does not report baseline passrates for this run. NL2RepoBench on Qwen 3.8 2.4T
  • With Qwen 3.6 122B on DeepSWE and TerminalBench (24 steps, equal GPU budgets, mean staleness 1 or 1.5), the reported speedups are 1.38–1.57× over Async and 1.61–1.85× over Colocate. DeepSWE and TerminalBench on Qwen 3.6 122B
  • On NL2RepoBench with Qwen 3.6 122B over steps 1–42, capping each execution at 5 trajectories matched the training scores of using all trajectories. It cut mean forward–backward time to 74.8% of the uncapped run. A cap of 1 hurt scores and raised gradient norms. Trajectory sampling budget.

Main limitation

The gains shrink when rollouts cluster at the timeout. For the 2.4T run, 61.1% of queries took at least 4 h, and the speedup over Colocate fell to 1.21×. The authors attribute this to fewer chances to reclaim cells early. They also note that small GPU budgets and the effect of streaming on learning quality are unevaluated. NL2RepoBench on Qwen 3.8 2.4T

Where to start

DeepSWE and TerminalBench on Qwen 3.6 122B · Table 1 isolates how much of the time saving comes from streaming versus fine-grained cell switching, multi-step bursts and cell size. Table 2 gives the per-dataset speedups at matched staleness.

Abstract

Large language model (LLM) agents increasingly undertake extreme-long (xlong) horizon tasks, where a single execution can span hours, hundreds of model--environment interactions, and nearly 1M tokens per rollout. Applying online reinforcement learning (RL) to such executions poses two fundamental challenges: (1) severe execution variance and prolonged rollout delays cause massive GPU idling; and (2) complex non-linear branching generates massive trajectory redundancy, crippling training efficiency. To address these, we presents QwenGyre, an end-to-end framework for xlong-horizon online RL. QwenGyre elastically reallocates GPUs between rollout and training without interrupting live executions, while its trajectory processor reconstructs branching histories, scores partial progress, and deduplicates redundant paths to bound training costs. Scaled to our flagship model, Qwen~3.8 2.4T, with 700K tokens per rollout, QwenGyre yields a 6.0% absolute gain on NL2RepoBench (52.5% $\to$ 58.5%) in 48 steps. Across our evaluations on diverse domains of training datasets, QwenGyre delivers up to $1.85\times$ and $1.78\times$ speedups over Colocate and Async, respectively.

Generated automatically from paper sections on 2026-11-28.