TL;DR
Reinforcement Learning with Verifiable Rewards (RLVR) substantially boosts reasoning in large language models, but generating rollouts is computationally expensive, and many rollouts contribute zero gradient. PREPO (Perplexity-Schedule with Relative-Entropy Policy Optimization) uses two intrinsic, nearly compute-free data properties to tackle this: it schedules prompts from low to high perplexity (easy-to-hard) and weights rollouts by their relative sequence entropy to favor exploratory paths. Across Qwen and Llama models, PREPO cuts rollout demand by up to 3× (~67%) while matching or exceeding standard RLVR performance on math reasoning benchmarks.
What Problem Does This Paper Address?
RLVR methods (like GRPO and DAPO) drive state-of-the-art LLM reasoning, yet inference during rollout generation remains the primary computational bottleneck. A huge fraction of this compute is wasted:
- At the prompt level: Prompts that are either trivially simple (100% pass rate) or impossibly hard (0% pass rate) yield zero reward variance across sampled responses, producing zero-advantage updates that teach the model nothing. Prior curriculum or filtering methods estimate difficulty via expensive rollout pass-rates or external reward models.
- At the rollout level: Models generate rollouts with varying degrees of confidence. Highly confident (low-entropy) responses produce tiny gradient updates, whereas high-entropy responses indicate branching reasoning paths where exploration is actively occurring.
The authors ask: Can we leverage the model's own internal signals—prompt perplexity and rollout entropy—to prune useless computations without extra models or offline evaluation?
Methods
PREPO introduces two complementary mechanisms into online policy gradient optimization:
[Candidate Prompts]
│
▼
1. PPL-Schedule Selection ──► Sort by prompt perplexity; slide window from low to high PPL
│
▼
Rollout Generation (vLLM)
│
▼
2. Relative-Entropy Weighting ──► Scale loss by w_i = (Sequence Entropy) / (Batch Mean Entropy)
│
▼
[Policy Gradient Update (PPO/GRPO)]
- PPL-Schedule Online Batch Selection: Prompt perplexity (PPL) under current model parameters $\pi_\rho$ acts as a dynamic difficulty score. By sorting the candidate batch by PPL, PREPO applies an online linear curriculum schedule ($l(\rho) = \lfloor \rho \cdot (|B| - K) \rfloor$) that smoothly shifts from familiar, low-PPL queries early in training to challenging, high-PPL queries later on.
- Relative-Entropy Weighting: Training purely on low-PPL prompts accelerates early reward gain but risks rapid entropy collapse (killing exploration). To "seek uncertainty within certainty," PREPO averages token entropies for each rollout into a sequence entropy $\bar{H}_i$ and scales each rollout's loss contribution by its normalized relative weight $w_i = \bar{H}_i / \bar{H}_{\text{batch}}$.
- Scale-Invariant Properties: Mathematical derivations confirm that batch weights sum close to nominal batch sizes and extreme high-entropy outliers naturally suppress uninformative rollouts rather than destabilizing the objective.
Datasets
- Training: DAPO-Math-17K and MATH500.
- Evaluation:
- Qwen models: AIME24, AIME25, MATH-500, and OlympiadBench.
- Llama models: MATH-500 and GSM8K.
- Note: No new datasets are introduced; standard benchmarks evaluate mathematical reasoning under
pass@1 (avg16)at temperature 1.
Key Insights and Ideas
- PPL as a "Free" Difficulty Metric: Prompt perplexity negatively correlates with rollout pass rate across model families ($r \approx -0.17$ to $-0.23, p < 0.001$). Lower PPL consistently implies easier, more solvable problems for the model, making it a reliable, compute-free curriculum signal.
- Countering Entropy Collapse: Low-PPL prompts help LLMs converge quickly on correct solutions early on, but cause fast policy collapse. Relative-entropy weighting directly counteracts this by upweighting the few exploratory, non-deterministic trajectories within early batches.
- True Reasoning vs. Memorization: When the authors evaluated the trained models on prompts truncated by 40%, the pass rates dropped to near zero across the board, demonstrating that the performance improvements come from genuine reasoning patterns rather than rote data memorization.
Key Results
PREPO cuts rollout demand substantially while matching or beating random selection and GRESO baselines:
- Rollout Reductions:
- Qwen2.5-Math-1.5B: 3.0× reduction ($1.1\text{M}$ vs. $3.0\text{M}$ rollouts), improving average benchmark accuracy from $35.86\%$ to $36.23\%$.
- Qwen2.5-7B: 2.4× reduction ($304\text{K}$ vs. $716\text{K}$ rollouts), boosting average accuracy from $34.39\%$ to $35.61\%$.
- Qwen3-4B: 1.6× reduction ($348\text{K}$ vs. $553\text{K}$ rollouts), improving average accuracy from $71.33\%$ to $75.99\%$ (achieving $80.00\%$ on AIME24 and $66.67\%$ on AIME25).
- Llama3.1-8B: 2.3× reduction ($115\text{K}$ vs. $266\text{K}$ rollouts), increasing average score from $30.61\%$ to $36.55\%$.
- Negligible Overhead: PPL forward calculation takes only a tiny fraction of time compared to the autoregressive rollout generation phase.
Limitations and Future Work
- Fixed Pruning Ratio: Experiments fixed the online prompt selection ratio at $K/B = 20\%$; the sensitivity to other selection ratios was not systematically evaluated.
- Sequence Length Bounds: Rollout length was capped at 32K tokens, leaving open how the method behaves on models generating massive multi-step "thinking" chains.
- Domain Scope: Evaluation is limited strictly to mathematical reasoning; generalization to coding, formal logic, and open-ended generation remains to be validated.
- Future Directions: Incorporating other intrinsic representation signals and combining data-driven exploration with system-level distributed optimizations.
Summary updated