TL;DR
Group Relative Policy Optimization (GRPO) is a highly effective tool for reinforcement learning with verifiable feedback (like math or code), but it struggles when explicit verifiers are unavailable. This paper introduces Reference-Relative Policy Optimization (RRPO), which extends group-relative optimization to open-ended tasks by replacing hard verifiers with a learned metric space that compares policy rollouts against weakly supervised positive and negative "anchor" behaviors.
What Problem Does This Paper Address?
Reinforcement Learning from Verifiable Feedback (RLVF) has recently driven massive breakthroughs in LLM reasoning. Algorithms like GRPO excel in domains like mathematics or code execution because a deterministic verifier can instantly score a model's output as right or wrong.
However, many of the most critical language tasks—such as long-form explanations, dialogue summarization, and open-ended question answering—do not have a single definition of "correctness." In these open-ended settings, standard overlap metrics (like ROUGE or BLEU) are noisy, and absolute reward scores can cause unstable policy updates. The authors address a fundamental gap: How can we apply the stable, efficient group-relative RL framework to tasks where success cannot be explicitly verified?
Methods
RRPO solves this by shifting the paradigm from absolute scoring to contrastive comparison. Instead of evaluating a rollout in isolation, RRPO measures how close it is to desirable versus undesirable reference behaviors. The framework operates in two main stages:
- Stratified Conditional Rollouts & Metric Learning: For every training prompt, the authors use "weak" task-specific conditions (e.g., instructions that steer the model to focus on main outcomes vs. peripheral details) to generate a set of positive and negative anchor rollouts. An offline metric projection head is then trained using a set-contrastive loss (similar to InfoNCE). This forces the embedding space to pull query rollouts closer to positive anchors and push them away from negative anchors.
- Policy Optimization: During RL training, the metric head is frozen. The active policy samples a group of rollouts. RRPO scores each rollout based on its relative alignment to the positive vs. negative anchor sets. These scores are standardized (centered and scaled) within the group to form contrastive advantages, which are then used to update the policy via a standard clipped GRPO objective.
Datasets
The authors evaluated RRPO across three distinct datasets to capture both verifiable and open-ended generation tasks:
- GSM8K: A standard benchmark for grade-school math word problems, used here to test if RRPO can compete with exact-answer verifiers.
- SAMSum: A dataset containing chat dialogues and their abstractive summaries, representing structured open-ended generation.
- ELI5 (Explain Like I'm 5): A long-form question-answering dataset used to evaluate highly contextual, open-ended explanation generation.
Key Insights and Ideas
- Contrastive Advantages Over Absolute Rewards: Framing the reward signal as an instance-conditioned comparison against reference behaviors provides a much more stable optimization landscape than trying to predict an absolute scalar quality score.
- The Power of Weak Supervision: You don't need perfect ground-truth verifiers or expensive human preference annotations to bootstrap an RL signal. Simple prompt-level constraints (like the ones shown in Figure 1) are enough to generate distinct positive and negative behavioral strata.
- Complementary to SFT: Rather than just acting as a weak-supervision substitute, RRPO can be stacked directly on top of a fully supervised fine-tuned (SFT) model to extract additional performance gains that standard behavior cloning misses.
Key Results
- Competitive in Verifiable Reasoning: On GSM8K, RRPO actually outperformed verifier-based Dr.GRPO on smaller models. For Qwen2.5-1.5B-Instruct, RRPO raised Pass@1 from 0.665 to 0.691, whereas Dr.GRPO dropped to 0.609. This indicates that contrastive reference alignment can be more informative than sparse 0/1 rewards.
- Superior Stability in Open-Ended Tasks: On SAMSum and ELI5, RRPO consistently outperformed "Pseudo-SFT" (a baseline that fine-tunes on the model's own greedy outputs). For instance, on SAMSum using Qwen3-4B, RRPO achieved a Mean ROUGE score of 0.293 compared to Pseudo-SFT's 0.276.
- Post-SFT Gains: When applied to models that had already undergone rigorous supervised fine-tuning, RRPO consistently provided modest but steady improvements across all evaluated metrics (ROUGE, BLEU, and BERTScore).
Limitations and Future Work
- Condition Engineering: RRPO relies heavily on the quality of the weak task-specific conditions used to generate the anchor sets. Designing these conditions still requires domain knowledge and is dataset-dependent.
- Frozen Metric Head: Because the metric projection head is trained offline and frozen during the policy optimization stage, severe policy drift could eventually cause the reference-relative scores to become less reliable.
- Automated Metrics: The evaluation of open-ended generation relies primarily on automated metrics (ROUGE, BLEU, BERTScore). Future work will need to validate these findings against human preferences and broader benchmarks.
Summary updated