PlexRL: 服务化大语言模型执行在RLVR中的集群级编排
PlexRL: Cluster-Level Orchestration of Serviceized LLM Execution for RLVR
AI总结:
本文提出PlexRL,通过集群级编排服务化大语言模型执行,解决RLVR训练中的效率问题,提升集群容量并降低GPU小时成本,同时保持算法灵活性和最小的单任务开销。
摘要:
可验证奖励的强化学习(RLVR)最近在大语言模型(LLMs)中解锁了强大的推理能力,触发了新算法和数据的快速探索。然而,RLVR训练 notoriously 不高效:长尾回放、工具引起的停滞以及回放和训练之间资源需求的不对称性引入了大量空闲时间,无法通过作业本地优化如同步流水线、异步回放或 colocated 执行来消除。我们认为这种低效是结构性的。虽然个体RLVR作业中的空闲间隙是不可避免的,但它们在不同作业之间 largely 抗相关,因此可以在集群级别利用。基于这一观察,我们提出了PlexRL,一个用于在RLVR作业中多路复用统一LLM服务的集群级运行时。通过集中管理模型放置、状态转换和功能级调度,在严格亲和约束下,PlexRL将LLM执行时间片分配到作业中以填补否则空闲的时期,而无需昂贵的模型迁移。我们的实现和评估表明,PlexRL显著提高了有效集群容量,并通过最大37.58%减少了用户GPU小时成本,同时保持算法灵活性并引入最小的单作业开销。
英文摘要:
Reinforcement learning with verifiable rewards (RLVR) has recently unlocked strong reasoning capabilities in large language models (LLMs), triggering rapid exploration of new algorithms and data. However, RLVR training is notoriously inefficient: long-tailed rollouts, tool-induced stalls, and asymmetric resource requirements between rollout and training introduce substantial idle time that cannot be eliminated by job-local optimizations such as synchronous pipelining, asynchronous rollout, or colocated execution. We argue that this inefficiency is structural. While idle gaps are unavoidable within individual RLVR jobs, they are largely anti-correlated across jobs and therefore exploitable at the cluster level. Leveraging this observation, we present PlexRL, a cluster-level runtime for multiplexing unified LLM services across RLVR jobs. By centrally managing model placement, state transitions, and function-level scheduling under strict affinity constraints, PlexRL time-slices LLM execution across jobs to fill otherwise idle periods without expensive model migration. Our implementation and evaluations demonstrate that PlexRL significantly improves effective cluster capacity and reduces user GPU hour cost by maximum 37.58% while preserving algorithmic flexibility and introducing minimal per-job overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。