arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2509.15965cs.LGcs.AIcs.DC
收藏

RLinf: 通过宏到微流转换实现灵活高效的大型强化学习

RLinf: Flexible and Efficient Large-scale Reinforcement Learning via Macro-to-Micro Flow Transformation

Tsinghua University(清华大学);Zhongguancun Academy(中关村学院);Infinigence AI;Peking University(北京大学);UC Berkeley(加州大学伯克利分校);Beihang University(北航);Shanghai Jiaotong University(上海交通大学)
Chao Yu, Yuanqing Wang, Zhen Guo, Hao Lin, Si Xu, Hongzhi Zang, Quanlu Zhang, Yongji Wu, Chunyang Zhu, Junhao Hu, Zixiao Huang, Mingjie Wei, Yuqing Xie, Ke Yang… 展开作者

Chao Yu, Yuanqing Wang, Zhen Guo, Hao Lin, Si Xu, Hongzhi Zang, Quanlu Zhang, Yongji Wu, Chunyang Zhu, Junhao Hu, Zixiao Huang, Mingjie Wei, Yuqing Xie, Ke Yang, Bo Dai, Zhexuan Xu, Jiakun Du, Xiangyuan Wang, Xu Fu, Letong Shi, Zhihao Liu, Kang Chen, Weilin Liu, Gang Liu, Boxun Li, Jianlei Yang, Zhi Yang, Guohao Dai, Yu Wang

AI总结:

RLinf通过宏到微流转换范式,实现了高效灵活的大型强化学习训练系统,显著提升了训练吞吐量。

摘要:

强化学习(RL)在推动人工通用智能、代理智能和具身智能方面展现了巨大潜力。然而,RL工作流的固有异质性和动态性往往导致现有系统在硬件利用效率低和训练速度慢。在本文中,我们提出了RLinf,一个高性能的RL训练系统,基于我们的关键观察:高效RL训练的主要障碍在于系统的灵活性。为了最大化灵活性和效率,RLinf建立在一种新的RL系统设计范式之上,称为宏到微流转换(M2Flow),该范式能够自动在时间和空间维度上将高级、易于组合的RL工作流分解,并重新组合成优化的执行流程。通过RLinf worker的自适应通信能力,我们设计了上下文切换和弹性流水线,以实现M2Flow转换,并通过基于剖析的调度策略生成最优的执行计划。在推理RL和具身RL任务上的广泛评估表明,RLinf在性能上始终优于最先进的系统,实现了端到端训练吞吐量的1.07×-2.43×的加速。

英文摘要:

Reinforcement learning (RL) has demonstrated immense potential in advancing artificial general intelligence, agentic intelligence, and embodied intelligence. However, the inherent heterogeneity and dynamicity of RL workflows often lead to low hardware utilization and slow training on existing systems. In this paper, we present RLinf, a high-performance RL training system based on our key observation that the major roadblock to efficient RL training lies in system flexibility. To maximize flexibility and efficiency, RLinf is built atop a novel RL system design paradigm called macro-to-micro flow transformation (M2Flow), which automatically breaks down high-level, easy-to-compose RL workflows at both the temporal and spatial dimensions, and recomposes them into optimized execution flows. Supported by RLinf worker's adaptive communication capability, we devise context switching and elastic pipelining to realize M2Flow transformation, and a profiling-guided scheduling policy to generate optimal execution plans. Extensive evaluations on both reasoning RL and embodied RL tasks demonstrate that RLinf consistently outperforms state-of-the-art systems, achieving $1.07\times-2.43\times$ speedup in end-to-end training throughput.

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

↑