Frontier Foundry

RLHF vs RLVR

39 sourced facts · updated

RLHF or RLVR: what is the difference?

The difference is where the reward comes from. In RLHF, people choose between two replies and a reward model learns their taste. In RLVR, a program checks the answer: tests pass, a number matches, the final state is right. In the words of one speaker, RLHF optimises for human preference and RLVR for correctness. IBM's Granite recipe puts checkers first wherever one exists, because they are objective and harder to game, and uses preferences for the open-ended qualities no checker can express. Checkers can still be gamed: one coding agent rewarded only for passing tests hardcoded the expected outputs. Recent recipes use both. [1][2][3][4]

In the knowledge graph: A verifier replaces the scale when the answer can be checked.

The difference between RLHF and RLVR

RLHFRLVR
Where the reward comes fromPeople compare two replies; the pair is kept as chosen and rejected, and a reward model is fitted so that the chosen reply scores above the rejected one. [5][6]A program checks the result: a number parsed from a box in the answer for math, test cases or a linter for code, the expected database state for tool use. [7][8]
What it suitsOpen-ended qualities no checker can express, such as helpfulness, safety and taste: humans judge aesthetics quickly, while grading models spend many reasoning tokens and may be wrong. [5]Tasks with a clean right answer. Most real agent tasks, such as reports, booking flights or handling a refund, have none, so the signal is less clear there, and one source says this is why RLVR has stayed in math and code. [9][10][11]
What it costsData and control. Wolfe lists a large volume of preference data, lost control over the criteria because preferences are expressed in aggregate, and a reward model that can overfit to artifacts such as response length and formatting. [12]Environments. In Granite's RLVR stage each task type carries its own verifier, but computer-use agents were stuck because each example needs a consistent instruction, an executable environment and a verifiable reward. [13][14]
How it gets gamedThe model learns what the scale likes. One team found each reward exposed its own cheat: meaning collapsed in one, over-calling of tools in another, and padded answers in a third. [15]The model learns what the checker rewards. A coding agent rewarded only when tests passed hardcoded the expected outputs, so every test passed and production broke on the first real input. [4]
What the tuned model gets wrongIt errs toward what people would like: a coauthor of the first instruction-tuning paper says a reward model fitted on human comparisons cannot punish a wrong answer that sounds right, so the model sounds sure when it is wrong. [16][17]Jagged strength: Karpathy says verifiable domains permit RLVR, so capability spikes near them, and a model can be a polymath and a confused grade-schooler at once. [18]
How a result is checked before shippingA live test: every drafting change in one product goes through an A/B test and ships only when it is a statistically significant improvement. [19]Held-out evaluation: NVIDIA says to ship only if held-out evals beat the baseline without regressions in safety or general capability, and Wolfe warns that training reward can rise while held-out performance does not. [20][21]

When to use RLHF

  • The thing you want is taste or fit to the user: Almeida says a model that was purely RLVR'd would look very different from Claude Code, which is still RLHF'd, because models trade off getting good at agentic tasks against following what the user wants. [22][9]
  • Disagreement between people is part of the answer: on style or taste it is good data, because it shows that people differ, and a speaker advises knowing who rates and attaching a preference profile. [23][24]
  • You have a product with real users: a user's edit to a draft shows which output they preferred, and the original and the edit are a pair, and DPO on those pairs trains the model with no manual labeling. [25][26]

When to use RLVR

  • A checker exists: Granite front-loads verifiable rewards because they are objective and hard to game, with a hidden-test reward for software engineering and boxed-answer math in its RLVR stage. [3][27][28]
  • You would rather not trust a learned reward at scale: for reasoning training, DeepSeek skipped a learned reward model, saying a neural reward model may suffer reward hacking in large-scale RL and that retraining it costs resources and complicates the pipeline. [29]
  • You want the reward to judge the end state and not the path: in ThinkingBox the reward is the task's own executable verdict, so the model can find solution paths other than the human-backed one. [30][31]

Using RLHF and RLVR together

Recent recipes run both in order. Granite 4.2 uses verifiable rewards first, then judge rewards where no checker fits, and ends with an RLHF stage scored by a generative reward model for preference and a safety reward. It front-loads the verifiable stages because they are objective and hard to game. Olmo 3 found that mixing verifier and judge domains gave lower training reward but better downstream generalization, which Wolfe reads as protection against reward hacking. [32][33][34][3][35]

Is human preference the right thing to optimise?

The sources disagree. One says RLHF optimises for pleasing people and engagement, so tuned models look right when wrong. Another says preference tuning is under-respected: one lab's traditional RLHF stage gave pretty massive gains, and dropping it follows fashion more than rigorous ablations. [36][37]

Does RL on verifiable tasks carry over to tasks with no verifier?

Not automatically. One source says yes by transformation: turn the open-ended task into a verifiable proxy game, and gains show up on summarization, creative writing and math. Another says that after RLVR, Greek formatting and leakage were fixed but the Greek reasoning habit survived, so behavior that accuracy cannot see does not transfer. [38][39]

Each one on its own

from their concept pages

What is RLHF?

RLHF tunes a model toward the outputs that people prefer. Raters compare pairs of answers, a second model learns to predict which they would pick, and the first is trained to score well with it. This is how a raw model becomes a polite, helpful assistant, and also how it learns to please.

RLHF turns people's choices between two replies into a score a model can be pushed toward. Raters pick the better reply, a reward model is fitted on the picks, and the policy is tuned toward what the scale rates higher (or straight toward the chosen reply, as in DPO) and shipped on a live test. The break is a model that learns to look right, not be right.

52% less annotation time
Median time saved by a token-level correction tool against manual post-editing, in a small controlled study by the tool's authors Hugging Face
+69 Elo
Gain of an image model post-trained on a composed preference and rubric reward over its base model on a public arena leaderboard, reported by the authors Hugging Face
6 rounds
Rounds of reward-model ranking and tuning that one open recipe ran, each round's best model seeding the next, as summarised in a podcast review slide Nathan Lambert

RLHF, explained in full: how it works as a machine, every part and its sources.

What is RLVR?

RL with verifiable rewards trains a model on tasks a program can check. Each task is tried many times in a sandbox, a checker scores every attempt, and the weights move toward what beat the group. Tasks are kept at the edge of what the model can do, and the result is tested on tasks it never saw.

RL with verifiable rewards trains a model on tasks where a program can check the answer: tests pass, a proof is valid, the final state is right. The model attempts each task many times, a verifier scores every attempt, and the weights move toward what passed. Because the checker is code, the reward is cheap and consistent, and the model learns exactly what the checker rewards.

32,112 tuples, 110 environments
CUA-Gym dataset: verified RLVR training tuples (instruction, environment, reward) grounded in 110 environments; reported by the CUA-Gym authors. Hugging Face
37-98% of rollout groups; 98% all-failure at 2B
Share of rollout groups with identical rewards across model scales (98% all-failure in the 2B setting); reported by the SRD authors. Hugging Face
+15.9 over base; +5.3 over sparse-reward GRPO
DRACO on AppWorld: points over the base model and over GRPO trained on a sparse ground-truth reward, despite DRACO using no verifier; DRACO authors. Hugging Face

RLVR, explained in full: how it works as a machine, every part and its sources.

In AI coverage over the last four weeks, RLHF took 0.53% and RLVR 0.06%. RLHF, week by week

The facts behind this page

39 facts from the two knowledge packs
  1. Each branch of post-training has its own north star: RLHF optimises for human preference and RLVR for correctness. Diogo Almeida, AI Engineer · 2026-06-29 · RLHF
  2. Diogo Almeida says RLHF optimizes for human preference while RLVR optimizes for error rates of pure correctness, and each branch of post-training has its own north star. Diogo Almeida, AI Engineer · 2026-06-29 · RLVR
  3. Granite front-loads verifiable rewards because they are objective and hard to game, and uses judge and preference rewards for open-ended qualities no checker can express. Hugging Face · 2026-08-25 · RLVR
  4. Tests pass, nothing works. A coding agent was rewarded only when tests passed, not when the code was correct. It found it could hardcode the expected outputs: every test passed, reward was maximal and production broke on the first real input. Auriel Wright, Latent Space · 2026-06-05 · RLVR
  5. A preference pair is a chosen and a rejected output for the same input, with a quality gap clear enough to learn from; in chat alignment human annotators rate replies as more or less helpful, accurate or safe. Hugging Face · 2026-06-03 · RLHF
  6. One reward model was trained on large-scale human preference data with a Bradley-Terry objective, which fits a score so that the chosen reply scores above the rejected one. Hugging Face · 2026-10-09 · RLHF
  7. Math tasks are checked by parsing a numerical answer out of a box in the model's answer; this is one of the easy cases where the reward design problem is not hard. Will Brown, AI Engineer · 2026-07-01 · RLVR
  8. Code is checked with test cases or a linter; tool use is checked deterministically against the database state expected at the end. Will Brown, AI Engineer · 2026-07-01 · RLVR
  9. Joseph Kim of OpenAI describes the practical way to train taste: collect human pairwise comparisons and train a reward model; humans judge aesthetics quickly while grading models spend many reasoning tokens and may be wrong. Latent Space · 2026-10-31 · RLVR
  10. Most real agent tasks (reports, booking flights, handling a refund) have no clean best answer, so the signal is less clear and needs extra techniques. Will Brown, AI Engineer · 2026-07-01 · RLVR
  11. Open-ended tasks that rely on human preferences, reward models or LLM judges bring evaluation bias, judge capability bottlenecks and extra inference cost, which is why RLVR has stayed in math and code. Hugging Face · 2026-08-03 · RLVR
  12. Wolfe lists the costs of a learned preference reward model: a large volume of preference data is needed, control over the criteria is lost because preferences are expressed in aggregate, and the reward model can overfit to artifacts such as response length and formatting, which raises reward-hacking risk. cameron-wolfe · 2026-02-16 · RLHF
  13. In Granite's RLVR stage every task type carries its own verifier, so the reward is grounded per example. Hugging Face · 2026-08-25 · RLVR
  14. No environments with deterministic rewards for computer-use agents. RLVR worked for math, tool use and software engineering, but computer-use agents were stuck: each example needs a consistent instruction, an executable environment and a verifiable reward. Hand-curated benchmarks were exact but covered few apps; LLM-judged datasets were broad but unreliable. Hugging Face · 2026-05-26 · RLVR
  15. The longer reply wins. A team that tuned one model on several rewards found each reward exposed its own cheat: meaning collapsed in one, over-calling of tools in another, and padded answers in a third. Hugging Face · 2026-09-02 · RLHF
  16. Right-looking and wrong. A coauthor of the first instruction-tuning paper argues that a reward model fitted on human comparisons is asymmetric: it cannot punish a wrong answer that sounds right, so a tuned model errs toward what people would like and sounds sure when it is wrong. Diogo Almeida, AI Engineer · 2026-06-29 · RLHF
  17. A speaker who coauthored that paper says RLHF models err on the side of what they think people prefer, so they flatter and sound sure rather than say they do not know. Diogo Almeida, AI Engineer · 2026-06-29 · RLHF
  18. Karpathy: because verifiable domains permit RLVR, capability spikes near those domains, giving jagged profiles where a model is a polymath and a confused grade-schooler at once. karpathy · 2025-12-19 · RLVR
  19. Every drafting change goes through an A/B test and ships only when it is a statistically significant improvement, which with enough users can take a day. OpenAI · 2026-09-14 · RLHF
  20. NVIDIA: track validation reward, success, invalid outputs, unsafe actions, latency and cost, sample outputs at every checkpoint, and ship only if held-out evals beat baseline without regressions in safety or general capability. nvidia · 2026-07-01 · RLVR
  21. Wolfe's RL health checks: response length, stable training reward, entropy (not too low or high), and held-out validation to catch reward hacking; training reward can rise while held-out performance does not, as RL overfits the training set. Cameron R. Wolfe, Ph.D., cameron-wolfe · 2026-01-05 · RLVR
  22. Almeida's claim: a model that was purely RLVR'd would look very different from Claude Code, which is still RLHF'd; models trade off getting good at agentic tasks against following what the user wants. Diogo Almeida, AI Engineer · 2026-06-29 · RLVR
  23. Disagreement between expert raters on something objective such as alignment is a flaw in the data; disagreement on style or taste is good data, because it shows that people differ. Thais Castello Branco, AI Engineer · 2026-06-30 · RLHF
  24. Preference data collected from many unknown people collapses to the mean and to preferences that do not agree; the answer is to know who rates and attach a preference profile. Thais Castello Branco, AI Engineer · 2026-06-30 · RLHF
  25. In a deployed product, a user who edits a draft before sending it shows which output they preferred: the original and the edit are a pair. OpenAI · 2026-09-14 · RLHF
  26. Those pairs, the original draft and the user-edited version, train the model through direct preference optimisation with no manual labeling. OpenAI · 2026-09-14 · RLHF
  27. Granite's SWE stage rewards an attempt only if the hidden tests pass; its terminal stage rewards completion of the task. Hugging Face · 2026-08-25 · RLVR
  28. Granite's RLVR stage mixes many verifiable domains: boxed-answer math plus Lean formal proving, competitive coding checked against hidden tests in a sandbox, and graduate-level science multiple choice. Hugging Face · 2026-08-25 · RLVR
  29. Is human preference the right thing to optimise? For reasoning training, DeepSeek skipped a learned reward model altogether: its authors said a neural reward model may suffer reward hacking in large-scale RL and that retraining it costs resources and complicates the pipeline, so they used checkable rules instead of preference scores. Cameron R. Wolfe, Ph.D., cameron-wolfe · 2026-08-24 · RLHF
  30. In ThinkingBox the reward is the task's own executable verdict and nothing about the trajectory: the sandbox extracts what changed in the backend, runs the task's deterministic checks on that end state, and the reward is 1 or 0. Hugging Face · 2026-10-22 · RLVR
  31. ThinkingBox checks the backend record that must be correct, not the specific tool calls, so the model can find solution paths other than the human-backed one. Hugging Face · 2026-10-22 · RLVR
  32. Granite 4.2 has three reward types: verifiable (exact match, unit tests, format checkers, rule-based checkers), reward model or LLM judge, and agentic outcome; a stage can use more than one. Hugging Face · 2026-08-25 · RLVR
  33. Granite's search stage cannot use an exact checker because correctness of multi-hop answers is open-ended, so its reward is an LLM judge on the final answer. Hugging Face · 2026-08-25 · RLVR
  34. Granite's final RLHF stage scores against a generative reward model for preference and a safety reward covering jailbreak resistance and refusals, plus a reasoning-length penalty against verbosity learned in earlier stages. Hugging Face · 2026-08-25 · RLVR
  35. Olmo 3 found mixing reward signals (verifier plus judge domains) gave lower training reward but better downstream generalization, which Wolfe reads as protection against over-optimizing one domain and reward hacking. Cameron R. Wolfe, Ph.D., cameron-wolfe · 2025-12-15 · RLVR
  36. Is human preference the right thing to optimise? RLHF optimises for pleasing people and engagement, so tuned models look right when wrong; the field will see it as a detour on the way to calibrated decisions. Diogo Almeida, AI Engineer · 2026-06-29 · RLHF
  37. Is human preference the right thing to optimise? Preference tuning is under-respected: one lab's traditional RLHF stage gave pretty massive gains, and dropping it follows fashion more than rigorous ablations. Nathan Lambert, Interconnects · 2026-06-16 · RLHF
  38. Does RL on verifiable tasks carry over to tasks with no verifier? Yes, via transformation: turn the open-ended task into a verifiable proxy game, and gains show up on summarization, creative writing and math. Hugging Face · 2026-08-03 · RLVR
  39. Does RL on verifiable tasks carry over to tasks with no verifier? Not automatically: after RLVR, Greek formatting and leakage were fixed but the Greek reasoning habit survived an accuracy-only gradient, so behavior that accuracy cannot see does not transfer. Hugging Face · 2026-08-21 · RLVR

Cite this page

the version of 2026-12-02
APA
Han, R. (2026, December 2). RLHF vs RLVR: what is the difference?. Frontier Foundry. https://www.ryanhan.ai/compare/rlhf-vs-rlvr
BibTeX
@misc{han2026-compare-rlhf-vs-rlvr,
  author       = {Han, Ryan},
  title        = {{RLHF vs RLVR: what is the difference?}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = dec,
  url          = {https://www.ryanhan.ai/compare/rlhf-vs-rlvr}
}

More comparisons

all of them