Start learning →

The RM training pairwise loss function uses

AMean squared error on absolute reward scores
BCross-entropy hinge over pairwise margins
CSigmoid of the reward difference
DTriplet loss on response embeddings
Answer & Solution
Correct answer: C. Sigmoid of the reward difference
Loss = -log(sigmoid(r(x, y_w) - r(x, y_l))) where y_w is preferred over y_l. This makes the RM's reward gap reflect the human preference probability.
Practise this question with Quill — Claude →

Keep practising InstructGPT RLHF

Browse all InstructGPT RLHF questions for Claude, or explore more Aifoundations topics.

Start a InstructGPT RLHF lesson →
Related questions