RLHF vs RLVR vs DPO — What’s the Difference?

November 11, 2026 · Guide
They solve different problems, and the name tells you which. RLHF — reinforcement learning from human feedback — aligns a model to human taste: train a reward model on what people prefer, then use RL (usually PPO) to maximize it. DPO — direct preference optimization — does the same alignment job, but skips the reward model and the RL loop entirely and trains the policy straight from preference pairs. RLVR — RL from verifiable rewards — is a different reward source, not a different alignment method: the reward comes from a checker you can run (a math answer, a unit test), not from a human’s judgment. Use RLHF or DPO when the goal is “sound like a good answer”; use RLVR when the goal is “be right.”

The three in one table

If you remember nothing else, remember this table. The three methods differ in exactly three places: where the reward comes from, whether there is an RL loop, and what kind of task they are for.

RLHFDPORLVR
What it optimizesAlignment to human preferenceAlignment to human preferenceCapability on verifiable tasks
Reward sourceLearned reward model, trained on human rankingsImplicit — the policy itself, from preference pairsDeterministic verifier (math checker, unit tests)
RL loop?Yes — usually PPO, with a KL penalty to the reference modelNo — a supervised-style loss on fixed pairsYes — usually GRPO, no critic needed
Best forChat, tone, safety, helpfulnessSame as RLHF, cheaper and simplerMath, code, reasoning, tool use
Cost / complexityHighest: three stages, online rolloutsLowest: one loss, one training runMedium: RL loop, but no reward model to train

RLHF: the original recipe

RLHF is the method that turned base models into chatbots. It was sketched by Christiano et al. in 2017 and made famous by InstructGPT in 2022, and it runs in three stages. First, supervised fine-tuning: teach the model the format of helpful answers. Second, train a reward model on human preference pairs — show people two answers, record which they prefer, and fit a model to those rankings (the Bradley–Terry model). Third, run RL — almost always PPO — to push the policy toward outputs the reward model scores highly, with a KL penalty that keeps it from drifting too far from the reference model.

That KL penalty is doing real work. Without it, the policy quickly learns to exploit the reward model’s blind spots and produce fluent nonsense that scores well — reward hacking, the field’s oldest failure mode. The full story of the judge, including how it gets gamed, is in our reward model guide.

RLHF’s strength is also its weakness: the reward is a learned guess about what humans want, so the ceiling is the quality of the preference data and the reward model. It is the right tool whenever the task itself needs human judgment — tone, helpfulness, safe refusals — because there is no program that can check those things.

DPO: the shortcut that skipped the loop

DPO (Rafailov et al., 2023) asks an impolite question: if the policy already implies a reward model, why train a separate one? The math says the optimal policy under RLHF can be rewritten so the reward is just a log-ratio of the policy and the reference model. So DPO skips stages two and three entirely and trains the policy directly on the preference pairs: increase the likelihood of the preferred answer, decrease the rejected one, and a β parameter controls how far the policy is allowed to move from the reference — the same job the KL penalty did in RLHF.

What you gain is simplicity. One loss, one training run, no rollout sampling, no value network, no reward model to maintain and debug. For many alignment tasks DPO is now the default, and it is the first thing to try on a small team. What you lose is exploration: DPO only ever sees the fixed preference pairs you collected, so it cannot discover behaviors the data never shows. It also inherits the preference data’s biases wholesale — there is no separate judge to blame when it goes wrong, because the policy is the judge. If DPO plateaus and you suspect the data is the limit, that is when the full RLHF loop earns its cost.

RLVR: a different reward, not a different goal

RLVR changes the reward, not the alignment idea. Instead of a learned model of human taste, the reward comes from a verifier you can run: does the math answer match, do the unit tests pass, does the proof check out? The reward is ground truth, not a guess — which removes the whole reward-hacking problem in its classic form, and removes the reward model from the pipeline entirely.

DeepSeek-R1 popularized RLVR in early 2025, training reasoning ability with rule-based rewards on math and code, and it has since become the default post-training recipe for open reasoning models — Qwen, Kimi, and most others use RLVR-style post-training, typically with GRPO as the RL algorithm. The details of that algorithm are in our GRPO guide, and the method itself in our RLVR guide.

But RLVR has a hard boundary: it only works where verification exists. A checker can tell you whether code passes its tests; it cannot tell you whether an answer is kind, clear, or safe. And the verifier can still be gamed — a model that finds a vacuous test or a loophole in the checker gets full reward for a wrong answer. A paper in today’s briefing makes the subtler point: RLVR mostly sharpens reasoning the model already has rather than teaching it new reasoning, so the base model’s capability still sets the ceiling.

The three confusions worth clearing up

Which one should you use?

Decide by the reward you have, not by the acronym you like:

The takeThe acronyms sound interchangeable because they share the same alphabet soup — but they answer different questions. RLHF and DPO are two ways to do the same job: align a model to what people prefer. RLVR is a different job: make a model right where right can be checked. Pick by the reward you have, not by the acronym you like — if a human has to judge it, you’re in RLHF/DPO territory; if a program can check it, RLVR is the honest tool.

How to try it yourself

Frequently asked questions

What is the difference between RLHF and RLVR?

The reward. RLHF learns its reward from human preferences: people rank outputs, a reward model is trained on those rankings, and RL maximizes it. RLVR gets its reward from a verifier — a math checker or a test suite — so the reward is ground truth, not a learned guess. RLHF is for tasks where a human has to judge quality; RLVR is for tasks where correctness can be checked by a program.

What is the difference between RLHF and DPO?

DPO is a shortcut through RLHF. Classic RLHF trains a reward model on preference pairs and then runs RL (usually PPO) to maximize it. DPO skips both the reward model and the RL loop: it trains the policy directly on the same preference pairs, with a loss that pushes preferred outputs up and rejected ones down relative to a reference model. Same data, same goal, much simpler pipeline — but no online exploration, so it can’t discover behaviors the preference data never shows.

Is DPO reinforcement learning?

Not in the usual sense. DPO has no environment, no rollouts, and no reward signal during training — it’s a supervised-style loss computed on fixed preference pairs. It comes from the same math as RLHF (the policy implicitly defines a reward), which is why it sits in the same family, but if you run DPO you are not running an RL loop. That simplicity is the point — and also its limit.

Can RLVR replace RLHF?

No — they cover different tasks. RLVR only works where an answer can be verified by a program: math, code, formal proofs, tool use with checkable outcomes. Most of what people want from a chat model — helpful tone, good judgment, safe refusals — can’t be verified by a checker, so it still needs human preference data, which means RLHF or DPO. In practice the best reasoning models use both: RLVR for capability, RLHF or DPO for behavior.

Which one should I use for my project?

Start with the reward you actually have. If correctness can be checked by a program — unit tests, a math answer — use RLVR with GRPO. If the goal is style, tone, or safety and you have preference data, use DPO first: it’s the cheapest to run and the easiest to debug. Reach for full RLHF with PPO when DPO plateaus or you need online exploration. And if you have no preference data and no verifier, you have a data problem, not an algorithm problem — collect that first.

Tagged: RLHF RLVR GRPO PPO
Anil Tiwari — MS CS student building rlenvlab, a directory of RL environments. About the author · GitHub

What do you think?

Which one have you actually run — and what broke? Did DPO plateau where PPO kept climbing, or did RLVR’s verifier get gamed? Tell us the task and the failure mode; the best stories get featured in a future briefing.

Reply by email → · Subscribe via RSS →

The lab notebook is rlenvlab’s blog — guides and the daily RL Briefing on the environments ecosystem. More from the lab notebook →