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

ReFlow:用于高效RL后训练的回放驱动解耦框架

ReFlow: Replay-Driven Decoupling for Efficient RL Post-Training

The University of Hong Kong(香港大学);University of Science and Technology of China(中国科学技术大学);Alibaba Group(阿里巴巴集团);Southeast University(东南大学)

Yukun Tian, Junwei Su, Haofeng Xu, Lansong Diao, Zhengping Qian, Weibo Zhao, Wenchao Zhou, Ruiting Zhou, Chuan Wu

AI总结:

ReFlow是一种系统-算法协同设计的RL框架,通过双回放数据循环、弹性资源池与自适应调度器,在维持模型性能的同时,将LLM RL后训练的吞吐量最高提升2.06倍。

摘要:

强化学习(RL)是提升大语言模型(LLM)推理与智能体能力的关键范式,但其效率仍是主要瓶颈。现有RL系统通常采用异步执行,将轨迹生成与策略优化重叠以提升效率,但该方法存在固有局限:轻度策略陈旧仅能带来有限的训练效率提升,而激进的异步性会降低模型质量且效率增益递减。LLM RL与多轮智能体工作负载的动态性进一步挑战RL系统设计,因为资源需求随时间变化,使静态资源分配与生成策略效率低下。本文提出ReFlow,一种为高效LLM后训练设计的系统-算法协同RL框架,其核心洞见是:与现有RL框架仅使用一次每条轨迹不同,近期轨迹的经验回放可实现有效的样本复用,从而摊销轨迹生成的高成本,同时不会引发过度的策略陈旧。为充分利用这一机会,ReFlow采用解耦自适应架构,包含三项关键设计:双回放数据循环支持高效经验复用,同时平衡训练吞吐量与优化稳定性;弹性资源池支持动态资源部署,以适应不断变化的RL工作负载;自适应调度器协调生成策略与资源分配,以提升资源利用率并提高生成吞吐量。在代表性的单轮推理与多轮智能体RL任务上的实验表明,ReFlow相较于最先进的同步与异步RL系统,训练吞吐量提升最高达2.06倍,同时保持相当或更优的模型性能。

英文摘要:

Reinforcement learning (RL) has been a critical paradigm for improving large language model (LLM) reasoning and agentic capabilities, but its efficiency remains a major bottleneck. Existing RL systems commonly rely on asynchronous execution to overlap rollout generation with policy optimization for enhanced efficiency. However, this approach faces inherent limitations: mild policy staleness offers only limited training efficiency gains, whereas aggressive asynchrony can degrade model quality and yields diminishing efficiency gains. The dynamic nature of LLM RL and multi-turn agentic workloads further challenges RL system design, as resource demands shift over time, making static resource allocation and generation strategy inefficient. This paper presents ReFlow, a system-algorithm co-designed RL framework for efficient LLM post-training. Its key insight is that, unlike existing RL frameworks which consume each trajectory only once, experience replay of recent trajectories enables effective sample reuse, thereby amortizing the high cost of rollout generation without incurring excessive policy staleness. To fully exploit this opportunity, ReFlow adopts a decoupled and adaptive architecture with three key designs: a dual replay data cycle supports efficient experience reuse while balancing training throughput and optimization stability; an elastic resource pool enables dynamic resource placement to accommodate evolving RL workloads; an adaptive scheduler coordinates generation strategies and resource allocation to improve resource utilization and boost generation throughput. Experiments across representative single-turn reasoning and multi-turn agentic RL tasks show that ReFlow improves training throughput by up to $2.06\times$ over state-of-the-art synchronous and asynchronous RL systems, while maintaining comparable or better model performance.

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

↑