Reward Model Routing in Alignment

Xinle Wu, Yao Lu · DOI

Introduction

In the rapidly evolving field of Large Language Model (LLM) alignment, the "Reward Model" (RM) serves as the critical arbiter of quality. Whether through Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO), these models are trained to mimic human preferences. However, a significant bottleneck has emerged: the reliance on a single, static reward model. Just as a single human judge cannot be an expert in every domain—from creative writing to complex mathematical proofs—a single RM often suffers from specialization gaps and susceptibility to "reward hacking."

Researchers from the National University of Singapore have addressed these challenges with BayesianRouter, a novel framework designed to dynamically select the most appropriate specialist reward model for any given query. This approach achieves the performance of expensive model ensembles while maintaining the computational efficiency of a single model call.

The Limitations of Single-Judge Alignment

Current alignment pipelines typically utilize one fixed RM. This paradigm presents three primary issues:

  1. The Specialization Gap: Models optimized for conversational "helpfulness" frequently underperform in technical domains like mathematics or coding.
  2. Computational Constraints: High-fidelity judges (e.g., GPT-4) are too expensive for the millions of evaluations required during iterative training.
  3. Reward Hacking: LLMs often learn to exploit the specific biases or "blind spots" of a single judge, leading to high reward scores without actual improvements in response quality.

Previous attempts at "routing"—selecting an RM from a pool—often struggled with the "cold-start" problem, where the router lacks initial knowledge of model strengths, or suffered from premature convergence on sub-optimal judges due to poor exploration strategies.

The BayesianRouter Framework

BayesianRouter introduces a two-stage hybrid approach that combines offline prior knowledge with online adaptive learning.

1. Offline Router Training

The process begins with an offline stage where a lightweight multi-task router (e.g., SmolLM2-135M) is trained on diverse preference datasets like HelpSteer3 and RM-Bench. This router learns to predict the likelihood of a specific RM correctly identifying the superior response in a pair $(x, y_1, y_2)$. It utilizes a dual-head architecture: a Bradley-Terry Head to rank RMs and a Classification Head to predict individual RM accuracy.

2. Online Bayesian Adaptation

During the active alignment phase (e.g., DPO), the system transitions to an online Bayesian router. To navigate the exploration-exploitation trade-off, the framework employs Thompson Sampling. The router maintains a Gaussian posterior distribution for each RM's performance, initialized by the embeddings from the offline stage. This "warm start" allows the router to begin with an informed prior, which is then refined in real-time as it observes the evolving behavior of the policy model.

The BayesianRouter framework architecture, showing the integration of offline priors with the online DPO loop and Bayesian selection mechanism.

Experimental Setup and Results

The authors evaluated BayesianRouter using a pool of four high-performing models (Mistral, Llama-3, Gemma-2, and Skywork variants). Testing spanned several rigorous benchmarks, including AlpacaEval-2 for instruction following and GSM8K for mathematical reasoning.

Performance Gains

BayesianRouter consistently outperformed single-model baselines and existing routing techniques. On AlpacaEval-2, it achieved a win rate of 63.23, notably higher than the best individual RM (61.86) and the previous state-of-the-art router, LASER (60.50).

Benchmark performance results comparing BayesianRouter against individual reward models and various routing baselines across instruction-following and reasoning tasks.

In reasoning tasks, the framework demonstrated its ability to route queries to domain specialists, reaching 75.66% accuracy on GSM8K. Crucially, BayesianRouter achieved these results while maintaining $O(1)$ complexity—calling only one RM per query—making it significantly more efficient than "Majority Voting" ensembles which require $N$ calls.

Key Insights

  • Contextual Routing: Unlike methods that only analyze the prompt, BayesianRouter evaluates both the prompt and the generated responses. This is vital because an RM's reliability is often tied to the specific content of the output.
  • Robust Exploration: The use of Thompson Sampling prevents the "collapse" seen in deterministic methods like LinUCB, where the system might prematurely fixate on a mediocre judge.
  • Efficiency: The framework adds negligible overhead to the training process, providing a "free" boost in alignment quality.

Conclusion and Future Directions

BayesianRouter represents a significant step toward more robust and efficient LLM alignment. By treating reward model selection as a contextual multi-armed bandit problem informed by offline priors, it bridges the gap between specialized expertise and general-purpose alignment. Future work may explore "joint objective" routing, which considers both the accuracy of the reward signal and the inference latency of the selected model to further optimize the training pipeline.

Citation: Wu, X., & Lu, Y. (2025). Reward Model Routing in Alignment. arXiv:2510.02850v1 [cs.AI].

Summary updated

BibTeX
@inproceedings{wu2026reward,
  author = {Xinle Wu and Yao Lu},
  title = {{Reward Model Routing in Alignment}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=i3OKIHSsHC},
}
Figure