RATE: Score Reward Models with Imperfect Rewrites of Rewrites

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

Abstract

Reward models are widely used as proxies for human preferences when aligning or evaluating LLMs. However, reward models are black boxes, and it is often unclear what, exactly, they are actually rewarding. In this paper we develop Rewrite-based Attribute Treatment Estimator (RATE) as an effective method for measuring the sensitivity of a reward model to high-level attributes of responses, such as sentiment, helpfulness, or complexity. Importantly, RATE measures the causal effect of an attribute on the reward. RATE uses LLMs to rewrite responses to produce imperfect counterfactual examples that can be used to measure causal effects. A key challenge is that these rewrites are imperfect in a manner that can induce substantial bias in the estimated sensitivity of the reward model to the attribute. The core idea of RATE is to adjust for this imperfect-rewrite effect by rewriting twice. We establish the validity of the RATE procedure and show empirically that it is an effective estimator.

Introduction

Aligning Large Language Models (LLMs) with human values typically involves Reinforcement Learning from Human Feedback (RLHF), where a Reward Model (RM) serves as a judge for response quality. Despite their critical role, RMs remain "black boxes." It is often difficult to discern whether a model rewards genuine helpfulness or is swayed by superficial features like response length, formatting, or the absence of typos—a phenomenon known as reward hacking.

The Challenge of Confounding

Traditional evaluation methods often rely on correlations within existing datasets. However, attributes are frequently confounded. For instance, if helpful responses in a dataset are consistently longer, a naive analysis might incorrectly attribute high scores to length rather than helpfulness. To accurately evaluate an RM, we must isolate the causal effect of specific attributes: if we modify only one attribute (e.g., length) while holding all others constant, how does the reward change?

The RATE Methodology: Double Rewriting

A straightforward approach to measuring causal effects is to use an LLM to generate counterfactual pairs by rewriting a response to change a target attribute (e.g., "make this more polite"). However, LLM rewrites are "imperfect." In the process of changing sentiment, an LLM might inadvertently fix grammar or improve formatting. These off-target changes introduce bias into the measurement.

The Rewrite-based Attribute Treatment Estimator (RATE) addresses this by employing a "Double Rewrite" strategy:

  1. First Rewrite: An LLM modifies the target attribute of an original response.
  2. Second Rewrite: The LLM takes the rewritten response and attempts to revert the attribute to its original state.
  3. Comparison: RATE compares the first rewrite to the second rewrite (the "rewrite of the rewrite").
The RATE method compares rewrites to rewrites of rewrites to cancel out off-target changes.

By comparing two samples that both exist in "rewrite space," the systemic "improvements" typically made by LLMs (like fixing typos) are present in both versions. These off-target effects cancel out in expectation, leaving a cleaner estimate of the target attribute's causal effect.

Experimental Setup and Datasets

The authors evaluated several prominent reward models, including FsfairX-LLaMA3-RM-v0.1 and NCSOFT/Llama-3-OffsetBias-RM-8B, across diverse datasets:

  • IMDB: For sentiment analysis.
  • HH-RLHF & HelpSteer: For helpfulness, complexity, and verbosity.
  • ELI5: For response length effects.

Validation was performed using semi-synthetic experiments. In tests where typos were artificially correlated with attributes, naive estimators showed significant bias, whereas RATE correctly identified near-zero effects, demonstrating its robustness against confounding noise.

Key Results

When applied to real-world reward models, RATE revealed that many perceived biases are artifacts of measurement rather than model behavior. A significant finding is that the "length bias" often attributed to RMs is frequently overstated. While naive methods suggest a massive preference for longer responses, RATE shows the actual causal effect is often much smaller.

Across different reward models, RATE shows significantly smaller causal effects for attributes like helpfulness and length compared to naive methods.

As shown in the evaluation of the Llama-3-OffsetBias-RM-8B model, naive estimators consistently yielded larger effect sizes for attributes like helpfulness and complexity. RATE's more conservative estimates suggest that current reward models may be more robust than previously thought, but were being judged by tools that conflated model behavior with dataset statistics.

Limitations and Future Work

The effectiveness of RATE depends on the quality of the rewriter LLM; if the LLM fails to meaningfully alter the target attribute, the estimate will be inaccurate. Additionally, the method assumes that off-target changes are independent of the rewrite direction. Future work involves using RATE as a diagnostic tool during the alignment process to detect and mitigate true reward hacking before deployment.

Summary updated

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