← All entries
Paper2026#1352

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

Summary

QwenGyre (Alibaba Token Hub) is an end-to-end framework for online RL on extreme-long-horizon (xLong) agent executions — single rollouts lasting hours, spanning hundreds of model–environment interactions and ~1M tokens — run through unmodified black-box harnesses (Claude Code in the evals). It attacks two problems. (1) Scheduling: rollout durations are long-tailed, so Colocate training waits on stragglers and Async's fixed rollout/training GPU partitions idle on both sides. QwenGyre's Elastic Scheduler organizes GPUs into independently switchable cells and reallocates them between rollout and training as unfinished work changes, without interrupting live executions — harness state persists across role changes and in-flight model calls keep being served; newly freed nodes join an ongoing training batch, and streaming training feeds cells micro-steps on demand so they finish the batch together (role switches take ~3.5–8.5s). (2) Trajectory redundancy: harnesses branch via compaction, sub-agents, and retries, so expanding every path into samples explodes token volume. The Trajectory Processor records every model call token-in/token-out (exact token IDs, behavior log-probs, provenance), organizes calls into a prefix-shared trajectory tree preserving each output's original conditioning context, scores preserved work after termination — including partial progress after timeout — and admits at most 5 trajectories per execution by role priority (main > main-summary > sub-agent > sub-agent-summary), counting shared prefixes once, training only on policy-generated tokens, and averaging token losses within each execution. The RL algorithm is group-relative (16 rollouts/group) with a GSPO adaptation (token importance weights capped at 5, execution-level clipping [0.995, 1.005]). Against Colocate and Async baselines at equal GPU budgets and matched scheduling staleness, with comparable training scores (all figures first-party): on Qwen3.6 122B, 1.42–1.53× over Async and 1.36–1.47× over Colocate on NL2RepoBench, 1.57×/1.61–1.82× on DeepSWE, 1.38–1.43×/1.81–1.85× on TerminalBench; scaled to the flagship Qwen3.8 2.4T (~700K tokens per rollout, 192 nodes), 48 NL2RepoBench steps take 75.42h vs 134.55h (Async) and 91.47h (Colocate), lifting eval passrate from 52.48% to 58.54%.

Venue
arXiv:2609.33848 (cs.LG)
Source
arxiv
Access
free
Language
en
Added
Oct 12, 2026
Verified
Oct 12, 2026
Found via
#Alibaba_Qwen

Research notes

  • Discovery: @Alibaba_Qwen X post 2026-10-12 ~9:11 AM ET (~58.6K views, 1,389 likes, 528 bookmarks at read). Tweet numbers verified against the paper: "up to 1.85× over Colocate" is TerminalBench at staleness 1.5; "1.78× over Async" and the ~44% time cut are the flagship 2.4T NL2RepoBench run (75.42h vs 134.55h); NL2RepoBench 52.5% → 58.5% is the paper's 52.48% → 58.54% eval passrate over 48 steps, at matched training scores vs both baselines — the gain is throughput, not a better algorithm. Directly his RL post-training infrastructure territory: the elastic-scheduling answer to the rollout long-tail problem that 556 (Seer, async rollout scheduling) and 1620 (ThunderSyncRL) attack differently, and the trajectory-tree/dedup answer to branching-harness data that the harness cluster raises (1609 harness survey, 1638/1640, queued Harness Evolution item). Cluster: 1610 (NeMo-DCR), 1620 (ThunderSyncRL), 1622 (proximal post-training stack), 1635, 556 (Seer), 1641 (SRD), 1625 (GRPO on DeepSWE — same DeepSWE workload family used here). Design ideas that travel to Launch Helm-style control planes: separating the lifetimes of executions, GPU roles, and training samples; readiness-driven actor reconfiguration; provenance-preserving trajectory capture (role, branch, environment state, evaluator) through collection, admission, and materialization. Caveats: all results are Alibaba's own runs on internal training data and an internal flagship model (Qwen3.8 2.4T, named Qwen3.8-2.4T-A95B in the tweet) with no code release, so nothing is independently reproducible; NL2RepoBench training rewards come from a separate Qwen3.7-Max evaluator. Authors' stated limits: needs multiple independently switchable cells (small GPU budgets unevaluated); streaming with multi-step bursts prevents global minibatch shuffling, and sample-ordering effects on learning quality were not isolated.
  • License: UNCONFIRMED at catalog time
  • Code: none released at catalog time (internal Alibaba framework; flagship model not public).

Similar entries