Bayesian Preference Learning for Test-Time Steerable Reward Models
{"primary":"cs.LG","secondary":["cs.CL"]}local graph
Bayesian Preference Learning for Test-Time Steerable Reward Models
Section titled “Bayesian Preference Learning for Test-Time Steerable Reward Models”Authors: Jiwoo Hong, Shao Tang, Zhipeng Wang
arxiv: 2602.08819
Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.
Abstract
Section titled “Abstract”Reward models are central to aligning language models with human preferences via reinforcement learning (RL). As RL is increasingly applied to settings such as verifiable rewards and multi-objective alignment, RMs are expected to encode more complex and multifaceted preference distributions. However, classifier RMs remain static once trained, limiting their adaptability at test time. We propose Variational In-Context Reward Modeling (ICRM), a novel Bayesian reward modeling objective that enables test-time steerability via in-context preference demonstrations. ICRM casts reward modeling as amortized variational inference over a latent preference probability under the Bradley-Terry model using a conjugate Beta prior. We show that ICRM adapts to unseen preference distributions at test time for both single and multi-objective settings. With more demonstrations, ICRM improves RM-Bench accuracy from 60.5 to 70.8, achieves lower calibration error than a generative judge on moral dilemma preferences, and expands the attainable Pareto frontier under conflicting preferences. We further study the practical applicability of ICRM for RL training, showing that it can effectively encode verifiable rewards by outperforming a conventional RM in math reasoning. Finally, we provide theoretical guarantees that the variational objective admits a global interior optimum with finite confidence, and we analyze how KL regularization mitigates reward over-optimization.
1 Introduction
Section titled “1 Introduction”Reward models (RMs) serve as essential proxies for human preferences in language model post-training, including reinforcement learning with human feedback (RLHF) (Ziegler et al., 2020; Ouyang et al., 2022; Stiennon et al., 2020). Specifically, triplets comprising a prompt, a preferred response, and a dispreferred response are used to parameterize the preference distribution under the Bradley–Terry (BT) model (Bradley and Terry, 1952). Neural classifiers, i.e., classifier RMs, act as estimators of the BT strength parameter, with theoretical guarantees that, given sufficient preference data, the learned RM can approximate the “true” human preference distribution (Bong and Rinaldo, 2022; Rafailov et al., 2023). This formulation enables the learned RM to act as a standalone proxy for a single concatenation of prompt and response, which is practically useful for RLHF training.
However, classifier RMs face two data-driven limitations: (1) they are static once trained on a given dataset, and (2) they are prone to over-optimization (Gao et al., 2023; Hong et al., 2025). While LLM-as-a-Judge (Kim et al., 2024) offers flexible evaluation criteria with strong performance (Lambert et al., 2025; Malik et al., 2025; Liu et al., 2025b), these gains often rely on proprietary models (Comanici et al., 2025; OpenAI et al., 2024), implying substantial compute and data costs. Hence, it is desirable to design an efficient classifier RM that remains adaptable to unseen data while avoiding over-optimization by being test-time steerable.
In this paper, we introduce a variational in-context reward modeling (ICRM) framework grounded in a Bayesian view of preferences. Our method approximates the true preference distribution with a Beta posterior conditioned on in-context preference demonstrations. In detail, placing a Beta prior on the BT model yields a closed-form training loss via variational inference. This variational loss enables ICRM to learn preferences in-context with few-shot demonstrations, allowing test-time steerability of a classifier RM that can dynamically adapt to one or more mixtures of arbitrary preferences, as in Figure 1. Furthermore, we prove that a KL penalty to the Beta prior tempers the learned preference mean and yields a global interior optimum. Our main contributions are summarized below:
-
Principled variational preference learning: We propose a reward modeling objective that enables RMs to infer test-time preferences from in-context preference samples. We prove that regularizing the Beta posterior with a uniform Beta prior guarantees a global interior optimum, tempering excessive maximization of the preference mean on training data.
-
Single and multi-objective test-time steerability: We show that the variational design yields both directional and calibrated steerability, and extends to multi-objective preference trade-offs. With an increasing number of demonstrations, ICRM improves RM-Bench accuracy by over 10% point and increases hypervolume by 4% on conflicting RM-Bench Safety subsets.
-
Parameterizing verifiable rewards with ICRM: We apply ICRM to reinforcement learning with verifiable rewards (RLVR), where it outperforms both the verifier and the Bradley-Terry reward model on math reasoning, achieving over 2.5% point accuracy compared to the gold verifier.

Figure 1 : Variational in-context reward modeling ( ICRM ) with Beta prior for the Bradley-Terry (BT) model. ICRM directly encodes the mean and sharpness of the Beta posterior given in-context preference demonstrations, allowing multi-objective test-time steerability for any unseen preferences.
2 Background
Section titled “2 Background”Preliminaries.
Section titled “Preliminaries.”A classifier reward model (RM), , is a function parameterized by that outputs a score indicating the quality of a prompt-response pair (Ziegler et al., 2020):
| (1) |
where is a projection head initialized by (Stiennon et al., 2020; Huang et al., 2024; Hong et al., 2025) and is the last hidden state from the backbone language model. These models are typically trained on a dataset of human preferences, , where is the preferred (“chosen”) response and is the dispreferred (“rejected”) response for a given prompt . The training objective maximizes the log-likelihood of the preferences according to the Bradley-Terry (BT) model (Bradley and Terry, 1952),
| (2) |
which posits that the probability of being preferred over is given by a logistic function of the difference in their reward scores. The final loss function is defined as:
| (3) |
Once the preference distribution shown in the training set is encoded into via fine-tuning, it cannot be adaptively updated at test time without additional training, limiting the flexibility of RMs.
Estimating the true preference distribution.
Section titled “Estimating the true preference distribution.”Prior work in offline preference learning supports that, with sufficient pairwise comparisons, fitted models recover underlying preferences (Rafailov et al., 2023; Hejna et al., 2024). In the classical BT setting, the maximum-likelihood estimator (MLE) exists and enjoys consistency and asymptotic normality. For any context and pair , if is the probability estimated by the MLE and the true probability, then Thus, with sufficient data, a learned BT model converges to the true preference distribution. We study the parameterization of the BT model and its applications in Appendix A.
Bayesian treatment of the Bradley-Terry model.
Section titled “Bayesian treatment of the Bradley-Terry model.”Bayesian treatment of the BT model necessitates the selection of a suitable prior distribution for parameters (Chen and Smith, 1984; Whelan, 2017; Wainer, 2023; Fageot et al., 2024). The general form of the model with contenders is parameterized by a vector of strength scores . Typically, the Bayesian formulation in those cases defines the prior distributions directly on each strength parameter: e.g., Gaussian prior (Wainer, 2023) and a Dirichlet prior (Chen and Smith, 1984).
3 Variational In-Context Reward Modeling
Section titled “3 Variational In-Context Reward Modeling”We present a novel Bayesian reward modeling objective by framing in-context reward modeling as a problem of amortized variational inference. The central idea is to approximate the true preference distribution with a Beta posterior conditioned on in-context preference demonstrations.
3.1 Problem Setup
Section titled “3.1 Problem Setup”Prior.
Section titled “Prior.”We introduce a latent random variable represents the probability of being preferred over given prompt and demonstrations , i.e., . This captures the preference standard specific to the pair under context and prompt . We assume there exists a true but intractable context-dependent prior, , that reflects implicit preference functions learned in context. Conditioned on , the likelihood of the observed outcome , , belongs to the Bernoulli family.
Posterior.
Section titled “Posterior.”By Bayes’ rule, the true posterior over after observing , i.e., our inferential target is:
| (4) |
where is omitted. However, this is intractable as the context-dependent prior lacks a simple analytical form due to the complex dynamics of in-context learning. Throughout, we focus on . Thus, we approximate the posterior distribution through , which is denoted as for notational brevity.
3.2 Reward Modeling as Variational Inference
Section titled “3.2 Reward Modeling as Variational Inference”We parameterize with model , which directly maps the inputs to the parameters of an approximate posterior distribution, namely the variational in-context reward modeling (ICRM). We outline the choice of the prior distribution and propose the final learning objective for ICRM.
Beta prior for the Bradley-Terry model.
Section titled “Beta prior for the Bradley-Terry model.”Building on the discussion of the Bayesian treatment of the BT model, we propose using a Beta prior for the BT model in reward modeling. The setting for reinforcement learning from human feedback (RLHF) typically involves a single pairwise comparison given the prompt (Wang et al., 2024b; Liu et al., 2025a). This specialization to significantly reduces the problem’s complexity, i.e., likelihood of observing preference outcomes for this pair follows a Bernoulli distribution parameterized by . For a Bernoulli likelihood, the conjugate prior for the parameter is the Beta distribution: , where encodes our initial belief about the preference before observing any data.
Amortized variational approximation of posterior.
Section titled “Amortized variational approximation of posterior.”Given the Beta prior, we approximate the posterior distribution using a reward model with a two-dimensional projection head , returning a utility score and a confidence (i.e., evidence) score , which are context dependent. For , we have both scores, each for the chosen and rejected responses and , shortened as , and . We reparameterize the Beta posterior with and , where
| (5) |
with . Here is the posterior predictive probability and controls concentration. The approximate posterior is , with and . This construction preserves the BT model as a special case: the posterior mean of recovers the BT preference probability, while the concentration reflects the amount of evidence.
Evidence lower bound for variational objective.
Section titled “Evidence lower bound for variational objective.”Since the true posterior is intractable as described in Section 3.1, we formulate the inference task as an optimization problem using variational inference to approximate the true posterior with the reward model . Inspired by Joo et al. (2020), we train the model by maximizing the Evidence Lower Bound (ELBO) for the observed preference . The loss is the negative ELBO:
| (6) |
where in the regularization term omits . The first term in (6) represents the reconstruction error, measuring how well the approximate posterior explains the observed outcome . For a Beta distribution, this expectation has a known closed form solution involving the digamma function, :
| (7) |
Minimizing this term increases toward 1, favoring , analogous to the standard BT loss (Azar et al., 2024). Meantime, controls how sharply the distribution concentrates around this preference.
The second term in (6) is the Kullback-Leibler (KL) divergence from the model’s approximate posterior to the prior . As the true prior is intractable, we replace it with a fixed, uninformative prior , e.g., a uniform prior with . And is a monotonically decreasing schedule that down-weights the KL term as the amount of contextual evidence grows. This term regularizes the approximation, preventing the posterior from deviating excessively from the prior, especially when contextual evidence is minimal, e.g., is small. The KL divergence between two Beta distributions, and , has a closed form solution (Loaiza-Ganem and Cunningham, 2019):
| \begin{split}\mathbb{D}\_{\mathrm{KL}}(q\,\mid\mid\,p)&=\log\frac{\Gamma(\alpha\_{q}+\beta\_{q})}{\Gamma(\alpha\_{q})\Gamma(\beta\_{q})}-\log\frac{\Gamma(\alpha\_{p}+\beta\_{p})}{\Gamma(\alpha\_{p})\Gamma(\beta\_{p})}+(\alpha\_{q}-\alpha\_{p})[\psi(\alpha\_{q})-\psi(\alpha\_{q}+\beta\_{q})]\\ &~~+(\beta\_{q}-\beta\_{p})[\psi(\beta\_{q})-\psi(\alpha\_{q}+\beta\_{q})],\end{split} | (8) |
Finally, the dynamic hyperparameter controls this balance: when the context is minimal (), a large forces the posterior to remain close to the uninformative prior, i.e., high uncertainty. As more examples are added to the context, decreases, allowing the reconstruction term to dominate and the model to form a more confident, data-driven posterior distribution. Combining these components, the fully-specified loss is defined as:
| (9) |
where are functions of and with predefined . For notational convenience, we henceforth write .
Choice of uniform Beta prior for the divergence penalty.
Section titled “Choice of uniform Beta prior for the divergence penalty.”As in (9), the divergence penalty can be controlled with the predefined prior distribution . If we have explicitly collected annotations for the pair for given few-shot examples , we may set unique . However, it is typically hard to collect such data. Thus, we assume , implying the uniform distribution on preferring over without any information. Potentially, synthetic personas (Singh et al., 2025) or voting over multiple preference models (Yang et al., 2024c) can be used to generate such data to provide a more informative prior.
3.3 Analysis
Section titled “3.3 Analysis”One common failure mode of the Bradley-Terry (BT) reward model is over-optimization (Gao et al., 2023), in which the preference probabilities converge to and fit into the local optima of the true human preference distribution (Azar et al., 2024; Hong et al., 2025). The proposed KL-regularized variational objective directly addresses this issue, i.e., it precludes boundary minima—ensuring an interior optimum—and, via the same KL term, imposes a quantitative edge-behavior barrier that moderates the excessive growth of the score margin at high preference probabilities.
Lemma 3.1 (Edge behavior at finite confidence).
Section titled “Lemma 3.1 (Edge behavior at finite confidence).”Let denote the ICRM preference with and . For , as ,
Here, is regularized by . As training increases , in the utility coefficient increases for any finite , thereby penalizing further growth of the utility and preventing uncontrolled maximization of when taking a gradient descent step (see Appendices F and G for proof). Since the Lemma 3.1 is for finite , we next prove that the global minimizer indeed has .
Theorem 3.2.
Section titled “Theorem 3.2.”Assume and . Every global minimizer of defined in (9) satisfies
Consequently, this provides a theoretically guaranteed prevention of reward model over-optimization via preference mean tempering. See Appendix H for proof.
4 Experiments
Section titled “4 Experiments”Given a single trained ICRM, we validate the test-time steerability from two aspects: (1) directional steerability and (2) calibrated steerability. Then, we conduct a case study on a multi-objective setting.
-
Calibrated Steerability (single-objective): Can ICRM steer its posterior predictive mean in proportion to the preference mixture specified by in-context demonstrations ?
-
Directional steerability (single-objective): Does the posterior predictive mean adapt to the implicit preference distribution induced by in-context demonstrations ?
-
Multi-Objective Steerability: Can the posterior predictive mean encode competing preferences with respect to the in-conttext demonstrations ?
4.1 Training Configurations
Section titled “4.1 Training Configurations”We use Qwen3-4B (Yang et al., 2025) and Llama-3.2-3B (Dubey et al., 2024). We use the pre-trained base models to prevent biased prior preference distributions from post-training. The projection head is initialized with (Huang et al., 2024). We use Skywork-Preferences-v0.2 (Liu et al., 2024), assuming each dataset reflects a consistent implicit preference distribution. For each training instance, we construct in-context demonstrations with , sampled within train data. We use a prompt template without any arbitrary instructions in Appendix B to minimize template bias. We sweep different and report the training dynamics in the Appendix C, along with the detailed training details.
4.2 Evaluation Configurations
Section titled “4.2 Evaluation Configurations”Calibrated steerability.
Section titled “Calibrated steerability.”We test whether ICRM can encode the degree of a preference shift specified by the composition of on challenging human-generated moral dilemma preference pairs from princi/pal (Wang, 2025). Given drawn from SafeRLHF, we vary the preference mixture by flipping an fraction of demonstrations given , where . Let denote the accuracy as a realized rate at which the model follows the flipped preference on held-out pairs. We measure calibrated steerability with:
| $$\mathrm{ECE}=\frac{1}{ | \mathcal{R} | }\sum_{r\in\mathcal{R}}\left |
Directional steerability.
Section titled “Directional steerability.”We use SafeRLHF (Ji et al., 2023), HHH Alignment (Srivastava et al., 2023), and RM-Bench (Liu et al., 2025b). For the first two benchmarks and four domains in RM-Bench, we randomly sample pairs to construct within each domain. We then compare the scores for and conditioned on for preference accuracy, where is drawn from the held-out data. We report the mean and standard deviation of four runs.
Multi-objective steerability.
Section titled “Multi-objective steerability.”We use the Safety-Should-Respond and Safety-Should-Refuse subsets of the RM-Bench Safety domain, corresponding to benign and adversarial prompts. We construct by mixing demonstrations from the two subsets with ratio , where denotes the proportion of helpfulness examples. For each , we trace the Pareto frontier and report hypervolume (Zitzler and Thiele, 1999, HV) relative to . HV is reported only for methods that induce a frontier, since static RMs correspond to single operating points.
Baselines.
Section titled “Baselines.”We add five reward models (RMs) with different modeling objectives, which were trained with the open-source datasets. First, we compare with three classifier RMs, Bradley-Terry (Liu et al., 2024), ArmoRM (Wang et al., 2024a), and GRM (Yang et al., 2024d). Additionally, we test the two generative RM approaches: plain generative use of post-trained Qwen3-4B (“LLM-as-a-Judge” in Table 1) (Zheng et al., 2023a) and GRAM-r2 (Wang et al., 2026). We use the default prompt template of RM-Bench for LLM-as-a-Judge.
5 Results
Section titled “5 Results”5.1 Calibrated Steerability (Single-Objective)
Section titled “5.1 Calibrated Steerability (Single-Objective)”Figure 2 : Calibrated steerability. Calibration analysis with ECE ( ↓ \downarrow ) and RMSE ( ↓ \downarrow ) between the flipping ratio of demonstrations and the preference accuracy on moral dilemma preference pairs.
Figure 2 evaluates whether ICRM can follow the degree of preference shift specified by the composition of . As the flipping ratio increases, ICRM consistently increases the rate of selecting the flipped preference on moral dilemma pairs, showing a monotonic response to the preference mixture. The resulting curves are closer to the ideal diagonal calibration curve than the Qwen3-4B LLM-as-a-Judge baseline across all tested context sizes. The calibration errors show the same trend. Across , ICRM obtains lower ECE and RMSE than the baseline, with ECE decreasing from at to at . These results indicate that ICRM can encode graded preference mixtures at test time, rather than only steering toward a single preference direction. Based on the extended calibrated steerability analysis for different and base models in Appendix D, we select Qwen3-4B ICRM with as the best model by having the smallest ECE and RMSE.
(a) HHH-Alignment ( Srivastava et al., 2023 )
Table 1: RM-Bench evaluation results with the standard deviation of four random seeds for ICRM.
| RM-Bench | |||||
| Chat | Safety | Code | Math | Avg. | |
| Generative | |||||
| LLM-as-a-Judge | 69.2 | 90.9 | 54.3 | 67.6 | 70.3 |
| GRAM-r2 | 61.1 | 92.9 | 54.7 | 61.6 | 67.6 |
| Classifier | |||||
| BTRM | 69.3 | 96.0 | 53.2 | 62.1 | 70.2 |
| ArmoRM | 67.8 | 92.4 | 53.1 | 57.5 | 67.7 |
| GRM | 62.7 | 90.0 | 57.8 | 62.5 | 68.2 |
| ICRM (Ours) | |||||
| 48.212.6 | 85.615.4 | 50.26.5 | 58.010.1 | 60.53.5 | |
| 58.03.2 | 91.30.9 | 50.85.4 | 59.32.0 | 64.92.0 | |
| 59.53.2 | 92.00.9 | 53.35.8 | 58.01.8 | 65.72.0 | |
| 66.61.9 | 91.70.2 | 53.76.1 | 58.51.1 | 67.61.6 | |
| 64.51.8 | 92.40.9 | 54.32.5 | 58.70.4 | 67.40.4 | |
| 69.83.1 | 91.14.1 | 55.00.7 | 60.30.7 | 69.10.9 | |
| 70.13.0 | 95.40.5 | 55.42.0 | 62.11.1 | 70.81.0 |
5.2 Directional Steerability (Single-Objective)
Section titled “5.2 Directional Steerability (Single-Objective)”General human preference benchmark.
Section titled “General human preference benchmark.”In Table 1 with increasing numbers of in-context demonstrations , we generally observe a monotonic increase in the preference accuracy across the domains. For instance, the “Chat” domain gains 22.9% from to , enhancing the average RM-Bench score around 10.3% in total.
Safety and helpfulness benchmarks.
Section titled “Safety and helpfulness benchmarks.”Figure 3 evaluates directional steerability on safety and helpfulness benchmarks by testing both the original pairwise labels (“Standard”) and flipped labels (“Reversed”). This measures whether ICRM can adapt to the preference direction specified by . Across both benchmarks, ICRM increasingly follows the reversed preference direction as grows, reaching up to 89% accuracy even when the demonstrations favor more harmful or dishonest responses. Since the classifier RM baselines are fixed after training, they cannot adapt to these reversed standards, highlighting ICRM’s test-time steerability under extreme preference shifts.
Learned Beta posterior of ICRM.
Section titled “Learned Beta posterior of ICRM.”For both Figure 3 and Table 1, we consistently observe the two trends with increasing : (1) increasing average accuracy and (2) decreasing standard deviation. This empirically shows that the unspecified prior of ICRM is steered at test time towards a sharper Beta posterior from a uniform prior, being a gradual trace of how the posterior mean is learned in-context, thereby aligning with its theoretical design.
5.3 Multi-Objective Steerability
Section titled “5.3 Multi-Objective Steerability”(a) Pareto Frontier (Llama-3.2-3B)
Figures 4(a) and 4(b) evaluate multi-objective steerability between “should respond” and “should refuse” behaviors on RM-Bench. Each point is obtained by conditioning ICRM on demonstrations mixed with ratio , where denotes the proportion of response-oriented examples.
Pareto frontier analysis.
Section titled “Pareto frontier analysis.”Across both backbones, ICRM produces smooth trade-off curves: increasing raises “Should Respond” accuracy while reducing “Should Refuse” accuracy. This indicates that the posterior mean reflects the mixed preference distribution induced by , rather than collapsing to a single objective. Static RMs appear as isolated operating points because they cannot condition on test-time preference compositions. Backbone strength affects the absolute quality of the frontier. With Llama-3.2-3B, ICRM spans a wide range of operating points but does not uniformly dominate static RMs. With Qwen3-4B, ICRM becomes competitive with or Pareto-dominant over most static baselines across much of the trade-off space. Thus, while Pareto dominance depends on the base model, ICRM enables continuous test-time navigation of the multi-objective preference space.
Hypervolume analysis.
Section titled “Hypervolume analysis.”Figure 4(c) summarizes these frontiers using hypervolume (HV). HV increases with , showing that additional demonstrations expand the attainable trade-off region. Under the Beta posterior view, larger provides stronger contextual evidence, yielding sharper but still steerable posteriors. Qwen3-4B consistently obtains higher HV than Llama-3.2-3B, suggesting a more effective amortized posterior under the same steering mechanism.
6 ICRM in Reinforcement Learning with Verifiable Rewards
Section titled “6 ICRM in Reinforcement Learning with Verifiable Rewards”Variational construction naturally provides a principled extension of scoring. Given that the approximate posterior is parameterized by (5) for a pair of responses, we can interpret as the local contribution to and as the local contribution to for a single :
| (11) |
Intuitively, both addresses the directionality of preference through and the strength of contextual evidence through , yielding a reward signal that is not only comparable across responses but also calibrated to the reliability of in-context demonstrations.
6.1 Experimental Setup
Section titled “6.1 Experimental Setup”We evaluate ICRM in the reinforcement learning with verifiable rewards (RLVR) setting for mathematical reasoning by comparing it to a task-specific verifier. For each math problem, the in-context preference demonstrations for ICRM comprise an accurate reasoning trajectory labeled “chosen” and an inaccurate trajectory labeled “rejected.” We train Qwen3-1.7B-Base (Yang et al., 2025) on INTELLECT-MATH11 1 https://huggingface.co/datasets/PrimeIntellect/INTELLECT-MATH-SFT-Data using GRPO (Shao et al., 2024) under four reward configurations: (1) ICRM: Qwen3-4B-Base ICRM with and with demonstrations; (2) BTRM: Skywork-Reward-Llama-3.1-8B-v0.2 (Liu et al., 2024) trained on the same preference data; and (3) Verifier: exact-match against gold answers. The training details are provided in Appendix E.1.
6.2 Results
Section titled “6.2 Results”(a) Reward to Accuracy
Table 2: Correlation analysis for the alignment between RM and exact match accuracy on RLVR.
| Pearson | MATH500 | |||
|---|---|---|---|---|
| Qwen3-1.7B (Base) | - | - | 37.2% | |
| Verifier | - | - | - | 50.4% |
| Bradley-Terry | 0.663 | 0.439 | 0.428 | 51.4% |
| ICRM () | 0.685 | 0.469 | 0.461 | 50.2% |
| ICRM () | 0.691 | 0.477 | 0.459 | 53.8% |
Reward correlation analysis.
Section titled “Reward correlation analysis.”In Figure 5, we plot how ICRM’s rewards are actually calibrated to the gold accuracy validated by the verifier and ICRM’s practical benefit in parameterizing verifiable rewards. Table 2 analyzes the correlation between the verified accuracy and the reward models’ scores for each training step. Through Pearson and of linear () and isotonic () regression analysis in Table 2, we observe that ICRM with has a stronger alignment with the accuracy, implying that the verifiable rewards also can be encoded via ICRM. We select ICRM with for RLVR training based on the correlation analysis results.
Reinforcement learning with ICRM.
Section titled “Reinforcement learning with ICRM.”In Table 2, the policy trained with ICRM outperforms both the policies trained with the BT reward model and exact match in MATH500 accuracy. With ICRM, the policy achieved an accuracy of up to , whereas it was at most and for verifier and BTRM cases, respectively.
Conclusion
Section titled “Conclusion”We introduced Variational In-Context Reward Modeling (ICRM), a Bayesian reward modeling framework that makes classifier reward models test-time steerable by treating Bradley-Terry (BT) preferences as latent probabilities with Beta posteriors conditioned on in-context preference demonstrations. The KL-regularized variational objective calibrates posterior confidence and guarantees an interior optimum, providing a principled mechanism for tempering reward over-optimization. Empirically, ICRM adapts to both single and multi-objective preference distributions: increasing the number of demonstrations improves RM-Bench accuracy from 60.5 to 70.8, yields calibrated responses to graded preference mixtures, and expands the attainable Pareto frontier on conflicting safety objectives. In reinforcement learning with verifiable rewards, ICRM also parameterizes math correctness as an in-context preference signal, reaching 53.8% MATH-500 accuracy and outperforming both verifier and BT reward model as rewards. Overall, ICRM provides a theoretically grounded and practically effective route toward reward models that can adapt to unseen preference standards after training.
References
Section titled “References”- Ankner et al. (2024) Z. Ankner, M. Paul, B. Cui, J. D. Chang, and P. Ammanabrolu Critique-out-loud reward models. arXiv preprint arXiv:2408.11791. External Links: Link Cited by: Appendix A.
- Azar et al. (2024) M. G. Azar, Z. D. Guo, B. Piot, R. Munos, M. Rowland, M. Valko, and D. Calandriello A general theoretical paradigm to understand learning from human preferences. In International Conference on Artificial Intelligence and Statistics, pp. 4447–4455. Cited by: §3.2, §3.3.
- Bong and Rinaldo (2022) H. Bong and A. Rinaldo Generalized results for the existence and consistency of the MLE in the bradley-terry-luce model. In Proceedings of the 39th International Conference on Machine Learning, K. Chaudhuri, S. Jegelka, L. Song, C. Szepesvari, G. Niu, and S. Sabato (Eds.), Proceedings of Machine Learning Research, Vol. 162, pp. 2160–2177. External Links: Link Cited by: §1.
- Bradley and Terry (1952) R. A. Bradley and M. E. Terry Rank analysis of incomplete block designs: i. the method of paired comparisons. Biometrika 39 (3/4), pp. 324–345. External Links: ISSN 00063444, Link Cited by: §1, §2.
- Chen and Smith (1984) C. Chen and T. M. Smith A bayes-type estimator for the bradley-terry model for paired comparison. Journal of statistical planning and inference 10 (1), pp. 9–14. Cited by: §2.
- Chen et al. (2025) C. Chen, Z. Liu, C. Du, T. Pang, Q. Liu, A. Sinha, P. Varakantham, and M. Lin Bootstrapping language models with DPO implicit rewards. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix A.
- Comanici et al. (2025) G. Comanici, E. Bieber, M. Schaekermann, I. Pasupat, N. Sachdeva, I. Dhillon, M. Blistein, O. Ram, D. Zhang, E. Rosen, L. Marris, S. Petulla, C. Gaffney, A. Aharoni, N. Lintz, T. C. Pais, H. Jacobsson, I. Szpektor, N. Jiang, K. Haridasan, A. Omran, N. Saunshi, D. Bahri, G. Mishra, E. Chu, T. Boyd, B. Hekman, A. Parisi, C. Zhang, and K. K. et al. Gemini 2.5: pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. External Links: 2507.06261, Link Cited by: §1.
- Cui et al. (2025) G. Cui, L. Yuan, N. Ding, G. Yao, B. He, W. Zhu, Y. Ni, G. Xie, R. Xie, Y. Lin, Z. Liu, and M. Sun ULTRAFEEDBACK: boosting language models with scaled ai feedback. In Proceedings of the 41st International Conference on Machine Learning, ICML’24. Cited by: Appendix A.
- Dao (2024) T. Dao FlashAttention-2: faster attention with better parallelism and work partitioning. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: Appendix C.
- Das et al. (2024) N. Das, S. Chakraborty, A. Pacchiano, and S. Ray Chowdhury Active preference optimization for sample efficient rlhf. arXiv preprint arXiv:2402.10500. Note: Accepted at ECML-PKDD 2025 External Links: Link Cited by: Appendix A.
- Dettmers et al. (2022) T. Dettmers, M. Lewis, S. Shleifer, and L. Zettlemoyer 8-bit optimizers via block-wise quantization. 9th International Conference on Learning Representations, ICLR. Cited by: Appendix C.
- Dettmers et al. (2023) T. Dettmers, A. Pagnoni, A. Holtzman, and L. Zettlemoyer QLoRA: efficient finetuning of quantized llms. In Advances in Neural Information Processing Systems, A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (Eds.), Vol. 36, pp. 10088–10115. Cited by: Appendix C.
- Dherin et al. (2025) B. Dherin, M. Munn, H. Mazzawi, M. Wunder, and J. Gonzalvo Learning without training: the implicit dynamics of in-context learning. External Links: 2507.16003, Link Cited by: Appendix A.
- Dubey et al. (2024) A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Yang, A. Fan, A. Goyal, A. Hartshorn, A. Yang, A. Mitra, A. Sravankumar, A. Korenev, A. Hinsvark, A. Rao, A. Zhang, A. Rodriguez, A. Gregerson, A. Spataru, B. Roziere, B. Biron, B. Tang, B. Chern, C. Caucheteux, C. Nayak, C. Bi, C. Marra, C. McConnell, C. Keller, C. Touret, C. Wu, C. Wong, C. C. Ferrer, C. Nikolaidis, D. Allonsius, D. Song, D. Pintz, D. Livshits, D. Esiobu, D. Choudhary, D. Mahajan, D. Garcia-Olano, D. Perino, D. Hupkes, E. Lakomkin, E. AlBadawy, E. Lobanova, E. Dinan, E. M. Smith, F. Radenovic, F. Zhang, G. Synnaeve, G. Lee, G. L. Anderson, G. Nail, G. Mialon, G. Pang, G. Cucurell, H. Nguyen, H. Korevaar, H. Xu, H. Touvron, I. Zarov, I. A. Ibarra, and I. K. et al The llama 3 herd of models. External Links: 2407.21783, Link Cited by: §4.1.
- Eisenstein et al. (2024) J. Eisenstein, C. Nagpal, A. Agarwal, A. Beirami, A. N. D’Amour, K. D. Dvijotham, A. Fisch, K. A. Heller, S. R. Pfohl, D. Ramachandran, P. Shaw, and J. Berant Helping or herding? reward model ensembles mitigate but do not eliminate reward hacking. In First Conference on Language Modeling, External Links: Link Cited by: Appendix A, Appendix A.
- Ethayarajh et al. (2024) K. Ethayarajh, W. Xu, N. Muennighoff, D. Jurafsky, and D. Kiela KTO: model alignment as prospect theoretic optimization. External Links: 2402.01306 Cited by: Appendix A.
- Fageot et al. (2024) J. Fageot, S. Farhadkhani, L. Hoang, and O. Villemaud Generalized bradley-terry models for score estimation from paired comparisons. Proceedings of the AAAI Conference on Artificial Intelligence 38 (18), pp. 20379–20386. External Links: Link, Document Cited by: §2.
- Gao et al. (2023) L. Gao, J. Schulman, and J. Hilton Scaling laws for reward model overoptimization. In Proceedings of the 40th International Conference on Machine Learning, A. Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett (Eds.), Proceedings of Machine Learning Research, Vol. 202, pp. 10835–10866. External Links: Link Cited by: §1, §3.3.
- Gupta et al. (2025) A. Gupta, S. Tang, Q. Song, S. Zhu, J. Hong, A. Saha, V. Gupta, N. Lee, E. Kim, S. Zhu, P. Agrawal, N. S. Pillai, and S. Keerthi AlphaPO: reward shape matters for LLM alignment. In Forty-second International Conference on Machine Learning, External Links: Link Cited by: Appendix A.
- Hejna et al. (2024) J. Hejna, R. Rafailov, H. Sikchi, C. Finn, S. Niekum, W. B. Knox, and D. Sadigh Contrastive preference learning: learning from human feedback without reinforcement learning. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: §2.
- Hong et al. (2025) J. Hong, N. Lee, E. Kim, G. Son, W. Chung, A. Gupta, S. Tang, and J. Thorne On the robustness of reward models for language model alignment. In Forty-second International Conference on Machine Learning, External Links: Link Cited by: §1, §2, §3.3.
- Hong et al. (2024) J. Hong, N. Lee, and J. Thorne ORPO: monolithic preference optimization without reference model. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Y. Al-Onaizan, M. Bansal, and Y. Chen (Eds.), Miami, Florida, USA, pp. 11170–11189. External Links: Link Cited by: Appendix A.
- Hsu et al. (2024) P. Hsu, Y. Dai, V. Kothapalli, Q. Song, S. Tang, S. Zhu, S. Shimizu, S. Sahni, H. Ning, and Y. Chen Liger kernel: efficient triton kernels for llm training. External Links: 2410.10989, Link Cited by: §E.1.
- Hu et al. (2024) J. Hu, X. Wu, Z. Zhu, Xianyu, W. Wang, D. Zhang, and Y. Cao OpenRLHF: an easy-to-use, scalable and high-performance rlhf framework. arXiv preprint arXiv:2405.11143. Cited by: §E.1.
- Huang et al. (2024) S. Huang, M. Noukhovitch, A. Hosseini, K. Rasul, W. Wang, and L. Tunstall The n+ implementation details of RLHF with PPO: a case study on TL;DR summarization. In First Conference on Language Modeling, External Links: Link Cited by: §2, §4.1.
- Ji et al. (2023) J. Ji, M. Liu, J. Dai, X. Pan, C. Zhang, C. Bian, B. Chen, R. Sun, Y. Wang, and Y. Yang BeaverTails: towards improved safety alignment of LLM via a human-preference dataset. In Thirty-seventh Conference on Neural Information Processing Systems Datasets and Benchmarks Track, External Links: Link Cited by: §4.2, 3(b), 3(b).
- Joo et al. (2020) T. Joo, U. Chung, and M. Seo Being Bayesian about categorical probability. In Proceedings of the 37th International Conference on Machine Learning, H. D. III and A. Singh (Eds.), Proceedings of Machine Learning Research, Vol. 119, pp. 4950–4961. External Links: Link Cited by: §3.2.
- Kim et al. (2024) S. Kim, J. Shin, Y. Cho, J. Jang, S. Longpre, H. Lee, S. Yun, S. Shin, S. Kim, J. Thorne, and M. Seo Prometheus: inducing fine-grained evaluation capability in language models. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: §1.
- Kwon et al. (2023) W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. Gonzalez, H. Zhang, and I. Stoica Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles, SOSP ’23, New York, NY, USA, pp. 611–626. External Links: ISBN 9798400702297, Link, Document Cited by: §E.1.
- Lambert et al. (2024) N. Lambert, J. Morrison, V. Pyatkin, S. Huang, H. Ivison, F. Brahman, L. J. V. Miranda, A. Liu, N. Dziri, S. Lyu, Y. Gu, S. Malik, V. Graf, J. D. Hwang, J. Yang, R. L. Bras, O. Tafjord, C. Wilhelm, L. Soldaini, N. A. Smith, Y. Wang, P. Dasigi, and H. Hajishirzi Tulu 3: pushing frontiers in open language model post-training. External Links: 2411.15124, Link Cited by: Appendix A, Appendix C.
- Lambert et al. (2025) N. Lambert, V. Pyatkin, J. Morrison, L. J. V. Miranda, B. Y. Lin, K. Chandu, N. Dziri, S. Kumar, T. Zick, Y. Choi, N. A. Smith, and H. Hajishirzi RewardBench: evaluating reward models for language modeling. In Findings of the Association for Computational Linguistics: NAACL 2025, L. Chiruzzo, A. Ritter, and L. Wang (Eds.), Albuquerque, New Mexico, pp. 1755–1797. External Links: Link, ISBN 979-8-89176-195-7 Cited by: §1.
- Lampinen et al. (2025) A. K. Lampinen, A. Chaudhry, S. C. Y. Chan, C. Wild, D. Wan, A. Ku, J. Bornschein, R. Pascanu, M. Shanahan, and J. L. McClelland On the generalization of language models from in-context learning and finetuning: a controlled study. External Links: 2505.00661, Link Cited by: Appendix A.
- Li et al. (2025) T. Li, W. Chiang, E. Frick, L. Dunlap, T. Wu, B. Zhu, J. E. Gonzalez, and I. Stoica From crowdsourced data to high-quality benchmarks: arena-hard and benchbuilder pipeline. In Forty-second International Conference on Machine Learning, External Links: Link Cited by: Appendix A.
- Lin et al. (2025) B. Lin, W. Jiang, Y. Xu, H. Chen, and Y. Chen PARM: multi-objective test-time alignment via preference-aware autoregressive reward model. In Forty-second International Conference on Machine Learning, External Links: Link Cited by: Appendix A.
- Liu et al. (2024) C. Y. Liu, L. Zeng, J. Liu, R. Yan, J. He, C. Wang, S. Yan, Y. Liu, and Y. Zhou Skywork-Reward: Bag of Tricks for Reward Modeling in LLMs. arXiv. Note: arXiv:2410.18451 [cs] External Links: Link, Document Cited by: Appendix A, §4.1, §4.2, §6.1.
- Liu et al. (2025a) C. Y. Liu, L. Zeng, Y. Xiao, J. He, J. Liu, C. Wang, R. Yan, W. Shen, F. Zhang, J. Xu, Y. Liu, and Y. Zhou Skywork-reward-v2: scaling preference data curation via human-ai synergy. arXiv preprint arXiv:2507.01352. Cited by: Appendix A, §3.2.
- Liu et al. (2025b) Y. Liu, Z. Yao, R. Min, Y. Cao, L. Hou, and J. Li RM-bench: benchmarking reward models of language models with subtlety and style. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §1, §4.2.
- Loaiza-Ganem and Cunningham (2019) G. Loaiza-Ganem and J. P. Cunningham The continuous bernoulli: fixing a pervasive error in variational autoencoders. In Advances in Neural Information Processing Systems, H. Wallach, H. Larochelle, A. Beygelzimer, F. d’Alché-Buc, E. Fox, and R. Garnett (Eds.), Vol. 32, pp. . External Links: Link Cited by: §3.2.
- Lochab and Zhang (2025) A. Lochab and R. Zhang Energy-based reward models for robust language model alignment. arXiv preprint arXiv:2504.13134. External Links: Link Cited by: Appendix A.
- Loshchilov and Hutter (2019) I. Loshchilov and F. Hutter Decoupled weight decay regularization. In International Conference on Learning Representations, External Links: Link Cited by: Appendix C.
- Lou et al. (2025) X. Lou, D. Yan, W. Shen, Y. Yan, J. Xie, and J. Zhang Uncertainty-aware reward model: teaching reward models to know what is unknown. External Links: 2410.00847, Link Cited by: Appendix A.
- Mahan et al. (2024) D. Mahan et al. Generative reward models. arXiv preprint arXiv:2410.12832. External Links: Link Cited by: Appendix A.
- Malik et al. (2025) S. Malik, V. Pyatkin, S. Land, J. Morrison, N. A. Smith, H. Hajishirzi, and N. Lambert RewardBench 2: advancing reward model evaluation. External Links: 2506.01937, Link Cited by: §1.
- Muldrew et al. (2024) W. Muldrew, P. Hayes, M. Zhang, and D. Barber Active preference learning for large language models. arXiv preprint arXiv:2402.08114. External Links: Link Cited by: Appendix A.
- Naik et al. (2025) A. Naik, Y. Wan, M. Tomar, and R. S. Sutton Reward centering. Reinforcement Learning Journal 4, pp. 1995–2016. Cited by: Appendix A.
- Noukhovitch et al. (2025) M. Noukhovitch, S. Huang, S. Xhonneux, A. Hosseini, R. Agarwal, and A. Courville Faster, more efficient RLHF through off-policy asynchronous learning. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §E.1.
- OpenAI et al. (2024) OpenAI, :, A. Hurst, A. Lerer, A. P. Goucher, A. Perelman, A. Ramesh, A. Clark, A. Ostrow, A. Welihinda, A. Hayes, A. Radford, A. Madry, A. Baker-Whitcomb, A. Beutel, A. Borzunov, A. Carney, A. Chow, A. Kirillov, A. Nichol, A. Paino, A. Renzin, A. T. Passos, A. Kirillov, A. Christakis, A. Conneau, A. Kamali, A. Jabri, A. Moyer, A. Tam, A. Crookes, A. Tootoochian, A. Tootoonchian, A. Kumar, A. Vallone, A. Karpathy, A. Braunstein, A. Cann, A. Codispoti, A. Galu, A. Kondrich, A. Tulloch, A. Mishchenko, A. Baek, A. Jiang, A. Pelisse, A. Woodford, A. Gosalia, A. Dhar, A. Pantuliano, A. Nayak, A. Oliver, B. Zoph, B. Ghorbani, B. Leimberger, B. Rossen, B. Sokolowsky, B. Wang, B. Zweig, B. Hoover, B. Samic, B. McGrew, B. Spero, B. Giertler, B. Cheng, B. Lightcap, B. Walkin, B. Quinn, B. Guarraci, B. Hsu, B. Kellogg, B. Eastman, C. Lugaresi, C. Wainwright, C. Bassin, C. Hudson, C. Chu, C. Nelson, C. Li, C. J. Shern, C. Conger, C. Barette, C. Voss, C. Ding, C. Lu, C. Zhang, C. Beaumont, C. Hallacy, C. Koch, C. Gibson, C. Kim, C. Choi, C. McLeavey, C. Hesse, C. Fischer, C. Winter, C. Czarnecki, C. Jarvis, C. Wei, C. Koumouzelis, D. Sherburn, D. Kappler, D. Levin, D. Levy, D. Carr, D. Farhi, D. Mely, D. Robinson, D. Sasaki, D. Jin, D. Valladares, D. Tsipras, D. Li, D. P. Nguyen, D. Findlay, E. Oiwoh, E. Wong, E. Asdar, E. Proehl, E. Yang, E. Antonow, E. Kramer, E. Peterson, E. Sigler, E. Wallace, E. Brevdo, E. Mays, F. Khorasani, F. P. Such, F. Raso, F. Zhang, F. von Lohmann, F. Sulit, G. Goh, G. Oden, G. Salmon, G. Starace, G. Brockman, H. Salman, H. Bao, H. Hu, H. Wong, H. Wang, H. Schmidt, H. Whitney, H. Jun, H. Kirchner, H. P. de Oliveira Pinto, H. Ren, H. Chang, H. W. Chung, I. Kivlichan, I. O’Connell, I. O’Connell, I. Osband, I. Silber, I. Sohl, I. Okuyucu, I. Lan, I. Kostrikov, I. Sutskever, I. Kanitscheider, I. Gulrajani, J. Coxon, J. Menick, J. Pachocki, J. Aung, J. Betker, J. Crooks, J. Lennon, J. Kiros, J. Leike, J. Park, J. Kwon, J. Phang, J. Teplitz, J. Wei, J. Wolfe, J. Chen, J. Harris, J. Varavva, J. G. Lee, J. Shieh, J. Lin, J. Yu, J. Weng, J. Tang, J. Yu, J. Jang, J. Q. Candela, J. Beutler, J. Landers, J. Parish, J. Heidecke, J. Schulman, J. Lachman, J. McKay, J. Uesato, J. Ward, J. W. Kim, J. Huizinga, J. Sitkin, J. Kraaijeveld, J. Gross, J. Kaplan, J. Snyder, J. Achiam, J. Jiao, J. Lee, J. Zhuang, J. Harriman, K. Fricke, K. Hayashi, K. Singhal, K. Shi, K. Karthik, K. Wood, K. Rimbach, K. Hsu, K. Nguyen, K. Gu-Lemberg, K. Button, K. Liu, K. Howe, K. Muthukumar, K. Luther, L. Ahmad, L. Kai, L. Itow, L. Workman, L. Pathak, L. Chen, L. Jing, L. Guy, L. Fedus, L. Zhou, L. Mamitsuka, L. Weng, L. McCallum, L. Held, L. Ouyang, L. Feuvrier, L. Zhang, L. Kondraciuk, L. Kaiser, L. Hewitt, L. Metz, L. Doshi, M. Aflak, M. Simens, M. Boyd, M. Thompson, M. Dukhan, M. Chen, M. Gray, M. Hudnall, M. Zhang, M. Aljubeh, M. Litwin, M. Zeng, M. Johnson, M. Shetty, M. Gupta, M. Shah, M. Yatbaz, M. J. Yang, M. Zhong, M. Glaese, M. Chen, M. Janner, M. Lampe, M. Petrov, M. Wu, M. Wang, M. Fradin, M. Pokrass, M. Castro, M. O. T. de Castro, M. Pavlov, M. Brundage, M. Wang, M. Khan, M. Murati, M. Bavarian, M. Lin, M. Yesildal, N. Soto, N. Gimelshein, N. Cone, N. Staudacher, N. Summers, N. LaFontaine, N. Chowdhury, N. Ryder, N. Stathas, N. Turley, N. Tezak, N. Felix, N. Kudige, N. Keskar, N. Deutsch, N. Bundick, N. Puckett, O. Nachum, O. Okelola, O. Boiko, O. Murk, O. Jaffe, O. Watkins, O. Godement, O. Campbell-Moore, P. Chao, P. McMillan, P. Belov, P. Su, P. Bak, P. Bakkum, P. Deng, P. Dolan, P. Hoeschele, P. Welinder, P. Tillet, P. Pronin, P. Tillet, P. Dhariwal, Q. Yuan, R. Dias, R. Lim, R. Arora, R. Troll, R. Lin, R. G. Lopes, R. Puri, R. Miyara, R. Leike, R. Gaubert, R. Zamani, R. Wang, R. Donnelly, R. Honsby, R. Smith, R. Sahai, R. Ramchandani, R. Huet, R. Carmichael, R. Zellers, R. Chen, R. Chen, R. Nigmatullin, R. Cheu, S. Jain, S. Altman, S. Schoenholz, S. Toizer, S. Miserendino, S. Agarwal, S. Culver, S. Ethersmith, S. Gray, S. Grove, S. Metzger, S. Hermani, S. Jain, S. Zhao, S. Wu, S. Jomoto, S. Wu, Shuaiqi, Xia, S. Phene, S. Papay, S. Narayanan, S. Coffey, S. Lee, S. Hall, S. Balaji, T. Broda, T. Stramer, T. Xu, T. Gogineni, T. Christianson, T. Sanders, T. Patwardhan, T. Cunninghman, T. Degry, T. Dimson, T. Raoux, T. Shadwell, T. Zheng, T. Underwood, T. Markov, T. Sherbakov, T. Rubin, T. Stasi, T. Kaftan, T. Heywood, T. Peterson, T. Walters, T. Eloundou, V. Qi, V. Moeller, V. Monaco, V. Kuo, V. Fomenko, W. Chang, W. Zheng, W. Zhou, W. Manassra, W. Sheu, W. Zaremba, Y. Patil, Y. Qian, Y. Kim, Y. Cheng, Y. Zhang, Y. He, Y. Zhang, Y. Jin, Y. Dai, and Y. Malkov GPT-4o system card. External Links: 2410.21276, Link Cited by: §1.
- Ouyang et al. (2022) L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems 35, pp. 27730–27744. Cited by: §1.
- Park et al. (2025) C. F. Park, A. Lee, E. S. Lubana, Y. Yang, M. Okawa, K. Nishi, M. Wattenberg, and H. Tanaka ICLR: in-context learning of representations. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix A.
- Rafailov et al. (2023) R. Rafailov, A. Sharma, E. Mitchell, C. D. Manning, S. Ermon, and C. Finn Direct preference optimization: your language model is secretly a reward model. In Thirty-seventh Conference on Neural Information Processing Systems, External Links: Link Cited by: Appendix A, §1, §2.
- Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. K. Li, Y. Wu, and D. Guo DeepSeekMath: pushing the limits of mathematical reasoning in open language models. External Links: 2402.03300, Link Cited by: §6.1.
- Singh et al. (2025) A. Singh, S. Hsu, K. Hsu, E. Mitchell, S. Ermon, T. Hashimoto, A. Sharma, and C. Finn FSPO: few-shot preference optimization of synthetic preference data elicits LLM personalization to real users. In 2nd Workshop on Models of Human Feedback for AI Alignment, External Links: Link Cited by: Appendix A, §3.2.
- Srivastava et al. (2023) A. Srivastava, A. Rastogi, A. Rao, A. A. M. Shoeb, A. Abid, A. Fisch, A. R. Brown, A. Santoro, A. Gupta, A. Garriga-Alonso, A. Kluska, A. Lewkowycz, A. Agarwal, A. Power, A. Ray, A. Warstadt, A. W. Kocurek, A. Safaya, A. Tazarv, A. Xiang, A. Parrish, A. Nie, A. Hussain, A. Askell, A. Dsouza, A. Slone, A. Rahane, A. S. Iyer, A. J. Andreassen, A. Madotto, A. Santilli, A. Stuhlmüller, A. M. Dai, A. La, A. K. Lampinen, A. Zou, A. Jiang, A. Chen, A. Vuong, A. Gupta, A. Gottardi, A. Norelli, A. Venkatesh, A. Gholamidavoodi, A. Tabassum, A. Menezes, A. Kirubarajan, A. Mullokandov, A. Sabharwal, A. Herrick, A. Efrat, A. Erdem, A. Karakaş, B. R. Roberts, B. S. Loe, B. Zoph, B. Bojanowski, B. Özyurt, B. Hedayatnia, B. Neyshabur, B. Inden, B. Stein, B. Ekmekci, B. Y. Lin, B. Howald, B. Orinion, C. Diao, C. Dour, C. Stinson, C. Argueta, C. Ferri, C. Singh, C. Rathkopf, C. Meng, C. Baral, C. Wu, C. Callison-Burch, C. Waites, C. Voigt, C. D. Manning, C. Potts, C. Ramirez, C. E. Rivera, C. Siro, C. Raffel, C. Ashcraft, C. Garbacea, D. Sileo, D. Garrette, D. Hendrycks, D. Kilman, D. Roth, C. D. Freeman, D. Khashabi, D. Levy, D. M. González, D. Perszyk, D. Hernandez, D. Chen, D. Ippolito, D. Gilboa, D. Dohan, D. Drakard, D. Jurgens, D. Datta, D. Ganguli, D. Emelin, D. Kleyko, D. Yuret, D. Chen, D. Tam, D. Hupkes, D. Misra, D. Buzan, D. C. Mollo, D. Yang, D. Lee, D. Schrader, E. Shutova, E. D. Cubuk, E. Segal, E. Hagerman, E. Barnes, E. Donoway, E. Pavlick, E. Rodolà, E. Lam, E. Chu, E. Tang, E. Erdem, E. Chang, E. A. Chi, E. Dyer, E. Jerzak, E. Kim, E. E. Manyasi, E. Zheltonozhskii, F. Xia, F. Siar, F. Martínez-Plumed, F. Happé, F. Chollet, F. Rong, G. Mishra, G. I. Winata, G. de Melo, G. Kruszewski, G. Parascandolo, G. Mariani, G. X. Wang, G. Jaimovitch-Lopez, G. Betz, G. Gur-Ari, H. Galijasevic, H. Kim, H. Rashkin, H. Hajishirzi, H. Mehta, H. Bogar, H. F. A. Shevlin, H. Schuetze, H. Yakura, H. Zhang, H. M. Wong, I. Ng, I. Noble, J. Jumelet, J. Geissinger, J. Kernion, J. Hilton, J. Lee, J. F. Fisac, J. B. Simon, J. Koppel, J. Zheng, J. Zou, J. Kocon, J. Thompson, J. Wingfield, J. Kaplan, J. Radom, J. Sohl-Dickstein, J. Phang, J. Wei, J. Yosinski, J. Novikova, J. Bosscher, J. Marsh, J. Kim, J. Taal, J. Engel, J. Alabi, J. Xu, J. Song, J. Tang, J. Waweru, J. Burden, J. Miller, J. U. Balis, J. Batchelder, J. Berant, J. Frohberg, J. Rozen, J. Hernandez-Orallo, J. Boudeman, J. Guerr, J. Jones, J. B. Tenenbaum, J. S. Rule, J. Chua, K. Kanclerz, K. Livescu, K. Krauth, K. Gopalakrishnan, K. Ignatyeva, K. Markert, K. Dhole, K. Gimpel, K. Omondi, K. W. Mathewson, K. Chiafullo, K. Shkaruta, K. Shridhar, K. McDonell, K. Richardson, L. Reynolds, L. Gao, L. Zhang, L. Dugan, L. Qin, L. Contreras-Ochando, L. Morency, L. Moschella, L. Lam, L. Noble, L. Schmidt, L. He, L. Oliveros-Colón, L. Metz, L. K. Senel, M. Bosma, M. Sap, M. T. Hoeve, M. Farooqi, M. Faruqui, M. Mazeika, M. Baturan, M. Marelli, M. Maru, M. J. Ramirez-Quintana, M. Tolkiehn, M. Giulianelli, M. Lewis, M. Potthast, M. L. Leavitt, M. Hagen, M. Schubert, M. O. Baitemirova, M. Arnaud, M. McElrath, M. A. Yee, M. Cohen, M. Gu, M. Ivanitskiy, M. Starritt, M. Strube, M. Swędrowski, M. Bevilacqua, M. Yasunaga, M. Kale, M. Cain, M. Xu, M. Suzgun, M. Walker, M. Tiwari, M. Bansal, M. Aminnaseri, M. Geva, M. Gheini, M. V. T, N. Peng, N. A. Chi, N. Lee, N. G. Krakover, N. Cameron, N. Roberts, N. Doiron, N. Martinez, N. Nangia, N. Deckers, N. Muennighoff, N. S. Keskar, N. S. Iyer, N. Constant, N. Fiedel, N. Wen, O. Zhang, O. Agha, O. Elbaghdadi, O. Levy, O. Evans, P. A. M. Casares, P. Doshi, P. Fung, P. P. Liang, P. Vicol, P. Alipoormolabashi, P. Liao, P. Liang, P. W. Chang, P. Eckersley, P. M. Htut, P. Hwang, P. Miłkowski, P. Patil, P. Pezeshkpour, P. Oli, Q. Mei, Q. Lyu, Q. Chen, R. Banjade, R. E. Rudolph, R. Gabriel, R. Habacker, R. Risco, R. Millière, R. Garg, R. Barnes, R. A. Saurous, R. Arakawa, R. Raymaekers, R. Frank, R. Sikand, R. Novak, R. Sitelew, R. L. Bras, R. Liu, R. Jacobs, R. Zhang, R. Salakhutdinov, R. A. Chi, S. R. Lee, R. Stovall, R. Teehan, R. Yang, S. Singh, S. M. Mohammad, S. Anand, S. Dillavou, S. Shleifer, S. Wiseman, S. Gruetter, S. R. Bowman, S. S. Schoenholz, S. Han, S. Kwatra, S. A. Rous, S. Ghazarian, S. Ghosh, S. Casey, S. Bischoff, S. Gehrmann, S. Schuster, S. Sadeghi, S. Hamdan, S. Zhou, S. Srivastava, S. Shi, S. Singh, S. Asaadi, S. S. Gu, S. Pachchigar, S. Toshniwal, S. Upadhyay, S. S. Debnath, S. Shakeri, S. Thormeyer, S. Melzi, S. Reddy, S. P. Makini, S. Lee, S. Torene, S. Hatwar, S. Dehaene, S. Divic, S. Ermon, S. Biderman, S. Lin, S. Prasad, S. Piantadosi, S. Shieber, S. Misherghi, S. Kiritchenko, S. Mishra, T. Linzen, T. Schuster, T. Li, T. Yu, T. Ali, T. Hashimoto, T. Wu, T. Desbordes, T. Rothschild, T. Phan, T. Wang, T. Nkinyili, T. Schick, T. Kornev, T. Tunduny, T. Gerstenberg, T. Chang, T. Neeraj, T. Khot, T. Shultz, U. Shaham, V. Misra, V. Demberg, V. Nyamai, V. Raunak, V. V. Ramasesh, vinay uday prabhu, V. Padmakumar, V. Srikumar, W. Fedus, W. Saunders, W. Zhang, W. Vossen, X. Ren, X. Tong, X. Zhao, X. Wu, X. Shen, Y. Yaghoobzadeh, Y. Lakretz, Y. Song, Y. Bahri, Y. Choi, Y. Yang, S. Hao, Y. Chen, Y. Belinkov, Y. Hou, Y. Hou, Y. Bai, Z. Seid, Z. Zhao, Z. Wang, Z. J. Wang, Z. Wang, and Z. Wu Beyond the imitation game: quantifying and extrapolating the capabilities of language models. Transactions on Machine Learning Research. Note: Featured Certification External Links: ISSN 2835-8856, Link Cited by: §4.2, 3(a), 3(a).
- Stiennon et al. (2020) N. Stiennon, L. Ouyang, J. Wu, D. Ziegler, R. Lowe, C. Voss, A. Radford, D. Amodei, and P. F. Christiano Learning to summarize with human feedback. Advances in neural information processing systems 33, pp. 3008–3021. Cited by: §1, §2.
- Sun et al. (2025) H. Sun, Y. Shen, and J. Ton Rethinking reward modeling in preference-based large language model alignment. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix A, Appendix A.
- Tunstall et al. (2024) L. Tunstall, E. E. Beeching, N. Lambert, N. Rajani, K. Rasul, Y. Belkada, S. Huang, L. V. Werra, C. Fourrier, N. Habib, N. Sarrazin, O. Sanseviero, A. M. Rush, and T. Wolf Zephyr: direct distillation of LM alignment. In First Conference on Language Modeling, External Links: Link Cited by: Appendix A.
- Von Oswald et al. (2023) J. Von Oswald, E. Niklasson, E. Randazzo, J. Sacramento, A. Mordvintsev, A. Zhmoginov, and M. Vladymyrov Transformers learn in-context by gradient descent. In Proceedings of the 40th International Conference on Machine Learning, ICML’23. Cited by: Appendix A.
- von Werra et al. (2020) L. von Werra, Y. Belkada, L. Tunstall, E. Beeching, T. Thrush, N. Lambert, S. Huang, K. Rasul, and Q. Gallouédec TRL: transformer reinforcement learning. GitHub. Note: https://github.com/huggingface/trl Cited by: Appendix C, §E.1.
- Wainer (2023) J. Wainer A bayesian bradley-terry model to compare multiple ml algorithms on multiple data sets. Journal of Machine Learning Research 24 (341), pp. 1–34. External Links: Link Cited by: §2.
- Wang et al. (2026) C. Wang, Y. Mu, H. Zhou, Y. Huo, Z. Zhu, J. Zeng, M. Yang, B. Li, X. Hao, C. Zhang, F. Meng, J. Zhu, and T. Xiao GRAM-r²: self-training generative foundation reward models for reward reasoning. Proceedings of the AAAI Conference on Artificial Intelligence 40 (39), pp. 33395–33403. External Links: Link, Document Cited by: §4.2.
- Wang et al. (2024a) H. Wang, W. Xiong, T. Xie, H. Zhao, and T. Zhang Interpretable preferences via multi-objective reward modeling and mixture-of-experts. In Findings of the Association for Computational Linguistics: EMNLP 2024, Y. Al-Onaizan, M. Bansal, and Y. Chen (Eds.), Miami, Florida, USA, pp. 10582–10592. External Links: Link, Document Cited by: §4.2.
- Wang (2025) T. Wang Princi/pal: a moral dilemma tamagotchi game. In The Thirty-ninth Annual Conference on Neural Information Processing Systems Creative AI Track: Humanity, External Links: Link Cited by: §4.2.
- Wang et al. (2025a) Z. Wang, A. Bukharin, O. Delalleau, D. Egert, G. Shen, J. Zeng, O. Kuchaiev, and Y. Dong HelpSteer2-preference: complementing ratings with preferences. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix A.
- Wang et al. (2024b) Z. Wang, Y. Dong, O. Delalleau, J. Zeng, G. Shen, D. Egert, J. J. Zhang, M. N. Sreedhar, and O. Kuchaiev HelpSteer 2: open-source dataset for training top-performing reward models. In The Thirty-eight Conference on Neural Information Processing Systems Datasets and Benchmarks Track, External Links: Link Cited by: §3.2.
- Wang et al. (2025b) Z. Wang, J. Zeng, O. Delalleau, H. Shin, F. Soares, A. Bukharin, E. Evans, Y. Dong, and O. Kuchaiev HelpSteer3-preference: open human-annotated preference data across diverse tasks and languages. External Links: 2505.11475, Link Cited by: Appendix A.
- Wang et al. (2024c) Z. Wang, C. Nagpal, J. Berant, J. Eisenstein, A. N. D’Amour, S. Koyejo, and V. Veitch Transforming and combining rewards for aligning large language models. In Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235, pp. 51161–51176. External Links: Link Cited by: Appendix A.
- Whelan (2017) J. T. Whelan Prior distributions for the bradley-terry model of paired comparisons. External Links: 1712.05311, Link Cited by: §2.
- Xu et al. (2025) Y. Xu, U. M. Sehwag, A. Koppel, S. Zhu, B. An, F. Huang, and S. Ganesh GenARM: reward guided generation with autoregressive reward model for test-time alignment. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix A.
- Yang et al. (2024a) A. X. Yang, M. Robeyns, T. Coste, Z. Shi, J. Wang, H. Bou-Ammar, and L. Aitchison Bayesian reward models for llm alignment. arXiv preprint arXiv:2402.13210. External Links: Link Cited by: Appendix A.
- Yang et al. (2024b) A. X. Yang, M. Robeyns, X. Wang, and L. Aitchison Bayesian low-rank adaptation for large language models. In International Conference on Learning Representations (ICLR), Note: Also known as Laplace-LoRA External Links: Link Cited by: Appendix A.
- Yang et al. (2025) A. Yang, A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, C. Zheng, D. Liu, F. Zhou, F. Huang, F. Hu, H. Ge, H. Wei, H. Lin, J. Tang, J. Yang, J. Tu, J. Zhang, J. Yang, J. Yang, J. Zhou, J. Zhou, J. Lin, K. Dang, K. Bao, K. Yang, L. Yu, L. Deng, M. Li, M. Xue, M. Li, P. Zhang, P. Wang, Q. Zhu, R. Men, R. Gao, S. Liu, S. Luo, T. Li, T. Tang, W. Yin, X. Ren, X. Wang, X. Zhang, X. Ren, Y. Fan, Y. Su, Y. Zhang, Y. Zhang, Y. Wan, Y. Liu, Z. Wang, Z. Cui, Z. Zhang, Z. Zhou, and Z. Qiu Qwen3 technical report. External Links: 2505.09388, Link Cited by: §4.1, §6.1.
- Yang et al. (2024c) J. C. Yang, D. Dailisan, M. Korecki, C. I. Hausladen, and D. Helbing LLM voting: human choices and ai collective decision-making. Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society 7 (1), pp. 1696–1708. External Links: Link, Document Cited by: §3.2.
- Yang et al. (2024d) R. Yang, R. Ding, Y. Lin, H. Zhang, and T. Zhang Regularizing hidden states enables learning generalizable reward model for LLMs. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, External Links: Link Cited by: Appendix A, §4.2.
- Yang et al. (2024e) R. Yang, X. Pan, F. Luo, S. Qiu, H. Zhong, D. Yu, and J. Chen Rewards-in-context: multi-objective alignment of foundation models with dynamic preference adjustment. In Forty-first International Conference on Machine Learning, External Links: Link Cited by: Appendix A.
- Yuan et al. (2025) L. Yuan, G. Cui, H. Wang, N. Ding, X. Wang, B. Shan, Z. Liu, J. Deng, H. Chen, R. Xie, Y. Lin, Z. Liu, B. Zhou, H. Peng, Z. Liu, and M. Sun Advancing LLM reasoning generalists with preference trees. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix A.
- Yuan et al. (2024) W. Yuan, R. Y. Pang, K. Cho, X. Li, S. Sukhbaatar, J. Xu, and J. Weston Self-rewarding language models. In Proceedings of the 41st International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 235, pp. 57905–57923. External Links: Link Cited by: Appendix A.
- Zhao et al. (2023) Y. Zhao, A. Gu, R. Varma, L. Luo, C. Huang, M. Xu, L. Wright, H. Shojanazeri, M. Ott, S. Shleifer, A. Desmaison, C. Balioglu, P. Damania, B. Nguyen, G. Chauhan, Y. Hao, A. Mathews, and S. Li PyTorch fsdp: experiences on scaling fully sharded data parallel. Proc. VLDB Endow. 16 (12), pp. 3848–3860. External Links: Link Cited by: Appendix C.
- Zheng et al. (2023a) L. Zheng, W. Chiang, Y. Sheng, S. Zhuang, Z. Wu, Y. Zhuang, Z. Lin, Z. Li, D. Li, E. Xing, H. Zhang, J. Gonzalez, and I. Stoica Judging llm-as-a-judge with mt-bench and chatbot arena. In Advances in Neural Information Processing Systems, A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (Eds.), Vol. 36, pp. 46595–46623. External Links: Link Cited by: §4.2.
- Zheng et al. (2023b) L. Zheng, W. Chiang, Y. Sheng, S. Zhuang, Z. Wu, Y. Zhuang, Z. Lin, Z. Li, D. Li, E. P. Zhang, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. arXiv preprint arXiv:2306.05685. External Links: Link Cited by: Appendix A.
- Zhu et al. (2024) B. Zhu, E. Frick, T. Wu, H. Zhu, K. Ganesan, W. Chiang, J. Zhang, and J. Jiao Starling-7b: improving helpfulness and harmlessness with RLAIF. In First Conference on Language Modeling, External Links: Link Cited by: Appendix A, Appendix A.
- Ziegler et al. (2020) D. M. Ziegler, N. Stiennon, J. Wu, T. B. Brown, A. Radford, D. Amodei, P. Christiano, and G. Irving Fine-tuning language models from human preferences. External Links: 1909.08593 Cited by: Appendix A, §1, §2.
- Zitzler and Thiele (1999) E. Zitzler and L. Thiele Multiobjective evolutionary algorithms: a comparative case study and the strength pareto approach. IEEE Transactions on Evolutionary Computation 3 (4), pp. 257–271. External Links: Document Cited by: §4.2.
Limitations and Broader Impacts
Section titled “Limitations and Broader Impacts”We propose a novel in-context preference learning reward model (ICRM) that encodes the users’ preferences through few-shot demonstrations. While we set the maximum context length of the trained ICRMs to , an extensive number of few-shot demonstrations could exceed the context length. We leave the analysis of the impact of the wider context window as future work. Similarly, we plan to extend the experiments to more than 32 in-context demonstrations, which is expected to result in a stronger performance based on the experimental results.
As shown through our experiments with the flipped labeled safety preference dataset (“Reversed” in Table 1), the trained ICRM could be steered to prefer harmful behaviors. While having a higher degree of freedom in steering reward models could encourage wider applications of RLHF in language model training, such usage should be accompanied by appropriate safeguards, including restricting access to unsafe steering demonstrations, monitoring for misuse, and enforcing deployment-time policies (e.g., safety filters or refusal constraints) that remain active regardless of the inferred preference distribution.
Appendix A Related Works
Section titled “Appendix A Related Works”In-context learning as implicit fine-tuning
Section titled “In-context learning as implicit fine-tuning”Recent work shows that in-context learning (ICL) in large language models (LLMs) adapts them to new tasks with few-shot examples, similar to explicit fine-tuning [Von Oswald et al., 2023, Lampinen et al., 2025, Park et al., 2025, Dherin et al., 2025]. Specifically, Dherin et al. [2025] proves that a transformer block, composed of a contextual layer (e.g., self-attention) and a subsequent MLP, processes context by implicitly inducing a low-rank weight update on the MLP layer.
Preference data for reward modeling
Section titled “Preference data for reward modeling”Reward models (RMs) in the reinforcement learning with human feedback (RLHF) pipeline serve as proxies for human preferences, trained with the Bradley-Terry loss [Ziegler et al., 2020]. There were attempts to better align RMs to the true human preferences, both from data [Cui et al., 2025, Liu et al., 2024, Wang et al., 2025a] and a modeling perspective [Zhu et al., 2024, Eisenstein et al., 2024, Yuan et al., 2025, Sun et al., 2025]. Ultrafeedback provides broad, multi-domain comparisons over multiple human preference categories with synthetic data [Cui et al., 2025], contributing to diverse language model alignment works [Tunstall et al., 2024, Lambert et al., 2024]. Similarly, Skywork-Preferences [Liu et al., 2024] studies the composition of different synthetic preference data for reward modeling. As an extension, Skywork-V2 [Liu et al., 2025a] and HelpSteer3 [Wang et al., 2025b] move toward multi-million–example coverage with public RM suites, resulting in strong performance of reward models in practice.
Reward modeling in reinforcement learning with human feedback
Section titled “Reward modeling in reinforcement learning with human feedback”In parallel, prior work has proposed various learning objectives for reward modeling. Starling RM applies the Plackett-Luce model by comparing multiple responses given a fixed prompt, generalizing the Bradley-Terry model [Zhu et al., 2024]. Beyond scale, recent work targets data efficiency and robustness: active preference acquisition selects informative comparisons for preference optimization [Muldrew et al., 2024, Das et al., 2024], reward transformations enable principled multi-objective aggregation [Wang et al., 2024c], reward centering improves stability in continuing-RL regimes [Naik et al., 2025], and RM ensembles help mitigate over-optimization under distribution shift [Eisenstein et al., 2024]. Meantime, Sun et al. [2025] explore the generalized application of the BT model in language model reward modeling, such as comprising preference pairs across different prompts.
Multi-objective reward modeling
Section titled “Multi-objective reward modeling”To address the multifaceted nature of human preferences in real-world settings, prior work has explored multi-objective reward models [Xu et al., 2025, Lin et al., 2025]. Xu et al. [2025] propose GenARM, a collective model-merging approach where multiple reward models—each trained for a pre-defined objective—can be merged at test time to realize different trade-offs. Building on this direction, Lin et al. [2025] extend the idea by enabling a single reward model to represent multiple objectives via logit-merging. While these methods advance multi-objective reward modeling, they still require a pre-defined set of objectives (e.g., explicit helpfulness and harmlessness axes) and typically operate within that structured objective space. In contrast, human preferences often arise as an entangled mixture of latent attributes that are difficult to enumerate a priori, motivating methods that can express and adapt to preferences in a more unstructured and user-specified manner (e.g., through demonstrations or contextual evidence) rather than relying solely on fixed objective definitions. Meantime, Yang et al. [2024e] designed an in-context conditioned supervised fine-tuning (SFT) approach to align the policy with point-wise in-context demonstrations. Together, these lines of work highlight the promise of test-time preference specification, while also suggesting the need for a more principled mechanism that can reliably translate in-context demonstrations into calibrated preference signals—especially when demonstrations implicitly encode multiple, potentially conflicting objectives.
Architectures beyond discriminative BT models
Section titled “Architectures beyond discriminative BT models”New RM architectures move past a single scalar head. Generative reward models treat judging as conditional generation, often with chain-of-thought and test-time compute, matching classical BT RMs in-distribution and improving out-of-distribution robustness on RewardBench, with majority-vote/self-consistency giving further gains [Mahan and others, 2024]. Critique-out-loud [Ankner et al., 2024] first produces a natural-language critique and then predicts a scalar reward, improving RewardBench accuracy and delivering Pareto gains on Arena-Hard [Li et al., 2025]. Related self-rewarding and LLM-as-judge lines show that strong LMs can supervise themselves and others, scaling preference signals without proportional human labeling [Yuan et al., 2024, Zheng et al., 2023b]. Robustness-oriented designs include energy-based RMs that refine scores via distributional modeling and conflict-aware filtering [Lochab and Zhang, 2025], and RM training that regularizes shared hidden states to improve generalization and reduce reward hacking [Yang et al., 2024d]. On the policy-learning side, preference-only objectives, e.g., DPO [Rafailov et al., 2023], KTO [Ethayarajh et al., 2024], ORPO [Hong et al., 2024], AlphaPO [Gupta et al., 2025], provide lighter-weight alternatives or complements to PPO-style RLHF and are often paired with stronger RMs or judges for best-of- selection. Some extensions of them leverage them as implicit reward models, demonstrating the versatility of the BT models in policy learning [Singh et al., 2025, Chen et al., 2025].
Uncertainty and Bayesian perspectives
Section titled “Uncertainty and Bayesian perspectives”A growing thread emphasizes calibrated uncertainty to curb reward over-optimization. Laplace-LoRA applies a Laplace approximation over LoRA adapters to yield tractable posterior predictive uncertainty and improved calibration in fine-tuned LMs [Yang et al., 2024b]. Bayesian reward models leverage this uncertainty to attenuate over-optimization in best-of- sampling and out-of-distribution settings [Yang et al., 2024a]. Complementary probabilistic designs explicitly parameterize aleatoric and epistemic uncertainty with probabilistic heads and ensembles, improving RewardBench performance and downstream alignment when coupled with DPO/PPO and best-of- reranking [Lou et al., 2025]. These ideas motivate our approach: a variational in-context reward model that treats reward as a latent random variable and infers a conjugate posterior from a few demonstrations, unifying Bayesian regularization with in-context steerability while remaining compatible with modern preference optimization and reranking workflows.
Appendix B In-Context Preference Learning Template
Section titled “Appendix B In-Context Preference Learning Template”For both in-context reward model (ICRM) training and plain Bradley-Terry model training, we use the template below to prepend in-context preference samples before the prompt-response pair to be evaluated. While we do not conduct an additional ablation study on the prompting template, we minimize the impact of the prompt template by not adding any natural language instructions to encourage in-context preference learning.
Appendix C Training Configurations for ICRM
Section titled “Appendix C Training Configurations for ICRM”We train the reward models with an effective batch size of 128 with a maximum context length of tokens for a single epoch. Omitting the rows that exceed tokens, the models were trained for 512 gradient updates in total. For the learning rate, we use a peak learning rate of with 5% warmup and linear decay applied following Lambert et al. [2024]. We apply Flash-Attention 2 [Dao, 2024], FSDP [Zhao et al., 2023], and Paged AdamW optimizer [Loshchilov and Hutter, 2019, Dettmers et al., 2023] with 8-bit precision [Dettmers et al., 2022] for efficient multi-GPU training. We use the TRL library as the main source of training scripts [von Werra et al., 2020]. We use four NVIDIA H100 (80GiB) GPUs.
C.1 Ablation Study
Section titled “C.1 Ablation Study”Training time
Section titled “Training time”In Figure 6, we report an ablation of ICRM training across , together with the plain BT. As the regularization decreases, the converged increases in Figure 6(a) and the confidence factor increases in Figure 6(b). We analyze these trends theoretically in Section 3.3.
(a) Preference Mean μ \mu
Test time
Section titled “Test time”In Figure 7, we analyze if is calibrated to in the test time. Aligned to the theoretical analysis in Section 3, the model’s prediction indicates stronger confidence, i.e., larger , when is smaller. As demonstrated the widest confidence range as intended in the variational design, we report results for in benchmark evaluations.

Figure 7 : Trend of the confidence factor τ \tau as number of in-context preference demonstrations increase for Qwen3-4B-Base ICRM. τ \tau values were collected from the SafeRLHF evaluation results.
Appendix D Calibrated Steerability Analysis
Section titled “Appendix D Calibrated Steerability Analysis”We extend Figure 2 to the two model families, Qwen3-4B and Llama-3.2-3B, and different choices in Figure 8. Overall, ICRM trained with on Qwen3-4B demonstrates the least ECE and RMSE. Nonetheless, all four checkpoints outperform the LLM-as-a-Judge setting in Figure 2 by having lower ECE and RMSE values. Thus, we select Qwen3-4B ICRM with for the other steerability experiments.
Figure 8 : Extended calibrated steerability analysis across different base models and λ \lambda choices in Section 5.1 .
Appendix E Reinforcement Learning with Verifiable Rewards
Section titled “Appendix E Reinforcement Learning with Verifiable Rewards”E.1 Training Configurations
Section titled “E.1 Training Configurations”In general, we follow the optimizer and distributed training settings from Appendix C. For efficient training, we separately deploy the reward models with the remote deployment script from OpenRLHF [Hu et al., 2024] and apply Liger-Kernel [Hsu et al., 2024] for GRPO loss with vLLM backend [Kwon et al., 2023] for asynchronous online generations [Noukhovitch et al., 2025]. We use Math-Verify22 2 https://github.com/huggingface/Math-Verify as the gold verifier. Overall, the training script was built on top of the TRL library [von Werra et al., 2020]. Hyperparameters for GRPO were set as Table 3.
Table 3: Hyperparameters for GRPO training in Section 6.
| Hyperparameter | Value |
|---|---|
| Number of Rollouts () | 8 |
| Number of Unique Prompts Per Batch () | 64 |
| Learning Rate | |
| Learning Rate Scheduler | Constant |
| KL penalty () | 0.0 |
Appendix F Gradient Analysis of ICRM Loss
Section titled “Appendix F Gradient Analysis of ICRM Loss”Recall (5)
and let denote the digamma function and the trigamma function. The ICRM loss can be written as
where is treated as a constant w.r.t. , and are fixed prior parameters.
Gradients of the Reconstruction Term w.r.t. and
Section titled “Gradients of the Reconstruction Term w.r.t. μ\muμ and τ\tauτ”The reconstruction term is .
w.r.t. .
Section titled “w.r.t. μ\muμ.”Since and does not depend on ,
| (12) |
w.r.t. .
Section titled “w.r.t. τ\tauτ.”Both and depend on :
| (13) |
Gradients of the KL Term w.r.t. and
Section titled “Gradients of the KL Term w.r.t. α\alphaα and β\betaβ”For and , the KL divergence admits the closed form
| --- | --- | --- | --- |
| --- | --- | --- | --- |
| --- | --- | --- | --- |
Differentiating w.r.t. and yields
Gradients of the KL Term w.r.t. and
Section titled “Gradients of the KL Term w.r.t. μ\muμ and τ\tauτ”Using and , we have
w.r.t. .
Section titled “w.r.t. μ\muμ.”w.r.t. .
Section titled “w.r.t. τ\tauτ.”since .
Gradients of the ICRM Loss w.r.t. and
Section titled “Gradients of the ICRM Loss w.r.t. μ\muμ and τ\tauτ”Combining reconstruction and KL contributions:
| (14a) | ||||
| (14b) |
Appendix G Proof of Lemma 3.1
Section titled “Appendix G Proof of Lemma 3.1”Proof.
Section titled “Proof.”Recall (14a) and (14b) with , . Define the tetragamma as . As , regularity at gives
and the small-argument behavior at gives
Hence
and
Finally, . Multiplying out gives
which yields the claim. ∎
Appendix H Proof of Theorem 3.2
Section titled “Appendix H Proof of Theorem 3.2”Proof.
Section titled “Proof.”Finiteness at an interior point and continuity. Let and , so at . Then and , hence . Because is continuous on and both and the KL closed form are continuous on , is continuous.
Asymptotic tools. As , with as the Euler’s constant; as , . Recall (8)
| (15) | ||||
When with ,
| (16) |
with uniform in .
Boundary coercivity. Let approach the boundary of . Passing to a subsequence, exactly one of the following disjoint regimes occurs:
Write and .
Case (A): .
-
•
If , then and
so the term alone yields .
-
•
If , then and
hence .
-
•
If , then and, from (15),
so again .
Case (B): .
-
(B1)
If eventually for some , then . Insert (16) and the large– digamma expansion into (15); all terms cancel and, uniformly in ,
Meanwhile is bounded on . Hence .
-
(B2)
If (the case is symmetric), write and .
-
–
If , expand only the large arguments in (15):
and . Thus
so .
-
–
If , then
hence and .
-
–
If while , then
so .
-
Case (C): and or . By symmetry, take . Then while , hence
and therefore .
Compact sublevel sets and attainment. From the three regimes, any sequence with stays a positive distance from and also has . Hence for some , a compact rectangle contained in . By continuity (Weierstrass), attains its minimum there; consequently any minimizer lies in the open domain . ∎