RM-OPD: On-Policy Distillation for Generative Reward Models
Organizations: Zhejiang University · Xiaohongshu Inc. · University of Science and Technology of China
Abstract
Reinforcement Learning on Mixed-domain preference data (Mix-RL) has become the mainstream approach for training general-purpose Generative Reward Models (GRMs). However, Mix-RL suffers from two critical bottlenecks: the reward sparsity induced by outcome rewards, and the cross-domain interference arising from jointly optimizing heterogeneous capabilities, which together give rise to imbalanced capability acquisition and pervasive reward hacking. Inspired by the success of On-Policy Distillation (OPD) in multi-domain capability integration, we introduce RM-OPD (Reward Modeling via On-Policy Distillation), a two-stage framework that separates specialist acquisition from capability integration. First, we cultivate domain-specialized teacher models via single-domain GRPO fine-tuning, allowing each expert to reach its performance ceiling in isolation; then we consolidate these teachers into one student model through (i) routed on-policy distillation, which provides dense signed token-level supervision on student-generated critiques; (ii) domain contribution reweighting, which reweights token guidance toward target domain shares, preventing specific domains from dominating optimization; and (iii) optional criteria context distillation, which conditions teachers on domain-specific evaluation criteria to sharpen token-level supervision. Across multiple RM benchmarks and two base models, RM-OPD consistently outperforms vanilla Mix-RL and other strong baselines, achieving overall superior performance and exhibiting an emergent "teacher-surpassing" effect. These results establish RM-OPD as a promising paradigm for building generalist GRMs.
Figures & tables
| Model | Safety | Math | Code | ||
|---|---|---|---|---|---|
| Base | 71.89 | 86.58 | 86.79 | ||
| Math | 68.92 | ( 2.97) | 96.42 | 91.57 | |
| Code | 67.97 | ( 0.95) | 93.96 | ( 2.46) | 93.39 |
| Safety | 82.16 | 92.62 | ( 1.34) | 93.80 | |
| Model | RM-Bench | RewardBench | RewardBench 2 | JudgeBench | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Safety | Math | Code | Overall | Safety | Math | Code | Overall | Safety | Math | Overall | Math | Code | Overall | |
| Base Models (LLM-as-a-Judge) | ||||||||||||||
| Qwen2.5-7B-Instruct | 85.13 | 59.95 | 50.24 | 65.11 | 82.57 | 62.64 | 86.38 | 77.20 | 69.78 | 39.89 | 54.84 | 55.56 | 60.27 | 57.92 |
| DeepSeek-R1-Distill-Qwen-7B | 78.28 | 82.50 | 56.73 | 72.50 | 71.89 | 86.58 | 86.79 | 81.75 | 32.67 | 57.92 | 45.30 | 67.78 | 49.32 | 58.55 |
| Existing Generative Reward Models | ||||||||||||||
| JudgeLRM-7B | 87.23 | 60.45 | 51.75 | 66.48 | 80.41 | 64.43 | 80.08 | 74.97 | 68.67 | 44.26 | 56.47 | 67.78 | 60.27 | 64.03 |
| Model | Math | Code | Safety | Avg. |
|---|---|---|---|---|
| Base | 73.70 | 62.93 | 59.91 | 65.51 |
| RL Teacher | 86.91 | 74.05 | 76.38 | 79.11 |
| RM-OPD | ||||
| w/ DCR | 86.02 | 73.85 | 78.60 | 79.49 |
| w/o DCR | 86.11 | 70.42 | 76.13 | 77.55 |
| (vs. w/ DCR) | +0.09 | -3.43 | -2.48 | -1.94 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Value |
|---|---|
| Data and sampling | |
| Maximum prompt length | 6,144 tokens |
| Maximum response length | 8,192 tokens |
| Training batch size | 128 prompts |
| Rollouts per prompt | 8 |
| Sampling temperature | 1.0 |
| Source | Size |
|---|---|
| Mathematics (25,000) | |
| math_rlvr mixture | 24,277 |
| Skywork Magpie Math | 619 |
| HelpSteer3 STEM (math-filtered) | 104 |
| Code (24,201) | |
| Themis-CodePreference | 9,501 |
| Benchmark | Math | Code | Safety | Total |
|---|---|---|---|---|
| RewardBench | 447 | 984 | 740 | 2,171 |
| RewardBench 2 | 183 | – | 450 | 633 |
| RM-Bench | 4,761 | 2,052 | 3,969 | 10,782 |
| RMB | – | 1,224 | 7,064 | 8,288 |
| RMB-BoN | – | 280 | 1,677 | 1,957 |
| JudgeBench | 90 | 73 | – | 163 |
| Model | RMB | RMB-BoN | PKU-SafeRLHF | Themis | Average | ||||
|---|---|---|---|---|---|---|---|---|---|
| Safety | Code | Overall | Safety | Code | Overall | Safety | Code | All 16 | |
| Base Models (LLM-as-a-Judge) | |||||||||
| Qwen2.5-7B-Instruct | 78.38 | 77.04 | 77.71 | 61.54 | 57.86 | 59.70 | 65.96 | 67.72 | 66.31 |
| DeepSeek-R1-Distill-Qwen-7B | 63.46 | 70.42 | 66.94 | 45.32 | 43.93 | 44.63 | 56.80 | 58.89 | 63.08 |
| Existing Generative Reward Models | |||||||||
| JudgeLRM-7B | 78.43 | 78.27 | 78.35 | 63.27 | 63.57 | 63.42 | 65.62 | 64.40 | 67.43 |
| Training domains | Model | Math | Code | Safety |
|---|---|---|---|---|
| – | Base | 73.70 | 62.93 | 59.91 |
| Separate specialists | RL Teacher | 86.91 | 74.05 | 76.38 |
| Math | Mix-RL | 83.87 | 68.57 | 56.25 |
| RM-OPD | 84.10 | 68.91 | 56.14 | |
| Math+Code | Mix-RL | 84.71 | 70.50 | 55.73 |
| RM-OPD | 86.99 | 71.53 | 58.00 |
| Benchmark | Domain | w/ DCR | w/o DCR | (vs. w/ DCR) |
|---|---|---|---|---|
| RM-Bench | Safety | 92.01 | 90.35 | -1.66 |
| Math | 91.30 | 91.89 | +0.59 | |
| Code | 60.62 | 57.85 | -2.77 | |
| RewardBench | Safety | 84.05 | 83.11 | -0.94 |
| Math | 95.75 | 95.53 | -0.22 | |
| Code | 95.02 | 93.50 | -1.52 |
Reward Modeling
Reward modeling learns scores or rankings that capture human goals and task success, guiding AI selection, reinforcement learning, and alignment.
See all 325 papers