Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening

Andre He, Daniel Fried, Sean Welleck
6/3/2025
98 citations
cs.LG
rlrlhf-rlvr-dpo

Official code: AndreHe02/rewarding-unlikely-release (18 stars, Python, Apache-2.0, last commit 2025-06-10).

Abstract

Reinforcement learning is emerging as a primary driver for improving language model reasoning capabilities. A fundamental question is whether current reinforcement learning algorithms -- such as Group Relative Policy Optimization (GRPO), the de facto standard algorithm used to improve language model reasoning -- merely sharpen the base model's distribution around problems it can already solve.

Show full abstract

We investigate this question in the context of formal theorem proving, which has access to a perfect verifier. We identify a degenerate rank bias in GRPO in which highly probable trajectories are reinforced and rare ones are neglected. This results in distribution sharpening: the model can solve some problems with fewer samples, but underperforms simply sampling more solutions from the original model. To overcome GRPO's rank bias we introduce unlikeliness reward, a simple method for explicitly up-weighting rare but correct solutions. We show that unlikeliness reward mitigates rank bias and improves pass@$N$ across a large range of $N$ in both synthetic and real theorem proving settings. We also uncover an unexpected link between rank bias and a seemingly mundane hyperparameter -- the number of updates per batch -- that leads to a second, complementary mitigation. We combine our insights into a revised GRPO training recipe for formal theorem proving, yielding an open pipeline that achieves competitive performance to DeepSeek-Prover-V1.5-RL on the miniF2F-test benchmark. We release our implementation at https://github.com/AndreHe02/rewarding-unlikely-release

View on arXivView PDF

Code Implementations(1)

Apache-2.0
180Python, Jupyter NotebookJun 10, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{he2025rewarding,
  title  = {Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening},
  author = {Andre He and Daniel Fried and Sean Welleck},
  year   = {2025},
  eprint = {2506.02355},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.02355v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.02355.svg)](https://codeofpaper.com/paper/2506.02355)

Discussion