Unifying Stable Optimization and Reference Regularization in RLHF
Li He, Qiang Qu, He Zhao, Stephen Wan, Dadong Wang, Lina Yao, Tongliang Liu
TL;DR
The paper tackles reward hacking and unstable optimization in RLHF by unifying two regularization mechanisms through a dual-KL objective. It introduces an interpolated reference target $\pi_{ref} \propto \pi_0^{\alpha} \pi_t^{1-\alpha}$ and derives a practical DAR algorithm that reframes alignment as a weighted supervised fine-tuning problem with a closed-form optimal policy. Theoretical analysis shows the dual-KL objective dynamically adapts the reference target as learning progresses, expanding the search space beyond the initial policy while maintaining stability. Empirically, DAR outperforms online RLHF and DAP baselines across diverse tasks, achieving superior reward/regularization trade-offs and improved learning stability, with ablations confirming the necessity of the regression-based formulation. The work offers a computationally efficient, simpler alternative to PPO-based RLHF and provides a foundation for broader applications of dual-KL regularization in LLM alignment.
Abstract
Reinforcement Learning from Human Feedback (RLHF) has advanced alignment capabilities significantly but remains hindered by two core challenges: \textbf{reward hacking} and \textbf{stable optimization}. Current solutions independently address these issues through separate regularization strategies, specifically a KL-divergence penalty against a supervised fine-tuned model ($π_0$) to mitigate reward hacking, and policy ratio clipping towards the current policy ($π_t$) to promote stable alignment. However, the implicit trade-off arising from simultaneously regularizing towards both $π_0$ and $π_t$ remains under-explored. In this paper, we introduce a unified regularization approach that explicitly balances the objectives of preventing reward hacking and maintaining stable policy updates. Our simple yet principled alignment objective yields a weighted supervised fine-tuning loss with a superior trade-off, which demonstrably improves both alignment results and implementation complexity. Extensive experiments across diverse benchmarks validate that our method consistently outperforms RLHF and online preference learning methods, achieving enhanced alignment performance and stability.
