After pretraining, align the model with human preferences using a reward model + policy gradient (PPO) or DPO.
prompts
|
|--> base model --> response A, response B
|
v
human ranker labels (A better than B)
|
v
reward model R(x, y) trained to predict human ranking
|
v
base model + R signal --> PPO update --> aligned model
R but is bad for users (e.g. always adds “Sure!”).A talented new hire who doesn’t yet know the house style. RLHF is the manager’s notes: “this reply feels cold; this one feels correct and warm”.
Interview tip: RLHF reshapes distribution, it does not add facts. Fine-tune for facts.