Regularizing Hidden States Enables Learning Generalizable Reward Model for LLMs

Rui Yang, Ruomeng Ding, Yong Lin, Huan Zhang, Tong Zhang

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

rlhf out-of-distribution hidden-states reward-models preference-learning llms regularization reward-over-optimization

Abstract

Reward models trained on human preference data have been proven to effectively align Large Language Models (LLMs) with human intent within the framework of reinforcement learning from human feedback (RLHF). However, current reward models have limited generalization capabilities to unseen prompts and responses, which can lead to an unexpected phenomenon known as reward over-optimization, resulting in a decline in actual performance due to excessive optimization of rewards. While previous research has advocated for constraining policy optimization, our study introduces a novel approach to enhance the reward model's generalization ability against distribution shifts by regularizing the hidden states. Specifically, we retain the base model's language model head and incorporate a suite of text-generation losses to preserve the hidden states' text-generation capabilities, while concurrently learning a reward head behind the same hidden states. Our experimental results demonstrate that the introduced regularization technique markedly improves the accuracy of learned reward models across a variety of out-of-distribution (OOD) tasks and effectively alleviates the over-optimization issue in RLHF, offering a more reliable and robust preference learning paradigm.

한국어 요약

한 줄 요약

GRM은 히든 스테이트 정규화를 통해 LLM의 보상 모델 일반화 능력을 향상시키는 새로운 방법이다.

핵심 기여도

핵심 아이디어

기존 보상 모델은 랜덤 초기화된 보상 헤드가 사전 학습된 히든 스테이트를 왜곡하여 OOD 성능 저하를 유발할 수 있다. 이를 해결하기 위해 GRM은 히든 스테이트에 텍스트 생성 정규화를 적용하여 보상 헤드 학습과 동시에 히든 스테이트의 생성 능력을 유지한다. 이는 동일한 히든 스테이트를 공유하는 언어 모델 헤드와 보상 헤드를 통해 이루어진다. GRM은 별도의 추가 데이터나 다중 보상 모델 학습 없이도 일반화 능력을 향상시킬 수 있다.

기술적 접근법

주요 결과

의의 및 한계

GRM은 보상 모델의 일반화 능력을 향상시키는 새로운 패러다임을 제시하며, RLHF에서의 오버오티마이제이션 문제를 완화할 수 있다. 특히, 별도의 추가 데이터나 복잡한 앙상블 기법 없이도 성능을 개선할 수 있어 실용적이다. 그러나 GRM은 히든 스테이트의 정규화에만 초점을 맞추고 있어, 보상 헤드 구조나 정규화 계수 $ \alpha $의 최적화에 대한 연구는 여전히 필요하다. 또한, 다양한 도메인에서의 일반화 성능 검증이 추가적으로 필요할 수 있다.

실용적 활용

GRM은 LLM의 RLHF 과정에서 보다 안정적이고 일반화된 보상 모델을 학습할 수 있어, 대규모 언어 모델의 인간 가치 정렬에 유용하게 활용될 수 있다. 특히, 데이터가 제한된 상황이나 보상 모델의 과적합을 방지해야 하는 산업적 응용 분야에서 효과적일 것으로 기대된다.