Improving Sampling Efficiency in RLVR through Adaptive Rollout and Response Reuse

Yuheng Zhang, Wenlin Yao, Changlong Yu, Yao Liu, Qingyu Yin, Bing Yin, Hyokun Yun, Lihong Li

Abstract

Large language models (LLMs) have achieved impressive reasoning performance, with reinforcement learning with verifiable rewards (RLVR) emerging as a standard paradigm for post-training. A representative algorithm, group relative policy optimization (GRPO), computes advantages by normalizing outcome rewards within response groups, but suffers from a vanishing advantage issue when all responses in a group receive identical rewards. To address this issue, we propose Adaptive Rollout and Response Reuse Policy Optimization (AR3PO), a sampling efficient RLVR algorithm that introduces two novel techniques: adaptive rollout, which dynamically allocates more responses to difficult prompts while saving computation on easier ones, and response reuse, which leverages previously generated correct responses to provide useful training signals. Across 7B, 8B, and 32B models, AR3PO consistently outperforms GRPO and matches or surpasses DAPO, reducing rollout cost by up to 4.2x.

Introduction

Reinforcement Learning with Verifiable Rewards (RLVR) has become the standard for training Large Language Models (LLMs) on reasoning tasks like math and coding. A popular algorithm in this space is Group Relative Policy Optimization (GRPO), which calculates "advantages" by comparing a group of responses to the same prompt. However, GRPO suffers from a vanishing advantage issue: if every response in a group is correct (too easy) or every response is incorrect (too hard), the variance is zero. The advantage collapses, and the model receives no training signal. While recent methods like DAPO fix this by repeatedly sampling until they find a "mixed" group, this is incredibly expensive—often requiring three to nine times more computation than standard training.

Methodology: AR3PO

AR3PO addresses these efficiency and signal issues through two primary mechanisms:

Adaptive Rollout

Instead of generating a fixed number of responses for every prompt, AR3PO uses a multi-stage process. It generates a small initial batch of responses; if at least one is correct, it stops. If not, it generates additional responses for that specific "difficult" prompt. This saves computation on easy problems and focuses resources where they are needed most.

Response Reuse

If a prompt remains unsolved even after multiple rollout stages, the algorithm pulls a previously generated correct response for that prompt from a replay buffer. Reusing old responses is technically challenging because they are off-policy. AR3PO handles this by stopping the gradient on the reused correct response. This allows the model to use the old correct answer as a baseline to penalize current incorrect responses (negative sample training) without the instability of off-policy importance sampling.

Experimental Results

Efficiency and Sampling Cost

The primary advantage of AR3PO is its dramatic reduction in computational overhead. On Qwen2.5-7B, AR3PO achieved a 4.2× speedup in rollout costs compared to DAPO. On Llama-3.1-8B, the speedup was 3.6×.

Average Sampled Responses Per Training Prompt: AR3PO vs. DAPO

As shown in the figure above, AR3PO maintains a significantly lower average number of sampled responses per prompt compared to the fixed, high-cost sampling required by DAPO.

Addressing the Vanishing Advantage

By utilizing adaptive rollouts and reusing successful responses, AR3PO significantly reduces the frequency of "zero-reward" groups where no training signal is available.

Zero-reward Prompt Ratio: AR3PO vs. GRPO

Compared to standard GRPO, AR3PO maintains a much lower ratio of zero-reward prompts throughout training, ensuring a more consistent and effective learning signal.

Performance Benchmarks

AR3PO consistently outperformed standard GRPO across multiple benchmarks (Math500, Minerva Math, Olympiad Bench, and AIME 2024). For the Qwen 7B model, it achieved an average score of 43.1, compared to GRPO's 42.2 and DAPO's 42.9. On the larger Qwen2.5-32B model, AR3PO matched DAPO's AIME 2024 accuracy (34.0%) while maintaining a 9× reduction in rollout costs compared to DAPO's standard implementation.

Conclusion

AR3PO demonstrates that uniformity in sampling is inefficient for RLVR. By dynamically allocating generation budgets and recycling successful past responses, AR3PO achieves state-of-the-art reasoning performance while drastically reducing the environmental and financial costs of training large-scale reasoning models. Future work will explore extending these techniques to LLM agent settings and more sophisticated trajectory sampling methods.

Summary updated

BibTeX
@misc{zhang2025improving,
  author = {Yuheng Zhang and Wenlin Yao and Changlong Yu and Yao Liu and Qingyu Yin and Bing Yin and Hyokun Yun and Lihong Li},
  title = {{Improving Sampling Efficiency in RLVR through Adaptive Rollout and Response Reuse}},
  year = {2025},
  eprint = {2509.25808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.25808},
}
Figure