Explore Data Left Behind in Reinforcement Learning for Reasoning Language Models

Chenxi Liu, Junjie Liang, Yuqi Jia, Bochuan Cao, Yang Bai, Heng Huang, Xun Chen

TL;DR

When training Large Language Models (LLMs) with reinforcement learning, models quickly master certain prompts, resulting in "all-correct" sample groups that yield zero training signal and waste valuable data. This paper introduces ERPO (Explore Residual Prompts in Policy Optimization), a framework that tracks prompt history and adaptively increases the sampling temperature for mastered prompts. By forcing the model to explore alternative, more complex reasoning paths, ERPO revives these dead training signals and consistently boosts performance across major math benchmarks.

What Problem Does This Paper Address?

Reinforcement Learning with Verifiable Rewards (RLVR)—specifically frameworks like Group Relative Policy Optimization (GRPO)—has become the cornerstone for scaling up LLM reasoning capabilities in domains like mathematics and code generation. In GRPO, the model generates a group of outputs for a given prompt, and updates its policy based on the relative reward variance within that group.

However, the authors identify a major bottleneck: as training progresses or as models scale up, they become too good at certain prompts. When a model generates all-correct answers within a sample group, the reward variance drops to zero, yielding absolutely no training signal. These are called residual prompts.

As a result, a massive chunk of the training dataset is effectively left behind, leading to a collapse in prompt diversity and stalling further optimization.

Methods

The authors propose the Explore Residual Prompts in Policy Optimization (ERPO) framework to reclaim this lost data through two main mechanisms:

  1. Reactivated Advantage (RA): Instead of discarding all-correct prompt groups, ERPO injects a "pseudo-negative reward" into the advantage calculation. This gives the correct responses a small positive advantage, ensuring they still reinforce the model's correct behavior rather than being ignored.
  2. Adaptive Temperature Scaling: To prevent the model from simply overfitting to easy paths, ERPO maintains a history tracker ($H_i$) for each prompt. If a prompt consistently yields all-correct answers, ERPO dynamically increases its sampling temperature ($T_i$). Higher temperatures force the model to explore more diverse reasoning traces, eventually triggering an incorrect response that naturally restores reward variance and reactivates standard RL training.
Figure 1: Comparison between ERPO and GRPO. During RL training, the policy gradually learns from the training data, resulting in more residual prompts with all-correct responses. In GRPO, residual prompts yield zero-variance rewards and thus provide no training signal for policy updates, reducing the effectiveness of training data. In contrast, ERPO maintains a tracker for each prompt to record the number of times it produces all-correct responses, and adaptively encourages exploration on residual prompts to trigger incorrect responses and reactivate the training signal.

Datasets

  • Training: The models were fine-tuned using the DAPO-Math-17K dataset.
  • Evaluation: The framework was evaluated across several highly competitive mathematical reasoning benchmarks:
  • AIME 2024 & AIME 2025 (American Invitational Mathematics Examination)
  • AMC 2023 (American Mathematics Competitions)
  • MATH500

Key Insights and Ideas

  • The Scale Paradox: Larger models suffer significantly more from data wasting. At a standard temperature of $T=1.0$, a trained Qwen2.5-3B model leaves 8.7% of prompts behind as residual data. For Qwen2.5-32B, that number skyrockets to a staggering 74.8% of the dataset left unutilized.
  • Perturbation as a Feature: Residual prompts are not entirely robust; small perturbations (like increasing temperature) easily induce errors. ERPO elegantly exploits this vulnerability to find the boundaries of the model's understanding without needing to curate harder datasets.
  • Preventing Overfitting via $T_{max}$: Simply giving all-correct prompts a positive advantage (the RA method) can cause smaller models to overfit because these prompts dominate the training batch. ERPO avoids this by capping the temperature at $T_{max}$, ensuring the model stops exploring a prompt once it becomes robust even at high temperatures.

Key Results

ERPO was evaluated using Qwen2.5-3B and Qwen2.5-7B backbones, building on top of the Decoupled Clip and Dynamic Sampling Policy Optimization (DAPO) baseline.

  • Consistently Superior Performance: ERPO outperformed both the baseline DAPO and the standalone Reactivated Advantage (RA) method across almost all benchmarks.
  • AIME 2025 Breakthrough: On the exceptionally difficult AIME 2025 benchmark—which is highly resilient against pre-training data contamination—Qwen2.5-7B + ERPO achieved a 14.2% mean@32 and 19.4% maj@32, notably outperforming DAPO's 12.6% and 16.9%.
Performance comparison on benchmarks

Limitations and Future Work

  • Hyperparameter Tuning: ERPO introduces new hyperparameters, including the temperature step size ($T_s$) and maximum temperature ($T_{max}$). While sensitivity analysis shows the model is relatively robust, finding the optimal schedule across vastly different model scales still requires empirical tuning.
  • Domain Constraints: The current evaluation is strictly limited to mathematical reasoning. The authors note that exploring how adaptive temperature scaling handles code generation or open-ended instruction following remains an open task.
  • Scaling Up: Given that the residual prompt problem worsens dramatically with model size, a crucial next step is evaluating ERPO on 32B+ parameter models where the data-wasting problem is most severe.

Summary updated

BibTeX
@misc{liu2025explore,
  author = {Chenxi Liu and Junjie Liang and Yuqi Jia and Bochuan Cao and Yang Bai and Heng Huang and Xun Chen},
  title = {{Explore Data Left Behind in Reinforcement Learning for Reasoning Language Models}},
  year = {2025},
  eprint = {2511.04800},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.04800},
}
Figure