Adaptive Scheduling Pipeline For Multi-Instance Asynchronous Reinforcement Learning

Salah Chikhi, Luis Henrique Zuin Ruiz, Entong Li, Li ZengNeurIPS 2026

TL;DR

Post-training Large Language Models (LLMs) with Reinforcement Learning (RL) is notoriously slow because generating long responses bottlenecks the entire pipeline. The authors introduce the Adaptive Scheduling Pipeline (ASP), an offline scheduler that predicts response lengths, groups similar prompts together, and interleaves fast and slow batches to keep parallel training hardware humming steadily. The result is up to a 3.22$\times$ boost in end-to-end throughput—and a real-world telecom model training cycle shaved down from over three months to two.

What Problem Does This Paper Address?

Teaching an LLM to reason via RL is a two-act play: first, the model generates responses to prompts (rollout), and second, it learns from rewards on those responses (training). Because rollout is memory-bandwidth-bound and training is compute-bound, running them sequentially leaves expensive accelerators sitting idle.

Modern systems decouple these stages asynchronously: "producer" nodes continuously generate answers and drop them into a queue for "consumer" trainer nodes. However, variable response lengths introduce three distinct "bubbles" of wasted time:

  1. Padding bubbles: Within a single minibatch, short answers finish early, leaving hardware waiting on the longest answer.
  2. Skewness bubbles: Heavy-tailed, massive reasoning traces hold up entire generation actors.
  3. Sorting bubbles: The newly identified catch-22. If you sort prompts from shortest to longest to fix padding and skewness, the generators flood the training queue early on with fast answers (causing samples to go stale while waiting) and trickle to a halt later on when chewing through long answers (starving the trainer).

Methods

ASP resolves this local-vs.-global conflict before training even starts via a three-step offline preprocessing pass, adding zero runtime scheduling overhead:

  • Step 1: Output-Length Prediction. A lightweight fine-tuned model (Qwen 2.5 1.5B) estimates how long each prompt's response will be and sorts the dataset accordingly. Exact accuracy isn't needed—just a rough ranking to separate short answers from marathons.
  • Step 2: Dynamic Programming Minibatching. Instead of rigid batch sizes, ASP allows minibatch sizes to flex slightly, using dynamic programming to slice the sorted dataset so prompts sharing a batch have nearly homogeneous lengths.
  • Step 3: Balanced Batch-Group Ordering. Using simulated annealing, ASP shuffles these homogeneous minibatches into consecutive groups with equal total predicted workload—mixing fast and slow minibatches so the training queue receives a steady heartbeat of data.
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.

This schedule feeds into a decoupled system (Figure 1) featuring a Control Unit (CU) that manages backpressure on a centralized Training Queue, alongside periodic, non-blocking weight refreshes from the Training Unit (TU) to Generation Units (GUs) so policy lag stays bounded and observable.

Datasets

The authors rely on two existing benchmarks (no new datasets are introduced):

  • DEEPSCALER: Challenging math problems (capped at 8,192 output tokens) used to test throughput, scheduling ablations, and hardware scaling.
  • MAZE-REASONING-GRPO-V0.1: A maze-solving task evaluated on solution formatting ("integrity") and path validity ("correctness"), chosen to test RL convergence on a task not already saturated by base pre-trained models.

Key Insights and Ideas

  • Naive sorting cures local pain by causing global chaos: Grouping prompts by length slashes wasted padding inside a GPU, but dispatching them in sorted order quadruples the variance in workload arriving at the trainer over time.
  • Random shuffling isn't enough: Simply shuffling homogeneous batches leaves noticeable workload spikes; explicit optimization (Step 3) drops batch-group load variation below even the original unsorted baseline.
  • Rough guesses still win: Ablations show the length predictor doesn't need to be an oracle—even noisy rankings (Kendall's $\tau$ down to ~0.44–0.64) preserve strong padding reductions while balanced ordering keeps the queue stable across the board.
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.

Key Results

Evaluated with Group Relative Policy Optimization (GRPO) on Ascend 910B3 NPUs using Qwen3 models (dense 8B/32B and MoE 30B-A3B):

  • Major Speedups: Under matched 64-NPU setups, ASP cuts mean iteration time by 75.1–76.8% vs. hybrid baseline MindSpeed-RL (delivering 3.22$\times$ higher throughput, from 18 to 58 tokens/s/NPU) and by 59.9–62.5% vs. disaggregated baseline verl.
  • Pure Scheduling Gains: Holding the asynchronous architecture fixed, turning on ASP's offline scheduler alone cuts iteration time by 10.9%, boosts throughput by 23.4%, and trims first-iteration startup time by 30.5%.
  • Clean Scaling & Convergence: Scaling generation NPUs by 3$\times$ yields a near-linear 2.69$\times$ speedup. Even with an estimated off-policy lag of ~3.3 trainer steps, maze-reasoning reward curves match synchronous baselines with no visible degradation.
  • Production Impact: Deployed internally for telecom-domain RL post-training, ASP cut wall-clock training time from over three months to two months.
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.

Limitations and Future Work

While the paper lacks a dedicated limitations section, several boundaries emerge from the experiments:

  • Predictor Quality Floor: Sensitivity sweeps reveal that if length-prediction ranking quality degrades severely (reaching Kendall's $\tau = 0.25$), sorting's local padding benefit turns marginally negative.
  • Static Offline Schedule: The predictor stays frozen during training. This worked here because mean output length drifted by only 1.6%, which may not hold in RL regimes where response lengths explode mid-training.
  • Training-Side Scaling Ceilings: At 128 NPUs, the bottleneck shifts from rollout generation back to the trainer's own scaling plateau, meaning further speedups require training-side innovations rather than rollout scheduling.

Summary updated

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 long-tail outputs, and sorting bubbles from fluctuations in training-queue occupancy induced by output-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 reducing fluctuations in the supply of generated samples to the trainer. We integrate the scheduler into an asynchronous architecture that decouples rollout from training while keeping policy lag observable and bounded. Within our asynchronous architecture, ASP's scheduling reduces mean iteration time by 10.9%. The complete system improves end-to-end throughput by up to $3.22\times$ 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. It 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 two months and producing a domain-enhanced model for knowledge answering and tool calling.
BibTeX
@inproceedings{chikhi2026adaptive,
  author = {Salah Chikhi and Luis Henrique Zuin Ruiz and Entong Li and Li Zeng},
  title = {{Adaptive Scheduling Pipeline For Multi-Instance Asynchronous Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=oskhumpV2y},
}
Figure