Skip to content

Helping or Herding? Reward Model Ensembles Mitigate but do not Eliminate Reward Hacking

optionalextendedfrontierpaperrubric 7/122023 · CoLM 2024 · ~25 min

Jacob Eisenstein, Chirag Nagpal, Alekh Agarwal, …, Jonathan Berant

Status

TL;DR. Reward models with nearly identical in-distribution accuracy give very different rewards once a policy is optimised against them. The authors call this underspecification. Ensembles help, especially when members differ in pretraining seed, but they do not stop reward hacking, because all members can share the same mistakes.

Train 25 T5 reward models per task and scale (base, large, XL): 5 pretraining seeds × 5 fine-tuning seeds. Tasks are TL;DR summarisation, helpfulness dialogue and XSum/NLI. Measure how far members agree on outputs from best-of-n and RLHF, then aggregate them with mean, median or mean minus standard deviation. The Bradley–Terry loss is invariant to adding a prompt-dependent constant C(x)C(x), so the authors add a term η (r(x,y+)+r(x,y−))2\eta\,(r(x,y^+) + r(x,y^-))^2 to put all members on a common scale.

On tl;dr at XL scale, best-of-n with a pretrain ensemble (mean) wins 90% against SFT outputs, against 87.3% for a fine-tune ensemble and 85.3% for an average single RM. In helpfulness, list-formatted outputs rise to about 50%, compared with about 8% in the preference data. TL;DR summaries get longer and more extractive, and XSum/NLI outputs get shorter with fewer specific details such as numbers. The authors explain: “all reward models in the ensemble exhibit similar error patterns” (Eisenstein et al., abstract).

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Bradley–Terry training is unchanged if an RM adds any prompt-dependent constant C(x). Two members score two candidates for the same prompt: member 1 gives (a, b) = (1, 0), member 2 gives (0, 1). Under the min aggregator, which candidate wins if C₁ = C₂ = 0, if member 1 adds C₁ = +5, and if instead member 2 adds C₂ = +5? Explain how the paper's regulariser η·(r⁺ + r⁻)² fixes this.

    What a strong answer covers
    • No offsets: min(a) = min(1, 0) = 0 and min(b) = min(0, 1) = 0, a tie.
    • C₁ = +5: min(a) = min(6, 0) = 0 and min(b) = min(5, 1) = 1, so b wins. Effectively only member 2 is used.
    • C₂ = +5: min(a) = min(1, 5) = 1 and min(b) = min(0, 6) = 0, so a wins. The choice is decided by an offset that training never constrained.
    • The mean aggregator is unaffected within a prompt (the offsets shift both candidates equally), but order statistics such as min and median are not meaningful without a shared scale.
    • The regulariser pushes the sum of rewards for each preference pair toward zero, so every member places pairs around the same centre. That makes median and min comparable across members.
  2. Mechanism

    The paper finds that ensembles whose members differ in pretraining seed beat ensembles that differ only in fine-tuning seed, yet both still produce the same hacks (lists, longer and more extractive summaries). Explain both findings in terms of where the members' errors come from.

    What a strong answer covers
    • Fine-tuning seeds share one pretrained representation, so members make similar errors out of distribution. Averaging them removes little.
    • Different pretraining seeds give different representations, so errors are less correlated and aggregation cancels more of them (tl;dr XL BoN win rate: 90% pretrain ensemble vs 87.3% finetune ensemble vs 85.3% for a single RM).
    • All members are trained on the same preference data. If that data rewards a feature (lists, length, copying) on the region of response space the policy moves into, every member learns it and the errors are shared.
    • Ensembles reduce variance, not shared bias. They also underestimate uncertainty far from the training data, so disagreement-based penalties do not fire where they are needed.
  3. Design

    You grade RAG answers with an "ensemble" of LLM judges and use it as an RL reward. Using this paper's results, decide how to build the ensemble and what you would monitor to catch hacks the whole ensemble shares.

    What a strong answer covers
    • Diversity should come from pretraining: use judges from different model families, not the same model with different prompts or seeds.
    • Put the judges on a common scale (normalise per prompt, or calibrate on anchor pairs) before using median or min.
    • Monitor features that every member might reward: answer length, list or markdown formatting, copying from retrieved passages, citation count. Compare their rates with those in the human-labelled data, as the paper does for lists (about 50% of outputs vs about 8% in the preference data).
    • Keep a non-judge check, such as nugget recall against human-verified nuggets, because ensemble agreement does not mean correctness.

Done with this page?

Status