XRPO: Pushing the Limits of GRPO with Targeted Exploration and Exploitation

Udbhav Bamba, Minghao Fang, Yifan Yu, Haizhong Zheng, Fan Lai

Reinforcement Learning with Verifiable Rewards (RLVR) has become the gold standard for training reasoning models, famously powering systems like DeepSeek-R1. However, the current state-of-the-art algorithm, Group Relative Policy Optimization (GRPO), leaves significant performance and efficiency on the table.

Enter XRPO (eXplore–eXploit GRPO), a new reinforcement learning framework that recasts policy optimization through the principled lens of exploration and exploitation. By dynamically shifting compute toward challenging prompts and rewarding novel reasoning paths, XRPO achieves up to 4% better accuracy and 2.7x faster training convergence than standard GRPO methods.

The Problem: Blind Spots in Standard GRPO

In RLVR, a model typically receives a binary reward: a "1" for a correct mathematical or coding answer and a "0" for an incorrect one. While effective, standard GRPO suffers from two major inefficiencies:

  1. Static Rollout Allocation: GRPO generates a fixed number of responses (rollouts) for every prompt. This wastes compute on easy prompts that require few attempts and starves extremely hard prompts. On the hardest problems, the model often yields zero correct answers across all rollouts, resulting in a "zero-reward symmetry" where no gradient signal is available to learn from.
  2. Sparse Feedback: Binary rewards treat all correct answers equally. They fail to distinguish between a model safely repeating a known reasoning path and a model discovering a creative, high-quality, and novel way to solve a problem.

The XRPO Framework: Explore and Exploit

To address these blind spots, XRPO introduces three core components that transform how the model explores the solution space and exploits successful strategies:

1. Hierarchical Rollout Planning (HRP)

Instead of a fixed budget, XRPO utilizes a mathematically grounded allocator. It calculates the "reward uncertainty" for each prompt using a Student’s t-distribution. Prompts with high variance—where the model is uncertain or "on the fence"—receive more rollouts, while settled prompts receive fewer. This ensures compute is spent where it has the highest potential for uncertainty reduction.

2. In-Context Learning (ICL) Seeding

To break the "zero-reward" deadlock on exceptionally hard problems, XRPO maintains an evolving corpus of successful solutions discovered during training. If a model consistently fails a prompt, XRPO "seeds" it with two similar, successful examples from this corpus. This acts as a training-time crutch, nudging the model toward a successful reasoning trajectory without relying on an external teacher model.

3. Novelty-Guided Advantage Sharpening

To improve exploitation, XRPO rewards atypical successes. If the model generates a correct answer that had a low probability under its current policy, it receives an extra "novelty bonus." This group-relative advantage sharpening prevents the model from collapsing into a single, repetitive reasoning style and extends the policy's reach beyond sparse rewards.

Experimental Setup

The researchers rigorously evaluated XRPO across diverse math and coding benchmarks:

  • Math: AIME 2024/2025, HMMT 2025 (Feb), BRUMO 2025, and MATH-500.
  • Coding: Codeforces and LiveCodeBench v5.
  • Models: Qwen3-1.7B, Qwen2.5-7B-Instruct, and Llama-3.2-3B.

Key Results and Insights

XRPO demonstrates substantial improvements in both performance and efficiency:

  • Accuracy Boosts: XRPO outperformed other GRPO variants (like GSPO and DAPO) by up to 4% in pass@1 accuracy and 6% in consistency (cons@32).
  • Accelerated Convergence: By focusing rollouts where they matter most, XRPO reaches target accuracy levels significantly faster. On the GSM8K benchmark, XRPO hit 82.5% accuracy in just 420 steps compared to GRPO's ~1,000 steps (a 2.4x speedup). On MATH-500, the speedup reached 2.7x.
  • Concise Reasoning: A fascinating byproduct of XRPO is that it naturally encourages shorter, more efficient reasoning paths. Average generation lengths were reduced by 34.7% for Qwen3 and 6.17% for Qwen2.5. Because successful solutions must fit within a context window to be rewarded, the model implicitly learns to avoid unnecessary verbosity, making the resulting models cheaper and faster for production inference.

Limitations and Future Directions

While XRPO presents a significant leap forward, the authors note a few limitations:

  • Model Scale: Due to resource constraints, XRPO has not yet been tested on frontier-scale models (e.g., 300B+ parameters).
  • Self-Sourced Corpus: The ICL corpus is currently built exclusively from the model's own successful rollouts. Seeding the process with high-quality solutions from a stronger "teacher" model (like GPT-4 or OpenAI o1) could potentially push the capability frontier even further.
  • Task Diversity: The evaluation focuses heavily on objective domains like math and code. How these exploration strategies translate to more subjective tasks, such as creative writing or complex roleplay, remains an open question for future research.

Summary updated

BibTeX
@inproceedings{bamba2026xrpo,
  author = {Udbhav Bamba and Minghao Fang and Yifan Yu and Haizhong Zheng and Fan Lai},
  title = {{XRPO: Pushing the Limits of GRPO with Targeted Exploration and Exploitation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=AE6U9HvTHc},
}
Figure