Manuscript Offprint

arXiv:2611.00586

Dataset Mismatch Matters in Group Relative Policy Optimization for Reinforcement Learning from Verifiable Rewards

Zhen-Yu Zhang, Jiandong Zhang, Huaxiu Yao, Gang Niu, Masashi Sugiyama

Zhen-Yu Zhang

RIKEN-AIP

zhen-yu.zhang@riken.jp

Jiandong Zhang

Northeastern University

zhang.jiando@northeastern.edu

Huaxiu Yao

UNC-Chapel Hill

huaxiu@cs.unc.edu

Gang Niu

RIKEN-AIP

gang.niu.ml@gmail.com

Masashi Sugiyama

RIKEN-AIP

The University of Tokyo

sugi@k.u-tokyo.ac.jp

Abstract

Recently, reinforcement learning from verifiable rewards (RLVR) is practically very important, where the leading approach is group relative policy optimization (GRPO) that typically faces a trade-off between rollout efficiency and downstream performance. To improve efficiency while preserving performance, existing selective rollout methods mainly exploit only source-side training dynamics to optimize the discrete distribution over source prompts. However, in practice, the source training dataset is rarely identically distributed to the target test dataset. When such a mismatch exists, due to legal or privacy constraints, it is usually not acceptable to share target prompts themselves with the RLVR trainer. Nevertheless, it is still possible for the target data owner to provide limited aggregated feedback from a small held-out target set without revealing target prompts or rollout traces. In this paper, we propose learning-to-reweight rollout (L2RR) that explicitly incorporates target-side performance feedback into GRPO. Specifically, L2RR learns a discrete sampling distribution over source prompts by optimizing a bi-level objective that maximizes accuracy on a held-out target dataset, while simultaneously penalizing rollouts that provide little incremental learning information. Empirical studies on six math reasoning benchmarks and three model scales show that L2RR improves target-domain performance and increases rollout efficiency.

1 Introduction

Recent large language models (LLMs), such as OpenAI o1 [14] and DeepSeek R1 [8], have achieved strong reasoning performance across a variety of domains [12, 31], since they leverage increased inference-time computation for reasoning. A major catalyst behind this progress is reinforcement learning with verifiable rewards (RLVR), which optimizes policies from binary-valued verifiable feedback [17, 8]. Group relative policy optimization (GRPO) is a representative RLVR algorithm that trains via verifier-based rollouts, where a prompt is sampled, a group of responses is generated and scored, and the policy is updated using group-normalized advantages [33]. When group rewards collapse to the same value, the resulting advantages become near zero, so obtaining non-zero advantages often requires many costly rollouts. This creates a fundamental trade-off: fewer rollouts reduce cost but can degrade downstream performance, whereas better performance often requires more rollouts. Therefore, improving rollout efficiency while preserving downstream performance is critical for scaling RLVR training.

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

Existing methods improve rollout efficiency using training-side GRPO dynamics [43, 48]. Recent selective rollout methods leverage temporal regularities to either skip such prompts before expensive rollouts [48] or reuse previously successful rollouts to reduce repeated sampling [46]. These rollout-selection strategies rely on training-side information. Consequently, their efficiency gains may be limited by what the training dataset can reveal, and rollout-or-not decisions are tuned using training-side validation, in the hope that these choices transfer to downstream performance.

However, in practice, the source training dataset is rarely identically distributed to the target test dataset. Even in math reasoning, the training and test datasets can differ substantially in their difficulty or subdomains, with test problems often skewing toward harder or covering different topics [37]. As a result, source-side GRPO dynamics can yield rollout decisions that are misaligned with target performance, motivating the use of target information to learn selective rollout strategies.

Note that leveraging target-side information is non-trivial. In many real-world tasks, the model owner and the data owner are different entities, so target-side prompts and rollout traces can be inaccessible for RLVR training because of privacy or legal constraints [42, 1]. Without any target information, improvements beyond source-only training may be limited. Fortunately, in many real-world scenarios, although the trainer may not be allowed to access target prompts or target-side rollout traces, it is often still possible to access limited target-side evaluation feedback computed on a small held-out target dataset. Depending on the deployment protocol, this feedback may take the form of aggregated target-side gradients or directional derivatives, without directly sharing target prompts or rollout traces. For example, in hospitals, target prompts stay on-premise and training proceeds via fine-tuning with only model updates shared [1]; similarly, some benchmark-style workflows provide aggregate scores through a remote evaluator, without releasing test inputs during blind evaluation [9]. This motivates our core question: can we leverage such limited target-side information to improve selective-rollout efficiency and target generalization?

In this paper, we propose learning-to-reweight rollout (L2RR), a target-guided selective rollout scheme for GRPO that uses target-side evaluation feedback to learn how rollouts are allocated across the source prompt pool. Specifically, L2RR learns a discrete distribution for sampling over source prompts and alternates between GRPO policy updates and sampler updates. The GRPO policy updates are as usual. The sampler updates adjust prompt sampling probabilities using gradient-based feedback from the held-out target objective and the frequency of yielding near-zero group-normalized advantages. Benefiting from this design, L2RR jointly prioritizes target-relevant rollouts and avoids repeatedly spending resources on prompts that contribute little to learning progress, using only limited target-side information. We provide a theoretical analysis establishing an O(T−1/2)\mathcal{O}(T^{-1/2}) target-loss bound up to bias and tracking residuals under regularity assumptions and an appropriate choice of regularization weight, where T is the training horizon. Empirical studies on six reasoning benchmarks and three models spanning two parameter scales show that L2RR improves target performance while simultaneously increasing rollout efficiency.

Although learning-to-reweight [32] 1^{1} shares a similar idea and has been studied in supervised learning settings, extending this paradigm to RLVR is non-trivial. GRPO training dynamics are time-varying, and the advantage of a prompt can degenerate as group rewards collapse, so rollout effectiveness is required to be modeled using history-dependent information during training.

References (47)