TL;DR
Current reward models are tied to static preference distributions and fail to dynamically adjust their evaluation criteria. The authors introduce RewardAnything, a generative reward model that scores and ranks responses based on arbitrary, user-specified natural language principles, alongside RABench, a benchmark designed to evaluate principle adherence across diverse domains.
What Problem Does This Paper Address?
Standard reward models (RMs) in RLHF are trained on fixed preference pairs, forcing them to learn implicit, homogeneous criteria. When real-world needs change—such as favoring extreme conciseness over detailed elaboration—standard RMs cannot adapt without collecting new data and retraining. Additionally, outcome-only supervision often causes RMs to learn spurious correlations, such as favoring longer text over factual accuracy. This work investigates whether reward models can generalize dynamically to explicit natural language instructions, mirroring the instruction-following capabilities of LLMs.
Methods
- Listwise Generative Modeling: Instead of performing costly $O(n^2)$ pairwise comparisons or isolated pointwise scoring, RewardAnything uses a single generative call ($\Theta(1)$ API calls, $\Theta(n)$ tokens) to reason about, score, and rank multiple candidate responses simultaneously.
- Group Relative Preference Learning (GRPL): The model is trained via Group Relative Policy Optimization (GRPO). The training objective rewards:
- Structured formatting: Generating valid chain-of-thought reasoning followed by a structured JSON output.
- Accuracy: Maximizing Kendall's $\tau$ rank correlation with consensus labels, minimizing Mean Absolute Error (MAE) against target scores, and providing exact-match bonuses.
- Dynamic Inference Reasoning: The model generates natural language rationale before outputting scores and rankings, helping it decompose multi-faceted principles.
Datasets
- RABench (New): A benchmark containing 1,002 verified evaluation instances (equivalent to 31,806 pairwise comparisons) covering 50 principles across five categories: Content, Structure, Tone, Logic, and Style. Ground truth was established using an LLM-judge consensus algorithm (via Claude-3.7, GPT-4.1, DeepSeek-V3, and Gemini 2.5 Pro) with human verification.
- Training Data: Fully synthetic set of ~4,000 multi-candidate examples (~173k pairwise equivalents) derived from Skywork prompts and 150 non-overlapping principles.
- Evaluation Benchmarks: Evaluated on RM-Bench (specifically probing style and length bias) and used in an alignment case study using PKU-SafeRLHF, tested on XSTest and MT-Bench.
Key Insights and Ideas
- Principles Tame RM Biases: Length bias and stylistic distractions in traditional RM benchmarks can be directly mitigated by providing explicit instructions (e.g., stating that accuracy strictly supersedes formatting).
- Rule Hierarchy Matters: Merely enumerating multiple desired criteria ("be accurate and concise") hurts performance compared to explicit priority structures ("accuracy is primary; conciseness breaks ties").
- Listwise RL Beats SFT: Training via GRPO with relative ranking rewards achieves significantly better generalization on unseen principles compared to supervised fine-tuning (SFT), which tends to overfit.
Key Results
- RM-Bench: Guided by an accuracy-first principle, RewardAnything-8B achieved an overall accuracy of 85.5%, outperforming discriminative baselines (Nemotron-340B at 69.5%) and large LLMs (GPT-4.1 at 77.4%), notably scoring 83.8% on the "Hard" split.
- RABench: RewardAnything achieved 80.5% accuracy and a Kendall’s $\tau$ of 62.59, rivaling GPT-4.1 (82.5% accuracy, 64.90 $\tau$) while operating as a compact 8B open model.
- Policy Alignment Case Study: Aligning Qwen3-8B using RewardAnything on an out-of-distribution principle produced safer, warmer, and less blunt refusal behaviors on XSTest while improving MT-Bench general response quality over baseline safety alignment.
Limitations and Future Work
- Principle Phrasing Sensitivity: Model outputs can fluctuate based on phrasing, tone, and prompt framing, requiring prompt tuning for optimal adherence.
- Adversarial Robustness: The susceptibility of the model to jailbreaks or prompt injections within user-provided principles remains to be analyzed.
- Safety Governance: The framework transfers alignment goals directly to arbitrary principles, introducing challenges in preventing malicious downstream alignment.
Summary updated