TL;DR
Generative Reward Models (GenRM) unify RLHF and RLAIF by training a Large Language Model to act as a preference predictor using its own self-generated reasoning traces. This approach matches traditional Bradley-Terry reward models on in-distribution tasks while significantly outperforming them on out-of-distribution benchmarks by up to 45%.
What Problem Does This Paper Address?
Aligning Large Language Models (LLMs) with human values typically relies on Reinforcement Learning from Human Feedback (RLHF). However, RLHF is bottlenecked by the massive amount of human preference data required to train traditional reward models. While Reinforcement Learning from AI Feedback (RLAIF) attempts to scale this by using LLMs as zero-shot judges, these synthetic labels often misalign with actual human preferences.
Furthermore, standard reward models rely on the Bradley-Terry formulation, which outputs a single scalar score. These explicitly parameterized models work well for data similar to their training set (in-distribution) but are notoriously brittle and generalize poorly when encountering novel, out-of-distribution (OOD) prompts.
Methods
The authors introduce GenRM, a framework that treats preference modeling as a next-token generation task rather than a scalar regression problem. Instead of adding a linear layer on top of an LLM to output a single reward score, GenRM leverages the language model's native ability to express preferences via token probabilities.
The paper explores two main variants:
- GenRM (no CoT): The model acts as a direct classifier, comparing the next-token probabilities of answer indicator tokens (e.g., predicting token
Avs tokenB). - CoT-GenRM: The model is prompted to generate an intermediate Chain-of-Thought (CoT) reasoning trace before outputting the final preference token.
To train the model to reason effectively without relying on ground-truth rationales, the authors adapt the Self-Taught Reasoner (STaR) framework. They evaluate two training objectives:
- STaR-SFT: Fine-tuning the model exclusively on self-generated reasoning chains that lead to the correct human preference label.
- STaR-DPO: Applying Direct Preference Optimization to contrast successful reasoning chains against those that led to incorrect preference judgments.
Datasets
The models were trained and evaluated using several prominent datasets:
- UltraFeedback: A large-scale dataset containing 61k prompt-response pairs used for general instruction-following training.
- UltraInteract: A dataset consisting of multi-turn reasoning trees focusing on complex math, code, and logic problems.
- RewardBench: A comprehensive benchmark used to evaluate reward model capabilities across four distinct categories: Chat, Chat (Hard), Reasoning, and Safety.
Key Insights and Ideas
- Ditching the Scalar Bottleneck: Reframing reward modeling as token generation allows the evaluator to utilize the full expressive capacity and pre-trained knowledge base of the underlying LLM.
- "System 2" Reward Modeling: Forcing the reward model to generate a reasoning trace before making a judgment acts as a form of deliberate thinking. This dramatically boosts the model's robustness and ability to generalize to unseen distributions.
- On-Policy Bootstrapping is Crucial: Training the model on its own self-generated reasoning traces (via STaR-DPO) yields far superior OOD generalization compared to "post-rationalization" methods (training on rationales generated backward from the answer), which suffer from severe distribution mismatch on novel tasks.
Key Results
- In-Distribution Parity: On the UltraFeedback evaluation split, GenRM and STaR-DPO achieved an accuracy of ~73-74%, matching the performance of traditional Bradley-Terry reward models and PairRM.
- Out-of-Distribution Superiority: When tested on RewardBench, the STaR-DPO model significantly outperformed traditional reward models. It excelled particularly in the Safety category, achieving 91.0% accuracy compared to the best baseline model's 81.8%.
- Overcoming Judge Blindspots: Zero-shot LLM-as-a-judge models often fall prey to superficial features like response length or formatting. GenRM successfully learns to ignore these biases to focus on instruction compliance.
- Inference-Time Compute Scaling: Utilizing majority voting (sampling 32 reasoning traces) consistently boosted the accuracy of the CoT-GenRM models by 1.6% to 4.9% across different benchmarks.
Limitations and Future Work
- Rationale Misalignment: The model can still occasionally generate flawed or hallucinated rationales that happen to conclude with the correct preference token, leading to suboptimal training signals.
- Offline Training Constraints: The current implementation relies primarily on offline fine-tuning datasets. Integrating GenRM into an iterative, online optimization loop remains an open challenge.
- Multimodal and Adversarial Expansion: The authors note that exploring GenRM's robustness against adversarial "reward hacking" and extending the framework to multimodal tasks (incorporating vision or audio preferences) are vital next steps.
Summary updated