Detect a length shortcut in preference data
Watch prefixes in words such as preferred and rejected. · 168 words
A length shortcut occurs when preference data teaches that longer answers are better even when length is unrelated to the goal. Suppose 100 museum questions have chosen and rejected replies. In 60 pairs, the chosen reply is longer every time. Yet the shorter reply gives the correct closing time in 42 of those pairs, while the longer reply is correct only 15 times. A model trained on these preferences may learn "choose the longer text" instead of "choose the accurate text," a rule that fails when real users prefer concise answers.
To detect the shortcut, separate length from quality. Compare average lengths, then check correctness within equal-length groups and create matched tests. On 40 new equal-length pairs, chosen replies are correct 32 times and rejected replies 25 times, a smaller gap than the 42-to-15 pattern from unequal pairs. Also swap lengths: if the model still prefers a longer wrong reply, length dominates. Before fine-tuning, collect length-balanced pairs or randomize length, and label quality with an explicit accuracy rubric.
Check your recall
What evidence shows a length shortcut, and what data change would reduce it?
Check your answer
The chosen reply is always longer in the 60 unequal pairs, even though the shorter reply is correct 42 times and the longer reply only 15 times. The smaller 32-to-25 difference on equal-length pairs suggests that length is driving many labels. Use matched-length or randomized-length pairs and judge responses with an explicit accuracy rubric.
Sources and credits
Original KeyTouch lesson. Background reading · Nathan Lambert · Reinforcement Learning from Human Feedback.