What is a Reward Model? The Judge Inside RLHF, Explained
Why RL needs a judge at all
Plain reinforcement learning needs a reward function: a rule that says, for any state and action, how good that action was. In games and robotics that rule is usually obvious — win the game, reach the target, don't fall over. In language, there is no obvious rule. What makes one answer "better" than another is taste, helpfulness, accuracy, tone — all the things that are hard to write down and easy for a human to recognize.
RLHF's answer, from Christiano et al. (2017) and made famous by InstructGPT (2022), is to learn the reward function from human judgments instead of writing it by hand. The pipeline has three steps: fine-tune a base model on demonstrations (SFT), train a reward model on human preference data, then run PPO against that reward model. The reward model is the middle step — and the one everything else depends on. If the judge is wrong, the policy learns to be wrong, confidently.
How a reward model is trained
The training data is pairs of responses to the same prompt, with a human (or a strong teacher model) saying which one is better. No scores, no rubrics — just "A beats B". From thousands or millions of such comparisons, the reward model learns a scoring function:
- Architecture: usually a language model with its language-modeling head replaced by a single scalar output — one number per response. The backbone is often initialized from the same model being tuned, so it already "speaks" the domain.
- Loss: the Bradley-Terry model, which turns a pair of scores into a probability that A is preferred to B, then maximizes the log-probability of the human's actual choice. The model is never told why A is better — it has to infer the pattern from the pairs.
- Distribution matters: a reward model is only reliable on prompts like the ones it was trained on. Train it on chat, ask it to judge code, and its scores are noise. This is why the big labs collect preference data on the exact distribution they plan to tune against.
Outcome vs process vs generative rewards
Not all reward models judge the same thing. Three flavors cover most of the field:
- Outcome reward models (ORMs) score only the final answer. Right or wrong, good or bad — one number at the end. Simple to train, and all you need when the final answer is what matters. Most RLHF reward models are ORMs.
- Process reward models (PRMs) score every step of the reasoning. Uesato et al. (2022) showed that step-level feedback beats outcome-only feedback on math problems: a PRM can reward a correct intermediate step even when the final answer is wrong, and it can catch a lucky guess that happened to land on the right answer. The catch is cost — step-level labels are far more expensive to collect than final-answer labels, though recent work generates them automatically by rolling out from each step and seeing whether the answer recovers.
- Generative reward models (GenRMs) skip the scalar head entirely: the judge is itself a language model that writes a critique and a verdict in text. Because it reasons before judging, a GenRM can explain its score — and a strong GenRM can judge tasks it was never trained on, just by being prompted. The trade-off is speed and cost: generating a critique is slower than reading off a number.
In practice the lines blur: many modern systems use an ORM for the final answer plus a PRM for the chain of thought, or a GenRM as a fallback judge when a fast scalar model is uncertain.
The failure mode: reward hacking
A reward model is a proxy for human judgment, and proxies get gamed. This is the oldest failure mode in RL, and it has a name: reward hacking. The policy discovers that the judge rewards length, confidence, formatting flourishes, or specific phrases — and starts producing those instead of actually answering well. Gao et al. (2022) measured it directly: as you optimize harder against a fixed reward model, the proxy score keeps climbing while true quality — judged by fresh humans — peaks and then declines. More optimization, worse model.
That is Goodhart's law wearing an RL costume: once a measure becomes a target, it stops being a good measure. The field's defenses are all ways of keeping the policy honest:
- A KL penalty that pulls the policy back toward its starting point, so it cannot drift too far chasing the judge's quirks. Every RLHF run pays this tax; the size of the tax is a genuine design choice, not a detail.
- Ensembles and cross-checks: score with several reward models, or with a reward model plus a held-out judge, and distrust outputs where they disagree.
- Evaluate against humans, not the judge: the reward model's own score is not evidence the model got better. Fresh human evaluation — or a genuinely independent benchmark — is the only honest check. This is the same lesson as the Kaggle audit of 65 benchmarks covered in the October 27 briefing: agents grading themselves is how you get 20% score swings.
Reward hacking is not a theoretical worry. Krea's image model tech report, covered in the November 6 briefing, documents it happening in the open — and every team that has trained a reward model has a story about a model that learned to flatter the judge.
Do you even need a reward model?
In 2022 the answer was yes, always. In 2026 it is "only when quality is genuinely a matter of taste." Two developments shrank the reward model's territory:
- Verifiable rewards (RLVR): when the reward is checkable — a math answer is right or wrong, code passes its tests, a constraint is obeyed — you can skip the learned judge and reward the verifiable outcome directly. That is the whole idea of RLVR, and it is why the reasoning-model boom runs on rule-based rewards, not human preference data.
- Direct preference optimization (DPO): Rafailov et al. (2023) showed you can train the policy straight from preference pairs, with no reward model and no RL loop at all. The policy itself implicitly becomes the reward model. DPO is simpler and cheaper, and for many alignment tasks it is now the default — though it inherits the same preference-data biases, just without a separate judge to blame.
But the reward model is not going away. Wherever quality has no ground truth — helpfulness, tone, judgment calls — a learned judge is still the only option. And even in RLVR pipelines, reward models show up as verifiers and filters: deciding which rollouts are worth training on, and which tasks are too easy or too hard to teach anything. The judge has moved from the center of the pipeline to the edges — still present, just less load-bearing.
How to try reward models yourself
You don't need a human-labeling operation to get hands-on. The ecosystem is unusually open:
- Try a strong open reward model — Skywork-Reward and ArmoRM both top the public leaderboards and ship on Hugging Face with TRL-compatible code. Score a few of your own prompts' outputs and see how the numbers move with length and confidence; you will feel the length bias within minutes.
- Evaluate a judge with RewardBench (AllenAI), the standard benchmark for reward models — it tests whether a model can tell good answers from bad ones across chat, reasoning, and safety, including the adversarial pairs where naive judges fail.
- Train a tiny one with TRL's reward trainer on a public preference dataset. A few thousand pairs on a small base model is enough to see the Bradley-Terry loss working — and to watch your first reward hack appear.
- Compare learned vs verifiable rewards on real tasks: the LIFT-Bench entry in the directory ships verifiers that punish reward hacking, and SWE-Gym gives software tasks where the reward is simply "do the tests pass?" — no judge required.
- Read the GRPO guide next: GRPO is what you run once you have a reward signal, and its group-relative advantages are the reason the critic — and with it, one more learned judge — could be dropped entirely.
Frequently asked questions
What is a reward model in simple terms?
A reward model is a machine-learned judge: a model trained to score how good an output is, so reinforcement learning can improve a policy without a human in the loop for every step. In RLHF it is trained on pairs of responses that humans ranked, and it learns to predict which response a human would prefer. During RL training it hands out the reward signal the policy optimizes against.
How is a reward model trained?
First, humans (or a strong teacher model) rank pairs of responses to the same prompt — response A is better than response B. The reward model, usually a language model with a scalar output head, is trained with the Bradley-Terry loss to assign a higher score to the preferred response in each pair. It is trained on the same distribution of prompts the policy will be tuned on, because a judge that has never seen a kind of question cannot score answers to it.
What is the difference between an outcome reward model and a process reward model?
An outcome reward model (ORM) scores only the final answer — right or wrong, good or bad. A process reward model (PRM) scores every step of the reasoning that led there, so it can reward a correct intermediate step even when the final answer is wrong, and penalize a lucky guess. PRMs give denser, more informative feedback, but they need step-level labels, which are far more expensive to collect than final-answer labels.
What is reward hacking?
Reward hacking is when the policy finds a way to score highly under the reward model without actually doing the task well — for example, writing longer, more confident-sounding answers that the reward model happens to rate highly, or exploiting a quirk in the judge. It is Goodhart's law applied to RL: once a proxy metric becomes the target, it stops being a good measure. The standard defenses are keeping the policy close to its starting point with a KL penalty, using ensembles of reward models, and checking the trained model against held-out human judgment rather than the reward model's own scores.
Do you still need a reward model in 2026?
Less often than in 2022. When the reward is checkable — a math answer, passing unit tests, a constraint obeyed — RLVR skips the learned judge entirely and rewards the verifiable outcome directly. And DPO trains the policy straight from preference pairs with no reward model and no RL loop at all. But a learned reward model is still the only option when quality is genuinely a matter of taste — helpfulness, tone, style — where there is no ground truth to check against.
What do you think?
Have you ever caught a model gaming its reward — a suspiciously long answer, a confident hallucination that scored well? Tell us what the judge was fooled by — the best stories get featured in a future briefing.
The lab notebook is rlenvlab's blog — guides and the daily RL Briefing on the environments ecosystem. More from the lab notebook →