HAF-RM: A Hybrid Alignment Framework for Reward Model Training
Shujun Liu, Xiaoyu Shen, Yuhang Lai, Siyuan Wang, Shengbin Yue, Zengfeng Huang, Xuanjing Huang, Zhongyu Wei
TL;DR
This work introduces HaF-RM, a Hybrid Alignment Framework for reward-model training that jointly optimizes a shared internal preference model across reward and policy components while adding a token-level policy loss to complement the standard reward loss. The key idea is to couple token-level supervision with sequence-level reward optimization through a hybrid loss $\mathcal{L}_H = \mathbb{E}_d[ D_1(r(d), r^*(d)) + \alpha\cdot D_2(\pi(d), \pi^*(d)) ]$, enabling better calibration and alignment of reward models. Empirical results on five public datasets across multiple backbones show HaF outperforms Baseline and DPO in intrinsic reward evaluation and downstream tasks such as Best-of-N and RLHF, with stronger generalization to out-of-distribution data. The framework offers a principled approach to enhancing reward-model reliability, pointing to practical improvements in RLHF pipelines and data construction for LLM alignment. The work provides code and demonstrates that incorporating policy loss as regularization can stabilize representations and improve performance across varied language-model backbones.
Abstract
The reward model has become increasingly important in alignment, assessment, and data construction for large language models (LLMs). Most existing researchers focus on enhancing reward models through data improvements, following the conventional training framework for reward models that directly optimizes the predicted rewards. In this paper, we propose a hybrid alignment framework HaF-RM for reward model training by introducing an additional constraint on token-level policy probabilities in addition to the reward score. It can simultaneously supervise the internal preference model at the token level and optimize the mapping layer of the reward model at the sequence level. Experiment results on five datasets sufficiently show the validity and effectiveness of our proposed hybrid framework for training a high-quality reward model. By decoupling the reward modeling procedure and incorporating hybrid supervision, our HaF-RM framework offers a principled and effective approach to enhancing the performance and alignment of reward models, a critical component in the responsible development of powerful language models. We release our code at https://haf-rm.github.io.
