RATE: Causal Explainability of Reward Models with Imperfect Counterfactuals

David Reber, Sean Richardson, Todd Nief, Cristina Garbacea, Victor Veitch

TL;DR

Reward models (RMs) are the "black box" judges used to align AI with human values, but we often don't know what they are actually rewarding. RATE (Rewrite-based Attribute Treatment Estimator) is a new method that uses a clever "double-rewrite" technique to isolate the true causal effect of specific attributes—like helpfulness or sentiment—on a reward score, successfully filtering out the "noise" and spurious correlations that plague simpler evaluation methods.

What Problem Does This Paper Address?

In the world of Large Language Models (LLMs), Reward Models are critical. They act as the scoring function during Reinforcement Learning from Human Feedback (RLHF), telling the model which responses are "better." However, RMs are themselves complex neural networks, and it's notoriously difficult to tell if they are rewarding genuine helpfulness or just "spurious" features like length, perfect grammar, or a specific tone.

If you simply compare the average reward of long responses vs. short ones in a dataset, you might find that long responses get higher scores. But is the RM rewarding length, or is it just that helpful responses happen to be longer? This is a classic confounding problem.

To solve this, researchers use "counterfactuals"—taking a piece of text and changing exactly one thing (like its length) to see how the reward changes. Usually, we ask an LLM to do this rewriting. The problem? LLMs are "imperfect rewriters." When you ask an LLM to make a response shorter, it might also inadvertently fix typos, change the sentiment, or improve the formatting. These "off-target" changes bias our measurements, making it look like the RM is sensitive to one thing when it's actually reacting to the LLM's "cleanup" of the text.

Methods

The authors introduce RATE, which moves beyond simple comparisons to a causal framework.

  1. The Naive Method: Compare rewards of existing samples with and without an attribute. (Highly biased by data correlations).
  2. Single Rewrite: Use an LLM to rewrite a sample to change the target attribute. (Biased by the LLM's unintended "off-target" edits).
  3. RATE (Double Rewrite): This is the core innovation. Instead of comparing a rewrite to the original text, RATE compares a rewrite to a rewrite-of-a-rewrite.
Figure 1. When generating counterfactual pairs, LLMs change other attributes, such as tone, length, or grammar. Empirically, using the rewrites of rewrites corrects for this bias. (Left) Naively sampling pairs which differ on the attribute of interest (e.g., sentiment) will lead to a biased estimate of the causal effect because other attributes may also change. (Middle) When we rewrite a response to change the attribute of interest (e.g., from positive to negative sentiment), the LLM may also change other attributes, such as fixing typos. (Right) Rewriting the rewritten response again tends to cancel out these off-target changes, in a manner we make precise in Section 3.

The intuition is that the "off-target" noise (like fixing typos or improving formatting) happens in both rewrite steps. By comparing two versions of the text that have both been processed by the rewriter, those unintended changes cancel out in expectation. This leaves only the causal effect of the target attribute.

Datasets

The researchers validated RATE using several diverse datasets:

  • IMDB: Used for sentiment analysis experiments.
  • ELI5: A dataset of long-form questions and answers, used to test sensitivity to length.
  • HelpSteer: A multi-attribute dataset used to evaluate helpfulness and complexity.
  • HH-RLHF: Anthropic’s "Helpful and Harmless" dataset.
  • RewardBench: A benchmark of top-performing reward models (like ArmoRM and FsfairX) to see how RATE performs on real-world production models.

Key Insights and Ideas

  • The "Rewrite Space" Advantage: By comparing two items that have both passed through the LLM rewrite pipeline, you ensure you are comparing "apples to apples." Both samples will likely have the same level of "LLM-ness" (perfect grammar, specific formatting), isolating the attribute you actually care about.
  • Length Bias is Often an Artifact: One of the most striking insights is that the "length bias" frequently attributed to reward models might be significantly exaggerated by naive evaluation methods. When RATE is used to isolate the causal effect, the impact of length is often much smaller than it appears in correlational studies.
  • Mathematical Validity: The authors provide a formal proof showing that under mild assumptions (additivity of reward and independence of rewrite errors), RATE provides an unbiased estimate of the Average Treatment Effect (ATE).

Key Results

The authors first proved RATE's effectiveness using "semi-synthetic" tests where the ground truth was known. For example, they tested if an RM cared if a review "starts with a vowel"—an attribute that should have zero effect.

Figure 3. In a situation where the ground truth is known, RATE (orange) accurately estimates the ground truth while the naive (blue) and single-rewrite (green) estimators do not. We calculate the treatment effect of “Starts with a vowel” on FsfairX-LLaMA3-RM-v0.1, when typos have been added with varying frequency to IMDB reviews which start with vowels (see Table 2). Intuitively, we expect the RM to respond negatively to the presence of typos, but not to respond at all to whether the movie review starts with a vowel. Hence the treatment effect for ”starts with vowel” should remain zero, even as the spurious corre- lation increases. 95% confidence intervals are shown.

As shown in Figure 3, as they added more typos to reviews starting with vowels, the Naive and Single Rewrite methods incorrectly reported a massive negative effect. RATE correctly stayed at zero.

When applied to real-world reward models, the results were equally revealing:

  • Overestimation: Naive methods consistently overestimated the importance of helpfulness, length, and complexity across almost all models.
  • Model Comparison: For the NCSOFT model, which was specifically designed to reduce length bias, RATE showed that while it did reduce length sensitivity, it may have inadvertently increased sensitivity to other attributes like complexity.
Figure 5. Comparison of Naive vs. RATE estimates across different reward models and attributes.

Limitations and Future Work

  • Rewrite Quality: RATE relies on the LLM being able to successfully change the target attribute. If the LLM fails to actually make the text "more helpful" when asked, the estimate will be off. Currently, this requires qualitative "vibe checks" by researchers.
  • Downstream Translation: The paper measures how sensitive a reward model is, but it doesn't yet explore how that sensitivity translates to the final behavior of an LLM trained using that RM.
  • Attribute Definition: Some high-level attributes (like "complexity") are subjective. The authors note that the natural language instructions used for rewriting help define these, but there is still inherent ambiguity in what these terms mean.

Summary updated

BibTeX
@inproceedings{reber2025rate,
  author = {David Reber and Sean Richardson and Todd Nief and Cristina Garbacea and Victor Veitch},
  title = {{RATE: Causal Explainability of Reward Models with Imperfect Counterfactuals}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=rL3uxe5a0c},
}
Figure