QwenGyre:用于训练超长视野智能体的弹性强化学习框架
研究论文 · 2026/09/29
QwenGyre 是一个面向超长时程智能体在线强化学习的端到端框架,旨在解决执行方差大、rollout 延迟长导致的 GPU 空闲,以及非线性分支产生大量轨迹冗余的问题。它能在不中断执行的情况下弹性重分配 GPU,并通过轨迹处理器重建分支历史、对部分进展评分、去重冗余路径以控制训练成本。在 Qwen 3.8 2.4T 模型上,每次 rollout 70 万 token,48 步内使 NL2RepoBench 绝对提升 6.0%(52.5% 至 58.5%);相比 Colocate 和 Async,分别实现最高 1.85 倍和 1.78 倍加速。
该工作针对超长时程智能体在线强化学习中的 GPU 空闲与轨迹冗余两大瓶颈提出系统级解决方案,并在旗舰模型上验证了显著的性能提升与加速效果,对大规模智能体训练具有实用价值。
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.85times and 1.78times speedups over Colocate and Async, respectively.