reinforcement-learning large-language-models reward-modeling rlhf direct-preference-optimization model-scales alignment-algorithms reward-over-optimization
Abstract
Reinforcement Learning from Human Feedback (RLHF) has been crucial to the recent success of Large Language Models (LLMs), however, it is often a complex and brittle process. In the classical RLHF framework, a reward model is first trained to represent human preferences, which is in turn used by an online reinforcement learning (RL) algorithm to optimize the LLM. A prominent issue with such methods is reward over-optimization or reward hacking, where performance as measured by the learned proxy reward model increases, but true quality plateaus or even deteriorates. Direct Alignment Algorithms (DDAs) like Direct Preference Optimization have emerged as alternatives to the classical RLHF pipeline by circumventing the reward modeling phase. However, although DAAs do not use a separate proxy reward model, they still commonly deteriorate from over-optimization. While the so-called reward hacking phenomenon is not well-defined for DAAs, we still uncover similar trends: at higher KL budgets, DAA algorithms exhibit similar degradation patterns to their classic RLHF counterparts. In particular, we find that DAA methods deteriorate not only across a wide range of KL budgets but also often before even a single epoch of the dataset is completed. Through extensive empirical experimentation, this work formulates and formalizes the reward over-optimization or hacking problem for DAAs and explores its consequences across objectives, training regimes, and model scales.
한국어 요약
한 줄 요약
DPO, IPO, SLIC 등 Direct Alignment Algorithms(DAAs)가 KL-divergence 예산 증가에 따라 RLHF와 유사한 reward over-optimization 현상을 보인다.
핵심 기여도
- DPO, IPO, SLIC 알고리즘을 DAA 프레임워크로 통합하여 실험적으로 분석.
- 1B, 2.8B, 6.9B 규모의 모델에서 KL-divergence 예산 증가에 따라 성능 저하 발생.
- DAA가 단일 에포크 내에서도 성능이 불안정하게 유지됨을 밝힘.
- DAA의 최적화 문제는 under-constrained nature로 인해 over-optimization 발생.
핵심 아이디어
DAA는 RLHF의 reward model 학습 단계를 우회하여 정책을 직접 최적화하는 알고리즘으로, 계산 효율성이 높다. 그러나 DAA는 reward model 없이도 reward over-optimization 현상을 보인다. 이는 DAA가 학습된 reward function을 결정적으로 매핑하는 방식이기 때문에, Goodhart의 법칙과 유사한 문제를 겪는다. 연구는 DAA가 KL-divergence 예산이 높아질수록 RLHF와 유사한 성능 저하 패턴을 보인다는 점을 발견했다. 특히, DAA는 단일 에포크 내에서도 일관되지 않은 성능을 보여, 학습 동작이 불안정하다는 점을 밝혔다.
기술적 접근법
- **알고리즘**: DPO (Direct Preference Optimization), IPO, SLIC
- **모델 규모**: 1B, 2.8B, 6.9B 파라미터
- **KL-divergence 예산**: 다양한 수준에서 실험 수행
- **학습 프레임워크**: DAA 알고리즘을 통합하여, reward model 없이 정책을 직접 최적화
- **비교 대상**: RLHF와 유사한 over-optimization 현상 분석
- **분석 포인트**: 단일 에포크 내 성능 변화, KL-budget에 따른 성능 저하
주요 결과
- DAA 알고리즘(DPO, IPO, SLIC)은 KL-divergence 예산 증가에 따라 성능이 저하됨.
- 1B, 2.8B, 6.9B 규모의 모델 모두에서 유사한 over-optimization 패턴 관찰.
- DAA는 단일 에포크 내에서도 성능이 불안정하게 유지됨.
- RLHF와 유사한 reward hacking 현상이 DAA에서도 발생함을 실험적으로 밝힘.
의의 및 한계
이 연구는 DAA가 reward model 없이도 reward over-optimization 현상을 겪는다는 점을 처음으로 실험적으로 밝혀내는 데 기여한다. 이는 DAA가 단순한 supervised learning 이상의 복잡한 최적화 문제를 포함하고 있음을 시사한다. 그러나 연구는 6.9B 이하 모델만 실험했기 때문에, 더 큰 모델에서의 현상은 명시되지 않음. 또한, DAA의 under-constrained 최적화 문제에 대한 해결책은 제시되지 않았다.
실용적 활용
이 연구는 LLM 정렬 알고리즘 설계 시 reward over-optimization을 예방하기 위한 새로운 접근법을 모색하는 데 도움을 줄 수 있다. 특히, DAA를 사용하는 산업적 응용(예: 챗봇, 코드 생성, 고객 서비스)에서 성능 저하를 방지하기 위한 KL-budget 조절 전략이 필요하다.