Read a pairwise reward difference

Watch prefixes in words such as preferred and rejected. · 165 words

A model assigning reward scores to library replies gives a clear shelf direction a score of three and a vague direction a score of two. The numbers are raw scores. To convert their difference into a predicted preference probability, suppose the comparison model uses a logistic link. Subtract the vague reply's score from the clear reply's score to get one. The logistic function at one is about 0.73. The model therefore gives the clear reply roughly a seventy-three percent chance of winning this comparison.

Imagine adding ten to every reward score. The pair would receive thirteen and twelve. The difference stays one, so the predicted preference probability also stays the same. Pairwise data of this form cannot determine a common additive offset for all the scores. A raw score of three should therefore be interpreted in relation to competing replies and the model that produced it. A person still needs to check the shelf direction against the catalog to decide whether it is actually correct.

Check your recall

What happens to the predicted preference probability if the scores change from three and two to thirteen and twelve?

Check your answer

It stays near 0.73 because the pairwise difference remains one.

Sources and credits

Original KeyTouch lesson. Background reading · Nathan Lambert · Reinforcement Learning from Human Feedback.