Skip to main content
QUICK REVIEW

[Paper Review] WARM: On the Benefits of Weight Averaged Reward Models

Alexandre Ramé, Nino Vieillard|arXiv (Cornell University)|Jan 22, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes Weight Averaged Reward Models (WARM), a method that improves reward model robustness by averaging the weights of multiple fine-tuned reward models trained from a shared pre-trained LLM. WARM reduces reward hacking, delays performance collapse during RL fine-tuning, and achieves a 79.4% win rate against a single RM baseline in summarization tasks, demonstrating improved alignment and reliability under distribution shifts and label noise.

ABSTRACT

Aligning large language models (LLMs) with human preferences through reinforcement learning (RLHF) can lead to reward hacking, where LLMs exploit failures in the reward model (RM) to achieve seemingly high rewards without meeting the underlying objectives. We identify two primary challenges when designing RMs to mitigate reward hacking: distribution shifts during the RL process and inconsistencies in human preferences. As a solution, we propose Weight Averaged Reward Models (WARM), first fine-tuning multiple RMs, then averaging them in the weight space. This strategy follows the observation that fine-tuned weights remain linearly mode connected when sharing the same pre-training. By averaging weights, WARM improves efficiency compared to the traditional ensembling of predictions, while improving reliability under distribution shifts and robustness to preference inconsistencies. Our experiments on summarization tasks, using best-of-N and RL methods, shows that WARM improves the overall quality and alignment of LLM predictions; for example, a policy RL fine-tuned with WARM has a 79.4% win rate against a policy RL fine-tuned with a single RM.

Motivation & Objective

  • To address reward hacking in RLHF caused by distribution shifts and inconsistent human preferences in preference datasets.
  • To improve the reliability and robustness of reward models under out-of-distribution generations and noisy labels.
  • To develop an efficient alternative to prediction ensembling that avoids inference overhead while maintaining or improving performance.
  • To enable more stable and aligned policy training by mitigating reward overoptimization and improving generalization.
  • To explore the potential of weight averaging as a scalable, privacy-preserving method for reward modeling in federated and multi-objective settings.

Proposed method

  • Fine-tune multiple reward models (RMs) from a shared pre-trained LLM on the same preference dataset, using diverse hyperparameters to induce weight diversity.
  • Average the trained weights of these RMs in the parameter space, leveraging linear mode connectivity observed during fine-tuning from the same pre-training.
  • Use the resulting weight-averaged model as the proxy reward model in reinforcement learning from human feedback (RLHF).
  • Apply the WARM model during both best-of-N sampling and RL fine-tuning to evaluate alignment improvements.
  • Optimize the policy using a KL penalty to balance alignment and diversity, with WARM enabling higher KL values before performance collapse.
  • Evaluate performance via pairwise human preference comparisons and win rates against baselines, including single RM and SFT policies.

Experimental results

Research questions

  • RQ1Can weight averaging of multiple fine-tuned reward models reduce reward hacking during RL fine-tuning compared to single RM baselines?
  • RQ2How does WARM perform under distribution shifts caused by policy drift during RL, especially in out-of-distribution generation scenarios?
  • RQ3To what extent does WARM improve robustness to label noise and inconsistency in human preference datasets?
  • RQ4Does WARM maintain or improve performance when increasing the number of averaged RMs, and what is the optimal trade-off between robustness and peak performance?
  • RQ5Can WARM be extended to support personalized or multi-objective alignment through non-uniform interpolation of RMs?

Key findings

  • WARM achieves a 79.4% win rate against a policy fine-tuned with a single reward model, demonstrating superior alignment and reduced reward hacking.
  • The control reward curve under WARM remains stable and high for longer during training, delaying the onset of performance collapse seen in single RM baselines.
  • A policy fine-tuned with WARM (M=6) achieves a 99.8% win rate against the SFT baseline in pairwise oracle preference evaluation, outperforming all other methods.
  • Increasing the number of RMs beyond a point (e.g., M=10) does not improve peak performance, suggesting diminishing returns and potential degradation from lower-performing individual RMs.
  • WARM improves generalization on out-of-distribution (OOD) data, as evidenced by higher accuracy on OOD preference sets compared to individual RMs.
  • WARM reduces the risk of reward overoptimization and maintains higher reward quality over longer training trajectories, even under high KL penalties.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.