arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.19225cs.DCcs.LG
收藏

RLBoost: 为在大语言模型上高效强化学习利用可中断资源

RLBoost: Harvesting Preemptible Resources for Cost-Efficient Reinforcement Learning on LLMs

UC Berkeley(加州大学伯克利分校);University of Michigan(密歇根大学);Google(谷歌);CMU(卡内基梅隆大学);University of Washington(华盛顿大学)

Yongji Wu, Xueshen Liu, Haizhong Zheng, Juncheng Gu, Beidi Chen, Z. Morley Mao, Arvind Krishnamurthy, Ion Stoica

AI总结:

RLBoost通过高效利用可中断GPU资源提升大语言模型强化学习的效率和成本效益,采用混合架构和三种关键技术实现状态less和 embarrassingly parallel的rollout阶段与可中断资源的匹配。

摘要:

强化学习(RL)已成为解锁大语言模型(LLMs)先进推理能力的关键。RL工作流涉及交错的rollout和训练阶段,其资源需求根本不同。rollout通常主导总执行时间,但通过多个独立实例高效扩展。相比之下,训练需要紧密耦合的GPU和全网格通信。现有RL框架分为共置和解耦架构。共置框架无法解决资源紧张问题,因为两者共享相同GPU。解耦架构在不修改现有RL算法的情况下,面临资源利用率低的问题。同时,可中断GPU资源,即公共云上的spot实例和生产集群中的空闲容量,为加速RL工作流提供了显著的成本节省机会,如果能高效利用rollout阶段。在本文中,我们提出RLBoost,一种高效RL训练框架,能够利用可中断GPU资源。我们的关键见解是rollout的状态less和 embarrassingly parallel性质与可中断且经常碎片化的资源完美匹配。为了高效利用这些资源,尽管存在频繁且不可预测的可用性变化,RLBoost采用混合架构,包含三种关键技术:(1)自适应rollout卸载,动态调整保留(按需)集群上的工作负载;(2)基于拉取的权重转移,快速为新可用实例提供资源;(3)基于token的响应收集和迁移,用于高效的中断处理和持续负载平衡。广泛的实验表明,RLBoost在使用仅按需GPU资源的情况下,训练吞吐量提高了1.51x-1.97x,成本效率提高了28%-49%。

英文摘要:

Reinforcement learning (RL) has become essential for unlocking advanced reasoning capabilities in large language models (LLMs). RL workflows involve interleaving rollout and training stages with fundamentally different resource requirements. Rollout typically dominates overall execution time, yet scales efficiently through multiple independent instances. In contrast, training requires tightly-coupled GPUs with full-mesh communication. Existing RL frameworks fall into two categories: co-located and disaggregated architectures. Co-located frameworks fail to address this resource tension by forcing both stages to share the same GPUs. Disaggregated architectures, without modifications of well-established RL algorithms, suffer from resource under-utilization. Meanwhile, preemptible GPU resources, i.e., spot instances on public clouds and spare capacity in production clusters, present significant cost-saving opportunities for accelerating RL workflows, if efficiently harvested for rollout. In this paper, we present RLBoost, a framework for cost-efficient RL training that harvests preemptible GPU resources. Our key insight is that rollout's stateless and embarrassingly parallel nature aligns perfectly with preemptible and often fragmented resources. To efficiently utilize these resources despite frequent and unpredictable availability changes, RLBoost adopts a hybrid architecture with three key techniques: (1) adaptive rollout offload to dynamically adjust workloads on the reserved (on-demand) cluster, (2) pull-based weight transfer that quickly provisions newly available instances, and (3) token-level response collection and migration for efficient preemption handling and continuous load balancing. Extensive experiments show RLBoost increases training throughput by 1.51x-1.97x while improving cost efficiency by 28%-49% compared to using only on-demand GPU resources.

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

↑