TL;DR
This paper introduces Regret-based Preference Optimization (RePO), a novel framework for training Large Language Models (LLMs) using human feedback. Instead of maximizing rewards, RePO minimizes regret by modeling human preferences as prospective and counterfactual assessments of suboptimality, leading to more human-aligned and effective LLM training.
What Problem Does This Paper Address?
Training LLMs often relies on Reinforcement Learning from Human Feedback (RLHF) because creating automated verifiers for complex language tasks is difficult. However, existing RLHF methods interpret human preferences as simple reward signals, overlooking how humans actually make judgments. Humans tend to evaluate options by anticipating future outcomes and comparing them to alternatives (counterfactual thinking), rather than just looking at immediate results. This paper addresses the gap in how human feedback is interpreted in RLHF, proposing a method that better captures this nuanced, prospective, and counterfactual nature of human judgment.
Methods
The core contribution is Regret-based Preference Optimization (RePO). RePO reframes RLHF from a reward maximization problem to a regret minimization problem. It models human preferences not as absolute utility, but as assessments of relative suboptimality. This is achieved by:
- Prospective and Counterfactual Reasoning: RePO assumes human preferences are shaped by anticipating future outcomes and comparing current choices to hypothetical alternatives.
- KL-Regularized RL Framework: The method is built within a KL-regularized reinforcement learning framework, which helps maintain stable learning while allowing preferences to guide the policy.
- Closed-Form Policy Update: RePO derives a closed-form policy update that is compatible with Direct Preference Optimization (DPO), making it computationally efficient.
- Behavior-Conditioned Assessment: Preferences are modeled as assessments of how suboptimal a behavior is relative to what could have been achieved, considering the behavior policy that generated the trajectory.
Datasets
The paper uses several datasets for training and evaluation:
- UltraFeedback (UF): A synthetic dataset constructed following the UF protocol, used for human preference alignment. It contains approximately 16K preference pairs generated by four Qwen-series models.
- Mathematical Reasoning Datasets:
- GSM8K: A dataset of grade-school math problems.
- MATH: A dataset of challenging math problems.
- MATH500: A subset of MATH.
- AMC23: A dataset from the American Mathematics Competitions.
-
MinervaMath: A dataset for mathematical reasoning. Preference data for these tasks was generated by sampling candidate responses from Qwen2.5-Math-7B-Instruct and labeling them based on verifier-based correctness. Approximately 63K preference pairs were created.
-
LLaMA family datasets: Used to evaluate RePO's applicability in cross-model settings without explicit access to behavior policies.
- Masked Data Augmentation: A custom dataset created by masking the end of correct reasoning trajectories to simulate human tendency to judge incomplete paths pessimistically.
Key Insights and Ideas
- Human judgment is prospective and counterfactual: This is the central idea. Humans don't just evaluate outcomes; they imagine futures and compare alternatives. RePO's success stems from capturing this.
- Regret minimization is a more natural fit for human preferences than reward maximization: When explicit rewards are absent, humans assess "how bad" something is relative to the best possible outcome, which is precisely what regret measures.
- Behavior policy matters: Simply assuming preferences come from the current policy (as in standard DPO) is insufficient. RePO explicitly accounts for the policy that generated the data, improving robustness, especially in offline or cross-model scenarios.
- Regret internalizes inductive biases: RePO naturally encodes the bias that incomplete or masked reasoning paths are less favorable, leading to better performance without needing explicit data augmentation for this specific bias.
Key Results
- Improved Performance: RePO consistently outperforms existing baselines like DPO, RPO, IPO, KTO, and TDPO on both human preference alignment (AlpacaEval2, Arena-Hard, MT-Bench) and mathematical reasoning benchmarks (GSM8K, MATH, etc.).
- Human Preference Alignment: RePO achieves stronger performance by explicitly accounting for behavior-policy-dependent sequential KL divergence.
- Mathematical Reasoning: RePO shows competitive performance even when supervision is derived from verifier-based correctness, suggesting regret minimization provides effective learning signals beyond subjective feedback.
- Offline Applicability: RePO_det (a variant of RePO) performs comparably to RePO and outperforms baselines even when trained on data from different model families (e.g., LLaMA) without explicit access to the behavior policy.
- Sample Efficiency: RePO demonstrates comparable or stronger performance than DPO even when DPO is provided with significantly more augmented data designed to inject inductive biases. This suggests RePO structurally encodes these biases, making it more sample-efficient.
Limitations and Future Work
- Reward Anchoring: The paper acknowledges that reward-maximization methods require additional conventions (reward anchoring schemes) to resolve ambiguities related to the shaping function β(·) and temperature parameter α. Determining principled criteria for selecting these parameters remains an open problem. RePO, in contrast, is invariant to reward translations.
- Computational Overhead: While RePO offers a closed-form update, computing the sequential KL divergence can still incur substantial computational and memory overhead. The paper proposes sample-based estimators to address this.
- Future Work: The authors suggest that regret offers a faithful abstraction of human feedback and a promising foundation for human-aligned post-training of LLMs. Further exploration into principled criteria for reward anchoring and temperature scaling within reward-maximization frameworks is also suggested.
Summary updated