179 questions
No questions match those filters.
RLHF, DPO, ORPO, and KTO all align a model to human pre...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThe four methods sit on a spectrum of “how much machinery do you need, and what data can you actually collect.” RLHF is the original, heaviest approach: train a reward model on human comparisons, then run PPO against it. It’s the most flexible — the reward model can capture arbitrarily complex preferences — but it’s a two-stage pipeline that’s notoriously unstable to tune and vulnerable to reward hacking (e.g. length bias) unless you add a KL penalty against the reference model.
DPO collapses RLHF’s two stages into one closed-form loss over preference pairs, skipping the reward model and RL optimizer entirely. It’s dramatically simpler to implement and more stable to train, at the cost of being strictly offline on a fixed preference dataset rather than exploring on-policy like RLHF can. ORPO goes further, merging preference alignment directly into the supervised fine-tuning step via one combined loss — one fewer training stage, at the cost of coupling two objectives that used to be tunable independently. KTO abandons paired comparisons altogether, learning from unpaired binary labels, which matters when you have abundant thumbs-up/down signal but few clean A/B comparisons.
In practice: choose DPO by default for its simplicity, RLHF when you need the reward model’s flexibility and have the infrastructure to support it, and KTO when your labels are inherently binary rather than comparative.