TL;DR
RewardExplainer is a novel framework that trains a reusable explainer to generate natural-language explanations for why a reward model (RM) prefers one response over another. By using a closed-loop system of counterfactual interventions and Direct Preference Optimization (DPO), it ensures these explanations are "faithful" to the RM's actual internal logic, enabling both better interpretability and targeted debiasing.
What Problem Does This Paper Address?
In the world of Large Language Model (LLM) alignment, Reward Models are the silent arbiters of quality. They take a prompt and a response and spit out a single scalar score. While these scores are essential for Reinforcement Learning from Human Feedback (RLHF), they are notoriously opaque. We know that a model preferred response A over B, but we don't know why.
Existing interpretability methods usually rely on predefined, high-level attributes like "helpfulness" or "honesty." However, these are often too coarse to capture the subtle "reward hacking" behaviors—like excessive verbosity or a "prestigious" writing style—that RMs often fall prey to. Furthermore, most current methods require expensive, repeated interventions for every new example, lacking a way to train a standalone, reusable explainer that truly understands a specific RM's "personality."
Methods
The authors introduce RewardExplainer, a framework designed to move beyond simple post-hoc analysis into active learning of an RM's preferences. The process follows four main stages:
- SFT Warm-up: An initial explainer (e.g., a Qwen or Gemma model) is fine-tuned using Supervised Fine-Tuning (SFT) on labels generated by a teacher model (GPT-4o) to establish basic explanatory capabilities.
- Counterfactual Verification: This is the core innovation. For a given response pair, the explainer generates candidate "mechanisms" (e.g., "Uses bullet points for clarity"). The framework then performs bidirectional interventions: it adds the mechanism to the lower-reward response and removes it from the higher-reward response.
- Closed-Loop DPO Training: The target RM then scores these new, rewritten responses. If adding the behavior increases the reward and removing it decreases the reward, the explanation is deemed "faithful." These successful and unsuccessful candidates are used to create a preference dataset to further train the explainer via Direct Preference Optimization (DPO).
- Bias Discovery and Debiasing: Once optimized, the explainer can identify recurring global patterns in the RM's behavior, including biases. These insights are used to generate targeted debiasing data to fine-tune and improve the original RM.
Datasets
The researchers utilized several key datasets for training and evaluation:
- Training: UltraFeedback served as the primary preference dataset, supplemented by PreferenceHack and Preference Model Perturbations (PMP) to ensure coverage of reward-hacking scenarios.
- Evaluation: The framework was tested against RewardHackBench and JudgeBiasBench to measure debiasing effectiveness, and JudgeBench to ensure general evaluation capabilities were preserved.
- Debiasing: Skywork Reward Preference 80K v0.2 was used as the base for constructing targeted counterfactual debiasing pairs.
Key Insights and Ideas
- Faithfulness is Intervenable: The authors argue that a faithful explanation must correspond to a measurable change in the RM's score. If you claim an RM likes "bullet points," but adding bullet points doesn't change the score, your explanation is just a hallucination.
- Open-Ended Discovery: Unlike previous methods that used fixed categories, RewardExplainer discovers "atomic" mechanisms. This allowed the authors to identify specific hacking behaviors like "Contextual Mirroring" (restating the user's prompt to appear empathetic) or "Assertive Decisiveness" (using urgent wording to sound more actionable).
- The Explainer as a Proxy: By training the explainer on the RM's own feedback, the explainer effectively becomes a natural-language interface for the RM's internal reward logic.
Key Results
RewardExplainer demonstrated significant improvements over baselines like GPT-4o and traditional Contrastive Explanations across multiple target RMs (FsfairX, Skywork, RM-Mistral).
- Higher Faithfulness: On the FsfairX RM, RewardExplainer (DPO) achieved a "BOTH-success" rate (meaning both ADD and REMOVE interventions worked) of 48.44%, significantly higher than GPT-4o's 35.57%.
- Preference Prediction: The explainer could predict the RM's original preference based solely on its generated mechanisms with up to 91.56% accuracy.
- Effective Debiasing: Using the discovered mechanisms to create debiasing data improved RM performance on RewardHackBench by several percentage points (e.g., from 70.22 to 78.70 for RM-Mistral) without sacrificing general performance on JudgeBench.
Limitations and Future Work
While powerful, the authors note a few limitations:
- Rewriting Quality: The framework relies on a high-quality LLM to perform the counterfactual rewrites. If the rewriter fails to inject or remove a mechanism cleanly, the feedback loop becomes noisy.
- Computational Cost: Generating multiple counterfactuals for thousands of pairs during the DPO data construction phase is computationally intensive.
- Future Directions: The authors suggest exploring how these natural-language mechanisms could be used for "steerable" reward models or to provide real-time feedback to humans during preference labeling.
Summary updated