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
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% 58.5%) in 48 steps. Across our evaluations on diverse domains of training datasets, QwenGyre delivers up to and speedups over Colocate and Async, respectively.
Create a lesson
Metadata
- Categories
- cs.LG, cs.DC
Related papers
Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning
Shared title terminologycs.LGLirui Luo, Kelong Mao, Heming Xia et al.
PolicyPolish: LLM-Guided Weight Editing of Reinforcement Learning Policies for Dynamic RMSA in Elastic Optical Networks
Shared title terminologycs.LGMasayuki Shimoda
Hyperparameter Transfer For Reinforcement Learning Post-Training
Shared title terminologycs.LGYihe Dong, Gage DeZoort, Mufan Li
Refresh or Reweight? Two Kinds of Training-Inference Mismatch in LLM Reinforcement Learning
Shared title terminologycs.LGRunguo Li, Dezhen Lu, Lingxiang Gao
Poetics: A Unified Training Framework for Generative Patient Models
Shared title terminologycs.LGYoucheng Li, Xiaoyan Liu, Zican Hu et al.
On fast hyperparameter transfer across width and training horizon
Shared title terminologycs.LGGarrett G. Wen, Alberto Bietti, Nikhil Ghosh et al.