Manuscript Offprint

arXiv:2610.16866

Efficient Resource-Shiftable RL Post-training with Generative Rewards

Yanfeng Zhao, Haoyang Li, Sheng Lin, Yuming Zhou, Jiawei Jiang, Bin Cui, Fangcheng Fu

Abstract

Reinforcement learning (RL) post-training with generative reward models (GenRM) has become a central recipe for improving large language models (LLMs), and it is also increasingly resource-intensive: policy rollout, GenRM-based reward evaluation, and policy training all compete for GPU resources. However, existing colocated and disaggregated systems rely on static resource allocation for these roles. Such allocation cannot adapt as each role's workload changes during RL and therefore leaves a role's resources underutilized.

We present PivotRL, an RL post-training system that dynamically shifts resources among different roles according to their runtime demands. PivotRL introduces a resource-shiftable runtime built on a Global Parameter Storage, together with a unified mechanism that efficiently shifts role-specific context. A shift-aware scheduler enables sequence migration upon a shift, while a planner considers the aggregate throughput benefit and the shift overhead to determine when and how to shift. We evaluate PivotRL on a 128-GPU cluster using four model groups spanning dense and mixture-of-experts models. PivotRL enables resource shifting within seconds and improves end-to-end throughput by 1.81−2.05×1.81-2.05\times over colocated deployment and 1.50−1.95×1.50-1.95\times over disaggregated deployment, while preserving RL convergence.

1 Introduction

Reinforcement learning (RL) has become an essential step in post-training large language models (LLMs), driving recent advances in their reasoning capabilities [17, 42, 61]. As shown in Figure 1(a), a typical RL step consists of three stages: the policy model (i.e., the LLM) generates responses to a batch of prompts (policy rollout), the responses are scored to produce reward signals (reward evaluation), and the signals are used to update the policy (policy training).

An increasingly prominent trend in this pipeline is the shift in how rewards are produced. Early RL recipes rely on rule-based verifiable rewards, which compare a response against a ground-truth answer and emit a binary correctness signal [50, 60]. While effective for tasks with well-defined answers, such rewards are unavailable for open-ended tasks such as long-form question answering, creative writing, and mathematical reasoning without golden answers. Recent

Figure

(a) RL Post-training Workflow

Prompt + Response -> Reasoning + Fine-grained Score

Generative Reward Model

Figure

(b) Generative Reward Model (GenRM)

Figure 1. (a) Three stages of a typical RL post-training step. (b) Generative reward models (GenRMs) provide more fine-grained feedback by reasoning over the responses of the policy model.

work therefore complements verifiable rewards with generative rewards [1, 14, 18, 27, 49, 62]. As shown in Figure 1(b), a generative reward model (GenRM), itself an LLM, reasons over the response before producing a reward. Compared with 0/1 correctness signals or other outcome-based rewards, GenRMs can provide more fine-grained feedback through soft rewards, such as probabilistic or continuous scores that capture the degree of correctness or preference, thereby providing richer training signals [19, 25]. Consequently, GenRMs are increasingly adopted in the post-training of frontier LLMs, including DeepSeek-R1 [2], GLM-5 [9], and Kimi-K3 [44].

This trend makes RL post-training substantially more resource-intensive. With GenRMs, reward evaluation is no longer a lightweight scalar computation, but a full LLM inference workload. As a result, all three RL stages now require substantial GPU resources. How to deploy these stages on a given cluster therefore becomes a critical systems question.

Existing RL systems answer this question with one of two deployment paradigms: (1) Colocated deployment [15, 39, 46, 67] (Figure 2(a)), in which the three stages share the whole cluster and run sequentially, swapping models in and out of GPU memory at stage boundaries. (2) Disaggregated deployment [5, 12, 13, 23, 26, 29, 38, 52, 65] (Figure 2(b)), in which the cluster is partitioned into disjoint GPU groups, one per stage. These stages then execute asynchronously.

However, as Figure 2 illustrates, the workload of each stage varies continuously within a step. For rollout and reward evaluation, the number of active sequences 1^{1} decreases as the step progresses, while training cannot proceed until a full batch of rewards has accumulated. Under colocation, rollout

Contacts: Yanfeng Zhao (victor_yfzhao@sjtu.edu.cn), Haoyang Li (lihaoyang@stu.pku.edu.cn), and Fangcheng Fu (ccchengff@sjtu.edu.cn).

1^{1}A sequence refers to a generation of the policy model or the GenRM.

Load & GPUs

Figure

(a) Colocated Deployment

Load & GPUs

(b) Disaggregated Deployment

Load & GPUs

(c) Resource-Shiftable Deployment

Figure 2. Comparison of deployment paradigms. Both (a) colocated and (b) disaggregated deployments statically allocate resources, while (c) resource-shiftable deployment dynamically reallocates GPUs to match workload demand. Different colors indicate instantaneous stage load, and shaded regions indicate throughput headroom, where workload is substantially below the processing capacity of allocated GPUs.

and reward evaluation therefore have substantial throughput headroom in the tail of every batch. Under disaggregation, rollout suffers from the same tail effect, reward evaluation fluctuates with rollout's instantaneous production rate, and training GPUs remain idle while waiting for the next batch. As a result, both colocated and disaggregated deployments yield suboptimal end-to-end throughput.

The root cause is static resource allocation: regardless of whether colocation or disaggregation is used, each stage remains bound to a fixed set of GPUs throughout RL post-training. This static allocation cannot adapt to the dynamic workload demands across stages. When one stage has substantial throughput headroom, its spare resources cannot be used by another stage experiencing higher demand.

We therefore argue, as illustrated in Figure 2(c), that resolving this mismatch calls for a more flexible deployment paradigm in which resources can shift across stages at runtime, a paradigm we refer to as resource-shiftable deployment. Under this paradigm, GPUs are dynamically reallocated according to instantaneous workload. For example, as rollout's load decreases, its spare GPUs can shift to reward, and when rollout becomes the bottleneck, GPUs can shift back. Likewise, once training completes, GPUs that would otherwise remain idle can be immediately reallocated to rollout or reward. By dynamically matching resource capacity with workload demand, resource-shiftable deployment can better utilize the resources and improve end-to-end throughput.

To realize this paradigm, we introduce PivotRL, a system that accelerates LLM RL with generative rewards through resource shifting. It entails three key innovations. (1) Supporting resource shifting. Each resource (i.e., a GPU) holds a set of model parameters (policy model or GenRM) and is bound to a role (i.e., an RL stage), so shifting a resource means shifting both the parameters and the execution context of the role. PivotRL addresses this with a Global Parameter Storage that lets any GPU fetch the parameters of any model on demand, together with a unified role-shifting mechanism, enabling smooth resource shifting between any models and any roles. (2) Rescheduling workload after a shift. A shift changes the resources a role owns, so the role's workload must be rescheduled under its new resource allocation. PivotRL designs a shift-aware scheduler that supports shift-time sequence migration across replicas, maximizing the role's throughput under the new allocation. (3) Deciding when and how to shift. PivotRL introduces a planner to determine when to trigger a shift, which role should donate resources to another, and exactly which resources to shift. It evaluates candidate shift plans based on their expected throughput benefit and shifting overhead, and executes the most profitable plan.

In summary, this paper makes the following contributions:

  • To the best of our knowledge, we are the first to systematically study LLM RL with generative rewards and identify static resource allocation as a key system bottleneck.

  • We propose resource-shiftable deployment and realize it in PivotRL through three innovations: a resource-shiftable runtime built on a Global Parameter Storage with a unified role-shifting mechanism, a shift-aware scheduler that reschedules workload across a role’s replicas, and a planner that decides when and how to shift.

  • We evaluate PivotRL on a 128-GPU cluster across four model groups spanning dense and mixture-of-experts models. PivotRL completes a resource shift within seconds and improves end-to-end throughput by 1.81−2.05×1.81-2.05\times over colocated deployment and 1.50−1.95×1.50-1.95\times over disaggregated deployment, while preserving RL convergence.

References (30)