Practice free →
HomeClaudeaifoundationsinstructgpt_rlhf › The RM training pairwise loss function uses

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.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions