Compute an empirical preference fraction
Watch prefixes in words such as preferred and rejected. · 171 words
After instruction tuning, a travel-planner model can be evaluated with human feedback. Annotators compare two answers to each prompt and choose A, B, or tie. The empirical preference fraction for A is the number of judgments preferring A divided by all usable judgments. "Empirical" means it describes the observed sample rather than proving a permanent preference of all users. For this workshop, ties and missing judgments are excluded because neither supports A over B.
Consider 40 prompts. Annotators choose A on 24, B on 8, tie on 4, and leave 4 blank. Only 24 + 8 = 32 judgments belong in the denominator. A's empirical preference fraction is 24/32 = 0.75, or 75%. Dividing by 40 would wrongly treat ties and missing records as evidence against A; dividing by 36 would still include ties. If every prompt must contribute, first resolve the four missing judgments or clearly report that the estimate uses the usable subset. This gives a small, checkable summary of human feedback without turning absent data into a preference.
Check your recall
With 24 votes for A, 8 for B, 4 ties, and 4 missing judgments, what is A's empirical preference fraction?
Check your answer
It is 24/(24 + 8) = 24/32 = 0.75, or 75%, because ties and missing judgments are excluded.
Sources and credits
Original KeyTouch lesson. Background reading · Nathan Lambert · Reinforcement Learning from Human Feedback.