Conceptio › Archive › arXiv CS
arXiv CS open access

Adaptive Scheduling Pipeline for Multi-Instance Asynchronous Reinforcement Learning

Salah Chikhi et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
clouddistributed-computingparallel-computing
We present the Adaptive Scheduling Pipeline (ASP), an offline rollout scheduler for multi-instance asynchronous reinforcement learning (RL) of large language models (LLMs). ASP jointly reduces three sources of rollout underutilization - padding bubbles from intra-minibatch length heterogeneity, skew
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Adaptive Scheduling Pipeline for Multi-Instance Asynchronous Reinforcement Learning

arXiv:2611.08864v1 [cs.DC] 6 Nov 2026

Salah Chikhi∗ École polytechnique

Luis Zuin∗ Huawei Technologies

Entong Li Li Zeng† Shenzhen Research Institute of Big Data

Abstract We present the Adaptive Scheduling Pipeline (ASP), an offline rollout scheduler for multi-instance asynchronous reinforcement learning (RL) of large language models (LLMs). ASP jointly reduces three sources of rollout underutilization—padding bubbles from intra-minibatch length heterogeneity, skewness bubbles from longtail outputs, and sorting bubbles from fluctuations in training-queue occupancy induced by length-sorted dispatch—through a single offline preprocessing pass. This enables efficient multi-instance rollout that overcomes the early scaling plateau of single-instance inference while smoothing the arrival of generated samples at the trainer. We integrate the scheduler into an asynchronous architecture that decouples rollout from training while keeping policy lag observable and bounded. Complete ASP improves end-to-end throughput by up to 3.22× and reduces iteration time by up to 76.8% relative to MindSpeed-RL, while reducing iteration time by up to 62.5% relative to verl. Within ASP, scheduling reduces mean iteration time by 10.9%. ASP also scales more robustly with additional generation resources than these baselines and shows no visible convergence degradation in the measured bounded-lag regime. ASP has since been used in an internal telecom-domain RL post-training workflow, reducing the reported training period from more than three months to about two months and producing a domain-enhanced model for knowledge answering and tool calling.

1

Introduction

Reinforcement learning (RL) has become a central component of large language model (LLM) post-training, improving alignment and reasoning by training on generated responses and reward signals [1, 2]. However, RL post-training also creates a demanding systems problem: each policy update requires rollout generation, scoring, log-probability computation, and backpropagation. As models produce longer outputs, rollout/generation often becomes the dominant bottleneck, accounting for a large fraction of training time in modern RL with Verifiable Rewards (RLVR) systems [3, 4]. Large-scale RL for LLMs is commonly executed in a hybrid loop: for each batch, the system first performs inference and then runs a training step on the resulting samples. This sequential organization is simple and keeps rollouts close to the current policy, but it has several drawbacks. First, it creates idle time: while the trainer updates, no new samples are generated. Second, it forces repeated mode switches and possible re-sharding on the same machines. Third, it couples two stages with different system profiles: backpropagation is typically compute-bound and benefits from synchronized parallelism, whereas autoregressive generation is memory-bandwidth-bound and often reaches an early scaling plateau when more resources are added to a single inference instance [5]. Asynchronous and disaggregated pipelines address part of this problem by allowing rollout and training to proceed concurrently [5, 6, 7]. In this producer–consumer setting, generation instances ∗ Equal contribution. † Corresponding author: zengli@sribd.cn.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

produce samples that the trainer consumes for policy updates, with a queue buffering completed samples until they are needed. However, separation alone does not overcome the early scaling plateau of single-instance rollout. Scaling rollout across multiple generation instances exposes a local–global scheduling conflict: decoding minibatches should use each instance efficiently despite variable response lengths, while their dispatch order should maintain a steady supply of samples to the trainer over time. We identify three sources of underutilization in this pipeline. The first is padding bubbles: prompts in the same inference minibatch produce responses of different lengths, so shorter sequences finish early while the generation actor remains occupied by the longest generations. The second is skewness bubbles, following StreamRL [5]: LLM output lengths are often heavy-tailed, and a few long generations can collapse the effective active batch size near the end of decoding. Sorting prompts by predicted output length helps reduce both local inefficiencies, but can create a global imbalance between generation and training. If short minibatches are dispatched first and progressively longer minibatches later, the sample arrival rate decreases over time: the queue may initially build up and then drain as longer minibatches dominate. Queue buildup makes samples wait through additional policy updates, increasing policy lag; if the queue later empties, the trainer must wait for new samples. We call this temporal imbalance caused by sorted dispatch sorting bubbles. We propose the Adaptive Scheduling Pipeline (ASP), an offline rollout scheduler for multi-instance asynchronous RL. ASP first uses predicted output lengths and dynamic programming to construct length-homogeneous decoding minibatches, improving local rollout efficiency. It then reorders these minibatches into consecutive batch groups with balanced aggregate predicted load, smoothing the supply of samples to the trainer over time. This single offline preprocessing pass uses predicted lengths to jointly target padding, skewness, and sorting bubbles without adding online scheduling overhead during rollout. ASP is integrated into a multi-instance asynchronous RL pipeline designed to keep policy lag bounded. A Training Unit (TU) performs reward computation, log-probability evaluation, and policy updates; one or more Generation Units (GUs) host multiple generation actors that perform rollouts in parallel; and a Control Unit (CU) dispatches scheduled minibatches and forwards completed samples through a controlled Training Queue. The queue absorbs short-term variability and provides backpressure, while periodic weight refresh keeps the rollout policy close to the trainer. This design preserves the main benefits of disaggregation—continuous rollout, multi-instance scaling, and independent training/generation configurations—while keeping policy lag observable and bounded. ASP targets a complementary scheduling layer relative to prior asynchronous systems. StreamRL [5] uses an output-length ranker primarily for inter-instance routing, assigning the top α% longest predicted samples to dedicated instances and prioritizing long requests to reduce generation makespan. It does not optimize which prompts share a decoding minibatch or how the resulting minibatches are ordered to stabilize trainer arrivals. AsyncFlow [6] instead focuses on asynchronous dataflow across RL stages, scheduling ready samples across tasks and data-parallel consumers with consumer-side token balancing; its mechanisms do not construct predicted-length decoding minibatches or balance their dispatch order. Other recent systems address complementary aspects of asynchrony: AReaL [8] controls staleness through rollout admission and interrupted generation, whereas Laminar [9] reactively handles in-flight long-tail trajectories. ASP acts before rollout, jointly choosing predicted-length minibatch composition and balancing consecutive batch groups so that local reductions in padding and skewness do not create unstable trainer arrivals. Thus, ASP is complementary to disaggregation, routing, and staleness-control mechanisms rather than an alternative to them. We implement ASP inside MindSpeed-RL [10] with Group Relative Policy Optimization (GRPO) [11] on Ascend 910B3 Neural Processing Units (NPUs), and evaluate it on the Qwen3 Mixture-of-Experts (MoE) and dense models [12]. Our contributions are: 1. We identify a local–global scheduling conflict in multi-instance rollout and propose ASP, an offline scheduler that combines predicted-length minibatch construction with balanced batch-group ordering to reduce padding, skewness, and sorting bubbles. 2. We isolate ASP’s scheduling contribution through staged scheduling ablations and predictorquality analysis, showing that naive length sorting improves local efficiency but destabilizes trainer arrivals, while balanced ordering preserves the local gain and restores queue stability. 2

3. We integrate ASP into a bounded-lag asynchronous RL pipeline and evaluate it on Qwen3 MoE and dense models [12] against matched hybrid and optimized asynchronous/disaggregated baselines.

2

Background and related work

2.1

RL post-training pipelines

Large-scale RL post-training for LLMs is commonly implemented as a hybrid loop: a batch of prompts is first sent to rollout/generation, the generated samples are scored, and the resulting data are then consumed by the trainer for log-probability evaluation and policy update. This sequential organization is simple, but it couples two stages with different system profiles. This coupling can leave accelerators idle, force repeated mode switches between inference and training, and prevent each stage from using its most suitable parallelism strategy. Instead, asynchronous pipelines overlap rollout with training, while disaggregation allows the two stages to use separate resources and configurations [5, 6, 7]. This requires coordinating the delivery of generated samples to the trainer and the refresh of model weights used for generation. With multiple generation instances, efficient execution also depends on allocating resources between stages and scheduling variable-length rollouts to limit idle time [5, 6]. 2.2

Existing asynchronous systems and remaining gaps

Prior asynchronous RL systems address complementary layers of rollout execution. StreamRL [5] improves disaggregated RL training through stream generation to reduce pipeline bubbles and an output-length ranker to mitigate skewness bubbles. It routes the top α% of predicted long-tail prompts to dedicated machines, improving batching efficiency. While closely related to our motivation, StreamRL primarily uses length prediction for inter-instance routing, without explicitly optimizing decoding-minibatch composition. Moreover, α is fixed, and its dispatching policy does not explicitly balance the predicted load of consecutive batch groups to smooth sample arrivals at the trainer. In contrast, ASP uses predicted lengths offline to construct length-homogeneous minibatches and reorder them into balanced batch groups, jointly addressing padding, skewness, and sorting bubbles. AsyncFlow [6] uses TransferQueue for asynchronous dataflow across RL stages and tasks, with consumer-side token balancing. Its padding optimizations target data storage and transmission rather than decoding minibatch composition or dispatch ordering. Other systems address different bottlenecks: AReaL [8] controls staleness through generation admission and interrupted decoding across weight updates; Laminar [9] reactively relocates in-flight long-tail trajectories. ASP instead builds its schedule before rollout, without interrupting or migrating work that has already been dispatched. These mechanisms are complementary rather than mutually exclusive. verl [13, 14] is an RL framework for LLM post-training supporting disaggregated rollout and training. It notably supports training-side remove-padding and dynamic batching, as well as rollout-side continuous batching. However, unlike ASP, it does not explicitly optimize decoding-minibatch composition or batch-group ordering to stabilize trainer arrivals. This makes it a natural asynchronous baseline. A more detailed comparison with commonly used RL frameworks is provided in Appendix A. Table 1 summarizes this design space. Table 1: Comparison of ASP with existing asynchronous RL systems. Method

Async

Padding-aware Sorting-bubble Multi-inst. rollout rollout scheduling mitigation

Hybrid RL StreamRL [5] AsyncFlow [6] AReaL [8] Laminar [9] verl [13] ASP

No Yes Yes Yes Yes Yes Yes

No Yes Config.-dep. Yes Yes Config.-dep. Yes

3

No Partial No No No No Yes

No No No No No No Yes

3

Offline scheduling for multi-instance rollout

In ASP, scheduling is not only a throughput optimization for rollout. It is also the mechanism that makes multi-instance asynchronous generation more predictable: the same strategy that improves per-minibatch utilization also smooths the producer–consumer dynamics seen by the Training Queue over time. This section describes the scheduling problem and the three-step offline preprocessing pipeline used by ASP. Table 2 summarizes the role of each step before we describe the steps in detail. Table 2: ASP scheduling pipeline. Each offline step targets a different source of rollout inefficiency or queue instability. Step

Mechanism

Main effect

1 2 3

Output-length prediction Dynamic programming minibatch construction Balanced batch-group ordering

Orders prompts by expected rollout length Reduces intra-minibatch length heterogeneity Smooths queue arrivals over time

We use the term sample for one prompt–response trajectory, minibatch for the set of prompts decoded in parallel by one generation actor, and global batch for the set of prompts consumed in one training iteration. Each prompt is sampled several times, and all its samples are generated in the same minibatch and consumed in the same global batch; batch sizes are therefore counted in prompts. During rollout, each generation actor repeatedly receives a minibatch, generates the corresponding responses, and returns the completed samples to the Training Queue only after the entire minibatch finishes. The scheduler decides how prompts are grouped into minibatches and how those minibatches are ordered before dispatch. Its objective is twofold: reduce local underutilization during generation, and make the arrival rate of generated samples at the Training Queue balanced over time. 3.1

Bubble sources

Rollout efficiency is limited by three sources of underutilization. The first is padding bubbles: prompts in the same minibatch generate responses of different lengths, so shorter sequences finish earlier while the actor remains occupied by the longest ones. As a result, useful token generation can occupy only a small fraction of the token slots implied by the minibatch size and longest response. The second is skewness bubbles, following StreamRL [5]: LLM response lengths are often heavytailed, and a few very long generations can collapse the effective active batch size near the end of decoding. Sorting prompts by predicted output length helps reduce both padding and skewness within a minibatch, because prompts with similar expected lengths are decoded together. The third source is specific to asynchronous rollout. We call it sorting bubbles. If the dataset is simply sorted by predicted length, early minibatches tend to be short and later minibatches tend to be long. This improves local length homogeneity, but can destabilize the global pipeline: generation may initially overproduce samples and fill the Training Queue, then slow down as longer minibatches dominate, causing the queue to drain. Thus, naive length sorting can trade local efficiency for temporal instability. ASP addresses this by separating two goals: first forming length-homogeneous minibatches, then reordering those minibatches into balanced batch-groups. 3.2

Step 1: output-length prediction

ASP first predicts the output length of each prompt and sorts the dataset by the predicted values. Exact length predictions are neither required nor attainable: response lengths vary across generations for the same prompt and change as the model is updated during RL training. The predictor only needs to be roughly accurate, producing values close enough to the actual lengths and an ordering that separates prompts whose expected response lengths differ substantially. In our implementation, we collect prompt–length pairs by running the model on a small subset of prompts, then fine-tune Qwen 2.5 1.5B [15] to predict output lengths (Appendix F.4). We measure its ranking quality with Kendall’s τ [16], and Section 5.3 evaluates scheduling across prediction qualities. The predictor remains fixed throughout training, a choice supported by the limited response-length drift in the main Qwen3-30B-A3B run, where mean length changes by only 1.6% (Appendix F.7). Our use of predictions differs from StreamRL’s output-length ranker. StreamRL uses predicted lengths to route long-tail samples to dedicated instances and prioritize longer requests. As we explain in the 4

following steps, ASP uses predicted lengths offline, once before training, to construct minibatches and balance consecutive batch-groups. 3.3

Step 2: length-homogeneous minibatch construction

After sorting prompts by predicted length, ASP constructs inference minibatches. With a fixed minibatch size, large gaps in predicted output lengths may fall within a minibatch, forcing prompts of substantially different output lengths to be decoded together. To mitigate this, we allow minibatch sizes to vary slightly between a base size b and b + κ, where κ is typically small. Let l0 ≤ · · · ≤ ln−1 be the sorted predicted output lengths. A partition of the dataset is defined by endpoints 0 = x0 < x1 < · · · < xNB = n, where minibatch i contains prompts xi , . . . , xi+1 − 1. For each minibatch, we define the utilization proxy: Pxi+1 −1 lj j=xi (1) Ri = (xi+1 − xi ) lxi+1 −1 This ratio compares the predicted useful generated tokens with the total token slots implied by the minibatch size and longest predicted output. Hence, we define 1 − Ri to be the estimated padding bubble rate of minibatch i, and NB −1 1 X P̄ = 1 − Ri (2) NB i=0 is the average predicted padding bubble rate, which should be minimized. With κ small relative to b, NB varies little over the feasible set, motivating the use of summed utilization as a surrogate PNB −1 Ri subject to b ≤ xi+1 − xi ≤ b + κ. This objective. In practice, ASP therefore maximizes i=0 optimization is solved by dynamic programming in O(κn) time and O(n) space. The full recurrence and pseudocode are given in Appendix E. Hence, ASP preserves the benefits of output length sorting while reducing within-minibatch output length disparities through flexible minibatch sizing. The result is a sequence of minibatches that are locally efficient for generation, but still ordered from short to long. The next step tackles this temporal imbalance. 3.4

Step 3: balanced batch-group ordering

The final step reorders minibatches to balance the predicted load of consecutive batch groups and stabilize arrivals at the Training Queue. Let Bi be the predicted load of minibatch i, defined as the sum of predicted output lengths in that minibatch. ASP groups minibatches into batch groups of size k, and seeks a permutation σ such that each group has approximately the same total predicted PNB −1 1 load. With G = ⌈NB /k⌉ groups and target group load M = G Bi , defined as the average i=0 predicted load per group, the objective is  2 G 1 XX min Bσ(i) − M  (3) σ G g=1 i∈Gg

where Gg denotes the indices assigned to group g. This objective directly targets sorting bubbles: instead of dispatching all short minibatches first and all long minibatches later, ASP mixes short and long minibatches so that consecutive groups have similar predicted processing time. We solve this reordering problem with simulated annealing (SA) [17] in our implementation. After reordering, batch groups may still be shuffled for training randomness, while preserving their internal load balance. The detailed objective, simulated annealing procedure, and hyperparameter choices are deferred to Appendix E. Overall, ASP performs one offline preprocessing pass: predict lengths, build length-homogeneous minibatches, and reorder them into balanced batch groups. This produces rollout work units that are efficient for individual generation actors and stable for the global Training Queue, which is precisely the scheduling layer missing from naive asynchronous disaggregation. 5

4

Integration into bounded-lag asynchronous RL

The scheduling pipeline described above is designed to run inside an asynchronous RL system where rollout and training proceed concurrently. This section summarizes the system integration needed to make ASP practical: the architecture that consumes the scheduled minibatches, and the bounded-lag weight-refresh mechanism that keeps asynchronous training close to the current policy. Generation Queue

mB mB mB mB

GA GA 1 2

Dispatcher Latest Weights

Last Weights

GU1 GU2

Generation Sender

Pre-scheduled Database Ingestor

CU

Training Queue B1 B2 B3 B4

TU

Node 1 Node 2

Dispatcher Generation Queue

mB mB mB mB

GA GA 1 2

Figure 1: ASP architecture. Control Unit dispatches scheduled minibatches to Generation Units, receives completed samples, and forwards them to Training Queue consumed by Training Unit. GA denotes a generation actor, mB a minibatch, and B a global batch. 4.1

Architecture overview

ASP is integrated into a decoupled RL post-training pipeline with three components: a Training Unit (TU), one or more Generation Units (GUs), and a Control Unit (CU) co-located with the TU. The TU performs reward computation, log-probability evaluation, and policy updates. Each GU hosts multiple generation actors, typically vLLM [18] instances, which repeatedly receive scheduled inference minibatches, generate responses, and return completed samples. The CU coordinates this producer–consumer interaction by dispatching minibatches to the GUs and forwarding completed samples to the TU through a Training Queue. Figure 1 gives the system diagram and more details are given in Appendix B. This architecture serves two purposes. First, it allows rollout and training to operate continuously instead of alternating as in hybrid pipelines. Second, it keeps the two stages independently configurable: the TU and GUs may use different parallelism layouts, batch sizes, and hardware allocations. This independence is important because backpropagation and autoregressive generation have different system profiles, and a single shared configuration is often suboptimal for at least one of them. The Training Queue is the main stability mechanism. It buffers short-term fluctuations in generation time and allows the CU to monitor queue occupancy for backpressure control. When generated samples arrive faster than the TU consumes them, the CU can pause the start of new decoding minibatches; actors already decoding finish their current minibatches. Generation resumes as the Training Queue drains. ASP’s scheduler reduces the variance of generated-sample arrival times before execution, while the queue provides online stabilization during training. Detailed CU/TU/GU implementation choices and the resource allocation heuristic are deferred to Appendix B. 4.2

Weight refresh and bounded policy lag

Beyond balancing rollout and training rates, asynchronous execution introduces policy lag: samples may be generated by older model weights than those currently being trained, potentially destabilizing learning if the lag becomes too large. ASP therefore uses a bounded-lag weight-refresh path. The TU exports weight snapshots at a configurable interval, set to one training step in all our experiments. Because the TU and GUs may use different parallelism layouts, this snapshot is asynchronously converted into an inference-ready format before being loaded by generation actors. Finally, actors reload weights asynchronously: if an actor is already decoding a minibatch, it finishes that minibatch before reloading, avoiding a global pause of all generation workers. This design preserves the main benefit of disaggregation—continuous generation—while keeping the lag observable and bounded. For a minibatch that arrives at the Training Queue, the effective 6

off-policy distance, measured in training steps, can be approximated by Tsave + Tconvert + Tload + Tgen doff ≈ Qarrival + Ttrain

(4)

where Qarrival is the Training Queue depth measured in global batches immediately before the minibatch is inserted, Tsave , Tconvert , and Tload are the snapshot export, conversion, and reload times, Tgen is the generation time of a minibatch, and Ttrain is the TU training-step time. Because the queue is centralized, this lag can be estimated directly from queue state and measured system timings. This bounded-lag regime is compatible with GRPO [11]: prior work suggests that GRPO-style updates are robust to moderate off-policy sampling when policy drift remains small [19]. ASP does not rely on this robustness alone; it explicitly controls the systems sources of lag through scheduling, bounded queueing, and frequent weight refresh. We quantify the resulting policy lag and evaluate convergence under this lag in Section 5.5. A complete off-policy discussion, including the update-rate / version-lag distinction and duty-cycle calculation, is given in Appendix D. The low-level weight-flow implementation is given in Appendix C.

5

Experiments

In this section, we evaluate whether ASP improves the efficiency of RL post-training without destabilizing learning. We study (i) the complete-system performance against MindSpeed-RL and verl; (ii) the contribution of scheduling within a fixed ASP architecture; (iii) scalability with additional generation resources; and (iv) convergence under the measured policy lag. 5.1

Setup

We implement ASP inside MindSpeed-RL using GRPO [11]. Experiments run on Ascend 910B3 nodes, each with 8 NPUs. We evaluate end-to-end performance using the MoE model Qwen3-30B-A3B and the dense model Qwen3-32B [12]. Scheduling ablations first evaluate padding and load-balance metrics using fixed measured responses from Qwen3-32B and Qwen3-8B. We then execute real Qwen3-8B generation with simulated training to isolate the impact of scheduling on generation efficiency, iteration time, and queue behavior. We compare ASP against two baselines. MindSpeed-RL naturally serves as our hybrid baseline, as ASP is built on top of its infrastructure; it does not decouple rollout and training into a bounded-lag multi-instance pipeline. We also evaluate a verl-based asynchronous and disaggregated baseline [13]. This baseline evaluates the benefit of ASP beyond rollout/training separation: both verl and ASP decouple rollout and training, but only ASP applies the offline scheduling pipeline from Section 3 to make multi-instance rollout locally efficient and globally balanced over time. We use two datasets. D EEPSCALER [20] contains challenging mathematical problems and is used for throughput, scheduling, and scalability experiments. With an 8192-token output cap on this dataset, the output-length predictors for Qwen3-30B-A3B, Qwen3-32B, and Qwen3-8B reach Kendall’s τ = 0.64, 0.44, and 0.58, respectively. M AZE -R EASONING -GRPO- V 0.1 [21] is used to evaluate convergence on a task less likely to be saturated by the base pre-trained model. We report two maze rewards: maze integrity, measuring whether the generated solution is well formed, and maze correctness, measuring whether the decoded path solves the maze. Additional dataset details, hyperparameters, node allocations, output-length distributions, and predictor evaluation metrics are deferred to Appendix F. To evaluate system efficiency, we measure end-to-end iteration time, including rollout acquisition, reward/scoring, log-probability computation, policy update, and asynchronous delays visible to the iteration. We define end-to-end tokens per second (TPS) as the number of generated tokens per iteration divided by this time and normalized by the total number of NPUs. Mean iteration times used for performance comparisons are arithmetic averages over all measured iterations, including startup. 5.2

End-to-end performance

Table 3 compares complete ASP with MindSpeed-RL and verl using the arithmetic mean of end-toend iteration times. Across both models, ASP reduces mean iteration time by 59.9–62.5% relative to verl and by 75.1–76.8% relative to MindSpeed-RL. For Qwen3-30B-A3B, complete ASP also reaches 7

58 tokens/s/NPU compared with 18 tokens/s/NPU for MindSpeed-RL, yielding a 3.22× end-to-end throughput improvement. Table 3: Mean end-to-end iteration time under matched eight-node resources. Reductions are relative to each baseline; lower is better. Configuration details are given in Appendix F.5. Model

ASP

verl

MindSpeed-RL

Mean iteration time (s) Qwen3-30B-A3B 215.2 536.7 Qwen3-32B 230.7 615.1

927 928

ASP reduction vs. verl vs. MindSpeed-RL 59.9% 62.5%

76.8% 75.1%

These comparisons measure the complete systems rather than the scheduler in isolation: ASP and the baselines also differ in execution architecture and implementation. Section 5.3 therefore holds the ASP architecture fixed and separately attributes the gains due to scheduling. 5.3

Scheduling ablation

We measure the scheduling pipeline’s performance by isolating it within a fixed ASP architecture through five scenarios (C0–C4). C0 uses naïve fixed-size minibatches in the original order; C1 sorts prompts by predicted output length, exposing sorting bubbles; C2 adds dynamic programming to refine minibatch boundaries according to the second step of ASP; C3 randomly shuffles C2 minibatches to test whether randomization alone is sufficient to address sorting bubbles; and C4 applies ASP’s complete balanced ordering to measure the additional benefit of explicit load balancing. Local efficiency and dispatch balance. Table 4(a) evaluates C0-C4 on 39,000 measured Qwen3-32B responses. We construct noisy length predictions calibrated to Kendall correlation τ = 0.64; this is a sensitivity-test condition, not the measured accuracy of the 32B predictor. Metrics use measured response lengths and are averaged over three seeds. Intra-minibatch dispersion is the standard deviation (STD) of response lengths within each minibatch, averaged over minibatches. mean output length Mean padding rate is obtained by computing 1 − maximum output length for each minibatch and taking their average using true output lengths. Dispatch imbalance is measured by the coefficient of variation (CV), that is the standard deviation divided by the mean, of total response tokens per consecutive batch group. Group-load spread is defined as the ratio of the largest to the smallest batch-group load. Within-minibatch dispersion and padding rate characterize the local length heterogeneity underlying padding and skewness bubbles; group-load CV characterizes the temporal imbalance underlying sorting bubbles. Table 4: Ablation of scheduling steps. Panel (a) measures schedule properties using fixed response lengths; panel (b) executes real generation with simulated training-step durations and weight-refresh delays. Trend is the Spearman correlation between iteration index and iteration time; values near zero indicate little monotonic drift. Metric

C0

C1

C2

C3

C4

(a) Qwen3-32B responses; controlled τ = 0.64; three-seed means Intra-minibatch length STD (tokens) 2138 1163 1163 Mean padding rate 0.322 0.226 0.224 Batch-group load CV 0.103 0.403 0.401 Group-load spread (max/min) 1.68 9.88 9.81

1163 0.224 0.162 2.39

1163 0.224 0.070 1.39

(b) Qwen3-8B generation with simulated training; measured predictor τ = 0.58 Mean iteration time (s) 188 185 183 190 178 Iteration-time trend −0.080 +0.670 +0.510 +0.190 −0.075 Training Queue STD (samples) 41 45 40 36 36 Training Queue maximum (samples) 192 224 176 104 110

C1 shows that sorting improves local efficiency but increases load CV from 0.103 to 0.403, resulting in substantial fluctuations in the workload dispatched over time. The dynamic programming step in C2 slightly refines padding rates (0.226 to 0.224), while leaving this temporal imbalance largely 8

(a) Scaling across systems

1200

800

ASP verl MindSpeed-RL

800

1091

993 776

(b) ASP generation scaling

Iteration time (s)

Iteration time (s)

1600

1541

927 970

821

636 448

288

400

215.2

776

ASP

600

400

288 215.2

200

147

147

0

0 16

32

64

128

8

Total NPUs

24 32

80

Generation NPUs

Figure 2: Scalability of Qwen3-30B-A3B. (a) Iteration time versus total NPUs for ASP, verl, and MindSpeed-RL. (b) The same ASP results versus generation NPUs. Unlike in Table 3, verl runs without dynamic batch sizing; configurations are detailed in Appendix F.5.

unchanged. Balanced ordering (C4) then reduces the load CV of the same minibatches from 0.401 to 0.070 without changing their padding rate, whereas random shuffling (C3) only reaches 0.162. Thus, balanced ordering preserves the local batching gains while reducing dispatch imbalance below C0 in this condition. Impact on iteration time and throughput. Table 4(b) reports results for the five schedules C0– C4 using real Qwen3-8B generation through vLLM actors, including ASP’s dispatch, queue, and backpressure mechanisms. To isolate scheduling effects, we simulate training-step duration and weight-refresh delay using fixed timings measured in complete ASP runs. Appendix F.6.3 provides the details. Sorted dispatch exhibits positive iteration-time trends (C1: +0.670; C2: +0.510), whereas C4 shows little monotonic drift (−0.075) and has the lowest mean time, 178 s versus 188 s for C0, a 5.3% reduction. Shuffling matches C4’s queue STD and has a slightly lower queue maximum, but a higher mean iteration time (190 s) and trend (+0.19). Separately, we compare complete training runs with and without scheduling on Qwen3-30B-A3B (Figure 9, Appendix F.6.1). Enabling scheduling reduces the mean iteration time from 238 to 212 s (10.9%) and increases end-to-end throughput from 47 to 58 tokens/s/NPU (23.4%). Scheduling also reduces the STD of minibatch generation time by 29.4% and Training Queue STD by 15.0%, showing that smoother generation and queue behavior also occur during complete training. First-iteration time also falls from 1042 to 724 s (30.5%). Sensitivity to prediction quality. Three-seed sweeps on measured Qwen3-32B and Qwen3-8B responses show that sorting’s padding benefit decreases as prediction quality deteriorates and becomes marginally negative by τ = 0.25. Balanced ordering nevertheless keeps group-load CV at or below C0 over the tested oracle-to-random range. Appendix F.6.2 provides the perturbation protocol, measured predictor correlations, and full three-seed results for both models. 5.4

Scalability

We evaluate scalability using Qwen3-30B-A3B while varying the number of NPUs. Figure 2 summarizes the main results. As the number of NPUs increases, disaggregated multi-instance systems benefit more than the hybrid baseline in our setting: decoupling enables phase-specific configurations, and extra generation instances increase rollout capacity. ASP achieves lower iteration time than both baselines at every tested scale, reaching 147 s at 128 NPUs. The bottleneck shifts as resources grow. At 16 NPUs, both stages are constrained: the single TU node requires recomputation and parameter offload, and the single GU node makes generation the dominant bottleneck, which explains ASP’s smaller margin over the baselines. Adding two GU nodes to the same TU (32 NPUs) yields a nearly balanced allocation (Appendix B.6) and reduces iteration time from 776 s to 288 s, a near-linear 2.69× speedup for three times the generation resources. At 64 9

NPUs, the four-node TU no longer needs recomputation or offload, and iteration time falls to 215.2 s. At 128 NPUs, training becomes the bottleneck as it approaches its own scaling plateau, so further gains depend on training rather than rollout capacity. 5.5

Convergence under bounded lag

Finally, we verify that asynchronous execution does not visibly harm learning in our bounded-lag regime. On a 4-node run with 1 TU node and 3 GU nodes, the measured timing breakdown gives, using Equation 4, doff ≈ Q̄arrival + 3.3, where Q̄arrival is the mean queue depth at arrival. At this operating point, the system is rollout-bound and generated samples are dispersed in time, so the Training Queue remains close to empty. The effective off-policy distance is therefore approximately 3.3 trainer steps. The full timing breakdown is reported in Appendix D. To test whether this staleness affects learning, we run 30 GRPO iterations on M AZE -R EASONING GRPO- V 0.1 with Qwen3-30B-A3B and a global batch size of 16 prompts. Figure 3 compares ASP with MindSpeed-RL. Both methods reach a similar maze-integrity plateau, with ASP showing a short initial delay caused by generation warmup. Maze correctness follows the same qualitative conclusion: ASP does not show visible degradation under the measured lag.

(a) Maze integrity reward

(b) Maze correctness reward

Figure 3: Convergence on M AZE -R EASONING -GRPO- V 0.1. ASP remains stable under an estimated off-policy distance of approximately 3.3 trainer steps. These results are consistent with the expected robustness of GRPO to moderate staleness [19]. More importantly, they show that ASP’s systems mechanisms—offline scheduling, bounded queueing, and frequent weight refresh—keep the asynchronous pipeline in a small-lag regime while delivering substantial throughput gains.

6

Conclusion

We presented ASP, a scheduling-centered approach for efficient asynchronous RL post-training of LLMs. The main insight is that disaggregating rollout and training is not sufficient by itself: multi-instance rollout must also be scheduled so that generation is locally efficient inside each actor and globally stable at the Training Queue level. ASP addresses this missing layer with an offline bubble-mitigating scheduler that predicts output lengths, constructs length-homogeneous minibatches, and reorders them into balanced batch groups. On Qwen3 MoE and dense models, ASP reduces iteration time by up to 76.8% versus MindSpeed-RL and 62.5% versus verl, reaching 3.22× the end-to-end throughput of MindSpeed-RL. Ablations confirm scheduling’s direct contribution: length-aware minibatching improves local efficiency, balanced ordering preserves these gains and stabilizes trainer arrivals, and complete training runs with and without scheduling show a 10.9% reduction in iteration time within the same architecture. Together with near-linear scaling and no visible convergence degradation at approximately 3.3 trainer steps of lag, these results demonstrate the value of coordinated minibatch construction and dispatch ordering for efficient asynchronous RL post-training.

10

Acknowledgments and Disclosure of Funding A significant part of this work was conducted within the Global Technology Service (GTS) team at Huawei Technologies in Dongguan, China, where Salah Chikhi and Luis Zuin were interns, and Entong Li and Li Zeng were full-time employees at the time. We thank the GTS team for its support and collaborative research environment. We also acknowledge the computing infrastructure provided by Huawei Technologies for this research and by the Shenzhen Research Institute of Big Data for the additional experiments conducted during the rebuttal. The authors declare no competing interests.

References [1] Long Ouyang et al. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://proceedings.neurips.cc/ paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract.html. [2] Alex Havrilla, Yuqing Du, Sharath Chandra Raparthy, Christoforos Nalmpantis, Jane Dwivedi-Yu, Maksym Zhuravinskyi, Eric Hambro, Sainbayar Sukhbaatar, and Roberta Raileanu. Teaching large language models to reason with reinforcement learning, 2024. https://arxiv.org/abs/2403.04642. [3] Xuanming Wen et al. Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMs, 2025. https://arxiv.org/abs/2506.14245. [4] Jian Hu, Xibin Wu, Wei Shen, Jason Klein Liu, Zilin Zhu, Weixun Wang, Songlin Jiang, Haoran Wang, Hao Chen, Bin Chen, Weikai Fang, Xianyu, Yu Cao, Haotian Xu, and Yiming Liu. OpenRLHF: An Easy-to-use, Scalable and High-performance RLHF Framework, 2025. https://arxiv.org/abs/2405.11143. [5] Yinmin Zhong, Zili Zhang, Xiaoniu Song, Hanpeng Hu, Chao Jin, Bingyang Wu, Nuo Chen, Yukun Chen, Yu Zhou, Changyi Wan, Hongyu Zhou, Yimin Jiang, Yibo Zhu, and Daxin Jiang. StreamRL: Scalable, Heterogeneous, and Elastic RL for LLMs with Disaggregated Stream Generation, 2025. https: //arxiv.org/abs/2504.15930. [6] Zhenyu Han, Ansheng You, Haibo Wang, Kui Luo, Guang Yang, Wenqi Shi, Menglong Chen, Sicheng Zhang, Zeshun Lan, Chunshi Deng, Huazhong Ji, Wenjie Liu, Yu Huang, Yixiang Zhang, Chenyi Pan, Jing Wang, Xin Huang, Chunsheng Li, and Jianping Wu. AsyncFlow: An Asynchronous Streaming RL Framework for Efficient LLM Post-Training, 2025. https://arxiv.org/abs/2507.01663. [7] Michael Noukhovitch, Shengyi Huang, Sophie Xhonneux, Arian Hosseini, Rishabh Agarwal, and Aaron Courville. Asynchronous RLHF: Faster and More Efficient Off-Policy RL for Language Models, 2025. https://arxiv.org/abs/2410.18252. [8] Wei Fu, Jiaxuan Gao, Xujie Shen, Chen Zhu, Zhiyu Mei, Chuyi He, Shusheng Xu, Guo Wei, Jun Mei, Jiashu Wang, Tongkai Yang, Binhang Yuan, and Yi Wu. AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning, 2026. URL https://arxiv.org/abs/2505.24298. [9] Guangming Sheng, Yuxuan Tong, Borui Wan, Wang Zhang, Chaobo Jia, Xibin Wu, Yuqi Wu, Xiang Li, Chi Zhang, Yanghua Peng, Haibin Lin, Xin Liu, and Chuan Wu. Laminar: A Scalable Asynchronous RL Post-Training Framework, 2025. URL https://arxiv.org/abs/2510.12633. [10] Laingjun Feng, Chenyi Pan, Xinjie Guo, Fei Mei, Benzhe Ning, Jianxiang Zhang, Xinyang Liu, Beirong Zhou, Zeng Shu, Chang Liu, et al. MindSpeed RL: Distributed Dataflow for Scalable and Efficient RL Training on Ascend NPU Cluster. arXiv preprint arXiv:2507.19017, 2025. https://gitcode.com/ Ascend/MindSpeed-RL. [11] Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Y Wu, et al. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models, 2024. https://arxiv.org/abs/2402.03300. [12] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu. Qwen3 Technical Report, 2025. URL https://arxiv.org/abs/2505.09388.

11

[13] ByteDance Seed. verl: Volcano Engine Reinforcement Learning for LLMs, 2026. https://github. com/verl-project/verl. [14] Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu. HybridFlow: A Flexible and Efficient RLHF Framework. In Proceedings of the Twentieth European Conference on Computer Systems, pages 1279–1297, 2025. doi: 10.1145/3689031. 3696075. URL https://doi.org/10.1145/3689031.3696075. [15] Qwen, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tianyi Tang, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. Qwen2.5 Technical Report, 2024. URL https://arxiv.org/abs/2412.15115. [16] M. G. Kendall. A new measure of rank correlation. Biometrika, 30(1-2):81–93, 1938. doi: 10.2307/2332226. https://doi.org/10.2307/2332226. [17] Scott Kirkpatrick, C. D. Gelatt, and M. P. Vecchi. Optimization by simulated annealing. Science, 220 (4598):671–680, 1983. [18] Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient Memory Management for Large Language Model Serving with PagedAttention. In Proceedings of the 29th Symposium on Operating Systems Principles, pages 611– 626, 2023. doi: 10.1145/3600006.3613165. URL https://doi.org/10.1145/3600006.3613165. [19] Youssef Mroueh, Nicolas Dupuis, Brian Belgodere, Apoorva Nitsure, Mattia Rigotti, Kristjan Greenewald, Jiri Navratil, Jerret Ross, and Jesus Rios. Revisiting Group Relative Policy Optimization: Insights into On-Policy and Off-Policy Training, 2025. https://arxiv.org/abs/2505.22257. [20] Michael Luo, Sijun Tan, Justin Wong, Xiaoxiang Shi, William Y. Tang, Manan Roongta, Colin Cai, Jeffrey Luo, Li Erran Li, Raluca Ada Popa, and Ion Stoica. DeepScaleR: Surpassing O1-Preview with a 1.5B Model by Scaling RL. Notion blog post, 2025. [21] Alan Dao and Dinh Bach Vu. AlphaMaze: Enhancing Large Language Models’ Spatial Intelligence via GRPO, 2025. https://arxiv.org/abs/2502.14669. [22] John Schulman et al. Proximal Policy Optimization Algorithms, 2017. URL https://arxiv.org/abs/ 1707.06347. [23] Yanli Zhao, Andrew Gu, Rohan Varma, Liang Luo, Chien-Chin Huang, Min Xu, Less Wright, Hamid Shojanazeri, Myle Ott, Sam Shleifer, Alban Desmaison, Can Balioglu, Pritam Damania, Bernard Nguyen, Geeta Chauhan, Yuchen Hao, and Shen Li. PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel. Proceedings of the VLDB Endowment, 16(12):3848–3860, 2023. https://arxiv.org/abs/ 2304.11277. [24] Mohammad Shoeybi et al. Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism. arXiv:1909.08053, 2019. [25] Lianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Chuyue Sun, Jeff Huang, Cody Hao Yu, Shiyi Cao, Christos Kozyrakis, Ion Stoica, Joseph E. Gonzalez, Clark Barrett, and Ying Sheng. SGLang: Efficient Execution of Structured Language Model Programs. In Advances in Neural Information Processing Systems, volume 37, pages 62557–62583, 2024. URL https://proceedings.neurips.cc/paper_ files/paper/2024/hash/724be4472168f31ba1c9ac630f15dec8-Abstract-Conference.html. [26] Philipp Moritz et al. Ray: A Distributed Framework for Emerging AI Applications. In OSDI, 2018. https://arxiv.org/pdf/1712.05889. [27] Microsoft DeepSpeed Team. DeepSpeed: Extreme-scale model training for everyone, 2020. https://www.microsoft.com/en-us/research/blog/ deepspeed-extreme-scale-model-training-for-everyone/. [28] Thomas Wolf et al. Transformers: State-of-the-Art Natural Language Processing. In EMNLP: System Demonstrations, 2020. https://arxiv.org/abs/1910.03771. [29] Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct Preference Optimization: Your Language Model is Secretly a Reward Model. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://proceedings.neurips.cc/paper_ files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html.

12

[30] THUDM. slime: An LLM Post-Training Framework for RL Scaling, 2025. https://github.com/ THUDM/slime. [31] Lasse Espeholt et al. IMPALA: Importance Weighted Actor-Learner Architectures. In ICML, 2018. https://arxiv.org/abs/1802.01561. [32] Shengyi Huang, Jiayi Weng, Rujikorn Charakorn, Min Lin, Zhongwen Xu, and Santiago Ontañón. CLEANBA: A Reproducible and Efficient Distributed Reinforcement Learning Platform, 2023. https: //arxiv.org/abs/2310.00036. [33] Haizhong Zheng, Jiawei Zhao, and Beidi Chen. Prosperity before Collapse: How Far Can Off-Policy RL Reach with Stale Data on LLMs?, 2025. https://arxiv.org/abs/2510.01161. [34] Python Software Foundation. concurrent.futures — Launching parallel tasks, 2024. Available at https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures. ThreadPoolExecutor. [35] Alberto Maria Metelli, Matteo Papini, Nico Montali, and Marcello Restelli. Importance sampling techniques for policy optimization. Journal of Machine Learning Research, 21:1–75, 2020. http: //jmlr.org/papers/v21/20-124.html.

13

Appendix Overview This appendix provides a comprehensive and self-contained presentation of the algorithmic foundations, implementation details, in-depth analysis, and additional experimental results of our method. Appendix A provides a more detailed discussion of related work. In Appendix B, the system architecture is further explained. Appendix C provides the low-level implementation details behind the weight-refresh path summarized in Section 4. The off-policy analysis and scheduling algorithm details are presented in Appendices D and E, respectively. Appendix F includes additional experimental results, benchmark descriptions, and implementation settings. Finally, several limitations and future directions are discussed in Appendix G. Overall, the appendix complements the main paper with additional justification, implementation details, and experimental context.

A

Extended related work

This appendix expands the comparison in Section 2. The main paper focuses on ASP’s scheduling-centered contribution; here we give additional context on hybrid pipelines, asynchronous/disaggregated RL systems, and off-policy actor–learner training. Table 5 summarizes the main differences between the pipelines related to ASP. A.1

Hybrid and asynchronous RL pipelines

Large-scale RL post-training systems are commonly organized either as hybrid pipelines or as asynchronous/disaggregated pipelines. In a hybrid pipeline, the same accelerator pool alternates between rollout, scoring/log-probability computation, and training. This design is simple and keeps rollouts close to the current policy, but it creates idle periods and forces generation and training to share one resource configuration. This is often suboptimal because autoregressive generation and backpropagation have different system profiles: generation is largely memory-bandwidth bound and sensitive to output-length variability, whereas training is dominated by synchronized backpropagation and often benefits from different parallelism layouts. Asynchronous pipelines decouple rollout from training so that generation can continue while the trainer updates the model. This improves overlap and allows the two stages to use different resources. Yet separation alone does not overcome the early scaling plateau of single-instance rollout. Scaling rollout further requires multiple generation instances, which introduces a scheduling problem: the system must maintain high local utilization inside each inference minibatch while keeping the global producer–consumer dynamics at the Training Queue stable. ASP targets this missing scheduling layer. A.2

StreamRL

StreamRL [5] is closely related to ASP because it studies disaggregated RL training for LLMs and also identifies rollout as a major bottleneck. It introduces stream generation to overlap generation and training, and uses an output-length ranker to mitigate skewness bubbles: underutilization caused by long-tail output lengths. Indeed, since decoding benefits from maintaining a large active batch, utilization drops when most sequences in a minibatch finish early and only a few long generations remain. StreamRL addresses this by routing the top α% of prompts predicted to generate long outputs to a dedicated subset of machines. It then applies longest-processing-time-first scheduling within each instance. ASP differs from StreamRL in three main ways. First, StreamRL uses length prediction primarily for inter-instance routing: long-tail prompts are separated from the rest and routed to specific nodes, but the construction of each inference minibatch is not optimized with ASP’s explicit padding objective. ASP instead uses predicted lengths to construct length-homogeneous minibatches, directly targeting intra-minibatch padding waste. Second, StreamRL’s routing depends on a static hyperparameter α that may be hard to tune, whereas ASP formulates minibatch construction and batch-group ordering as optimization problems over the full prompt set. Third, ASP identifies and targets sorting bubbles: queue-level instability caused by naive length-sorted dispatch. Sorting prompts by predicted length improves local minibatch efficiency, but it can create temporal imbalance by sending mostly short minibatches first and mostly long minibatches later. ASP separates these goals: it first builds length14

homogeneous minibatches, then reorders them into balanced batch groups to smooth the generation rate seen by the Training Queue. Thus, ASP is complementary to StreamRL’s motivation. StreamRL demonstrates the value of asynchronous rollout and length-aware routing; ASP studies how length information can be used as a scheduling signal to jointly reduce padding, skewness, and queue instability. A.3

AsyncFlow

AsyncFlow [6] studies asynchronous RL execution through a distributed data-management module, TransferQueue, which overlaps multiple RL stages such as actor rollout, reference computation, reward computation, and actor update. Its main contribution is a flexible system that allows different RL stages to run concurrently. ASP targets a narrower but complementary problem. Instead of pipelining all RL stages, ASP keeps a single controlled Training Queue between generation and training, and focuses on scheduling rollout work so that multi-instance generation is both locally efficient and globally stable. This choice is motivated by our workload: inside the Training Unit, backpropagation dominates the stage time, while the main end-to-end bottleneck is rollout. Therefore, trainer-side pipelining would provide limited benefit compared with improving rollout throughput, overlap, and queue stability. This also clarifies the difference between ASP’s Training Queue and a more general distributed data-management substrate. ASP’s queue is deliberately a narrow coordination interface between generation and training. It is co-located with the Training Unit, exposes queue occupancy for backpressure, and makes the queue contribution to policy lag directly observable. A more general multi-stage queueing substrate provides broader flexibility, but ASP chooses the narrower design because it is sufficient for the scheduling problem studied in this paper. A.4

AReaL

AReaL [8] is a fully asynchronous RL system that decouples generation from training, allowing the trainer to update the policy as completed trajectories become available. To limit off-policy effects, AReaL controls the admission rate of new generation requests according to a maximum permitted staleness. It also supports interruptible generation: when new policy weights arrive, ongoing decoding is interrupted, the old KV caches are discarded and recomputed under the updated weights, and unfinished trajectories resume. This avoids waiting for the longest generations before refreshing the policy, but can produce trajectories spanning multiple policy versions. AReaL addresses this algorithmic challenge through decoupled PPO, which separates the behavior and proximal policies. ASP targets a different source of inefficiency. Rather than interrupting decoding, ASP lets each generation actor complete its current minibatch before refreshing weights, avoiding KV-cache recomputation and mixed-version trajectories. More importantly, ASP proactively constructs lengthhomogeneous decoding minibatches and balances consecutive batch groups, reducing local padding and skewness without inducing unstable trainer arrivals. While AReaL manages asynchronous execution and staleness, it does not explicitly optimize this joint minibatch-composition and dispatchordering objective. ASP operates with unmodified GRPO in its measured small-lag regime, supported by its offline scheduling, bounded queueing, and balanced TU/GU resource allocation, without claiming the larger-lag robustness studied by AReaL. A.5

Laminar

Laminar [9] addresses long-tail generation inefficiency through trajectory-level asynchrony, allowing trajectories to be generated and consumed independently. It introduces hierarchical relay workers that distribute model weights asynchronously, avoiding global synchronization stalls between training and generation. To mitigate underutilization when only a few long trajectories remain, Laminar further proposes a dynamic repacking mechanism: it monitors KV-cache utilization to identify underutilized rollout instances and consolidates their unfinished trajectories onto fewer instances using the same policy version. This frees other instances to refresh their weights and generate new trajectories, improving generation throughput. Although both Laminar and ASP target inefficiencies caused by heterogeneous output lengths, they operate at different stages. Laminar reactively redistributes ongoing trajectories after underutilization 15

emerges, whereas ASP proactively organizes prompts before generation using predicted output lengths. ASP first constructs length-homogeneous minibatches to reduce padding and skewness, then reorders them into balanced batch groups to prevent the sorting bubbles created by naive length sorting. Laminar does not explicitly optimize this initial minibatch composition or the temporal balance of trainer arrivals. Conversely, ASP does not migrate in-flight trajectories, leaving reactive repacking as a potentially complementary mechanism for handling residual prediction errors. This combination remains unevaluated. A.6

Commonly used RL frameworks

Beyond research systems that explicitly study asynchronous RL pipelines, ASP is also related to widely used RL post-training frameworks. Reinforcement learning training for LLMs usually requires a complex pipeline that combines large-scale response generation, reward computation, policy optimization, and distributed training. Instead of implementing each component manually, practitioners often rely on frameworks that provide integrated support for these stages. Many of these frameworks are actively maintained and regularly updated, making them suitable for incorporating recent algorithmic and systems-level advances. Consequently, they have become widely used in both academic research and industrial LLM post-training. In this section, we briefly introduce several representative RL frameworks. verl. verl [13] is an open-source RL post-training framework for large language models based on the HybridFlow design [14]. It provides abstractions for expressing RL training workflows that involve multiple model roles, such as actors, critics, reference models, reward models, and rollout engines. Its design separates high-level control logic from distributed computation, making it easier to construct complex RL dataflows such as PPO [22] and GRPO [11]. verl also integrates with common large-scale training and inference backends, including FSDP [23], Megatron-LM [24], vLLM [18], and SGLang [25]. In the matched-resource comparison of Table 3, verl uses training-side remove-padding and dynamic batch sizing for actor/reference passes, together with vLLM continuous rollout batching. Those optimizations do not themselves select which prompts form an externally returned decoding minibatch or balance the aggregate load of consecutive batch groups on the generation side. ASP’s additional contribution resides in predicted-length composition and balanced batch-group ordering for generation efficiency and stability. OpenRLHF. OpenRLHF [4] is an open-source framework designed to simplify large scale RLHF and RL-based post-training of language models. It builds on commonly used distributed training and inference systems, including Ray [26], vLLM [18], DeepSpeed [27], and Hugging Face Transformers [28]. The framework provides implementations of several alignment and RL algorithms, such as PPO [22], DPO [29], and related policy-gradient variants. Its main advantage is ease of use: it offers a relatively simple interface for launching distributed RLHF experiments while still supporting large models and efficient rollout generation. This makes OpenRLHF a practical choice for researchers and practitioners who want to prototype or scale post-training methods without building the full infrastructure from scratch. slime. slime [30] is an LLM post-training framework focused on reinforcement learning at scale. Its core design connects Megatron-LM [24] for distributed model training with SGLang [25] for efficient rollout generation. This combination allows the framework to support high-throughput generation while preserving compatibility with large-scale training strategies such as tensor, pipeline, and data parallelism. In addition to standard RL training workflows, slime emphasizes flexible data-generation pipelines, which can be useful for agentic, reasoning-oriented, or task-specific RL settings. Compared with more general-purpose RLHF frameworks, slime is particularly oriented toward large-scale RL systems where tight integration between the training backend and the inference backend is important. A.7

Distributed actor–learner RL and policy lag

ASP is also related to distributed actor–learner systems such as IMPALA [31] and later asynchronous RL implementations such as CleanBA [32]. These systems decouple acting from learning, improving throughput but introducing policy staleness: samples may be generated by older behavior policies 16

Table 5: Extended comparison of asynchronous RL systems and their scheduling mechanisms. Feature Rollout/training separation Multi-instance rollout Independent training/generation configurations Predicted-length minibatch construction Long-tail rollout mitigation Explicit minibatch optimization for rollout padding Balanced batch-group ordering Weight-update decoding interruption In-flight trajectory repacking

Hybrid RL StreamRL AsyncFlow AReaL Laminar ASP No No No No No No No No No

Yes Yes Yes No Yes No No No No

Yes Config.-dep. Yes No No No No No No

Yes Yes Yes No Yes No No Yes No

Yes Yes Yes No Yes No No No Yes

Yes Yes Yes Yes Yes Yes Yes No No

than the learner’s current policy. This actor–learner lag is typically handled through importance weighting, clipping, or by keeping the lag small enough in practice. LLM post-training by RL has similar concerns, but the system bottlenecks are different. Rollouts are expensive, output lengths are heavy-tailed, and weight refresh may require converting trainer checkpoints into inference-ready layouts. Recent work on asynchronous RLVR reports wall-clock speedups under moderate staleness [7], while M2PO studies robustness under farther off-policy regimes by controlling the second moment of importance weights [33]. ASP is complementary to these algorithmic directions: it does not rely only on algorithmic robustness, but also controls the systems sources of lag through bounded queueing, scheduling, and frequent weight refresh.

B

System architecture details

This appendix provides implementation details omitted from Section 4. The main paper describes the architecture at the level needed to understand ASP’s scheduling and bounded-lag integration; here we summarize the concrete components used in our prototype. B.1

ASP at a glance

ASP is integrated into an asynchronous RL pipeline with three main components: a Training Unit, one or more Generation Units, and a Control Unit. The TU performs reward computation, logprobability evaluation, and policy updates. Each GU hosts multiple generation actors, typically vLLM instances [18], that repeatedly decode inference minibatches. The CU coordinates dispatch, receives completed samples, and forwards them to the Training Queue. The architecture is designed around three invariants. First, generation and training operate continuously whenever possible, instead of alternating as in a hybrid loop. Second, the Training Queue remains bounded through backpressure. Third, weight refresh is asynchronous: actors finish their current minibatch before loading a new snapshot, avoiding a global pause of all generation workers. B.2

Control Unit

The CU is a CPU-side process co-located with the TU. It is the coordination hub of the system: it dispatches scheduled minibatches to GUs, receives completed responses, forwards samples to the Training Queue, and notifies GUs when new weight snapshots are available. Keeping the CU close to the TU makes the Training Queue state directly observable and simplifies backpressure. The CU contains three logical controllers. Generation Sender. The Generation Sender sends orchestration messages, prompt minibatches, and weight-snapshot notifications to the GUs. Prompts are dispatched according to ASP’s scheduled order. In particular, the sender treats the scheduler’s batch groups as dispatch units, so that consecutive groups have approximately balanced predicted generation load. The sender also maintains the metadata needed to merge returned responses with their original prompts before forwarding samples to the Training Queue. 17

Database. The Database stores prompts that remain to be sent, tracks which minibatches have been issued, and records failed sends for retry. Since ASP performs scheduling offline, the Database does not solve a new optimization problem during training; it supplies minibatches in the precomputed order as the Generation Sender replenishes the per-GU input queues. Ingestor. The Ingestor receives completed minibatches from GUs and passes them to the Training Queue. Separating ingestion from the training loop keeps network and coordination work off the critical trainer path. It also allows the CU to record per-GU send/receive events, which are useful for measuring queue stability and debugging generation imbalance. B.3

Per-GU queue targets and backpressure

To keep generation actors fed while retaining flexibility to balance work across GUs, the CU maintains a small per-GU input-queue target, typically 5–10 minibatches in our implementation. The lower bound hides network latency and avoids starving generation actors. The upper bound limits work committed to each GU, leaving more minibatches available for dispatch to other GUs as they become available. The Training Queue provides the main backpressure signal. When completed samples accumulate beyond a configured threshold, the CU signals GUs to pause the start of new decoding minibatches, including those already in their input queues. Generation resumes when queue occupancy falls sufficiently. This limits the buildup of completed samples and the policy lag associated with waiting for training. In the rollout-bound configurations used in our experiments, the Training Queue usually remains close to empty, but this mechanism also controls queue growth when generation temporarily outpaces training. B.4

Training Unit and Training Queue

The TU follows the MindSpeed-RL training structure: it performs reward computation, reference/logprobability computation, and policy updates using GRPO [11]. Unlike systems that pipeline several trainer sub-stages, ASP does not pipeline the internal TU computation. In our workload, backpropagation dominates the TU stage time, and the main end-to-end bottleneck is rollout. Therefore, trainer-side pipelining would provide limited benefit compared with improving rollout throughput and overlap. The Training Queue is implemented as a separate Ray actor [26]. It stores samples in a lock-protected queue and assembles them into global batches for training, as illustrated in Figure 4. It records queue length, sample arrival events, and per-GU metadata. These counters are used both for backpressure and for estimating the effective off-policy distance. B.5

Generation Units and generation actors

A GU hosts multiple generation actors. Each actor stores a copy of the inference model and repeatedly executes the same lifecycle: receive one minibatch, generate responses, return the completed samples, and then either accept another minibatch or reload weights if a newer snapshot is available. Actors are independent, so multiple minibatches can be decoded concurrently across a GU. Each GU also has an inference-side control process that receives minibatches from the CU and assigns them to idle actors. Before assigning a new minibatch, it checks whether the CU has paused generation through its backpressure signal. While the pause is active, queued minibatches remain pending and no new decoding starts; actors already decoding finish their current minibatches. B.6

Resource allocation heuristic

ASP uses a simple static resource-allocation heuristic. The goal is to choose the number of TU and GU nodes so that rollout throughput is close to training consumption, while keeping generation as a mild bottleneck when possible. This prevents unbounded Training Queue growth and keeps generation resources highly utilized. The procedure is: 18

Figure 4: Training Queue. Completed inference minibatches accumulate as prompt–response samples and are consumed by the Training Unit as global training batches. mB denotes a minibatch, B a global batch, and Qmax the queue-occupancy threshold for triggering backpressure.

1. Determine the minimum number of nodes needed by the TU for the target model and global batch size, then measure the TU training-step time. 2. Choose a generation actor configuration on the smallest convenient hardware slice, such as one node or one NPU group, and measure the time to generate one inference minibatch. 3. Replicate generation actors across GUs until aggregate rollout throughput approximately matches TU consumption. We prefer the GU side to be a mild bottleneck, because this keeps the Training Queue bounded and avoids frequent pause/resume behavior. 4. If additional nodes remain, scale the TU and repeat the balancing step. This alternating expansion maintains a near-balanced operating point. This heuristic is intentionally simple. More elaborate dynamic allocation schemes are possible, but static allocation worked well in our setting because ASP’s scheduler reduces generation-time variance before execution and the Training Queue absorbs short-term fluctuations online.

C

Weight-flow implementation

This appendix provides the low-level implementation details behind the weight-refresh path summarized in Section 4. The purpose of this path is to preserve independent training/generation specialization without re-coupling the two sides at every update. C.1

Overview

In a disaggregated RL pipeline, generation actors must periodically receive newer trainer weights. In ASP, this is nontrivial because the TU and GUs may use different parallelism layouts. A trainer checkpoint therefore cannot always be broadcast directly to inference actors. Instead, ASP uses a three-stage weight-flow path: 1. export a trainer snapshot from the TU; 2. convert the snapshot into the layout expected by GU inference actors; 3. reload the converted weights inside each generation actor. The first two stages are mostly asynchronous relative to generation. The third stage may stall an actor, so ASP uses deferred reload: an actor finishes its current minibatch before loading the new snapshot. 19

C.2

Trainer-side export

When the TU emits a new snapshot, each training worker prepares a CPU parameter dictionary containing its local shard in a vLLM-compatible format. This synchronous preparation is small relative to a full training iteration. The TU then launches an asynchronous task that writes these local shards to shared storage, preserving the training-side parallelism layout. After all training nodes finish saving, the CU notifies the corresponding GU that a new snapshot is available. In our prototype, this notification is sent through a lightweight HTTP request containing the file-system locations of the exported checkpoint. To bound storage growth, older snapshots are deleted progressively; in our implementation, we retain only a small recent window. C.3

Generation-side conversion

Upon notification, the GU converts the training snapshot into an inference-ready layout. Concretely, the conversion merges training tensor-parallel ranks and expert shards when needed, reconstructs the model expected by inference, and repartitions it according to the GU’s tensor, expert, and data parallel configuration. This conversion is performed once per snapshot at the GU level, rather than separately inside every generation actor. This stage allows the TU and GUs to use different parallelism layouts. For example, training may prefer a layout optimized for backpropagation, while generation may prefer smaller tensor-parallel groups replicated across multiple actors. Without conversion, the two sides would need to share a common layout, weakening the benefit of disaggregation. C.4

Reload methods evaluated

We evaluated several ways to load new weights into vLLM on Ascend NPUs. Two straightforward approaches were too slow in our environment. First, calling vLLM’s load_weights endpoint took roughly 200 s for Qwen3-30B-A3B. Second, restarting the entire vLLM process after each iteration had a similar cost. These approaches were disproportionate relative to minibatch generation time and would significantly reduce the duty cycle of generation actors. The bottleneck came primarily from software and I/O limitations rather than raw device bandwidth. In particular, our environment did not provide a fast safetensors loading path or IPC-handlebased zero-copy sharing between processes. As a result, repeated deserialization and serialized host-to-device (H2D) transfers became dominant. C.5

Parallelized host-to-device loading

Our most effective implementation parallelizes loading inside each vLLM worker. We use a ThreadPoolExecutor [34] to drive multiple independent device streams in parallel, each issuing H2D copy_ transfers. Small tensors are grouped together to reduce launch overhead, while large tensors are assigned to separate streams to reduce head-of-line blocking. This improves overlap between file reads, tensor staging, and device copies. This logic is implemented inside vLLM’s NPUWorker. With this design, end-to-end reload time dropped from roughly 200 s to about 60–75 s for Qwen3-30B-A3B in our prototype. The exact value depends on the model layout, file system behavior, and concurrent load on the node. In the timing breakdown used for our off-policy analysis, the measured reload time was Tload = 73.9 s. C.6

Deferred actor reload

A naive synchronous update would ask every generation actor to stop and reload as soon as a snapshot is available. This creates a global pause and can trigger herd effects: many actors finish, reload, and resume at the same time, increasing CPU and I/O pressure. ASP instead uses deferred reload. If an actor is busy decoding a minibatch, it finishes that minibatch first. It then reloads the latest available snapshot before accepting new work. Deferred reload preserves execution order within each actor and avoids interrupting in-flight generation. It adds at most one minibatch of actor-local staleness. In practice, this tradeoff is favorable 20

because it preserves continuous generation and avoids a system-wide synchronization point. The corresponding generation duty-cycle estimate is given in Appendix D.6. C.7

Alternative optimizations

Further reductions in reload overhead are possible. One practical option is to dedicate one generation actor as a staging actor: it loads the latest converted snapshot and then propagates weights device-todevice (D2D) to sibling actors as they finish their current minibatch. This would replace repeated host-mediated loading with peer-to-peer transfer and could shrink the visible reload window. Similar ideas appear in OpenRLHF [4]. Another optimization is to remove the shared-file-system dependency. Although shared storage is convenient in a single-cluster prototype, it can become a tail-latency bottleneck and is less suitable for cross-cluster deployments. A direct TU-to-GU transfer API, or an object-store based exchange, would reduce disk dependence and make heterogeneous or geographically separated deployments more practical.

D

Off-policy analysis

This appendix expands the bounded-lag discussion from Section 4. The main paper uses a compact approximation of the off-policy distance; here we make explicit the two forms of off-policy behavior induced by asynchronous rollout, the importance-ratio interpretation, the multi-instance offset, and the measured timing breakdown used in our experiments. D.1

Two off-policy regimes

In asynchronous RL post-training, samples may be generated with slightly older model weights than the weights currently used by the trainer. The relevant question is therefore not whether the system is perfectly on-policy, but whether this lag remains small enough to preserve stable learning. Let πt denote the trainer policy after iteration t. We use the term off-policy distance doff for the lag, measured in trainer steps, between the behavior policy used to generate a sample and the current trainer policy. This notion is closely related to staleness or version lag in distributed actor–learner systems [31, 32, 33]. We distinguish two regimes according to the main source of lag. Type I: update-rate off-policy. The generation weights are refreshed once every ∆ > 1 training iterations, so the lag increases between refreshes and drops when a newer snapshot is loaded. Larger refresh intervals therefore increase policy lag and may impair convergence. Type II: version-lag off-policy. Even when snapshots are produced after every training iteration, snapshot export, conversion, reload, generation, and queueing introduce delay. This lag reflects the time needed for a snapshot to produce samples that reach training, rather than an intentionally reduced refresh rate. It can remain approximately constant under steady operating conditions, but varies with execution times and queue occupancy in an asynchronous pipeline. ASP primarily targets the second regime: generation actors load the latest available snapshot after finishing their current minibatch. Training Queue backpressure limits the additional lag caused by completed samples waiting for training. Under this combination of weight refresh and queue control, the measured off-policy distance remains small, and we observe no visible convergence degradation in our experiments. This is consistent with prior work showing that off-policy GRPO can remain effective when the sampling policy stays close to the current policy [19]. D.2

Off-policy distance

After the Training Unit completes iteration t and emits a snapshot, the Generation Units eventually load this snapshot and produce samples with it. These samples enter the Training Queue and are consumed at a later trainer iteration, as illustrated in Figure 5. The resulting distance includes snapshot export, snapshot conversion, actor reload, generation time, and queueing delay. 21

Figure 5: Off-policy distance in ASP. Samples generated with an older snapshot are consumed by a later trainer iteration; their lag, measured in trainer steps, reflects snapshot delay, generation time, and queue depth. GA denotes a generation actor.

Operationally, for a minibatch arriving at the Training Queue, we approximate the instantaneous off-policy distance as doff ≈ Qarrival +

Tsave + Tconvert + Tload + Tgen , Ttrain

where Qarrival is the Training Queue depth measured in global batches immediately before the minibatch is inserted, Tsave is the trainer-side snapshot export time, Tconvert is the generation-side conversion time, Tload is the actor reload time, Tgen is the time to generate one inference minibatch, and Ttrain is the Training Unit step time. A practical advantage of ASP’s single controlled Training Queue is that the queue contribution to this distance is directly observable at runtime. The remaining terms are system timings that can be measured for each model and deployment configuration. This makes the version-lag contribution easier to monitor than in systems where coordination state is spread across several task-specific queues or controllers. D.3

Importance-ratio interpretation

In the version-lag regime, the behavior policy for a consumed sample is πt−doff while the update is applied to πt . For an autoregressive output y = (y1 , . . . , ym ) generated from prompt x, the per-token importance ratio is πt (yj | x, y<j ) rj = . πt−doff (yj | x, y<j ) The corresponding sequence-level importance weight is r(y | x) =

m Y

rj .

j=1

When the cumulative drift KL(πt ∥πt−doff ) is small, these ratios remain concentrated near one. PPOstyle clipping [22] and GRPO-style updates [11] further reduce the effect of moderate ratio deviations. ASP complements these update rules by limiting policy lag through frequent weight refresh and Training Queue backpressure. 22

D.4

Multi-instance offset

ASP uses multiple generation actors, which creates a second, smaller source of lag variation. Different actors may briefly hold different snapshots because they reload asynchronously: an actor that is busy decoding finishes its current minibatch before loading the latest snapshot. As a result, samples arriving at the Training Queue may be generated from a small mixture of nearby behavior policies, {πt−δ1 , πt−δ2 , . . .}, where the δi values differ slightly across actors. In practice, this actor-specific offset is small in our runs. Indeed, snapshots are frequent, and deferred reload adds at most one minibatch of actor-local staleness. Moreover, generated samples are timedispersed in the rollout-bound operating point, so the Training Queue usually remains close to empty. We therefore did not apply additional off-policy corrections. Two lightweight corrections could be useful in larger-lag regimes. First, samples could be bucketed by the snapshot that generated them, with baselines or normalizers computed per snapshot. This would avoid mixing advantages across slightly different behavior policies. Second, minibatches could be treated as draws from a mixture of nearby snapshot policies, using multiple or relative importance sampling to correct the mismatch [35]. We leave these extensions for future work because the measured lag in our experiments is already small. D.5

Measured timing breakdown

The convergence experiment in Section 5.5 uses a 4-node configuration with 1 Training Unit node and 3 Generation Unit nodes. The measured timing breakdown is Tsave = 23.5s,

Tconvert = 84.6s,

Tload = 73.9s.

Thus, the snapshot-related delay is Tdelay = Tsave + Tconvert + Tload = 182.0s. With average minibatch generation time Tgen = 763.3s and Training Unit step time Ttrain = 287.6s, we obtain 182.0 + 763.3 ≈ Q̄arrival + 3.3. doff ≈ Q̄arrival + 287.6 At this operating point, the system is rollout-bound and the Training Queue remains close to empty, so Q̄arrival ≈ 0 and doff ≈ 3.3 trainer steps. This is the value reported in the main text. D.6

Generation duty cycle

The same timing breakdown also estimates how much time each generation actor spends doing useful inference. As the trainer-side save and generation-side conversion are asynchronous relative to ongoing generation, the main actor-visible stall is the reload step. Therefore, a simple per-actor duty-cycle estimate is Tgen η≈ . Tgen + Tload Using Tload = 73.9s and Tgen = 763.3s gives 763.3 ≈ 0.912. 763.3 + 73.9 Thus, generation actors spend about 91% of their time performing inference in this configuration. This supports the design choice of deferred reload: weight refresh remains visible, but it does not dominate the generation duty cycle. η≈

E

Scheduling algorithm details

This appendix gives the full optimization objectives and pseudocode for the offline scheduling pipeline summarized in Section 3. ASP performs three steps before training: predict output lengths, construct length-homogeneous minibatches, and reorder minibatches into balanced batch groups. 23

E.1

Length prediction

The scheduler uses predicted output lengths to order and group prompts. In our implementation, we collect a small set of prompt–length pairs by running the model to be trained on prompts from the training dataset, and fine-tune Qwen 2.5 1.5B [15] to predict the corresponding output length. The predictor is kept fixed throughout training. Ranking quality is particularly important because sorting aims to bring prompts with similar output lengths together. We report the predictor’s Kendall rank correlation τ [16] in Appendix F.4 and evaluate the scheduler’s sensitivity to prediction quality in Appendix F.6.2. E.2

Dynamic programming for minibatch construction

Let l0 ≤ · · · ≤ ln−1 be the predicted output lengths after sorting the dataset. The goal is to partition the sorted list into minibatches whose sizes are between b and b + κ, where b is the base minibatch size and κ is a small allowed size variation. This flexibility allows the scheduler to adjust minibatch boundaries to reduce predicted padding, as illustrated in Figure 6. A partition is represented by endpoints 0 = x0 < x1 < · · · < xNB = n, where minibatch i contains prompts with indices xi , . . . , xi+1 − 1. For a candidate minibatch, define Pxi+1 −1 lj j=xi Ri = . (xi+1 − xi ) lxi+1 −1 This ratio compares the predicted useful generated tokens with the total token slots implied by the minibatch size and longest predicted output. Thus, 1 − Ri estimates the minibatch padding bubble rate. ASP aims to minimize the estimated average padding bubble rate, that is: P̄ = 1 −

NB −1 1 X Ri . NB i=0

ASP uses the sum of minibatch utilizations as an additive surrogate for average utilization:

maximize

NX B −1

Ri

i=0

subject to

0 = x0 < x1 < · · · < xNB = n, b ≤ xi+1 − xi ≤ b + κ for all i.

Algorithm 1 summarizes the dynamic program used to solve this additive objective. Let S[i] = Pi−1 j=0 lj be the prefix sum of predicted lengths. For any candidate minibatch starting at j and ending before i, its utilization is S[i] − S[j] R(j, i) = . (i − j)li−1 The dynamic program is dp[i] =

max

(dp[j] + R(j, i)) ,

j∈{max(0,i−(b+κ)),...,i−b}

with dp[0] = 0, unreachable states set to −∞, and an empty maximization yielding −∞. Backpointers recover the optimal endpoints. Since each state checks at most κ + 1 candidate minibatch sizes, the complexity is O(κn) time and O(n) space. For fixed small κ, this is linear in the dataset size. E.3

Balanced batch-group ordering

After the dynamic program, the minibatches are locally efficient but still ordered from short to long. Dispatching them in this order would create sorting bubbles: early groups would be fast, later groups slow, and the Training Queue could oscillate. ASP therefore reorders minibatches into balanced batch groups. 24

Algorithm 1 Dynamic programming for length-homogeneous minibatches 1: Input: sorted predicted lengths l[0..n − 1], base size b, variation κ 2: Compute prefix sums S[0..n], with S[0] ← 0 and S[i + 1] ← S[i] + l[i] 3: Initialize dp[0] ← 0 and dp[i] ← −∞ for i > 0 4: Initialize prev[0..n] ← −1 5: for i = 1 to n do 6: for j = max(0, i − (b + κ)) to i − b do

S[i] − S[j] (i − j)l[i − 1] 8: if dp[j] + R > dp[i] then 9: dp[i] ← dp[j] + R 10: prev[i] ← j 11: Recover endpoints by backtracking from n through prev 12: Output: minibatch endpoints and predicted padding rate 7:

R←

Figure 6: Minibatch construction. Allowing small variations in minibatch size can avoid bad boundaries in the sorted length list and reduce predicted padding bubbles. Let Bi be the predicted load of minibatch i, defined as the sum of its predicted output lengths. Let k be the number of minibatches per batch group, and let G = ⌈NB /k⌉ be the number of groups. The target group load is NB 1 X M= Bi . G i=1 ASP seeks a permutation σ minimizing the variance of predicted load across consecutive groups:  2 min(gk,NB ) G X 1 X min Bσ(r) − M  . σ∈SNB G g=1 r=(g−1)k+1

This objective smooths the predicted generation rate seen by the Training Queue. Instead of sending all short minibatches first and all long minibatches later, ASP mixes minibatches so that each consecutive group has approximately the same predicted load, as illustrated in Figure 7. We optimize this objective using simulated annealing [17], as detailed in Algorithm 2. The method starts from an initial permutation and repeatedly proposes swaps between two minibatches. A swap is accepted if it improves the objective, or with a temperature-dependent probability if it worsens the objective. This allows the search to escape poor local minima. E.4

Hyperparameters and runtime

Hyperparameters. In our experiments, κ is kept small, typically in {1, 2, 3}, to prevent excessively large inference minibatches while still allowing the dynamic program to avoid poor boundaries. The batch-group size k controls the time scale over which generation load is smoothed. Larger values of k reduce group-load variance more aggressively, but can also allow larger within-group queue fluctuations. We therefore use intermediate values, typically between 4 and 10. Unless otherwise specified, all scheduled runs use base minibatch size b = 32, κ = 2, and k = 6, and Algorithm 2 runs for nmax = 2 × 106 iterations with temperature constant C = 1. 25

Algorithm 2 Simulated annealing for balanced batch-group ordering 1: Input: minibatch loads B1 , . . . , BNB , group size k, iterations nmax , constant C 2: Initialize permutation σ0 3: Define objective V (σ) as the batch-group load variance 4: for n = 0 to nmax − 1 do 5: Sample two distinct indices i, j uniformly at random 6: Let σ ′ be the permutation obtained by swapping σn (i) and σn (j) 7: Set temperature Tn ← C/ log(n + 2) 8: Sample U ∼ Uniform(0, 1) 9: if U < min (1, exp ((V (σn ) − V (σ ′ ))/Tn )) then 10: σn+1 ← σ ′ 11: else 12: σn+1 ← σn 13: Output: optimized permutation σnmax

Figure 7: Balanced batch-group ordering. Predicted minibatch loads before (top) and after (middle) simulated annealing, and the resulting group loads for k = 10 (bottom). Reordering preserves minibatch composition while balancing the load across consecutive groups.

26

Table 6: SA scaling results across four output-length distributions (lognormal, exponential, Pareto, bimodal; individual lengths clipped at 8,192 tokens), k = 10. Variance reduction:  1 − V (σnmax )/V (σ0 ) × 100%. Left: fixed NB = 100,000, varying nmax . Wall time is averaged across distributions (variation < 3%). Right: fixed nmax = 2 × 106 , varying NB . Variance reduction (%) nmax

Wall (s)

Logn.

Exp.

Pareto

Bim.

104 8.9 × 104 2.7 × 105 8.0 × 105 2.4 × 106 1.2 × 107 1.1 × 108 109

< 0.01 < 0.01 < 0.01 0.03 0.09 0.45 4.0 35.5

30.6 93.9 98.9 99.4 99.4 99.5 99.5 99.5

29.8 95.6 99.9 100.0 100.0 100.0 100.0 100.0

30.5 92.2 97.2 97.6 97.8 97.8 97.8 97.8

29.6 95.6 99.8 100.0 100.0 100.0 100.0 100.0

NB

Wall (s)

2

0.05 0.05 0.08 0.07 0.06 0.11 0.16 0.28 0.31

10 896 4,642 24,041 1.2 × 105 6.4 × 105 1.9 × 106 5.8 × 106 107

Runtime. All three stages of the scheduling pipeline are performed offline, introducing no online scheduling overhead during training. Moreover, the preprocessing cost is negligible compared to the overall training time, even for large datasets. For step 1, output-length prediction scales linearly with the number of prompts for a fixed predictor. This step is computationally inexpensive, as the predictor is substantially smaller than the model being trained and only needs to generate a few tokens encoding the predicted output length. For step 2, minibatch construction requires sorting the predicted lengths in O(n log n) time, followed by dynamic programming with O(κn) time complexity, as established in Algorithm 1, which allows for efficient scaling to large datasets. Finally, in step 3, simulated annealing is highly scalable: each proposed swap affects at most two batch-group loads, allowing the objective to be updated in constant time, independently of NB . To characterize its runtime, we evaluate SA across four synthetic output-length distributions—lognormal, exponential, Pareto, and bimodal—covering NB up to 107 and nmax up to 109 (Table 6). At fixed NB = 100,000, runtime scales approximately linearly with the iteration budget, achieving around 30 million iterations per second with less than 3% variation across distributions. On a single CPU core, 2.7 × 105 iterations already achieve over 95% variance reduction across all four distributions in under 0.01 s on average, while even the largest tested budget of 109 iterations completes in just 35.5 s. At a fixed budget of 2 × 106 iterations, runtime remains below one second across all tested minibatch counts, reaching 0.31 s at NB = 107 . Further improvements are possible through stratified initialization, such as snake-deal assignment, but seemed unnecessary given the already low observed runtimes.

F

Experimental details

This appendix provides additional details for the experiments in Section 5: hardware, datasets, length prediction, node allocations, and additional plots. F.1

Hardware and implementation

Hardware. All training and generation experiments are conducted on nodes that are each equipped with 8 Ascend 910B3 NPUs. The simulated annealing runtime benchmarks in Appendix E are conducted on a single CPU core. ASP implementation. ASP is implemented on top of MindSpeed-RL using GRPO, with vLLM (v0.9.1) as the generation backend. The weight-flow mechanism described in Appendix C handles the conversion of trainer snapshots into inference-compatible weights. The scheduling steps are implemented as per the pseudocodes given in Appendix E. Baselines. We compare ASP against two baselines. The first is the original MindSpeed-RL hybrid pipeline, which serves as backend framework for ASP. This same-hardware comparison captures the 27

(a) D EEPSCALER, capped at 8192 tokens.

(b) M AZE -R EASONING -GRPO, capped at 16384 tokens.

Figure 8: Output-length distributions for the datasets used in our experiments. The long tails motivate length-aware scheduling.

combined effect of ASP’s architectural and implementation changes, while the specific contribution of scheduling is isolated in Section 5.3. The second baseline is verl (v0.7.1), with vLLM for generation and FSDP [23] for training. We use its one-step off-policy pipeline, which generates the next rollout batch while updating the policy on the current batch. F.2

Models and datasets

Our main end-to-end experiments evaluate two Qwen3 models: Qwen3-30B-A3B, a Mixture-ofExperts model, and Qwen3-32B, a dense model [12]. We additionally use Qwen3-8B for scheduling ablations and predictor-sensitivity experiments. We use two datasets. D EEPSCALER [20] contains approximately 41K mathematical problems and is used for throughput, scheduling, and scalability experiments. M AZE -R EASONING -GRPO- V 0.1 contains more than 180K maze problems and is used for convergence evaluation [21]. We use the maze task because it is less likely to be saturated by the pre-trained model than standard math problems already represented in modern LLM training data. For the maze benchmark, we report two rewards: maze integrity, which measures whether the generated solution is well-formed, and maze correctness, which measures whether the decoded path solves the maze. These rewards are used only to compare learning dynamics under ASP and the hybrid baseline. F.3

Output-length distributions

The scheduling problem is motivated by long and variable output lengths. Figure 8 shows the outputlength distributions used in our experiments. For D EEPSCALER, we set the maximum output length to 8192 tokens. A significant fraction of outputs reaches this cap, suggesting that longer contexts may further increase the relative importance of rollout scaling. For M AZE -R EASONING -GRPO- V 0.1, we use a maximum output length of 16384 tokens. F.4

Output-length predictor

The output-length predictor is fine-tuned on 4000 prompt–length pairs extracted from the target datasets. The cost of fine-tuning this predictor is negligible relative to the target RL training run. The predictor remains fixed throughout training and is used only during the offline scheduling pass. We evaluate the predictor using Kendall’s rank correlation coefficient τ [16], because ASP’s sorting mechanism in the first step relies primarily on relative order rather than exact length values. For Qwen3-30B-A3B on D EEPSCALER, the predictor reaches approximately τ = 0.64 with an 8192token cap and τ = 0.55 with a 16384-token cap. The value τ = 0.64 corresponds to roughly 82% 28

Table 7: ASP and MindSpeed-RL configurations for Table 3. TP, PP, DP, and EP denote tensor, pipeline, data, and expert parallelism, respectively. All listed trainer layouts use context parallelism degree 1. Generation parallelism is specified per ASP actor or for the MindSpeed-RL rollout layout. A dash indicates no dedicated generation pool; N/A indicates that expert parallelism does not apply. Qwen3-30B-A3B

Qwen3-32B

Setting

ASP

MindSpeed-RL

ASP

MindSpeed-RL

Workload per iteration Prompts Responses per prompt Trajectories

16 8 128

16 8 128

32 8 256

32 8 256

Training and generation Training NPUs 32 Dedicated generation NPUs 32 Trainer TP / PP / DP 4/1/8 Trainer EP 4 Dedicated generation actors 16 Generation TP / PP 2/1 Generation EP 1

64 — 4 / 1 / 16 8 — 4/1 8

32 32 8/2/2 1 16 2/1 N/A

64 — 8/4/2 1 — 4/1 N/A

Measurement (including startup) Iterations 120 Mean iteration time (s) 215.2

20 927

50 230.7

50 928

of prompt pairs being ordered consistently with the measured output lengths, which is a substantial improvement over random ordering. F.5 F.5.1

Configurations for performance and scalability Matched-resource comparisons

The main comparisons in Table 3 use eight nodes (64 NPUs) per system. ASP and verl each allocate 32 NPUs to training and 32 to generation, whereas the MindSpeed-RL hybrid baseline alternates training and rollout on the same 64-NPU pool. For verl, generation uses tensor parallelism of 8 and vLLM continuous batching. Training uses remove-padding (use_remove_padding=True), dynamic batch sizing for actor/reference passes (use_dynamic_bsz=True), gradient checkpointing, and CPU offloading of parameters and optimizer states. For Qwen3-30B-A3B, each iteration processes 16 prompts with eight responses per prompt, giving 128 trajectories. For Qwen3-32B, it processes 32 prompts with eight responses per prompt, giving 256 trajectories. For each model, verl uses the same global batch size and prompt and response token limits as the corresponding ASP run. Table 7 details the ASP and MindSpeed-RL layouts and measurement windows. F.5.2

Scalability

The Qwen3-30B-A3B scalability series keeps the workload fixed at 16 prompts and eight responses per prompt (128 trajectories per iteration) for ASP, MindSpeed-RL, and verl at every tested scale. The verl baseline uses the same settings as in the matched-resource comparison, except that dynamic batch sizing is disabled. Table 8 maps total resources to ASP’s training/generation split and to the generation-NPU counts used in Figure 2. F.6

Scheduling ablation details

This appendix provides additional details on the scheduling experiments presented in Section 5.3: the full-training comparison with and without scheduling, the robustness analysis across prediction accuracies, and the evaluation with real generation and simulated training. We report the experimental configurations, methodology, and additional results for each. 29

Table 8: Resource allocations for the Qwen3-30B-A3B scalability series. Total NPUs

ASP training NPUs

ASP generation NPUs

16 32 64 128

8 8 32 48

8 24 32 80

Figure 9: Training with and without scheduling on Qwen3-30B-A3B using D EEPSCALER, with 200 iterations per run. vLLM TPS measures generated non-padding tokens per second per generation NPU; end-to-end (e2e) TPS uses full iteration time and all NPUs. Mean iteration time includes startup, which is also reported separately. Queue STD is reported in 10−3 global batches.

F.6.1

Training with and without scheduling

Figure 9 compares training with and without scheduling on Qwen3-30B-A3B using D EEPSCALER. Both runs use the allocation, trainer/generation parallelism, and 16-prompt workload of the main MoE ASP run in Table 7, with eight responses per prompt. Prompt and response limits are 1024 and 8192 tokens, respectively. Both runs last 200 training iterations and differ only in whether scheduling is enabled. The scheduled run uses the default scheduler settings (Appendix E.4). Enabling scheduling reduces mean iteration time from 238 to 212 s (10.9%) and increases end-to-end throughput from 47 to 58 tokens/s/NPU (23.4%). Scheduling also reduces the standard deviation (STD) of minibatch generation time from 68 to 48 s (29.4%) and that of Training Queue occupancy by 15.0%, indicating more consistent generation times and queue occupancy. Considering generation alone, vLLM throughput, measured in generated non-padding tokens per second per generation NPU, increases from 106 to 126 tokens/s/NPU, while its STD decreases from 68.5 to 57.4 tokens/s/NPU. Unlike end-to-end throughput, this metric focuses on generation rather than the full training pipeline. Mean iteration time includes all 200 iterations, including the first (startup) iteration, which is also reported separately and decreases from 1042 to 724 s (30.5%). F.6.2

Robustness of the scheduler to output length prediction quality

Here, we study the robustness of the scheduling pipeline to the quality of the output length predictions. Conditions and fixed responses. We use 39,000 measured responses from each of Qwen3-32B and Qwen3-8B. For each model, a complete inference pass supplies fixed measured lengths ℓi . C0 forms fixed-size minibatches in original order; C1 sorts by predicted length before fixed-size batching; C2 applies dynamic programming to refine the sorted minibatch boundaries; C3 randomly shuffles the C2 30

Table 9: Local schedule metrics across controlled predictor qualities on three seeds. C2–C4 share minibatches and therefore share dispersion and padding rate. Dispersion (tokens)

Mean padding rate

MAE

C0

C0

Qwen3-32B 1.00 0 0.75 839 0.64 1203 0.50 1692 0.25 2729 0.00 3826

2138 2138 2138 2138 2138 2138

5 820 1163 1558 2064 2267

5 828 1163 1563 2057 2253

0.322 0.322 0.322 0.322 0.322 0.322

0.003 0.176 0.226 0.273 0.330 0.348

0.003 0.175 0.224 0.271 0.328 0.347

Qwen3-8B 1.00 0 0.75 819 0.64 1186 0.50 1682 0.25 2712 0.00 3879

2066 2066 2066 2066 2066 2066

5 783 1123 1525 1998 2190

5 783 1123 1525 1998 2190

0.294 0.294 0.294 0.294 0.294 0.294

0.003 0.154 0.206 0.250 0.296 0.313

0.003 0.152 0.204 0.251 0.295 0.313

τ

C1 C2–C4

C1 C2–C4

minibatches; and C4 applies ASP’s balanced ordering. C2–C4 have identical minibatch composition. Their local length metrics are therefore identical, while their batch-group loads can differ. Scheduler configuration. Both models use the default scheduler settings (Appendix E.4). C0 and C1 use fixed-size minibatches of 32; C2–C4 allow sizes from 32 to 34. The experiment with simulated training in Appendix F.6.3 uses the same scheduler settings. Prediction perturbations. using

Holding real output lengths ℓi fixed, we construct simulated predictions ℓbi = ℓi exp(νεi ),

εi ∼ N (0, 1),

b ℓ). For each quality level and seed, all calibrating ν to achieve a target Kendall correlation τ (ℓ, conditions receive the same prediction vector. We evaluate schedule metrics on the measured lengths, not on the predictions, and report means over three seeds. The nominal quality levels range from the oracle condition (τ = 1) to the random-quality endpoint (τ = 0). Because generation is stochastic, the oracle uses information from the measured responses and is an upper bound rather than an attainable predictor operating point. The measured ranker correlations are 0.64 for Qwen3-30B-A3B, 0.44 for Qwen3-32B, and 0.58 for Qwen3-8B. Metrics. For the jth minibatch, let Ij denote its set of prompt indices, and let ℓ̄j and ℓmax,j denote its mean and maximum measured response lengths. With NB minibatches, we report

D=

NB 1 X STD{ℓi : i ∈ Ij }, NB j=1

P =

 NB  1 X ℓj 1− . NB j=1 ℓmax,j

Here, D measures the average length dispersion within minibatches (in tokens), while P denotes the mean padding rate. To assess load balance across consecutive batch groups, let Lg denote the total number of measured response tokens in group g. We report the coefficient of variation (CV), defined as STD(Lg )/ mean(Lg ), and the group-load spread, defined as maxg Lg / ming Lg . Finally, we report prediction mean absolute error (MAE) in tokens alongside Kendall’s τ . Interpretation. Table 9 shows that sorting’s local benefit decreases with predictor quality and is already marginally negative at τ = 0.25 on both models. The dynamic programming step of 31

Table 10: Batch-group load CV for the same controlled sweeps as Table 9. Entries are three-seed means, evaluated on measured response lengths. τ

C0

C1

C2

C3

C4

Qwen3-32B 1.00 0.103 0.75 0.103 0.64 0.103 0.50 0.103 0.25 0.103 0.00 0.103

0.495 0.447 0.403 0.332 0.183 0.097

0.492 0.445 0.401 0.330 0.183 0.111

0.188 0.175 0.162 0.140 0.115 0.088

0.000 0.052 0.070 0.080 0.092 0.091

Qwen3-8B 1.00 0.097 0.75 0.097 0.64 0.097 0.50 0.097 0.25 0.097 0.00 0.097

0.458 0.416 0.375 0.309 0.171 0.091

0.455 0.414 0.374 0.308 0.172 0.094

0.172 0.159 0.149 0.131 0.105 0.085

0.000 0.049 0.062 0.079 0.088 0.083

ASP changes mean padding by at most 0.002 relative to C1 across these sweeps, and does not improve every condition. Its small average effect reflects changes to only a few boundaries among approximately 1,200 minibatches. Individual boundaries can nevertheless be costly: for models such as Qwen3-30B-A3B, we observed that misplaced boundaries could delay the generation of one minibatch by up to 12 minutes. Table 10 shows the complementary ordering effect. For τ ≥ 0.50, C1/C2 have approximately three to five times C0’s load CV. C4 keeps CV at or below C0 throughout the tested sweep and outperforms random shuffling at every tested level with τ ≥ 0.25. For τ = 0, on the 32B model, C3 is slightly lower than C4 (0.088 versus 0.091); both remain below C0. Thus, the results support robust load balance in this sweep. F.6.3

Real generation with simulated training

As described in Section 5.3, we evaluate C0–C4 using real Qwen3-8B generation with modeled training times. All five configurations use the same prompts, predictions, resources, token limits, and architecture. The predictor has a measured Kendall correlation of τ = 0.58. By keeping training times fixed, we can attribute differences in generation times, sample arrivals, and Training Queue behavior to scheduling alone. To justify using fixed training times, we measure the variability of training-step durations in an ASP run with one TU node and three GU nodes. Over 19 post-warmup iterations, training-step durations have a coefficient of variation (CV) of only 5.0%, compared with 6.8% for end-to-end iteration times. This limited variability supports using fixed training durations to isolate the effects of rollout scheduling. C4 achieves the lowest mean iteration time, 178 s versus 188 s for C0 (5.3% lower). The iterationindex/time Spearman correlations are −0.080, +0.670, +0.510, +0.190, and −0.075 for C0–C4, respectively. C4 therefore shows little to no monotonic drift, whereas the sorted C1/C2 schedules become considerably slower over successive iterations. Shuffling matches C4’s queue STD (36 samples) and has a slightly lower queue maximum (104 versus 110 samples), but a higher mean time (190 s). F.7

Main-run timing, queue, and response-length diagnostics

We additionally report runtime diagnostics from the complete Qwen3-30B-A3B experiment underlying Table 3. Its 215.2 s mean includes all 120 iterations, including the 809.7 s first iteration. The remaining 119 iterations average 210.2 s, with a fitted linear slope of +0.044 s per iteration and 20-iteration means between 197.0 and 221.2 s. These summaries indicate little sustained timing drift over the observed run. Figure 10 shows the complete trace and its post-startup variation. 32

(a) All 120 iterations Startup: 809.7 s

ASP Mean: 215.2 s

Slope: +0.044 s/iteration

ASP Mean: 210.2 s Linear fit

2

90

400

Iteration time (s)

Iteration time (s)

800

(b) Post-startup (2-120)

600

400

200

300

200

100

0 1

30

60

90

120

Iteration

30

60

120

Iteration

Figure 10: Iteration times for the complete Qwen3-30B-A3B run underlying Table 3. (a) All 120 iterations, including the 809.7 s startup; the mean is 215.2 s. (b) Iterations 2–120, averaging 210.2 s; the dashed linear fit has slope +0.044 s per iteration.

Across 16 generation actors, recorded prompt counts range from 112 to 140, with a CV of 6.4%. Queue depth measured at arrivals averages 0.39 global batches, with a 95th percentile of 0.75 and a maximum of 1.25 global batches, without progressive accumulation. Across the 1,992 recorded prompts, mean response length increases from 5,637 tokens at policy versions 1–20 to 5,730 at versions 100–115 (1.6%). A linear trend in mean response length across 103 recorded versions has R2 = 0.013. This supports limited mean-length drift in the observed run. Longer runs, curricula, or domain shifts may require renewed profiling or predictor updates. F.8

Reproducibility notes

The experiments require access to Ascend 910B3 nodes, MindSpeed-RL, the Qwen3 model checkpoints, the datasets listed above, and the ASP scheduling and weight-flow implementation. The main sources of variability are the sampled prompts, generation stochasticity, scheduling predictor quality, and system load during generation and weight refresh. For reproducibility, we record the model, dataset, output-length cap, node allocation, scheduler configuration (b, κ, k), measured Kendall’s τ , generation parameters, and measured timing breakdown for each run. Appendix F.5 reports the performance and scalability configurations; Appendix F.6.1–F.6.3 give the ablation settings and protocols. Supporting ASP timing and queue diagnostics are reported in Appendix F.7.

G

Limitations and discussion

ASP has several limitations, which suggest directions for future improvement. First, our prototype is implemented in the MindSpeed-RL ecosystem on Ascend 910B3 NPUs. This gives a controlled samehardware comparison against the hybrid pipeline from which ASP is derived, and our ablations isolate the effect of the scheduling mechanism. Direct comparisons with StreamRL [5], AsyncFlow [6], AReaL [8], and Laminar [9] were not conducted, as establishing comparable configurations on our specific Ascend NPU stack would require substantive integration and validation. Such comparisons could confound system differences with implementation quality. We partially address this limitation by adding a verl-based disaggregated baseline in Section 5, as verl is an actively maintained opensource RL post-training framework that supports separated rollout and training configurations [13, 14]. This comparison should be interpreted as measuring the benefit of ASP over a disaggregated implementation without ASP’s scheduling layer. Second, the output-length predictor is fixed during training. This design keeps ASP’s scheduling pass simple and avoids online overhead, while still delivering scheduling gains in our runs. Longer 33

training runs, stronger policy shifts, or curriculum changes may benefit from periodically refreshing the predictor or combining offline scheduling with lightweight online correction. Third, our main end-to-end evaluations focus on Qwen3-30B-A3B and Qwen3-32B, complemented by scheduling ablations and predictor-sensitivity experiments on Qwen3-8B. Larger models, longer context windows, and workloads with more extreme output-length distributions may amplify the benefits of multi-instance rollout and scheduling, but they should be validated directly. Conversely, short-output workloads may see smaller gains because rollout variability is less dominant. Fourth, our available NPU resources are limited to 128 Ascend NPUs in our experiments. Thus, our scalability test stops at the 128-NPU point. Although the trend is already clear, larger-scale experiments would provide a stronger evaluation, especially for studying the impact of crossing super-node regions or leaf switches. Finally, ASP assumes that the prompt set is known before rollout begins, since the scheduler performs an offline preprocessing pass. This matches many RL post-training settings where prompts are sampled from a fixed dataset, but it is less directly applicable to fully online data-generation pipelines. Extending the same ideas to streaming prompts would require an online version of length-aware minibatching and balanced dispatch. Beyond the controlled experiments reported above, ASP has also been used in an internal telecomdomain RL post-training workflow for Qwen3-30B-A3B. In that deployment, the overall training period was reduced from more than three months to about two months, and the resulting domainenhanced model was used for telecom applications such as knowledge answering and tool calling. Because the workflow, data, and deployment details are confidential, we report this only as qualitative evidence of practical applicability, not as part of the controlled experimental comparison.

H

Generative AI assistance

We used generative AI tools to assist with writing, translation, revision, and language polishing; identifying and discussing relevant literature; and code implementation and debugging. These tools were not used for research ideation, methodology design, or conducting or analyzing the experiments. The authors reviewed the AI-assisted material and take full responsibility for the final manuscript, code, and reported results.

34

Related documents

Record · ID 1598841 · SHA-256 1b0bcd34a618d40a
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive