arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.26256cs.LGcs.DC
收藏

DORA:一种用于语言模型训练的可扩展异步强化学习系统

DORA: A Scalable Asynchronous Reinforcement Learning System for Language Model Training

Meituan, China(美团(中国))
Tianhao Hu, Xiangcheng Liu, Yuchun Miao, Youshao Xiao, Hongyu Zang, Yang Zheng, Xuan Huang, Jinrui Ding, Yufei Zhang, Yu Yang, Yi-Kai Zhang, Yueqing Sun, Chengc… 展开作者

Tianhao Hu, Xiangcheng Liu, Yuchun Miao, Youshao Xiao, Hongyu Zang, Yang Zheng, Xuan Huang, Jinrui Ding, Yufei Zhang, Yu Yang, Yi-Kai Zhang, Yueqing Sun, Chengcheng Han, Xiandi Ma, Wei Wang, Qi Gu, Yerui Sun, Yuchen Xie, Xunliang Cai

AI总结:

DORA通过算法-系统协同设计解决异步训练中长尾轨迹问题,提升训练效率并保持收敛性,实验表明其在开源基准和工业应用中均显著提升强化学习训练速度。

摘要:

强化学习(RL)已成为大型语言模型(LLM)后训练的关键范式,但 rollout 阶段(占总步数时间的50-80%)受到长尾轨迹的瓶颈限制:这些轨迹对模型性能至关重要,却阻塞了整个训练流程。异步训练通过重叠生成与训练提供自然解决方案,但引入了效率与算法正确性之间的根本矛盾。我们识别出三个约束条件以保持收敛:轨迹内策略一致性、数据完整性和有界滞后。现有方法未能内在解决长尾轨迹问题,这在混合专家模型中进一步加剧,或偏离标准RL训练公式,从而阻碍模型收敛。因此,我们提出DORA(动态协调异步 rollout),通过算法-系统协同设计解决这一挑战。DORA引入多版本流式 rollout,一种新的异步范式,同时维持多个策略版本,实现完全气泡消除而不妥协算法约束。实验结果表明,我们的DORA系统在开源基准上比最先进的系统提高了2-3倍的吞吐量,且不牺牲收敛性。此外,在拥有数万加速器的大规模工业应用中,DORA在各种场景中将RL训练加速了2-4倍,相比同步训练。所产生的开源模型LongCat-Flash-Thinking在复杂推理基准上表现出竞争力,与大多数先进LLM的能力相匹配。

英文摘要:

Reinforcement learning (RL) has become a critical paradigm for LLM post-training, yet the rollout phase -- accounting for 50--80% of total step time -- is bottlenecked by skewed generation: long-tailed trajectories indispensable for model performance block the entire training pipeline. Asynchronous training offers a natural remedy by overlapping generation with training, but introduces a fundamental tension between efficiency and algorithmic correctness. We identify three constraints in asynchronous training to preserve convergence: intra-trajectory policy consistency, data integrity, and bounded staleness. Existing approaches fail to intrinsically address the long-tailed trajectory problem, which is further exacerbated by the imbalance characteristic of Mix-of-Experts models, or deviate from the standard RL training formulation, thereby hindering model convergence. Therefore, we propose DORA (Dynamic ORchestration for Asynchronous Rollout), which addresses this challenge through algorithm-system co-design. DORA introduces multi-version streaming rollout, a novel asynchronous paradigm that maintains multiple policy versions concurrently -- simultaneously achieving full bubble elimination without compromising algorithmic constraints. Experimental results demonstrate that our DORA system achieves substantial improvements in throughput -- up to 2--3 times higher than state-of-the-art systems on open-source benchmarks -- without compromising convergence. Furthermore, in large-scale industrial applications with tens of thousands of accelerators, DORA accelerates RL training by 2--4 times compared to synchronous training across various scenarios. The resultant open-source models, LongCat-Flash-Thinking, exhibit competitive performance on complex reasoning benchmarks, matching the capability of most advanced LLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑