WARM: On the Benefits of Weight Averaged Reward Models
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.
Cite
Text
Rame et al. "WARM: On the Benefits of Weight Averaged Reward Models." International Conference on Machine Learning, 2024.Markdown
[Rame et al. "WARM: On the Benefits of Weight Averaged Reward Models." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/rame2024icml-warm/)BibTeX
@inproceedings{rame2024icml-warm,
title = {{WARM: On the Benefits of Weight Averaged Reward Models}},
author = {Rame, Alexandre and Vieillard, Nino and Hussenot, Leonard and Dadashi-Tazehozi, Robert and Cideron, Geoffrey and Bachem, Olivier and Ferret, Johan},
booktitle = {International Conference on Machine Learning},
year = {2024},
pages = {42048-42073},
volume = {235},
url = {https://mlanthology.org/icml/2024/rame2024icml-warm/}
}