WARM: On the Benefits of Weight Averaged Reward Models

Alexandre Ram'e, Nino Vieillard, L'eonard Hussenot, Robert Dadashi, Geoffrey Cideron, Olivier Bachem, Johan Ferret

arXiv:2401.12187 · 2026-07-27 공개 · arXiv · PDF

reinforcement-learning llm-alignment rlhf reward-models summarization model-ensembling distribution-shifts weight-averaging

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.

한국어 요약

한 줄 요약

WARM은 가중치 평균을 통해 생성된 보상 모델로, 보상 해킹을 완화하고 정책 학습의 정확도를 79.4%까지 향상시킨다.

핵심 기여도

핵심 아이디어

WARM은 RLHF 과정에서 발생하는 보상 해킹 문제를 해결하기 위해, 여러 보상 모델의 가중치를 평균하는 방식을 제안한다. 기존의 예측 앙상블(ENS)은 여러 모델의 출력을 평균하는 방식으로, 메모리와 추론 효율성에 제약이 있었다. WARM은 대신, 동일한 사전 학습 모델에서 파생된 여러 보상 모델의 가중치를 평균함으로써, 선형 모드 연결성(linear mode connectivity)을 활용한다. 이는 보상 모델이 분포 이동(distribution shift)에 더 안정적으로 반응하도록 도와주며, 라벨 불일치(label inconsistency)에 대한 내성을 향상시킨다.

WARM의 핵심 통찰은, 보상 모델의 가중치가 사전 학습 기반에서 선형적으로 연결될 수 있다는 사실에 기반한다. 이는 여러 학습 조건(하이퍼파라미터, 라벨 순서 등)에서 생성된 보상 모델 간의 가중치 평균이 일반화 능력을 향상시킬 수 있음을 의미한다.

기술적 접근법

주요 결과

의의 및 한계

WARM은 보상 모델의 신뢰성과 안정성을 향상시키며, RLHF 과정에서 발생하는 보상 해킹 문제를 완화한다. 특히, 선형 모드 연결성을 활용한 가중치 평균 전략은 효율성과 확장성을 동시에 달성한다. 또한, WARM은 분산 학습 환경에서 사용 가능하며, 개인화된 정책 학습 및 다목적 최적화에도 활용 가능하다.

하지만, WARM은 ENS 대비 모델 아키텍처와 사전 학습 다양성을 활용하지 못한다는 한계가 있다. 또한, WARM은 라벨 데이터 내의 스파urious 상관관계를 완전히 제거하지 못하며, 보상 모델 외의 RLHF 과정의 문제(예: 정책 드리프트)는 해결하지 못한다. 따라서, WARM은 책임 있는 AI 전략의 일부로 사용되어야 한다.

실용적 활용

WARM은 대형 언어 모델의 정책 학습 과정에서 안정적인 보상 신호를 제공하여, 요약, 대화형 보조, 코드 생성 등 다양한 NLP 작업에 적용 가능하다. 특히, 라벨 데이터가 불확실하거나 분포 이동이 빈번한 상황에서 유용하며, 산업 현장에서의 안전한 AI 배포를 지원할 수 있다.