Compare policy and reference preference odds

Type every qualifier in the comparison. · 170 words

A reviewer prefers a bus notice that includes the last departure over one that mentions only the station. For this example, a fixed reference policy gives the preferred complete reply probability 0.20 and the rejected reply probability 0.10. Other replies account for the remaining probability. A newer policy assigns the same two replies probabilities 0.30 and 0.10. Each probability refers to the whole reply conditional on the same prompt. The reference favors the first reply by two to one. The newer policy favors it by three to one.

Direct preference optimization compares those odds to judge the direction of a training signal. Divide three by two to get a relative odds ratio of 1.5. Its logarithm is positive, so the newer policy favors the winner more strongly than the reference did. This comparison says nothing about the factual accuracy of the departure time. A separate check against the timetable is still needed. Changing the wording of the prompt would change the conditional probabilities and would call for a new comparison.

Check your recall

By what factor did the odds for the preferred bus notice rise relative to the reference?

Check your answer

The odds rose by a factor of 1.5, from two to one to three to one.

Sources and credits

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