Bayesian Preference Learning for Test-Time Steerable Reward Models
Jiwoo Hong, Shao Tang, Zhipeng Wang
TL;DR
The paper tackles the rigidity of static reward models by introducing Variational In-Context Reward Modeling (ICRM), a Bayesian framework that enables test-time steerability of reward models through in-context demonstrations. By casting BT preferences as a Beta posterior and applying amortized variational inference with a Beta prior, ICRM learns a context-conditioned posterior over preference probabilities, balancing reconstruction and regularization via a KL term that preserves an interior optimum. Empirically, ICRM demonstrates strong single- and multi-objective steerability, expanding Pareto frontiers with more in-context evidence and outperforming static baselines in several benchmarks, including SafeRLHF and RM-Bench, while also supporting RLRV-style verifiable rewards in math reasoning. The approach yields theoretical guarantees of a global interior optimum and shows how KL regularization mitigates reward over-optimization, offering a principled, adaptable reward modeling paradigm for scalable, preference-aware language model alignment.
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 adapt to unseen preference distributions at test time for both single and multi-objective settings. With more in-context demonstrations, ICRM gains 34% accuracy on SafeRLHF and 9% accuracy on RM-Bench in the single-objective setting, while widening the Pareto frontier with a 4% gain in hypervolume on helpfulness and refusal benchmarks. 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.
