Manuscript Offprint

arXiv:2610.16691

StageBreaker: Shifting Video RL Post-Training Scheduling from Stages down to Data Dependencies

Li Peng, Chenghuan Huang, Ziyang Ma, Jing Lyu, Xiang Chen, Jie Zhang

Abstract

Reinforcement learning (RL) post-training has emerged as the key paradigm for improving autoregressive video models. Emerging vision-language reward models further strengthen post-training with accurate rewards, but their long chain-of-thought inference substantially raises the associated costs, while the pursuit of long videos prolongs policy training. Despite these rising costs, existing video RL systems still adopt coarse-grained stage-centric execution, which stalls policy training until all reward evaluation finishes, replays every trajectory twice due to a further barrier within policy training, and induces load imbalance across GPUs. To address the challenges, we propose StageBreaker, a fine-grained data-dependency-driven scheduling framework, which schedules the true dataflow of an RL step rather than its stages. Specifically, StageBreaker overlaps policy training with reward evaluation by exploiting reward-separable policy training, and merges the two trajectory replays into one by leveraging loss-independent back-propagation. It further balances GPU load by scheduling computation at the finer granularity. Our evaluation results show that StageBreaker achieves a speedup of up to 1.41×1.41\times over stage-centric execution.

1 Introduction

Autoregressive video models (AR models), which generate long videos chunk by chunk (i.e., multiple video frames), now power long-form and streaming video applications [6, 7, 9, 18, 25, 40, 44, 55, 59, 62]. As these models enter real-world deployment, generation quality becomes the decisive requirement, in particular alignment with human preference, aesthetic quality, and temporal coherence [12, 13, 26, 36, 46, 67]. By delivering substantial gains across all these dimensions, reinforcement learning (RL) post-training has emerged as the key paradigm to meet this requirement [23, 58, 66].

RL realizes these gains through a training loop of repeated steps, each of which comprises rollout, reward evaluation, and policy training (cf. Figure 1a) [28, 38, 72]. In the rollout stage, the video model being trained (the policy) generates multiple candidate videos for each prompt in a batch [16, 38]. A reward model then scores each candidate on desired dimensions [14, 24, 47, 53], and policy training replays each candidate's trajectory (i.e., its sequence of generation steps) and combines the result with reward scores to compute the loss [49, 58]. Policy training then back-propagates this loss to update the policy, commonly through low-rank adaptation

Figure

Figure 1. Comparison of RL step execution.

(LoRA) [57, 66], raising the probability of generating high-scoring trajectories.

The continued pursuit of high-quality and long videos [13, 23, 26, 58, 67] raises the cost of each RL step. Unlike earlier lightweight reward metrics [53, 54, 56], which cannot comprehensively and reliably assess video qualities, recent reward models employ large vision-language models (VLMs) to examine multiple video frames and perform long chain-of-thought (CoT) reasoning to produce holistic judgments for video quality [14, 24, 45, 47, 52]. Longer videos, in turn, prolong policy training, whose trajectory replay re-runs the video model for each video generation step [23, 58]. Together, reward evaluation and policy training now account for 63~75% of an RL step.

These rising costs unfortunately expose a mismatch with current video RL systems. As illustrated in Figure 1a, these systems [16, 28, 38, 42, 43] organize each RL step into successive rollout, reward, and policy training stages (i.e., stage-centric execution). Each stage serves as the unit of computation scheduling and GPU assignment, processing the entire batch on a fixed set of GPUs before the next stage starts [16, 38, 73]. However, these stage boundaries impose coarser constraints than the true data dependencies within an RL step, prolonging each step and underutilizing GPUs. For example, while the reward model can score a candidate upon its generation, stage-centric execution starts reward evaluation only after the entire rollout stage finishes, exposing its cost entirely in the latency of each RL step. To take this cost off the critical path, as shown in Figure 1b, recent works [11, 41, 50] deploy reward models on dedicated GPUs (reward GPUs) and score each candidate upon generation, leaving the remaining GPUs (actor GPUs) to run rollout and policy training. In practice, this mechanism is only a preliminary exploration that falls short of the expected gains and even slows RL post-training by 20~29%, as three key challenges remain unaddressed.

(1) Reward-blocked policy training. Existing RL systems stall policy training until the reward stage scores the entire batch, as policy training needs the complete set of scores to derive the advantages (the relative quality of each candidate) for the subsequent loss computation [23, 38, 65, 71, 72]. Even under asynchronous reward evaluation, the actor GPUs stay idle for 13% of each RL step before starting policy training, waiting for the last reward score of the batch (1 in Figure 1b). (2) Redundant trajectory replay. As in conventional model training, existing RL systems first compute the loss over the entire batch, then back-propagate it to derive the policy gradient, and finally update the policy. Policy training therefore runs a forward pass for the loss, in which it replays all trajectories to derive their probabilities [23, 66]. The backward pass, which back-propagates this loss, starts only after the forward pass finishes, imposing a further batch-level barrier within policy training. Although the backward pass requires these probabilities as well, GPU memory cannot retain the activations of all trajectories until then. The backward pass thus repeats the costly replay (2), resulting in redundant replay for 19~26% of each RL step. (3) Stage-induced load imbalance. Existing RL systems bind computation to GPUs at the coarse granularity of stages, making it difficult to balance the load evenly across GPUs (3). For example, asynchronous reward evaluation, following this binding, dedicates GPUs to the reward stage but overlooks their potential to execute other computation [38, 41, 42]. The reward GPUs thus sit idle for 64% of each RL step once scoring finishes, while the actor GPUs carry all rollout and policy training.

As these limitations all stem from the coarse granularity of stages, our key insight is to schedule the true dataflow, which uncovers potential to shorten each RL step and fill idle GPUs. (1) Reward-separable policy training. Policy training can in fact proceed asynchronously with reward evaluation, as the loss it computes is simply the product of the advantage and a reward-independent part. Policy training can thus compute and back-propagate the reward-independent part while reward evaluation is still in progress, and combine it with the advantages after both are complete. (2) Loss-independent back-propagation. Within policy training, back-propagation can likewise proceed without waiting for the loss, as the policy gradient is simply the product of a loss-dependent scalar and the gradient of the trajectory's probability. Back-propagation can therefore replay each trajectory to compute this probability gradient in advance and apply the scalar afterwards. As this replay also yields the trajectory's probability required by the loss, the loss computation can reuse it rather than replaying the trajectory again, merging the two trajectory replays into one. (3) Task-level load balancing. A stage can further decompose into independent computation tasks, each inherently binding to its own input data rather than to the stage, which allows decoupling their GPU placement from the stage. VAE decoding [17, 64] within rollout, for example, which converts generated latents into video frames, operates solely on its input latents, while the loss computation and back-propagation require only the trajectory itself. Once its inputs are ready, a task can thus run on any available GPU rather than the fixed GPUs of its stage, which makes load balancing possible at the finer granularity (i.e., tasks).

Inspired by our insights, we propose StageBreaker, a fine-grained data-dependency-driven scheduling framework for AR video RL post-training, which schedules the true dataflow of an RL step rather than its coarse stages (Figure 1c). Specifically, building on asynchronous reward evaluation, we propose reward-asynchronous policy training, which computes and back-propagates the reward-independent part of the loss without waiting for the advantages. RL algorithms, however, clip the loss for training stability [37], which confines the reward-independent part to two possible forms depending on the sign of the advantage. StageBreaker therefore retains both forms during back-propagation, which occupy negligible GPU memory under LoRA. Once the advantage arrives, StageBreaker applies it to the matching form, yielding a policy gradient identical to that of stage-centric execution. StageBreaker thus overlaps policy training on the actor GPUs with reward evaluation on the reward GPUs, eliminating the idle wait of the actor GPUs. Moreover, within policy training, we design merged trajectory replay, which further breaks the barrier between the loss computation and the back-propagation and thus replays each trajectory only once. By exploiting the aggregation granularity of the trajectory's probability (e.g., chunk), StageBreaker feeds the probability of each chunk into the loss computation upon replaying it and then back-propagates this probability for its gradient before replaying the next chunk. After replaying the entire trajectory, StageBreaker applies the derived loss-dependent scalar to the probability gradient, completing both the loss computation and the back-propagation within a single replay. Rather than binding computation to GPUs by stage, our task-level placement balances the load across the two GPU groups at the granularity of tasks. Through a profiling-based search for the optimal placement, StageBreaker strategically moves VAE decoding and part of the policy training tasks from the overloaded actor GPUs to the underutilized reward GPUs. Our evaluation results show that StageBreaker achieves a speedup of up to 1.41×1.41\times over stage-centric execution and 1.81×1.81\times over asynchronous reward evaluation.

Our main contributions can be summarized as follows:

• We characterize the challenges of video RL post-training under emerging VLM-based reward models and long videos.

Even with asynchronous reward evaluation, stage-centric execution still suffers from reward-blocked policy training, redundant trajectory replay, and imbalanced GPU load.

• We propose StageBreaker, which schedules the true dataflow of an RL step rather than its stages. StageBreaker exploits the reward-separable policy training to overlap policy training with reward evaluation, leverages the loss-independent back-propagation to merge the two trajectory replays, and balances the load across GPUs via task-level placement.

• Our evaluation results show that StageBreaker achieves consistent speedups over stage-centric execution and asynchronous reward evaluation while preserving the training fidelity.

References (49)