TL;DR
Reinforcement Learning with Verifiable Rewards (RLVR) boosts LLM reasoning via sparse token updates, but traditional analyses overlook the direction of these changes. By focusing on the signed log-probability difference ($\Delta \log p$), this paper reveals that RLVR primarily targets rare, low-probability tokens. Leveraging this insight, the authors introduce a test-time policy extrapolation method and a training-time advantage reweighting strategy that consistently improve LLM reasoning accuracy across multiple benchmarks.
What Problem Does This Paper Address?
Recent state-of-the-art reasoning models (like OpenAI o1 and DeepSeek R1) rely heavily on Reinforcement Learning with Verifiable Rewards (RLVR) to amplify their step-by-step problem-solving capabilities. Prior research established that RLVR alters only a tiny fraction of tokens in a generation sequence (sparsity). However, these studies focused almost exclusively on the magnitude of updates using metrics like entropy or KL divergence.
The authors point out a major blind spot: magnitude-based metrics yield nearly identical distributions for both the base and RLVR-trained models, failing to capture the actual nature of the transformation. They argue that understanding direction—whether a token's probability is being scaled up or down—is the missing key to unlocking how RLVR actually shifts a model's distribution to favor better reasoning.
Methods
The core diagnostic tool introduced is the token-level log-probability difference: $$\Delta \log p = \log \pi_{RL}(y_t | x, y_{<t}) - \log \pi_{Base}(y_t | x, y_{<t})$$
Using this metric, the authors develop two novel techniques:
- Test-Time Selective Extrapolation: Instead of just sampling from the RLVR model, they treat $\Delta \log p$ as a "reasoning direction." At test time, they selectively amplify the policy along this direction at critical token positions (where $\Delta \log p$ falls below a negative threshold $\tau$), effectively pushing the model further along its learned reasoning path without any extra training.
- Training-Time Advantage Reweighting: Because tokens with the highest $\Delta \log p$ strongly correlate with low-probability tokens during training, the authors modify the policy gradient advantage in Dynamic Sampling Policy Optimization (DAPO). They upweight the gradient contributions of low-probability tokens to proactively force the model to focus on these sparse, high-impact reasoning positions.
Datasets
The methods were evaluated on several challenging mathematical and STEM reasoning benchmarks:
- AIME-24 & AIME-25 (American Invitational Mathematics Examination)
- AMC (American Mathematics Competitions)
- Minerva (A dataset containing 272 undergraduate-level STEM problems spanning subjects like Chemistry and Astronomy)
Key Insights and Ideas
- The Bimodal Signature of Reasoning: While magnitude metrics show a single peak near zero, the $\Delta \log p$ distribution is distinctly bimodal with two long tails. This directional signature clearly separates tokens favored by RLVR from those favored by the base model.
- Gradients Focus on the Rare: Mathematically and empirically, the $\ell_1$-norm of the RLVR policy gradient is tightly bounded by $1 - \pi_\theta(\cdot)$. This means that rare, low-probability tokens naturally receive disproportionately large gradient updates during training, explaining why RLVR modifications are so sparse.
- Semantic Differences in Metrics: Token replacement experiments show that entropy-based metrics tend to target generic logical transition words (e.g., "Thus", "need", "can"). In contrast, $\Delta \log p$ precisely isolates specific mathematical symbols and critical reasoning operations, making it a much more efficient selector for recovering RLVR performance.
Key Results
- Test-Time Extrapolation Gains: Applying selective extrapolation directly to the RLVR model yielded noticeable performance improvements on AIME-24 without any additional training. For instance, it pushed the DAPO-32B model from an accuracy of 52.50% to 55.42%.
- Training-Time Reweighting Success: Integrating the probability-aware advantage reweighting into the DAPO training recipe consistently outperformed standard DAPO and alternative reweighting baselines. On Qwen2.5-Math-7B, the authors' method achieved an average accuracy of 43.75% across math benchmarks compared to DAPO's 42.12%.
- Generalization Beyond Math: On the Minerva STEM dataset, the reweighted training method achieved a 49.72% Avg@32 score (outperforming DAPO's 46.43%), proving that the directional updates generalize well to broader scientific domains.
Limitations and Future Work
The primary limitation of the test-time extrapolation method is its computational overhead: it requires running inference on two models simultaneously (both the base and the RLVR model) to compute $\Delta \log p$ at each step.
For future work, the authors suggest integrating this approach with parameter-efficient fine-tuning (PEFT) techniques to minimize the test-time memory footprint. They also note that the framework introduces new hyperparameters (such as the extrapolation strength $\gamma$ and selection threshold $\tau$) that could be made more adaptive in future iterations.
Summary updated