APRIL: Active Partial Rollouts in Reinforcement Learning to Tame Long-tail Generation

Yuzhen Zhou, Jiajun Li, Yusheng Su, Gowtham Ramesh, Zilin Zhu, Xiang Long, Chenyang Zhao, Jin Pan, Xiaodong Yu, Ze Wang, Kangrui Du, Jialian Wu, Ximeng Sun, Jiang Liu, Qiaolin Yu, Hao Chen, Zicheng Liu, Emad Barsoum · Submission to ICLR 2026 · Rejected

TL;DR

Large language model (LLM) reinforcement learning is dominated by rollout generation, where a few exceptionally long outputs can stall an entire batch and leave GPUs sitting idle. APRIL (Active Partial Rollouts) over-provisions rollout requests, terminates generation as soon as the target quota of completed rollouts is met, and buffers incomplete trajectories to resume in subsequent steps. By eliminating GPU idle "bubbles" without throwing away partial tokens, APRIL boosts rollout throughput by an average of 22.5% (up to 49.5%) and slightly improves final task accuracy.

What Problem Does This Paper Address?

In modern LLM reinforcement learning (RL) frameworks—such as those powering DeepSeek-R1 or OpenAI's reasoning models—the rollout phase accounts for over 90% of total training wall-clock time. Standard synchronous RL engines dispatch batches of prompts and wait until every sample finishes autoregressive generation before updating model weights.

Because reasoning trajectory lengths follow a heavy long-tail distribution, faster-generating instances finish early while a small minority run out to the maximum context length (e.g., 16,384 or 32,768 tokens). This causes severe GPU underutilization (inference "bubbles"). While fully asynchronous RL pipelines decouple generation from updates to avoid idling, they introduce extreme policy staleness, architectural complexity, and training instability.

Methods

APRIL introduces a preemptive scheduling strategy at the RL orchestration layer that retains synchronous training dynamics while borrowing asynchronous throughput benefits:

  1. Over-Provisioned Generation: At training step $k$, the inference engine launches $N'$ requests (e.g., $2\times$ the target batch size $N$).
  2. Early Termination: As soon as $N$ completed rollouts are collected, the engine halts generation across remaining sequences.
  3. Continuation Buffering: Instead of discarding tokens from unfinished trajectories, APRIL caches their intermediate states in a continuation buffer.
  4. Prioritized Resumption: In step $k+1$, incomplete rollouts are pulled from the buffer and resumed before newly scheduled prompts are initiated.
  5. Instance-Level Grouping: For algorithms requiring grouped baseline rewards (e.g., GRPO), rollouts are tracked per input prompt instance (e.g., 8 rollouts per prompt) so groups complete intact.
  6. System Optimization: Integrated into the open-source slime RL framework, APRIL incorporates a HIP port of torch_memory_saver on AMD MI300 GPUs (and NVIDIA H100s) to dynamically pause/resume memory allocations across alternating rollout and training phases without breaking CUDA/HIP graph execution.
Standard:  [--- Rollout 1 (Fast) ---][     Idle / Bubble     ] -> [ Train ]
           [----------- Rollout 2 (Long-Tail) -------------] -> [ Train ]

APRIL:     [--- Prompt A (Done) ---]                           -> [ Train ]
           [--- Prompt B (Partial) -][ Paused & Buffered ]     -> [ Next Step ]

Datasets

The authors evaluate APRIL on math reasoning tasks using:

  • Training Datasets: DAPO-Math-17k, DeepMath-103K, and DeepScaleR.
  • Evaluation Benchmark: AIME-2024 (American Invitational Mathematics Examination 2024), assessing competition-grade reasoning.
  • Models Evaluated: Qwen3-4B and Qwen3-8B using GRPO and DAPO algorithms.

Key Insights and Ideas

  • Intra-group variance is dramatically smaller than inter-group variance: Rollout lengths across different prompts fluctuate wildly ($\sigma \approx 4,000\text{--}4,500$ tokens), but rollouts sampled from the same prompt have much lower variance ($\sigma < 1,500$ tokens for GRPO). Grouping rollouts at the instance level prevents intra-group long-tail bottlenecks.
  • Mild off-policy data acts as an implicit regularizer: Carrying over partial rollouts means roughly 40% of tokens in step $k+1$ were generated by recent policy checkpoints ($\pi(\theta_{k-m})$ where $m \le 5$). Rather than destabilizing policy gradients, this mild behavioral diversity prevented "length explosion" late in training—a failure mode observed in standard baselines where generations hit maximum length limits and cause reward collapse.

Key Results

  • Throughput Gains: Rollout throughput (tokens generated per second across 8 GPUs) increased by an average of 22.5%.
  • On GRPO: +31.3% (Qwen3-4B) and +36.9% (Qwen3-8B), peaking at a +49.5% throughput speedup on DeepMath-103K.
  • On DAPO: +10.8% (Qwen3-4B) and +9.1% (Qwen3-8B).
  • Downstream Accuracy: APRIL improved final AIME-2024 benchmark accuracy by an average of 2.1% over the synchronous baseline.
  • Notable gains included +8.2% on Qwen3-4B (GRPO, DeepMath) and +12.8% on Qwen3-4B (DAPO, DeepMath: 66.3% vs. 53.5%).

Limitations and Future Work

  • Bounded Policy Staleness: In tested setups, rollouts completed within at most 5 policy iterations ($m \le 5$). How APRIL behaves if severe tail rollouts span many more update steps remains an open question.
  • Domain Generalization: Empirical validation focused on mathematical reasoning with verifiable reward functions. Extending APRIL to non-verifiable, open-ended instruction following or complex multi-step agent environments with larger intra-instance variance remains for future study.

Summary updated

BibTeX
@misc{zhou2025april,
  author = {Yuzhen Zhou and Jiajun Li and Yusheng Su and Gowtham Ramesh and Zilin Zhu and Xiang Long and Chenyang Zhao and Jin Pan and Xiaodong Yu and Ze Wang and Kangrui Du and Jialian Wu and Ximeng Sun and Jiang Liu and Qiaolin Yu and Hao Chen and Zicheng Liu and Emad Barsoum},
  title = {{APRIL: Active Partial Rollouts in Reinforcement Learning to Tame Long-tail Generation}},
  year = {2025},
  eprint = {2509.18521},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.18521},
}
Figure