Discriminative Policy Optimization for Token-Level Reward Models
Hongzhan Chen, Tao Yang, Shiping Gao, Ruijun Chen, Xiaojun Quan, Hongtao Tian, Ting Yao
TL;DR
This work introduces the Q-function Reward Model (Q-RM), a token-level, discriminative-policy–based reward model that decouples reward estimation from language generation. By linking the optimal discriminative logits $Z^*(s_t,a_t)$ to the optimal Q-function via $\beta\log\phi^*(s_t,a_t)=Q^*(s_t,a_t)-V^*(s_t)$, the method derives token-level rewards and an efficient training objective suitable for PPO and REINFORCE. The authors prove a linear relationship between $Q^*$ and $Z^*$, reformulate the reward signals to be computation-friendly, and demonstrate substantial improvements over ORM and token-level PRMs across mathematical reasoning, machine reading comprehension, and instruction-following tasks, with dramatically faster convergence. Overall, Q-RM provides finer-grained credit assignment, reduces instability in token-level RLHF, and delivers practical, scalable gains in alignment of LLMs.
Abstract
Process reward models (PRMs) provide more nuanced supervision compared to outcome reward models (ORMs) for optimizing policy models, positioning them as a promising approach to enhancing the capabilities of LLMs in complex reasoning tasks. Recent efforts have advanced PRMs from step-level to token-level granularity by integrating reward modeling into the training of generative models, with reward scores derived from token generation probabilities. However, the conflict between generative language modeling and reward modeling may introduce instability and lead to inaccurate credit assignments. To address this challenge, we revisit token-level reward assignment by decoupling reward modeling from language generation and derive a token-level reward model through the optimization of a discriminative policy, termed the Q-function Reward Model (Q-RM). We theoretically demonstrate that Q-RM explicitly learns token-level Q-functions from preference data without relying on fine-grained annotations. In our experiments, Q-RM consistently outperforms all baseline methods across various benchmarks. For example, when integrated into PPO/REINFORCE algorithms, Q-RM enhances the average Pass@1 score by 5.85/4.70 points on mathematical reasoning tasks compared to the ORM baseline, and by 4.56/5.73 points compared to the token-level PRM counterpart. Moreover, reinforcement learning with Q-RM significantly enhances training efficiency, achieving convergence 12 times faster than ORM on GSM8K and 11 times faster than step-level PRM on MATH. Code and data are available at https://github.com/homzer/Q-RM.
